VeriKQL by Kaushik Saha

T1491.001 Internal Defacement

Impacton attack.mitre.org

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

How MITRE detects it

DET0082 Internal Website and System Content Defacement via UI or Messaging Modifications

AN0229 Windows

Adversary modifies internal UI messages (e.g., login banners, desktop wallpapers) or hosted intranet web pages by creating or altering content files using scripts or unauthorized access. Often preceded by privilege escalation or web shell deployment.

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

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

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.

AN0230 Linux

Adversary leverages root or sudo access to alter system banners, web content directories (e.g., /var/www/html), or login configurations (/etc/issue). File creation or overwrites may coincide with suspicious script execution or cron job activity.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLopen/write/unlinkNot mapped to Sentinel yet.
auditd:SYSCALLexecveNot mapped to Sentinel yet.
linux:syslogsudo or su access prior to content changeNot mapped to Sentinel yet.

AN0231 macOS

Modification of user desktop backgrounds, login screen messages, or system banners by adversaries using admin privileges or script execution. May coincide with tampering in /Library/Desktop Pictures/ or use of AppleScript.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogloginwindow or desktopservices modified settings or filesNot mapped to Sentinel yet.
macos:unifiedlogosascript or AppleScript invocation modifying UINot mapped to Sentinel yet.

AN0232 ESXi

Adversary modifies ESXi host login banner or MOTD file (/etc/motd), either through SSH or host console access. May involve configuration file overwrite or API calls from compromised vSphere clients.

MITRE log sourceIn Microsoft Sentinel
ESXiLogs:messageschanges to /etc/motd or /etc/vmware/welcomeNot mapped to Sentinel yet.
esxi:hostdmodification of config files or shell command executionNot mapped to Sentinel yet.

Content Hub rules tagged with it (0)

No Content Hub rule is tagged with this technique.

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

In Sigma rules

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