Skip to main content
Live Webinar with SANS (June 25)— Agentic CTI Automation for Fun & ProfitRegister Free
Mallory
MalwareRansomwareUsed by 1 actor

AVRecon

AVrecon is a Linux-based remote access trojan and botnet malware used to compromise home, small-office/home-office, and other edge networking devices, and to monetize them as residential proxies through the SocksEscort service. Public reporting cited here states it was first observed in May 2021 and publicly documented by Lumen Black Lotus Labs in July 2023. AVrecon has been linked directly to the SocksEscort proxy network and was described as one of the larger SOHO-router-targeting botnets observed by Black Lotus Labs.

The malware primarily targets routers and IoT devices, especially SOHO routers, and has been reported to affect roughly 1,200 device models from vendors including Cisco, D-Link, Hikvision, MikroTik, Netgear, TP-Link, and Zyxel. It is written in C and primarily targets MIPS and ARM devices, with reporting also noting compilation for multiple architectures including ARM-embedded devices. Infection activity relied on scanning for internet-exposed vulnerable devices and exploiting known but unpatched vulnerabilities, including remote code execution, command injection, and exposed SOAP-related flaws.

Once installed, AVrecon can maintain remote access to the device, update its stored configuration, establish a remote shell to attacker-controlled servers, and download and execute arbitrary payloads. It was used to route internet traffic through compromised routers, turning them into residential proxy nodes for criminal customers. Reporting also states that on some devices operators achieved persistence by flashing custom firmware containing AVrecon, configuring it to launch at startup, and disabling normal update and reflashing mechanisms. In other cases, infections lacked persistence and were removed by rebooting, although some devices were reportedly re-infected after restart by re-exploitation. Malware filenames specifically identified in the reporting include "x" for a loader and "dnssmasq" for the AVrecon payload.

Command-and-control communications were observed over ports 8000 and 8080 using a custom PING/PONG loop every 60 seconds until commands were issued. Black Lotus Labs reported that the broader SocksEscort/AVrecon infrastructure maintained high victim volume, with averages around 20,000 distinct victims weekly in recent periods, and other reporting cited infection counts ranging from over 70,000 Linux-based SOHO routers by mid-2023 to hundreds of thousands of exposed victim IPs over time.

AVrecon is associated with the SocksEscort threat actors and infrastructure. Authorities and researchers stated that compromised devices were sold as residential proxies to help criminals conceal origin IP addresses and bypass filters and blocklists. Reporting linked the resulting proxy network to ad fraud, password spraying, website exploitation attempts, digital marketplace fraud, banking fraud, romance fraud, bank and cryptocurrency account takeovers, fraudulent unemployment claims, ransomware activity, DDoS attacks, and distribution of child sexual abuse material. Law enforcement disrupted SocksEscort in Operation Lightning in March 2026, and earlier Lumen disrupted AVrecon botnet infrastructure in 2023.

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.

THREAT ACTORS

Groups observed using it

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

View more details
SocksEscort

SocksEscort utilized malware, identified as AVrecon, to infect home and small business routers, including devices from brands like Cisco, D-Link, and Netgear.

via scworldscworld.com
MITRE ATT&CK

Techniques & procedures

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

Reconnaissance

1 technique
T1595Active ScanningEvidence1

AVrecon malware is distributed by scanning for, identifying, and targeting Internet-connected devices with exposed vulnerable services.

Resource Development

3 techniques
T1584Compromise InfrastructureEvidence1

Operation Lightning dismantled SocksEscort in March, which ran on hijacked SOHO routers via the AVRecon botnet.

T1584.005BotnetEvidence3

the Dutch National Police and the National Cyber Security Center announced they had taken down a large-scale botnet that had compromised roughly 17 million devices globally - computers, smartphones, and tablets - all funneled through approximately 200 servers physically hosted inside the Netherlands.

T1584.008Network DevicesEvidence2

SocksEscort utilized malware, identified as AVrecon, to infect home and small business routers, including devices from brands like Cisco, D-Link, and Netgear.

Initial Access

1 technique
T1190Exploit Public-Facing ApplicationEvidence2

SocksEscort threat actors have exploited known vulnerabilities in various routers and IOT devices to gain access to the devices and install AVrecon malware.

Execution

2 techniques
T1059Command and Scripting InterpreterEvidence4

Once installed, AVrecon could establish a remote shell connection to attacker-controlled servers and download additional malicious payloads.

T1203Exploitation for Client ExecutionEvidence1

The malware primarily affected small office and home office routers by exploiting security vulnerabilities such as remote code execution and command injection flaws.

Persistence

2 techniques
T1542Pre-OS BootEvidence1

In some cases, threat actors utilize a device’s built-in update features to flash the device with a custom firmware image. This custom firmware contains a copy of AVrecon and is hardcoded to execute AVrecon on device startup.

T1547Boot or Logon Autostart ExecutionEvidence2

The malware also modified device firmware to ensure it executed automatically whenever the device restarted, while disabling normal update mechanisms to keep the infection persistent.

Privilege Escalation

2 techniques
T1068Exploitation for Privilege EscalationEvidence1

The compromised devices were infected through a vulnerability in the residential modems of a specific brand.

T1547Boot or Logon Autostart ExecutionEvidence2

The malware also modified device firmware to ensure it executed automatically whenever the device restarted, while disabling normal update mechanisms to keep the infection persistent.

Stealth

1 technique
T1542Pre-OS BootEvidence1

In some cases, threat actors utilize a device’s built-in update features to flash the device with a custom firmware image. This custom firmware contains a copy of AVrecon and is hardcoded to execute AVrecon on device startup.

Credential Access

1 technique
T1110.003Password SprayingEvidence2

Threat actors behind the campaign aimed at building a botnet to use for a range of criminal activities, from password spraying to digital advertising fraud.

Command and Control

7 techniques
T1071Application Layer ProtocolEvidence2

Infected routers have been observed communicating with SocksEscort C2 servers over port 8080 and 8000.

T1090ProxyEvidence4

The service functioned by infecting internet routers with malware that redirected traffic through the compromised devices without the owners’ knowledge. By tunneling traffic through ordinary household connections, cybercriminals could blend malicious activity with legitimate internet usage, making detection more difficult.

T1090.003Multi-hop ProxyEvidence3

The malware allowed SocksEscort to direct internet traffic through the infected routers. SocksEscort sold this access to its customers.

T1095Non-Application Layer ProtocolEvidence1

AVrecon malware prompts the infected device to communicate with its designated C2 server over port 8000 every 60 seconds using a custom loop in which AVrecon and the C2 server exchange the words “PING” and “PONG” until the C2 has a command for AVrecon to execute.

T1105Ingress Tool TransferEvidence3

Once installed, AVrecon could establish a remote shell connection to attacker-controlled servers and download additional malicious payloads.

T1219Remote Access ToolsEvidence2

This is a complex operation that infects small-office/home-office (SOHO) routers, deploying a Linux-based Remote Access Trojan (RAT) we’ve dubbed “AVrecon.”

T1665Hide InfrastructureEvidence1

This infrastructure was used to conceal the true IP addresses of criminals, enabling them to conduct fraudulent activities.

Impact

1 technique
T1498Network Denial of ServiceEvidence1

"SocksEscort was used to facilitate ransomware, distributed denial of service (DDoS) attacks"

Other

1 technique
T1562Impair DefensesEvidence2

The malware also modified device firmware to ensure it executed automatically whenever the device restarted, while disabling normal update mechanisms to keep the infection persistent.

INDICATORS OF COMPROMISE

IOCs tracked for this family

1 indicator 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.

TypeValueLatest sighting
domain●●●●●●●●●●●●View more in app3 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 matching1

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

Threat actor attribution1

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

Exploited vulnerabilities

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 mapping20

Every documented technique, ranked by evidence weight.

Researcher chatter

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