Lateral Movement Psh

Description

Manually using the command line and powershell.exe to start a process on a remote endpoint leveraging the WinRM protocol for lateral movement and remote code execution.

MITRE ATT&CK Techniques

ID Technique Tactic
T1021.006 Windows Remote Management Lateral Movement

Environment Details

Field Value
Environment attack_range
Directory lateral_movement_psh
Test Date 2021-11-16

Datasets

The following datasets were collected during this attack simulation:

Windows-Powershell-Xml

  • Path: /datasets/attack_techniques/T1021.006/lateral_movement_psh/windows-powershell-xml.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational

Windows-Sysmon

  • Path: /datasets/attack_techniques/T1021.006/lateral_movement_psh/windows-sysmon.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational

No specific detections currently use this attack data for testing. However, you can find related detections and analytics in our security content repository.

Usage Instructions

Replay with Splunk Attack Data

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

1python replay.py --dataset /datasets/attack_techniques/T1021.006/lateral_movement_psh/windows-powershell-xml.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