Tordev
Table of Contents
Overview
TorDev (tracked across security intelligence databases and antimalware engines under signatures including Trojan:Win32/TorDev, Backdoor:Win32/TorDev, and Trojan.TorDev) is a stealthy Windows trojan, proxy botnet client, and backdoor active since 2016. Engineered to abuse the Tor onion-routing network to establish anonymous command-and-control communication, TorDev bundles or dynamically downloads an embedded Tor client binary (tor.exe) along with customized Tor configuration files (torrc). Once running on an infected system, TorDev establishes a local SOCKS5 proxy listener (typically on localhost:9050 or localhost:9150) and connects out to attacker-controlled Tor hidden services (.onion addresses). By channeling commands and exfiltration through the Tor darknet, TorDev conceals attacker infrastructure from IP reputation blacklists and perimeter firewall blocks, empowering threat actors to execute remote interactive commands, exfiltrate stolen host telemetry, and rent compromised endpoints as residential proxy exit nodes.
Known aliases
Threat reports may refer to this family under multiple names:
Family Pedigree & Lineage
Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:
Known Derivatives & Downstream Variants: Trojan:Win32/Tordev.A · Backdoor:Win32/Tordev.B
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1090.003 · T1071.001 · T1059.003 · T1547.001 · T1082
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1059.003: Restrict execution of Windows Command Shell (cmd.exe) and block unauthorized batch scripts.
- T1071.001: Implement web filtering and SSL/TLS inspection to detect malicious command and control (C2) traffic hiding in HTTP/HTTPS.
MITRE D3FEND™ Defensive Countermeasures
Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):
| D3FEND ID | Countermeasure Name | Tactic | Countered ATT&CK | Defensive Guidance |
|---|---|---|---|---|
D3-PBA | Process Spawn Analysis | Detect | T1059.003 | Inspect command-line arguments and anomalous parent-child relationships spawning from cmd.exe. |
D3-WAF | Web Content Filtering & Inspection | Filter | T1071.001 | Block newly registered domains (NRDs) and inspect HTTP Host and URI headers for known C2 profiles. |
D3-SDA | System Discovery Analysis | Detect | T1082 | Alert on rapid enumerations of systeminfo, hostname, and registry hardware trees in short intervals. |
D3-OAA | Outbound Network Traffic Filtering | Isolate | T1090.003 | Restrict outbound connections to known external proxy relays and enforce enterprise forward proxy authentication. |
D3-RPM | Registry Persistence Monitoring | Detect | T1547.001 | Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management. |
Tiered Detection Rules (Cisco CAIRN Model)
Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:
Tier 1 Primitive Artifact Rule (Fast Triage)
Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.
rule MALWARE_WIN_TORDEV_T1_ARTIFACT {
meta:
description = "Tier 1 Primitive Artifact: Raw string matches for Tordev"
tier = "T1 - Primitive Artifact"
confidence = "Low-Medium (Fast Triage)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
$s1 = "tordev" ascii wide nocase
$s2 = "trojan:win32/tordev" ascii wide nocase
$s3 = "backdoor:win32/tordev" ascii wide nocase
$s4 = "trojan.tordev" ascii wide nocase
$s5 = "win32/tordev" ascii wide nocase
$s6 = "tordev proxy botnet" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}
Tier 2 Behavioral Context Rule (Process Chains & Sigma)
Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.
title: SystemHelpDesk Detection - Tordev (Botnet) Execution & Triage
id: 0b9351b1-e9ae-59dc-8572-a9b3b5766ced
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
with the Tordev malware family. Detects firewall rule subversion, internal port
proxying, and command-and-control keepalive polling indicative of botnet nodes.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/tordev
- https://malware-families-catalog.systemhelpdesk.com/defensive/botnet-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.botnet
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1090_003
- attack.t1071_001
- attack.t1059_003
- attack.t1547_001
- attack.t1082
logsource:
category: process_creation
product: windows
detection:
selection_process:
Image|endswith:
- \netsh.exe
- \route.exe
- \arp.exe
- \ping.exe
CommandLine|contains:
- advfirewall firewall add rule
- netsh interface portproxy
- ping -n 1 127.0.0.1
condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: high
Tier 3 Attribution Fingerprint Rule (High Fidelity)
Deep signature matching distinctive operational fingerprints and payload characteristics.
rule MALWARE_WIN_TORDEV_T3_ATTRIBUTION {
meta:
description = "Tier 3 Attribution Fingerprint: Heuristic detection for Tordev tradecraft"
tier = "T3 - Attribution Fingerprint"
confidence = "High (Confirmed Family Signature)"
author = "SystemHelpdesk Threat Research Desk"
date = "2026-10-14"
strings:
// Core family identifier & heuristic payload signatures
$attrib_str = "tordev" ascii wide nocase
$pe_magic = "MZ" ascii
$net_marker = "http" ascii nocase
condition:
uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
References & External Analysis
- Microsoft Defender Threat Encyclopedia - Trojan:Win32/TorDev
- Trend Micro Threat Encyclopedia - Backdoor.Win32.TorDev
- Search "tordev" on VirusTotal (External Analysis)
- Search "tordev" on Any.Run (Sandbox Sandbox)
- Search "tordev" on MalwareBazaar (Malware Samples)
Frequently Asked Questions
What is Trojan:Win32/TorDev?
TorDev is a Windows trojan and proxy botnet client that uses the Tor network for anonymous command-and-control communication and residential proxy relaying.
How does TorDev use the Tor network on compromised endpoints?
It deploys an embedded Tor binary and configuration to route traffic through Tor onion services, masking the operator's actual IP address.
What malicious actions can attackers execute via TorDev?
Attackers can run arbitrary shell commands, exfiltrate files, download secondary malware, and route external cybercrime traffic through the host as a proxy.
How does TorDev achieve persistence?
It installs background Windows services and writes autorun entries to the Windows CurrentVersion\Run registry key.
How can network administrators detect TorDev proxy activity?
Monitor for unauthorized outbound connections to known Tor directory authorities and detect processes listening on local ports 9050 or 9150.
How do I remove the Tordev Botnet from Windows?
Manual removal of Tordev is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Tordev a virus or a Botnet?
Tordev is classified as a Botnet. Unlike traditional viruses that infect files, modern malware like Tordev typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Tordev infection?
Symptoms of Tordev can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Protect Your Network Against Botnets
Want to prevent Tordev and similar threats from compromising your organization? Read our comprehensive defensive guide: Botnet Protection & Remediation.
📣 Threat Intel Correction or Update?
Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.
Machine-readable
Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/tordev.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.