Kubernetes Nginx Lfi Attack

Description

Manual generation of attack data by running a LFI attack againsta kubernetes cluster with a web app running

MITRE ATT&CK Techniques

ID Technique Tactic
T1212 Exploitation for Credential Access Credential Access

Environment Details

Field Value
Environment attack_range
Directory kubernetes_nginx_lfi_attack
Test Date 2021-08-18

Datasets

The following datasets were collected during this attack simulation:

Kubernetes_nginx_lfi_attack

  • Path: /datasets/attack_techniques/T1212/kubernetes_nginx_lfi_attack/kubernetes_nginx_lfi_attack.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
Kubernetes Nginx Ingress LFI TTP Cloud T1212 Dev Sec Ops

Usage Instructions

Replay with Splunk Attack Data

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

1python replay.py --dataset /datasets/attack_techniques/T1212/kubernetes_nginx_lfi_attack/kubernetes_nginx_lfi_attack.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