Lateral Movement Powershell

Description

Manually using the Metasploit framework binary to create and start a Windows Service on a remote endpoint that calls PowerShell.exe for lateral movement and remote code execution.

MITRE ATT&CK Techniques

ID Technique Tactic
T1543.003 Windows Service Persistence, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory lateral_movement_powershell
Test Date 2021-11-29

Datasets

The following datasets were collected during this attack simulation:

Windows-Sysmon

  • Path: /datasets/attack_techniques/T1543.003/lateral_movement_powershell/windows-sysmon.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
Possible Lateral Movement PowerShell Spawn TTP Endpoint T1021.003, T1021.006, T1047, T1053.005, T1059.001, T1218.014, T1543.003 Active Directory Lateral Movement, Malicious PowerShell, Hermetic Wiper, Data Destruction, Scheduled Tasks, CISA AA24-241A, Microsoft WSUS CVE-2025-59287

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1543.003/lateral_movement_powershell/windows-sysmon.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0