VeriKQL by Kaushik Saha

T1036 Masquerading

Stealthon attack.mitre.org

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

How MITRE detects it

DET0127 Behavioral Detection of Masquerading Across Platforms via Metadata and Execution Discrepancy

AN0355 Windows

Adversary renames LOLBINs or deploys binaries with spoofed file names, internal PE metadata, or misleading icons to appear legitimate. File creation is followed by execution or service registration inconsistent with known usage.

MITRE log sourceIn Microsoft Sentinel
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:SystemEventCode=7045
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("System") | where EventID in (7045)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("System") | where EventID in (7045)

AN0356 Linux

Adversary drops renamed binaries in uncommon directories (e.g., /tmp, /dev/shm) or uses special characters in names (e.g., trailing space, Unicode RLO). Execution or cronjob registration follows shortly after file drop.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
linux:syslogrenameNot mapped to Sentinel yet.
linux:osqueryfile_eventsNot mapped to Sentinel yet.

AN0357 macOS

Adversary creates disguised launch daemons or apps with misleading names and bundle metadata (e.g., Info.plist values inconsistent with binary path or icon). Launch is correlated with user logon or persistence setup.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogprocessNot mapped to Sentinel yet.
macos:endpointsecurityES_EVENT_TYPE_NOTIFY_EXECNot mapped to Sentinel yet.
fs:fileevents/var/log/install.logNot mapped to Sentinel yet.

AN0358 Containers

Adversary uses renamed container images, injects files into containers with misleading names or metadata (e.g., renamed system binaries), and executes them during startup or scheduled jobs.

MITRE log sourceIn Microsoft Sentinel
containerd:runtime/var/log/containers/*.logNot mapped to Sentinel yet.
docker:eventsdocker.events.jsonNot mapped to Sentinel yet.
ebpf:syscallsfile_writeNot mapped to Sentinel yet.

AN0359 ESXi

Adversary places scripts or binaries with misleading names in /etc/rc.local.d or /var/spool/cron, or registers services with legitimate-sounding names not present in default ESXi builds.

MITRE log sourceIn Microsoft Sentinel
esxi:hostdregisters services with legitimate-sounding namesNot mapped to Sentinel yet.
esxi:shellscripts or binaries with misleading namesNot mapped to Sentinel yet.

Content Hub rules tagged with it (28)

Showing 25 of 28.

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 T1036 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

97 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Showing 25 of 97: stable rules first, then by level.

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

Sub-techniques

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.