DNSCat2
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Guacamaya removed diagnostic strings from dnscat2, built a service DLL intended to live inside svchost , and made target-specific binaries that checked the expected environment before running.
“Telegram was only one access route. DNSCat2, PartisanDNS, and a GOST–3proxy chain provided alternative connectivity.”
“Telegram was only one access route. DNSCat2, PartisanDNS, and a GOST–3proxy chain provided alternative connectivity.”
Techniques & procedures
8 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
1 technique
Execution
Command sessions can spawn additional sessions; for example, the shell command: command session (ubuntu-64) 1> shell Sent request to execute a shell
Stealth
1 technique
Stealth
Guacamaya removed diagnostic strings from dnscat2
Command and Control
4 techniques
Command and Control
This tool is designed to create an encrypted command-and-control (C&C) channel over the DNS protocol, which is an effective tunnel out of almost every network.
They restricted internet access, leaving DNS available, so the operators standardized on DNS tunnels.
After a session has started (a command session), the command "listen" is used to open a new tunnelled port. The syntax is roughly the same as ssh -L: listen [lhost:]lport rhost:rport
DNS tunnels crossed the remaining egress path.
Exfiltration
2 techniques
Exfiltration
В MITRE ATT&CK скрытые каналы покрывают сразу несколько тактик: ... Exfiltration - Exfiltration Over C2 Channel (T1041 ...). ... exfiltration (выгрузка данных по тому же каналу T1041 ...).
Использование разрешённых протоколов (DNS, ICMP) для exfiltration - dnscat2 , icmpsh
Observables
13 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
8 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.