Skip to main content
Mallory
MalwareUsed by 2 actorsExploits 1 CVE

Microsocks

Microsocks is an open-source SOCKS5 proxy tool used to set up proxying, pivoting, and tunneling infrastructure. The content describes it as a public tool obtained from GitHub and repeatedly observed in post-exploitation workflows rather than as a bespoke malware family.

It was observed in multiple intrusion sets and campaigns. Kaspersky reported Head Mare using MicroSocks in late 2025 to early 2026 attacks against Russian government, construction, and industrial organizations, alongside tools such as adduser.exe, Mimikatz, and Advanced Port Scanner, after initial access including exploitation of TrueConf Server vulnerability BDU:2025-10114 and phishing in some cases. Palo Alto Networks Unit 42 reported CL-STA-0969, a nation-state-linked cluster overlapping with Liminal Panda, using Microsocks during 2024 intrusions into telecommunications providers in Southeast Asia and Southwest Asia, alongside FRP, FScan, Responder, and telecom-focused implants such as AuthDoor, GTPDoor, ChronosRAT, NoDepDNS, and EchoBackdoor. In those telecom intrusions, Microsocks was also started from an SGSN emulator to provide SOCKS proxy access across telecom networks.

The tool was also used in proxy-network construction. Ctrl-Alt-Intel identified microsocks on compromised FortiWeb firewalls in December 2025. In 2026, investigators found it deployed to TP-Link consumer routers compromised via CVE-2024-21833, where staging scripts downloaded architecture-specific microsocks binaries for ARM, AARCH64, MIPS, and x86. On those routers, microsocks established a SOCKS5 listener on a random high port, masqueraded as the process name "[kworker/0:1]", and enrolled devices into a residential proxy network. Registration of the proxy to command infrastructure occurred over TCP port 7777 or HTTP port 8889, and persistence on TP-Link devices was achieved through cron entries, /etc/rc.local modification, and NVRAM rc_startup changes. The same router compromises also deployed a custom beacon called ShadowLink.

High-confidence indicators and behaviors directly mentioned in the content include use as a SOCKS5 server/proxy; deployment from public GitHub sources; architecture-specific binaries; execution on compromised FortiWeb firewalls, TP-Link routers, and telecom infrastructure; process masquerading as "[kworker/0:1]" on TP-Link devices; and use in conjunction with broader intrusion toolchains for lateral movement, tunneling, and covert remote access.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

EXPLOITED CVES

Vulnerabilities exploited

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each row links to the full Mallory page for that vulnerability.

1 CVES
CVE-2024-21833OS Command Injection in TP-Link Archer and Deco Routers

In December 2025, Ctrl-Alt-Intel identified an unknown threat actor leveraging the open-source tool microsocks, deployed to compromised FortiWeb firewalls. We have been hunting for abuse of microsocks ever since.

via ctrlaltintel blogctrlaltintel.com
THREAT ACTORS

Groups observed using it

2 distinct threat actors attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Head Mare

Также в рамках атак мы зафиксировали инструмент MicroSocks — реализацию SOCKS5-прокси, полученную из открытого репозитория на GitHub.

via securelist rusecurelist.ru
Liminal Panda

...using a mix of custom and public tools such as Microsocks, FRP, FScan, and Responder...

via securityaffairssecurityaffairs.com
MITRE ATT&CK

Techniques & procedures

13 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence1

The primary payload, tplink_stager.sh, was designed for post-exploitation of CVE-2024-21833, an OS command injection vulnerability affecting TP-Link Archer and Deco series routers.

Execution

2 techniques
T1053.003CronEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).

T1059.004Unix ShellEvidence1
TacticExecution

All payloads are POSIX shell scripts; command execution via eval.

Persistence

3 techniques
T1037.004RC ScriptsEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... RC scripts -> modification of /etc/rc.local.

T1053.003CronEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).

T1542Pre-OS BootEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... NVRAM -> writing to rc_startup via nvram set / nvram commit.

T1037.004RC ScriptsEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... RC scripts -> modification of /etc/rc.local.

T1053.003CronEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms: Cron -> /var/spool/cron/crontabs/root or /etc/crontabs (every 5 minutes).

Stealth

4 techniques
T1036.004Masquerade Task or ServiceEvidence1
TacticStealth

Using exec -a '[kworker/0:1]', the proxy binary masquerades as a kernel worker thread while starting a SOCKS5 listener.

T1070.004File DeletionEvidence1
TacticStealth

tplink_stager.sh self-deletes original and cleans wget/curl temp files.

T1542Pre-OS BootEvidence1

Persistence on the TP-Link devices was achieved through three mechanisms... NVRAM -> writing to rc_startup via nvram set / nvram commit.

T1564.001Hidden Files and DirectoriesEvidence1
TacticStealth

Dot-prefixed filenames on routers (/tmp/.m, /tmp/.s, /tmp/.bp, /tmp/.bid).

Discovery

2 techniques
T1016System Network Configuration DiscoveryEvidence1
TacticDiscovery

The device’s public WAN IP is retrieved via ipinfo.io or ifconfig.me.

T1082System Information DiscoveryEvidence1
TacticDiscovery

All payloads collect hostname, username, and architecture via uname -m.

T1090.001Internal ProxyEvidence1

T1090.001 Proxy: Internal Proxy PhantomCore использовали механизм проксирования трафика для организации связи между скомпрометированными узлами Rsocx, tsocks, wstunnel, microsocks, localtonet

T1090.002External ProxyEvidence2

Также в рамках атак мы зафиксировали инструмент MicroSocks — реализацию SOCKS5-прокси, полученную из открытого репозитория на GitHub.

T1105Ingress Tool TransferEvidence1

Downloading microsocks binaries, GOST, FRP, and scanner modules from C2.

INDICATORS OF COMPROMISE

IOCs tracked for this family

3 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Full values are available in Mallory.

View more in app
Network
1 tracked

IPs, domains, and DNS infrastructure linked to this family.

Hashes
2 tracked

File hashes (MD5, SHA-1, SHA-256) from samples and reports.

TypeValueLatest sighting
ip.v4●●●●●●●●●●●●View more in app2 months ago
hash.sha256●●●●●●●●●●●●View more in app2 months ago
hash.md5●●●●●●●●●●●●View more in app4 months ago
What this page doesn’t show

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching3

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution2

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities1

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping13

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.