Malicious Go Crypto Module Steals Passwords, Deploys Rekoobe Backdoor
Summary: Researchers at Socket disclosed a malicious Go module, github[.]com/xinfeisoft/crypto, that impersonates the legitimate golang.org/x/crypto codebase and hides a backdoor in its ssh/terminal/terminal.go file so that every call to ReadPassword() captures secrets entered at terminal prompts and sends them to a remote endpoint. The downloaded script appends an attacker SSH key to /home/ubuntu/.ssh/authorized_keys, sets iptables default policies to ACCEPT, and pulls payloads disguised with a .mp5 extension, one of which has been assessed as the Rekoobe Linux trojan, in the wild since at least 2015 and used by APT31 as recently as August 2023.
Key Takeaway: The package was still listed on pkg.go.dev even after the Go security team moved to block it, so a lookalike name in a dependency graph may be the only signal before ReadPassword() hands over your credentials. Rekoobe's documented use by APT31 means the endpoint of this chain is a nation-state-grade backdoor, not a commodity nuisance.
Read the original at The Hacker News ↗
- Topics
- Threat Actors & Nation-State
- Related
- University of Texas at Arlington warns personal information stolen during cyberattack Cyber Risks · Nov 13, 2026Hackers Exploit PHP2Shell Flaws in Check Point Gateways to Deploy TSGA Backdoor and Wipe ESXi Files Cyber Risks · Nov 13, 2026Hackers compromise 4,800 GitHub accounts to steal cloud credentials Cyber Risks · Nov 12, 2026