VeriKQL by Kaushik Saha

T1557 Adversary-in-the-Middle

CollectionCredential Accesson attack.mitre.org

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

How MITRE detects it

DET0296 Detect Adversary-in-the-Middle via Network and Configuration Anomalies

AN0823 Windows

Detects suspicious DNS/ARP poisoning attempts, unauthorized modifications to registry/network configuration, or abnormal TLS downgrade activity. Correlates changes in system configuration with subsequent unusual network flows or authentication events.

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

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

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.

AN0824 Linux

Detects unauthorized edits to /etc/hosts, /etc/resolv.conf, or suspicious ARP broadcasts. Correlates file modifications with subsequent unexpected network sessions or service creation.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLopen, writeNot mapped to Sentinel yet.
NSM:FlowUnexpected ARP replies or DNS responses inconsistent with authoritative serversNot mapped to Sentinel yet.

AN0825 macOS

Detects unauthorized edits to system configuration profiles, unexpected certificate trust changes, or abnormal ARP/DNS patterns indicative of interception.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogConfiguration profile modified or new profile installedNot mapped to Sentinel yet.
NSM:FlowTLS downgrade or inconsistent DNS answersNot mapped to Sentinel yet.

AN0826 Network Devices

Detects unauthorized firmware or configuration changes enabling adversary-in-the-middle positioning (e.g., route injection, DNS spoofing, SSL downgrade). Behavioral analytics focus on sudden changes to routing tables or image file integrity failures.

MITRE log sourceIn Microsoft Sentinel
NSM:FlowUnexpected route changes or duplicate gateway advertisementsNot mapped to Sentinel yet.
networkdevice:configConfiguration file modified or replaced on network deviceNot mapped to Sentinel yet.

Content Hub rules tagged with it (9)

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

In Sigma rules

21 SigmaHQ community rules name it or one of its sub-techniques 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

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.