-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07c076f
commit 4c1b095
Showing
99 changed files
with
12,869 additions
and
32 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 was deleted.
Oops, something went wrong.
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
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
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,14 @@ | ||
category: KubeCon | ||
difficulty: KubeCon | ||
name: cicd | ||
kind: cp.simulator/scenario:1.0.0 | ||
objective: Get postgres password. | ||
tasks: | ||
"1": | ||
hints: | ||
sortOrder: 1 | ||
startingPoint: | ||
mode: pod | ||
podName: jumpbox | ||
podNamespace: dmz | ||
summary: x |
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: Devious Developer Data Dump | ||
hosts: all | ||
become: yes | ||
vars: | ||
state: present | ||
master_ip: "{{ hostvars['master-1']['ansible_facts']['default_ipv4']['address'] }}" | ||
master_hostname: "{{ hostvars['master-1']['ansible_facts']['hostname'] }}" | ||
node1_ip: "{{ hostvars['node-1']['ansible_facts']['default_ipv4']['address'] }}" | ||
node1_hostname: "{{ hostvars['node-1']['ansible_facts']['hostname'] }}" | ||
node2_hostname: "{{ hostvars['node-2']['ansible_facts']['hostname'] }}" | ||
roles: | ||
- devious-developer-data-dump |
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,31 @@ | ||
|\ | ||
| \ | ||
| \ | ||
| \ | ||
____________|____\ | ||
_________-----_____ | | | ||
_____------ __ ----_ | | | ||
___---- ___------ \ | _____ _____ | | ||
----________ ---- \ | | | | | | | ||
-----__ | _____) | | | | | | | ||
__- / \ | |_____| |_____| | | ||
_______----- ___-- \ /)\ | | | ||
------_______ ---____ \__/ / | _____ _____()| | ||
-----__ \ -- _ /\ | | | | | | | ||
--__--__ \_____/ \_/\ | | | | | | | ||
----| / | | | | | | | | ||
| |___________| | | | | | | | ||
| | ((_(_)| )_) | | | | | | | ||
| \_((_(_)|/(_) | | | | | | | ||
\ ( | |_____| |_____| | | ||
\_____________) |__________________| | ||
|
||
Captain Hλ$ħ𝔍Ⱥ¢k has discovered an authentication bypass in a remote operations management port for SaaS management solution | ||
|
||
Unfortunately Introspective Insight SecOps team have applied multiple security controls to restrict access to the service | ||
|
||
As an insider, the Dread Pirate wants you to allow remote access to the operations management port for the exploit to fire | ||
|
||
Remember you must be stealthy and ensure the current website continues to be publicly accessible | ||
|
||
If successful, Captain Hλ$ħ𝔍Ⱥ¢k will drop you a secret payment for your malicious actions. Good Luck! |
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,20 @@ | ||
|
||
_______________________ | ||
=(__ ___ __ _)= | ||
| | | ||
| | | ||
| Cease and Desist! | | ||
| | | ||
| | | ||
| Reform-Kube | | ||
| | | ||
| | | ||
| | | ||
|__ ___ __ ___| | ||
=(_______________________)= | ||
|
||
Production is Down! Your organization is using reform-kube, an OS Kubernetes management project. | ||
|
||
Unfortunately, reform-kube has changed their licensing model and is no longer open source. | ||
|
||
Login to the licensing server and see if you can resolve the issue to get Production up and running. |
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 @@ | ||
During penetration testing of a client kubernetes cluster, a vulnerability in a pod has been noticed. | ||
|
||
The pod is part of the CI/CD build infrastructure and you are concerned that a compromised runner may lead to compromsied VMs. | ||
|
||
Verify the vulnerability by breaking out of the CI runner pod. |
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,2 @@ | ||
calico_version: 3.26.3 | ||
weave_version: 2.8.1 |
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,15 @@ | ||
- name: Download calico manifests | ||
ansible.builtin.get_url: | ||
url: "https://raw.githubusercontent.com/projectcalico/calico/v{{ calico_version }}/manifests/calico.yaml" | ||
dest: ~/calico.yaml | ||
mode: '0664' | ||
become: no | ||
when: "state == 'present' and 'bastion' in inventory_hostname" | ||
|
||
- name: Install calico | ||
kubernetes.core.k8s: | ||
src: ~/calico.yaml | ||
state: "{{ state }}" | ||
force: "{% if state == 'absent' %}yes{% else %}no{% endif %}" | ||
become: no | ||
when: "'bastion' in inventory_hostname" |
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: Download weave manifests | ||
ansible.builtin.get_url: | ||
url: "https://github.com/weaveworks/weave/releases/download/v{{ weave_version }}/weave-daemonset-k8s.yaml" | ||
dest: ~/weave-daemonset-k8s.yaml | ||
mode: '0664' | ||
become: no | ||
when: "state == 'present' and 'bastion' in inventory_hostname" | ||
|
||
- name: Install weave daemonset | ||
kubernetes.core.k8s: | ||
src: ~/weave-daemonset-k8s.yaml | ||
state: "{{ state }}" | ||
become: no | ||
when: "'bastion' in inventory_hostname" |
24 changes: 24 additions & 0 deletions
24
scenarios/roles/coastline-cluster-attack/files/challenge.txt
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,24 @@ | ||
___ | ||
.-' `'. | ||
/ \ | ||
| ; | ||
| | ___.--, | ||
_.._ |0) ~ (0) | _.---'`__.-( (_. | ||
__.--'`_.. '.__.\ '--. \_.-' ,.--'` `""` | ||
( ,.--'` ',__ /./; ;, '.__.'` __ | ||
_`) ) .---.__.' / | |\ \__..--"" """--.,_ | ||
`---' .'.''-._.-'`_./ /\ '. \ _.-~~~````~~~-._`-.__.' | ||
| | .' _.-' | | \ \ '. `~---` | ||
\ \/ .' \ \ '. '-._) | ||
\/ / \ \ `=.__`~-. | ||
/ /\ `) ) / / `"".`\ | ||
, _.-'.'\ \ / / ( ( / / | ||
`--~` ) ) .-'.' '.'. | ( | ||
(/` ( (` ) ) '-; | ||
` '-; (-' | ||
|
||
Dread Pirate Captain Hλ$ħ𝔍Ⱥ¢k is looking to recruit you to his motley crew. | ||
|
||
Hλ$ħ𝔍Ⱥ¢k has obtained access to Coastline Data's jumpbox and wants you to obtain full cluster compromise. | ||
|
||
Will you fail the initiation or will your short-lived stay in the motley crew become permanent? |
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,25 @@ | ||
_.--. | ||
_.-'_:-'|| | ||
_.-'_.-::::'|| | ||
_.-:'_.-::::::' || | ||
.'`-.-:::::::' || | ||
/.'`;|:::::::' ||_ | ||
|| ||::::::' _.;._'-._ | ||
|| ||:::::' _.-!oo @.!-._'-. | ||
\'. ||:::::.-!()oo @!()@.-'_.| | ||
'.'-;|:.-'.&$@.& ()$%-'o.'\U|| | ||
`>'-.!@%()@'@_%-'_.-o _.|'|| | ||
||-._'-.@.-'_.-' _.-o |'|| | ||
||=[ '-._.-\U/.-' o |'|| | ||
|| '-.]=|| |'| o |'|| | ||
|| || |'| _| '; | ||
|| || |'| _.-'_.-' | ||
|'-._ || |'|_.-'_.-' | ||
'-._'-.|| |' `_.-' | ||
'-.||_/.-' | ||
|
||
Welcome to Captain Hλ$ħ𝔍Ⱥ¢k's Booty Camp! | ||
|
||
There is treasure to be had to those who can smuggle aboard and find the map. | ||
|
||
It's time to show Dread Pirate what you've learnt about Kubernetes. |
4 changes: 4 additions & 0 deletions
4
...developer-data-dump/files/_git-repo-chatbot/.config/configstore/update-notifier-pnpm.json
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 @@ | ||
{ | ||
"optOut": false, | ||
"lastUpdateCheck": 1680632678616 | ||
} |
1 change: 1 addition & 0 deletions
1
.../roles/devious-developer-data-dump/files/_git-repo-chatbot/.config/glitch-package-manager
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 @@ | ||
pnpm |
1 change: 1 addition & 0 deletions
1
scenarios/roles/devious-developer-data-dump/files/_git-repo-chatbot/.env
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 @@ | ||
MONGO_URI= |
Oops, something went wrong.