Linux Backdoor agente2 Has a 2031 Kill Date

Summary
Technical analysis of the agente2 Linux backdoor describes its encrypted command-and-control, remote command and file-transfer capabilities, and self-deletion after November 6, 2031. The real server was not contacted, and delivery remains unknown.
Key points
- The analyzed 64-bit Linux program, agente2, requires glibc 2.38 or newer; this build has no persistence or privilege-escalation capability.
- It uses direct TCP command-and-control with X25519 and XChaCha20-Poly1305 encryption, with LZ4-compressed messages.
- An operator can run commands, open interactive terminals, collect system and file information, and transfer files within the account's permissions.
- The agent derives a stable ID from the hostname, network-card address, and systemd machine ID, then registers system details and sends periodic heartbeats.
- It is set to self-delete after November 6, 2031, or on operator instruction. The attempted file overwrite fails while the program is running, so the file is deleted but may remain recoverable.
- An isolated stand-in server was used to validate the agent's command handling; the real server was not contacted, and the delivery method remains unknown.
- Suggested hunting clues include outbound TCP on port 45231, short-lived scripts in /tmp, and interactive shells launched by unknown programs.
Article Details
- Attack Vectors
- The agente2 backdoor connects to a hard-coded server over direct TCP and waits for operator commands.
- The operator can run shell commands, open interactive terminals, upload files to writable paths, and receive readable files of up to 10 MB.
- The backdoor runs a built-in whoami task from a short-lived script in /tmp about 30 seconds after starting.
- Defensive Notes
- Monitor for unexplained outbound TCP connections to port 45231 and for the described message framing: a 4-byte length, 56 random-looking bytes, and an 8-byte big-endian Unix timestamp.
- Hunt for hidden scripts such as /tmp/.whoami.sh that appear and disappear within seconds, find commands using -maxdepth 5 and -iname, and interactive shells started by unknown programs.
- If the agent is running, dump its memory before terminating it; the article reports that its private key is held in memory and enabled decryption of commands in the sandbox.
- The agent has no persistence or privilege-escalation capability in this build. Its attempted self-overwrite fails while running, so a deleted agent's contents may remain recoverable from disk.
Indicators of compromise
| Type | Indicator | Context |
|---|---|---|
| IPV4 | 187[.]49[.]187[.]224 | Hard-coded C2 address for agente2; the article reports direct TCP communication on port 45231, but says the researchers did not connect to the real server. |
| MD5 | 7260a030e738bae32587fdacc7bc4a37 | MD5 hash of the agente2 backdoor. |
| SHA256 | c61a45a00a4d90012f8ef3d805448e9af510f5bee8299ebf7ec4cdae365ac8e4 | SHA-256 hash of the agente2 Linux x86-64 backdoor. |
MITRE ATT&CK
T1001.001 · Junk DataMany command replies include random padding to make message sizes less predictable.T1033 · System Owner/User DiscoveryAbout 30 seconds after starting, the agent runs whoami from a temporary script and reports the result.T1041 · Exfiltration Over C2 ChannelThe agent can send readable files of up to 10 MB to the operator over its C2 channel.T1059.004 · Unix ShellThe operator can run shell commands, and the agent can open interactive terminals using /bin/bash by default.T1070.004 · File DeletionOn expiry or a valid self-destruct command, the agent deletes its own file; its attempted overwrite with random bytes fails while it is running.T1082 · System Information DiscoveryThe system-info command returns host, operating-system, kernel, CPU, memory, disk, and uptime details.T1083 · File and Directory DiscoveryThe agent can list directories and search for files by name using find.T1105 · Ingress Tool TransferThe operator can upload data to paths writable by the account running the agent.T1573.002 · Asymmetric CryptographyThe agent encrypts messages using X25519-derived keys and XChaCha20-Poly1305.
Malware
Tools
capaTools used: Malcat, capa, Python, strace, faketime and Censys.CensysTools used: Malcat, capa, Python, strace, faketime and Censys.faketimeTools used: Malcat, capa, Python, strace, faketime and Censys.MalcatTools used: Malcat, capa, Python, strace, faketime and Censys.StraceTools used: Malcat, capa, Python, strace, faketime and Censys.
