Cmd Spawns Cscript

Description

Manual generation of attack data in which cmd.exe spawn cscript.exe.

MITRE ATT&CK Techniques

ID Technique Tactic
T1059.003 Windows Command Shell Execution

Environment Details

Field Value
Environment attack_range
Directory cmd_spawns_cscript
Test Date 2020-11-10

Datasets

The following datasets were collected during this attack simulation:

Windows-Sysmon

  • Path: /datasets/attack_techniques/T1059.003/cmd_spawns_cscript/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
Detect Use of cmd exe to Launch Script Interpreters TTP Endpoint T1059.003 Emotet Malware DHS Report TA18-201A, Suspicious Command-Line Executions, Azorult

Usage Instructions

Replay with Splunk Attack Data

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

1python replay.py --dataset /datasets/attack_techniques/T1059.003/cmd_spawns_cscript/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