VeriKQL by Kaushik Saha

T1036.005 Match Legitimate Resource Name or Location

Stealthon attack.mitre.org

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

How MITRE detects it

DET0347 Detection Strategy for Masquerading via Legitimate Resource Name or Location

AN0983 Windows

Detects processes or binaries executed from trusted directories (e.g., System32) or using trusted names (e.g., svchost.exe) where the metadata, hash, or parent process does not align with legitimate activity patterns.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4688
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4688)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4688)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

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

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

AN0984 Linux

Detects renamed binaries or scripts placed into trusted paths like /usr/bin or /lib with mismatched metadata or unexpected creation/modification times.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
auditd:SYSCALLopenNot mapped to Sentinel yet.
auditd:SYSCALLrenameNot mapped to Sentinel yet.
linux:osqueryFilesystem modifications to trusted pathsNot mapped to Sentinel yet.

AN0985 macOS

Detects binaries or launch daemons in /System/Library or /Applications with mismatched bundle names, unexpected metadata, or improper installation origin.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedloglog collect from launchd and process startNot mapped to Sentinel yet.
fs:fsusagefilesystem monitoring of exec/openNot mapped to Sentinel yet.

AN0986 Containers

Detects malicious containers or pods using names, labels, or namespaces that mimic legitimate workloads; also checks for image layer mismatches and unauthorized resource deployments.

MITRE log sourceIn Microsoft Sentinel
kubernetes:apiserverResource creation and update logsNot mapped to Sentinel yet.
containerd:eventsDocker or containerd image pulls and process executionsNot mapped to Sentinel yet.

AN0987 ESXi

Detects VIBs, scripts, or binaries placed into directories like /bin or /etc/vmware with names mimicking standard ESXi components. Also monitors unauthorized creation of services.

MITRE log sourceIn Microsoft Sentinel
esxi:vmkernelExecNot mapped to Sentinel yet.
esxi:vmkernelmodule loadNot mapped to Sentinel yet.
esxi:hostdService eventsNot mapped to Sentinel yet.
esxi:hostdtask creation eventsNot mapped to Sentinel yet.

Content Hub rules tagged with it (2)

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

In Sigma rules

24 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.