React2shell

Description

Generated datasets for React2Shell exploitation

MITRE ATT&CK Techniques

ID Technique Tactic
T1059 Command and Scripting Interpreter Execution
T1059.001 PowerShell Execution
T1059.003 Windows Command Shell Execution
T1059.004 Unix Shell Execution
T1190 Exploit Public-Facing Application Initial Access

Environment Details

Field Value
Environment attack_range
Directory react2shell
Test Date 2025-12-08

Datasets

The following datasets were collected during this attack simulation:

React2shell_linux

  • Path: /datasets/react2shell/react2shell_linux.log
  • Sourcetype: sysmon:linux
  • Source: Syslog:Linux-Sysmon/Operational

React2shell_windows

  • Path: /datasets/react2shell/react2shell.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
Windows Suspicious React or Next.js Child Process TTP Endpoint T1190, T1059.003, T1059.001 React2Shell
Linux Suspicious React or Next.js Child Process TTP Endpoint T1190, T1059.004 React2Shell

Usage Instructions

Replay with Splunk Attack Data

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

1python replay.py --dataset /datasets/react2shell/react2shell_linux.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