-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from fkie-cad/dev-add-config-scenarios
Move Bounty Hunter config from planner YAML to scenario configs
- Loading branch information
Showing
9 changed files
with
117 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Default scenario | ||
description: Default scenario configuration showing all possible parameters. | ||
seed: 4711 | ||
weighted_random: True | ||
depth: 3 | ||
discount: 0.9 | ||
default_final_reward: 1000 | ||
default_reward: 1 | ||
default_reward_update: 200 | ||
final_abilities: | ||
- ea713bc4-63f0-491c-9a6f-0b01d560b87e # exfiltrate staged directory | ||
ability_rewards: | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: 1000 # stage sensitive files | ||
locked_abilities: | ||
- 300157e5-f4ad-4569-b533-9d1fa0e74d74 # compress staged directory | ||
reward_updates: | ||
6469befa-748a-4b9c-a96d-f191fde47d89: # create staging directory | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: 10000 # stage sensitive files | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: # stage sensitive files | ||
300157e5-f4ad-4569-b533-9d1fa0e74d74: 1 # compress staged directory | ||
300157e5-f4ad-4569-b533-9d1fa0e74d74: # compress staged directory | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: -10000 # stage sensitive files | ||
90c2efaa-8205-480d-8bb6-61d90dbaf81b: -10000 # find files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
name: Initial Access Demo Scenario | ||
description: Use with adversary profile "Bounty Hunter - Demo Adversary Profile" or "Bounty Hunter - Initial Access Tester" and elevated agent running on host machine. | ||
final_abilities: | ||
- bd527b63-9f9e-46e0-9816-b8434d2b8989 # Current User |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
name: Initial Access and Privilege Escalation Demo Scenario | ||
description: Use with adversary profile "Bounty Hunter - Demo Adversary Profile" or "Bounty Hunter - Initial Access and Privilege Escalation Tester" and elevated agent running on host machine. | ||
final_abilities: | ||
- 8320facd-6bc9-4850-8ecb-02a18064aa91 # Dump /etc/shadow | ||
- a440211a-d2cc-4f89-a02d-a39061a0e697 # Credential Dumping via wmidump (mimikatz) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: Locked Ability Demo Scenario | ||
description: Use with adversary profile "Bounty Hunter - Demo Adversary Profile" or "Bounty Hunter - Locked Abilities Demonstrator" and an agent running on the target machine in group "target". | ||
final_abilities: | ||
- ea713bc4-63f0-491c-9a6f-0b01d560b87e # exfiltrate staged directory | ||
locked_abilities: | ||
- 300157e5-f4ad-4569-b533-9d1fa0e74d74 # compress staged directory | ||
reward_updates: | ||
6469befa-748a-4b9c-a96d-f191fde47d89: # create staging directory | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: 1000 # stage sensitive files | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: # stage sensitive files | ||
300157e5-f4ad-4569-b533-9d1fa0e74d74: 1 # compress staged directory | ||
300157e5-f4ad-4569-b533-9d1fa0e74d74: # compress staged directory | ||
4e97e699-93d7-4040-b5a3-2e906a58199e: -10000 # stage sensitive files | ||
90c2efaa-8205-480d-8bb6-61d90dbaf81b: -10000 # find files |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
|
||
id: bc784d7e-6761-4472-9050-ce0ab6c0bf3c | ||
name: Bounty Hunter - Demo Adversary Profile | ||
description: | | ||
Adversary Profile for Bounty Hunter Demo scenarios. | ||
Depending on the selected scenario in the planner's config, the resulting behavior should be either: | ||
(1) Perform initial access and collect current user name | ||
(2) Perform initial access, privilege escalation and execute ability that needs elevated privileges | ||
(3) Find, stage and exfiltrate sensitive files to demonstrate locked abilities | ||
atomic_ordering: | ||
- 9c109820-6c4d-4378-9a82-00a75323bfda # Nmap host scan (Scenario 1+2) | ||
- 8fcd3afb-75ca-40da-8bff-432abfb00fbb # Nmap port scan (Scenario 1+2) | ||
- bd527b63-9f9e-46e0-9816-b8434d2b8989 # Current User (Scenario 1) | ||
- ce6628bc-c1e2-456b-91e7-da5b8bcd4005 # Abuse bash can be executed with sudo privileges (Scenario 2) | ||
- 0220b3e7-9ba0-4529-abb4-52a70dc49b50 # UAC Bypass via sdctl (Scenario 2) | ||
- a440211a-d2cc-4f89-a02d-a39061a0e697 # Dumping credentials via wmidump (Mimikatz) (Scenario 2) | ||
- 8320facd-6bc9-4850-8ecb-02a18064aa91 # Dump /etc/shadow (Scenario 2) | ||
- 90c2efaa-8205-480d-8bb6-61d90dbaf81b # Find Files (Scenario 3) | ||
- 4e97e699-93d7-4040-b5a3-2e906a58199e # Stage sensitive files (Scenario 3) | ||
- ea713bc4-63f0-491c-9a6f-0b01d560b87e # Exfil staged directory (Scenario 3) | ||
- 6469befa-748a-4b9c-a96d-f191fde47d89 # Create staging directory (Scenario 3) | ||
- 300157e5-f4ad-4569-b533-9d1fa0e74d74 # Compress staged directory (Scenario 3) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters