Skip to content

Commit

Permalink
Update example in README
Browse files Browse the repository at this point in the history
  • Loading branch information
christophetd committed May 4, 2023
1 parent ff1b52b commit 7b298d6
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@ Sample scenario definition file:

```yaml
scenarios:
# Example 1: Remote detonation over SSH
# Note: SSH configuration is provided using the --ssh-host, --ssh-username and --ssh-keyfile CLI arguments
- name: curl metadata service
detonate:
remoteDetonator:
Expand All @@ -83,16 +85,17 @@ scenarios:
name: "Network utility accessed cloud metadata service"
severity: medium

- name: running nmap
# Example 2: Stratus Red Team detonation
# Note: You must be authenticated to the relevant cloud provider before running it
# The example below is equivalent to manually running "stratus detonate aws.exfiltration.ec2-security-group-open-port-22-ingress"
- name: opening a security group to the Internet
detonate:
remoteDetonator:
commands:
- "which nmap || sudo apt install -y nmap"
- "nmap -sn 172.16.2.1/32 -T5"
stratusRedTeamDetonator:
attackTechnique: aws.exfiltration.ec2-security-group-open-port-22-ingress
expectations:
- timeout: 1m
- timeout: 15m
datadogSecuritySignal:
name: Network scanning utility executed
name: "Potential administrative port open to the world via AWS security group"
```
Expand Down

0 comments on commit 7b298d6

Please sign in to comment.