1/5 Another botnet hiding its C2 on a blockchain — this time it's Aeternum on Polygon.
I pulled its live command straight from mainnet and decrypted it:
all:ping:url:https://ip[redacted][.]com/RNG7Y7
2/5
Contract: 0x04E25a563f159308FC3E15fE9Ccc9D2CF623D0cc → slot0 = admin wallet
→ slot1 = a "domain" string that's actually an AES-256-GCM encrypted command
3/5
Bots call getDomain() (0xb68d1809) via eth_call on any public Polygon RPC to fetch the current command.
Operator rotates it anytime with updateDomain() (0xb249cd2d) — zero recompiling, zero new infra, ~$0.003 in MATIC.
4/5
The break: Aeternum derives its AES-256-GCM key with PBKDF2-HMAC-SHA256 using the contract address
itself as both password and salt.
5/5
Decrypted end-to-end from public data alone: read the slot → parse nonce/ciphertext → derive key fromthe address → AES-GCM decrypt → all:ping:url:https://ip[redacted][.]com/RNG7Y7
Palo Alto Networks Unit 42 analyses Aeternum’s blockchain-based C2 operations and communications. The Aeternum botnet uses decentralized networks and evasion techniques, such as virtual machine detection and antivirus scanning, to operate effectively.