VeriKQL by Kaushik Saha

T1534 Internal Spearphishing

Lateral Movementon attack.mitre.org

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

How MITRE detects it

DET0054 Internal Spearphishing via Trusted Accounts

AN0147 Windows

Sequence of internal email sent from a recently compromised user account (preceded by abnormal logon or device activity), with attachments or links leading to execution or credential harvesting. Defender observes: internal mail delivery to peers with high entropy attachments, followed by click events, process initiation, or credential prompts.

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

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

WinEventLog:SecurityEventCode=4625
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4625)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4625)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4625)

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

WinEventLog:SecurityEventCode=4672
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4672)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4672)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4672)

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

m365:unifiedSendOnBehalf, MessageSend, ClickThrough, MailItemsAccessedinterpreted
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange", "SharePoint", "OneDrive", "MicrosoftTeams")
  • Microsoft Defender XDR → CloudAppEvents
    CloudAppEvents

The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity.

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.

AN0148 Linux

Delivery of suspicious internal communication (e.g., Thunderbird, Evolution) using compromised internal accounts. Sequence of: unexpected user activity + mail transfer logs + download or execution of attachments.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecveNot mapped to Sentinel yet.
Application:Mailsmtpd$.*$: .*from=[.*@internaldomain.com](mailto:.*@internaldomain.com) to=[.*@internaldomain.com](mailto:.*@internaldomain.com)Not mapped to Sentinel yet.
linux:syslogcurl|wget|python .*httpNot mapped to Sentinel yet.

AN0149 macOS

Abnormal Apple Mail use, including internal email relays followed by file execution or script events (e.g., attachments launched via Preview, terminal triggered from Mail.app)

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogcom.apple.mail.* exec.*Not mapped to Sentinel yet.
macos:unifiedlogcurl|osascript.*open locationNot mapped to Sentinel yet.

AN0150 SaaS

Internal spearphishing via SaaS applications (e.g., Slack, Teams, Gmail): message sent from compromised user with attachment or URL, followed by click and credential access behavior.

MITRE log sourceIn Microsoft Sentinel
saas:slackfile_upload, message_send, message_clickNot mapped to Sentinel yet.

AN0151 Office Suite

Outlook or Word used to forward suspicious internal attachments with macro content. Defender observes attachment forwarding, auto-opening behaviors, or macro prompt interactions.

MITRE log sourceIn Microsoft Sentinel
m365:unifiedSendOnBehalf, MessageSend, AttachmentPreviewedinterpreted
  • Microsoft 365 (formerly Office 365) → OfficeActivity
    OfficeActivity | where OfficeWorkload in ("Exchange", "SharePoint", "OneDrive", "MicrosoftTeams")
  • Microsoft Defender XDR → CloudAppEvents
    CloudAppEvents

The Office 365 connector brings the Exchange, SharePoint and Teams workloads of the unified audit log; Entra sign-ins in it are in SigninLogs; CloudAppEvents carries Microsoft 365 app activity.

WinEventLog:SecurityEventCode=4103, 4104, 4105, 4106
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4103, 4104, 4105, 4106)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4103, 4104, 4105, 4106)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4103, 4104, 4105, 4106)

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

Content Hub rules tagged with it (5)

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

In Sigma rules

No SigmaHQ rule names it or one of its sub-techniques in their tags outright.

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.