VeriKQL by Kaushik Saha

T1570 Lateral Tool Transfer

Lateral Movementon attack.mitre.org

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

How MITRE detects it

DET0183 Detection Strategy for Lateral Tool Transfer across OS platforms

AN0516 Windows

Correlate suspicious file transfers over SMB or Admin$ shares with process creation events (e.g., cmd.exe, powershell.exe, certutil.exe) that do not align with normal administrative behavior. Detect remote file writes followed by execution of transferred binaries.

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

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

AN0517 Linux

Monitor scp, rsync, curl, sftp, or ftp processes initiating transfers to internal systems combined with file creation events in unusual directories. Correlate transfer activity with subsequent execution of those binaries.

MITRE log sourceIn Microsoft Sentinel
auditd:SYSCALLexecve: Invocation of scp, rsync, curl, or sftpNot mapped to Sentinel yet.
auditd:FILEcreate: New file created in system binaries or temp directoriesNot mapped to Sentinel yet.

AN0518 macOS

Detect anomalous use of scp, rsync, curl, or third-party sync apps transferring executables into user directories. Correlate new file creation with immediate execution events.

MITRE log sourceIn Microsoft Sentinel
macos:unifiedlogExecution of scp, rsync, curl with remote destinationNot mapped to Sentinel yet.
macos:unifiedlogFile created in ~/Library/LaunchAgents or executable directoriesNot mapped to Sentinel yet.

AN0519 ESXi

Identify lateral transfer via datastore file uploads or internal scp/ssh sessions that result in new VMX/VMDK or script files. Correlate transfer with VM execution or datastore modification.

MITRE log sourceIn Microsoft Sentinel
esxi:vmkernelUpload of file to datastoreNot mapped to Sentinel yet.
esxi:hostdscp/ssh used to move file across hostsNot mapped to Sentinel yet.

Content Hub rules tagged with it (15)

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

In Sigma rules

6 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

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.