There was traditionally a bent to imagine that macOS was much less prone to malware than Home windows, probably as a result of the working system has much less market share than Home windows, and a local suite of safety features that require malware builders to undertake totally different approaches. The assumption was that, if it was prone in any respect, it was to odd, unconventional assaults and malware. However, over time, that’s modified. Mainstream malware is now starting to hit macOS recurrently (albeit to not the identical extent as Home windows), and infostealers are a main instance of this. In our telemetry, stealers account for over 50% of all macOS detections within the final six months, and Atomic macOS Stealer (AMOS) is without doubt one of the most typical households we see.
AMOS, first reported by Cyble in April 2023, is designed to steal delicate information – together with cookies, passwords, autofill information, and the contents of cryptocurrency wallets – from contaminated machines, and ship them again to a menace actor. At that time, a menace actor could use the stolen data themselves – or, extra seemingly, promote it to different menace actors on legal marketplaces.
The marketplace for this stolen information – often called ‘logs’ within the cybercrime underground – is massive and really energetic, and the value of AMOS has tripled up to now 12 months – which speaks each to the need to focus on macOS customers and the worth of doing so to criminals.
Whereas AMOS will not be the one participant on the town – rivals embody MetaStealer, KeySteal, and CherryPie – it is without doubt one of the most outstanding, so we’ve put collectively a short information on what AMOS is and the way it works, to assist defenders get a deal with on this more and more prevalent malware.
AMOS is marketed and bought on public Telegram channels. Again in Could 2023, it was out there for $1000 a month (a ‘lifetime’ licence, worth undisclosed, was additionally out there), however we will report that as of Could 2024, the associated fee seems to have elevated to $3000 a month. As proven within the screenshot beneath, the AMOS advert features a sizeable record of focused browsers (with the power to steal cookies, passwords, and autofill data); cryptocurrency wallets, and delicate system data (together with the Apple keychain and the macOS password).. As proven within the screenshot beneath, the AMOS advert features a sizeable record of focused browsers (with the power to steal cookies, passwords, and autofill data); cryptocurrency wallets, and delicate system data (together with the Apple keychain and the macOS password).
Determine 1: An advert for AMOS on a Telegram channel. Notice the value of $3000 on the backside of the screenshot
From what we’ve noticed in our telemetry, and from what different researchers have found, many menace actors are infecting targets with AMOS by way of malvertising (a way whereby menace actors abuse legitimate on-line commercial frameworks to direct customers in direction of malicious websites containing malware) or ‘search engine marketing poisoning’ (leveraging search engine rating algorithms to get malicious websites to the highest of search engine outcomes). When unsuspecting customers seek for the title of a selected software program or utility, the menace actor’s web site seems prominently within the outcomes – and can provide a obtain, which usually imitates the authentic software however secretly installs malware on the person’s machine.
A number of the authentic purposes we’ve seen AMOS imitate on this method embody: Notion, a productiveness app; Trello, a undertaking administration instrument; the Arc browser; Slack; and Todoist, a to-do-list software.
Determine 2: A malicious area imitating the authentic Slack area, as a way to trick customers into downloading an infostealer
Nevertheless, AMOS’s malvertising additionally extends to social media. For example, we noticed a malvertising marketing campaign on X.com, resulting in a faux installer for ‘Clear My Mac X’ (a authentic macOS software) hosted on a lookalike area of macpaw[.]us, which deceptively mimics the true web site for this product.
Determine 3: A malvertising marketing campaign on X.com
Determine 4: A website internet hosting AMOS (obtained from urlscan). Notice that the malvertisers have created a web page that intently resembles the iTunes Retailer. Sophos and different distributors have categorised this area as malicious
After investigating a buyer incident involving AMOS, we additionally famous that menace actors have hosted AMOS binaries on GitHub, probably as a part of a malvertising-like marketing campaign.
Determine 5: AMOS hosted on a GitHub repository (now taken down)
We additionally found a number of open directories that hosted AMOS malware. A few of these domains have been additionally distributing Home windows malware (the Rhadamanthys infostealer).
Determine 6: A website internet hosting varied malicious samples disguised as authentic purposes
AMOS C2 panels are protected with credentials. As proven within the screenshots beneath, the panels present a easy visualization of campaigns and stolen information for the good thing about the menace actors.
Determine 7: Lively AMOS C2 login panel (obtained from urlscan)
Determine 8: AMOS panel template for accessing stolen information (obtained from urlscan)
Determine 9: AMOS logs displaying totally different information (this picture was taken from AMOS advertising materials; the menace actor has redacted some data themselves)
As we talked about earlier, AMOS was first reported on in April 2023. Since then, the malware has advanced to evade detection and complicate evaluation. For example, the malware’s operate names and strings are actually obfuscated.
Determine 10: Screenshots of AMOS’s code, displaying a earlier model (left) and an obfuscated model (proper). Notice that the operate names are readable within the left-hand model, however have been obfuscated within the newer model on the proper
We’ve additionally noticed latest AMOS variants utilizing a Python dropper (different researchers have additionally reported on this), and the malware builders have shifted some key information – together with strings and capabilities – to this dropper, quite than the principle Mach-O binary, prone to keep away from detection.
Determine 11: Strings and capabilities within the Python dropper
Determine 12: An excerpt from a Python pattern, which invokes AppleScript for the “filegrabber()” operate. This operate was included within the binary in earlier variants, however right here the menace actor has reimplemented all the operate in Python
AMOS distributors just lately put out an commercial wherein they claimed a brand new model of the malware would goal iPhone customers. Nevertheless, we now have not seen any samples within the wild thus far, and can’t affirm that an iOS model of AMOS is obtainable on the market on the time of writing.
Determine 13: A put up on the AMOS Telegram channel concerning iOS concentrating on. The Russian textual content reads (trans.): “Properly, the iPhone is opened. We predict a brand new product for iOS to achieve the lots. Checks confirmed success. The value will likely be acceptable.”
A doable driving pressure behind this announcement is the EU’s Digital Markets Act (DMA), below which Apple is obliged to make various app marketplaces out there to EU-based iPhone customers from iOS 17.4 onwards. Builders may even be allowed to distribute apps instantly from their web site – which probably signifies that menace actors trying to distribute an iOS model of AMOS may undertake the identical malvertising strategies they’re at present utilizing to focus on macOS customers.
As we’ve seen from our telemetry over the previous 12 months, menace actors are more and more specializing in macOS, notably within the type of infostealers, and the rise of AMOS costs means that they could possibly be having some success. With that in thoughts, as with every system, customers ought to solely set up software program from authentic sources with good reputations, and be extraordinarily cautious of any pop-ups requesting both passwords or elevated privileges.
All of the stealers we now have seen thus far are distributed exterior the official Mac retailer and are usually not cryptographically verified by Apple – therefore the usage of social engineering we mentioned beforehand. Additionally they request data like password and undesirable information entry, which ought to ring alarm bells for customers, notably when it’s a third-party software asking for these permissions (though observe that in macOS 15 (Sequoia), on account of be launched in fall 2024, will probably be harder to override Gatekeeper “when opening software program that isn’t signed appropriately or notarized.” As a substitute of having the ability to Management-click, customers should make a change within the system settings for every app they wish to open.
Determine 14: An instance of macOS malware asking for a password, which needs to be an enormous pink flag for customers. Notice additionally the request to right-click and open
By default, browsers are likely to retailer each encrypted autofill information and the encryption key in a hard and fast location, so infostealers operating on contaminated methods can exfiltrate each from disk. Having encryption primarily based on a grasp password or biometrics would assist to guard from such a assault.
In case you have encountered any macOS software program which you assume is suspicious, please report it to Sophos.
Sophos protects in opposition to these stealers with safety names starting with OSX/InfoStl-* and OSX/PWS-*. IOCs relating to those stealers can be found on our GitHub repository.
Sophos X-Ops wish to thank Colin Cowie of Sophos’ Managed Detection and Response (MDR) group for his contribution to this text.