When attackers repurpose legitimate binaries like curl.exe to tunnel through SOCKS proxies and access .onion domains, it poses a major visibility gap for defenders. These behaviors can signal C2 activity, data staging, or use of a backdoor like Kalambur.
VMware Carbon Black allows you to detect these patterns with detailed command-line monitoring, but parsing the query logic can be a slow, error-prone task. Enter Uncoder AI’s AI-generated Decision Tree, which breaks this down into an interactive, visualized path to clarity.


Detection Focus: curl + Proxy Tunnels + .onion Targets
The Carbon Black query identifies potentially malicious execution of curl.exe with three required conditions:
- The process is curl.exe, identified via:
process_name:*\\curl\.exe– wildcard matching ensures flexibility across directory paths
- Command-line proxy usage, matched via:
socks5h://socks5://socks4a://
- .onion domain targeting, which is a strong signal of TOR network activity:
process_cmdline:*\.onion*
This means the detection only fires when curl is used to reach dark web services through proxy obfuscation.
What the AI-generated Decision Tree Revealed
Uncoder AI translated this detection into a logical path using AND branches:
- The process must be curl.exe
- The command line must include at least one SOCKS proxy pattern
The command line must also contain a .onion reference
This full-stack visualization makes detection logic readable, presentable, and explainable across security teams.
Why This Matters
- Reduces Time to Understand: Instead of reading through regex-heavy command-line filters, analysts instantly see what’s being validated.
- Improves Auditability: The decision tree can be shared in detection review sessions or compliance documentation.
- Enhances Threat Hunting: When searching for curl misuse, analysts now have the full logic exposed in one intuitive flow.
This is particularly useful when monitoring for low-noise, high-evasion TTPs—such as malware using native tools to access dark web infrastructure.
From Query to Confidence, Instantly
The combination of Carbon Black telemetry and Uncoder AI’s decision tree logic gives SOCs a fast lane from rule logic to real-world response. You don’t just detect threats—you understand them before they escalate.