The Keydnap malware uses creative ways to infect computers and gain root access Researchers have identified a new Mac backdoor program that’s designed to steal credentials stored in the OS-encrypted keychain and give attackers control over the system. Dubbed OSX/Keydnap by researchers from antivirus vendor ESET, this is the second backdoor program targeting Macs found by antivirus firms in the past few days. It’s not clear how Keydnap is distributed, but it arrives on computers in the form of a zip archive. Inside there’s an executable file with an apparently benign extension such as .txt or .jpg that actually has a space character at the end. The file also has an icon indicating an image or text file. Opening this malicious file in Finder actually executes its code in the Terminal application. The execution happens really fast, with the Terminal window just flashing for a bit. The good news is that if the file is downloaded from the internet and the Gatekeeper security feature is turned on on the latest versions of OS X, the file won’t be executed automatically and the user will see a security warning. However, if the code is executed, it will download and install the backdoor component, called icloudsyncd, which connects to a command-and-control channel over the Tor anonymity network. If it has root access, this component also configures itself to start every time the Mac is rebooted. The way it tries to obtain root access is also interesting. It will wait until the user runs a different application and it will immediately spawn a window asking for the user’s credentials, exactly like the window OS X users usually see when an application requires admin privileges. The backdoor can receive commands from the control server to update itself, to download and execute files and scripts, to execute shell commands and to send back the output. It also includes a component that steals the contents of the OS X keychain. This component seems to be based on open-source, proof-of-concept code published on GitHub. It reads the memory of the securityd OS X service, which handles the keychain access, and searches for the keychain decryption key. Once it has this key, it can exfiltrate user credentials stored inside. While infecting Macs with malware is arguably more difficult than PCs, especially in the latest version of OS X with all the security features turned on, Keydnap shows that attackers can still come up with creative ways to trick users and exploit their habits. Related content opinion Can your cloud backup provider fail? Cloud backup providers aren’t infallible. Be sure to ask hard questions of providers about their storage redundancy, geo-replication, data integrity measures, and disaster recovery capabilities. By Curtis Preston Apr 19, 2024 7 mins Backup and Recovery Cloud Computing Data Center news Cisco marries AI and security with cloud-based data center offering Cisco announces AI-based Hypershield, a self-upgrading security fabric that's designed to protect distributed applications, devices and data. By Michael Cooney Apr 18, 2024 5 mins Network Security Data Center how-to Shredding files on Linux with the shred command The shred command is a good option for removing files from a Linux system in a way that makes them virtually impossible to recover. By Sandra Henry-Stocker Apr 18, 2024 4 mins Linux news Intel announces edge AI processors New edge-optimized processors and FPGAs will power AI-enabled devices in vertical industries including retail, industrial and healthcare. By Andy Patrizio Apr 18, 2024 3 mins CPUs and Processors Edge Computing PODCASTS VIDEOS RESOURCES EVENTS NEWSLETTERS Newsletter Promo Module Test Description for newsletter promo module. Please enter a valid email address Subscribe