VeriKQL by Kaushik Saha

T1495 Firmware Corruption

Impacton attack.mitre.org

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

How MITRE detects it

DET0167 Firmware Modification via Flash Tool or Corrupted Firmware Upload

AN0474 Windows

Firmware flash utility invoked with elevated privileges followed by raw access to firmware device path or changes to boot configuration.

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=6
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where Source == "Microsoft-Windows-Sysmon" | where EventID in (6)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Provider == "Microsoft-Windows-Sysmon" | where EventID in (6)

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

WinEventLog:Microsoft-Windows-Kernel-BootFirmware integrity validation failed or boot configuration tamperedinterpreted
  • Windows event logs (Azure Monitor Agent) → Event
    Event | where EventLog in ("Microsoft-Windows-Kernel-Boot/Operational")
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel in ("Microsoft-Windows-Kernel-Boot/Operational")

Assumes the provider's Operational log; MITRE names the provider only.

AN0475 Linux

Direct write access to /dev/mem or /sys/firmware combined with usage of firmware flashing utilities (e.g., flashrom).

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLwrite access to /dev/mem or /sys/firmware/efi/efivarsNot mapped to Sentinel yet.
auditd:SYSCALLexecution of known flash tools (e.g., flashrom, fwupd)Not mapped to Sentinel yet.

AN0476 macOS

EFI updates executed via system processes or binaries outside of expected patch windows or using unsigned firmware packages.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogcom.apple.firmwareupdater activity or update-firmware binary invokedNot mapped to Sentinel yet.
macos:unifiedlogboot failure events or SMC validation errorsNot mapped to Sentinel yet.

AN0477 Network Devices

Firmware image uploaded via TFTP/SCP or web interface followed by reboot or unexpected loss of connectivity.

MITRE log sourceIn Microsoft Sentinel
NSM:Flowlarge upload to firmware interface port or pathNot mapped to Sentinel yet.
networkdevice:firmwareFirmware update initiated or bootloader tampering detectedNot 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

1 SigmaHQ community rule 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

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.