VeriKQL by Kaushik Saha

T1090.002 External Proxy

Command and Controlon attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0325 External Proxy Behavior via Outbound Relay to Intermediate Infrastructure

AN0922 Windows

Unusual process (e.g., `rundll32`, `mshta`, `wscript`, or custom payloads) initiates network connection to external IPs/domains that proxy C2 traffic, often over uncommon ports or high entropy HTTP/S connections.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SysmonEventCode=3, 22
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (3, 22)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (3, 22)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:SysmonEventCode=1
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (1)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (1)

Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent.

WinEventLog:Microsoft-Windows-Windows Defender/OperationalUnusual external domain access
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Microsoft-Windows-Windows Defender/Operational")
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Microsoft-Windows-Windows Defender/Operational")

AN0923 Linux

`curl`, `wget`, `ncat`, `socat`, or custom binaries initiate outbound traffic to Internet-based proxies (e.g., via VPS or CDN). Behavior may include reverse shell constructs or persistent outbound beacons.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
NSM:Flowconn.log or http.logNot mapped to Sentinel yet.
NSM:Flowalert logNot mapped to Sentinel yet.

AN0924 macOS

AppleScript or terminal sessions launch tools (`curl`, `nc`, `ssh`) to external IPs not commonly accessed. Outbound connections are made by LaunchAgents/LaunchDaemons, often masquerading as system services.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogprocess logsNot mapped to Sentinel yet.
NSM:Flowpf firewall logsNot mapped to Sentinel yet.
macos:osquerylaunchd or network_eventsNot mapped to Sentinel yet.

AN0925 ESXi

ESXi shell or guest VM tools initiate external connections via scripted traffic forwarding to Internet-based proxies. Detected by firewall or shell audit logs showing outbound connection spikes from hypervisor or guest VM to remote proxy nodes.

MITRE log sourceIn Microsoft Sentinel
esxi:shellNoneNot mapped to Sentinel yet.
esxi:vmkernelNoneNot mapped to Sentinel yet.
NSM:Flowconn.logNot mapped to Sentinel yet.

AN0926 Network Devices

Changes to NAT/firewall policies enabling outbound port forwarding from internal IPs to Internet-based proxy endpoints. Log spikes in outbound flows to CDN, VPS, or anomalous ASNs with few return packets.

MITRE log sourceIn Microsoft Sentinel
Firewall Audit LogsOutbound NAT Rule ChangesNot mapped to Sentinel yet.
NSM:FlowOutbound flow recordsNot mapped to Sentinel yet.
networkdevice:syslogDynamic route changesNot mapped to Sentinel yet.

Content Hub rules tagged with it (1)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1090.002 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

2 SigmaHQ community rules name it in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.