Spring4shell

Description

Manual generation of attack data related to Spring4Shell with Nginx proxy logs

MITRE ATT&CK Techniques

ID Technique Tactic
T1190 Exploit Public-Facing Application Initial Access

Environment Details

Field Value
Environment attack_range
Directory spring4shell
Test Date 2022-04-05

Datasets

The following datasets were collected during this attack simulation:

Spring4shell_nginx

  • Path: /datasets/attack_techniques/T1190/spring4shell/spring4shell_nginx.log
  • Sourcetype: nginx:plus:access
  • Source: nginx

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

Detection Name Type Source MITRE ATT&CK Analytic Story
Java Writing JSP File TTP Endpoint T1190, T1133 Spring4Shell CVE-2022-22965, Atlassian Confluence Server and Data Center CVE-2022-26134, SysAid On-Prem Software CVE-2023-47246 Vulnerability, SAP NetWeaver Exploitation
Web Spring4Shell HTTP Request Class Module TTP Web T1190, T1133 Spring4Shell CVE-2022-22965
Spring4Shell Payload URL Request TTP Web T1133, T1190, T1505.003 Spring4Shell CVE-2022-22965
Web JSP Request via URL TTP Web T1133, T1190, T1505.003 Spring4Shell CVE-2022-22965, Earth Alux
Web Spring Cloud Function FunctionRouter TTP Web T1190, T1133 Spring4Shell CVE-2022-22965

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/spring4shell/spring4shell_nginx.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