Text4shell
Description
Manual generation of attack data related to Text4Shell with Zeek HTTP logs and simulation of POC on docker.
MITRE ATT&CK Techniques
| ID | Technique | Tactic |
|---|---|---|
| T1190 | Exploit Public-Facing Application | Initial Access |
Environment Details
| Field | Value |
|---|---|
| Environment | attack_range |
| Directory | text4shell |
| Test Date | 2022-04-05 |
Datasets
The following datasets were collected during this attack simulation:
Text4shell_nginx
- Path:
/datasets/attack_techniques/T1190/text4shell/text4shell_nginx.log - Sourcetype:
nginx:plus:access - Source:
nginx
Related Detections
The following detections in our security content repository use this attack data for testing:
| Detection Name | Type | Source | MITRE ATT&CK | Analytic Story |
|---|---|---|---|---|
| Exploit Public Facing Application via Apache Commons Text | Anomaly |
Web | T1133, T1190, T1505.003 | Text4Shell CVE-2022-42889 |
Usage Instructions
Replay with Splunk Attack Data
Replay attack data with replay.py from Splunk Attack Data.
1python replay.py --dataset /datasets/attack_techniques/T1190/text4shell/text4shell_nginx.log --index attack_data
Manual Import
- Download the dataset files from the paths listed above
- Configure your Splunk instance with the appropriate sourcetypes
- Import the logs using the Splunk Add Data wizard
Related Content
Find more detections and analytics for this attack technique in our security content repository.
Source: GitHub | Version: 1.0