Commit 58a5b61
Changed files (19)
docker
files
bchd
router_firewall
server_2
server_3
ssh
port_2222
server_2
scenario
docker/files/bchd/map.txt
@@ -0,0 +1,38 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
+NhAAAAAwEAAQAAAYEAy0eAkMA5YiqA5w8B47u+geyJ9AbXGGAmQd088sA2sBbNno8vS7vw
+TlOFfOIL8q5HSlNR02njyNgg0KtrkcQzxQwYaetU0iIfJ8T0FbP2rVgsuOrHPUfRP33k1l
+3qj7iuSF18y6tAet7VXsNdsEoWkGUb1flk6g3SiWYwanqeZUpkAy3jXFFWKtzQvfoIfXOZ
+x5l0q/x9MImK4ixf7jvsR29NO4zRiRgC8Kq4LP+hYYpwpLzgE7sznKRLIVpVMa1AwkzpzH
+/le0C6C5ETp//ADoPvPpUbFLkT8nrDaIS/v4JzkRgMB6oz1YBbj9at+3for0yp6v8MpqIy
+1MKFicPTV8LP/qWBsSSHed4gmZ5ZlPJ+nRycE7P3PSsSN2iy4gbT3i78UmFs1iyMHL65Lp
+eW0RiPayNfsBnVbeOEiQOFb3i/8D/ICcmE8p5k6i3t6RxydLF8RU86ZeijWdSsi+aeMpnc
+v7e+LAyj9Cs+MlUjQdp6tK1jRvbcfknQi03eEphjAAAFiMS6IqjEuiKoAAAAB3NzaC1yc2
+EAAAGBAMtHgJDAOWIqgOcPAeO7voHsifQG1xhgJkHdPPLANrAWzZ6PL0u78E5ThXziC/Ku
+R0pTUdNp48jYINCra5HEM8UMGGnrVNIiHyfE9BWz9q1YLLjqxz1H0T995NZd6o+4rkhdfM
+urQHre1V7DXbBKFpBlG9X5ZOoN0olmMGp6nmVKZAMt41xRVirc0L36CH1zmceZdKv8fTCJ
+iuIsX+477EdvTTuM0YkYAvCquCz/oWGKcKS84BO7M5ykSyFaVTGtQMJM6cx/5XtAuguRE6
+f/wA6D7z6VGxS5E/J6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heAfwiw79CTRchUCjbj8pLClpqOIsWTRRlofdFQcxw/l
+j3tmVbIgFiqQIgnVd3uRzIV85SA9HFsHHcX6rQh+yG4GWeI0GEf0CY15J2OLlRVIMlFICw
+lrEL6xWrEwTRlnFcZKW7RONvsRMOX+a12BOOjTe2tETEcE7JIDG9cU6EkZ8H4jn79VX4cD
+wBU+BDZS626fEJnt209WyirFnwN0KmYlUAAADBAMz77c1+mghItFS62PQM6n/vkDoQD0B5
+d85C8OlbqmhixzDsQq1TzONwva7CQWrNgfbUc1fShTSWygH7I35uwQBCrZnNuqB4vsPVoJ
+YoQf7iXSI33Mct13/2FW88KVAWnJj0i4OPrjg010x/8FchjX8YDjiwqttXBwAN6afZY+qq
++eH+NE1Y4Lv/gedng+hu76a4Sa+3p5tj3bfo066E7XwMHHX/YCgCnTJqoGODOZAPB5lmbZ
+REOm4/9hon/5731wAAAAp1YnVudHVAdG1jAQIDBAUGBw==
+-----END OPENSSH PRIVATE KEY-----
docker/files/redirector/flag1.txt
@@ -0,0 +1,1 @@
+{BOO:91596f7d-88f1-454f-82ba-3d61c48b2e73}
docker/files/redirector/flag2.txt
@@ -0,0 +1,1 @@
+{BOO:668084b2-c340-46c3-b8d4-945db6e7cc0b}
docker/files/router_firewall/nope.sh
@@ -1,2 +1,4 @@
#!/bin/sh
-echo NOPE! EDITED!
+echo Login sessions are disabled!
+echo We are super secure here at this halloween party! SHOO!
+echo {BOO:4636fdbb-adc1-48f1-8b3e-d8657dea2ba0}
docker/files/server_1/evidence_found_lense.enc
Binary file
docker/files/server_1/evidence_found_lense.txt
@@ -0,0 +1,1 @@
+{BOO:8e75a07e-48ad-4b5a-b5a9-9795141f3942}
docker/files/server_1/motd
@@ -0,0 +1,1 @@
+{BOO:dc22e9db-9225-4082-b7ed-78f08784fd54}
docker/files/server_1/nc_text
@@ -0,0 +1,134 @@
+{BOO:96239742-a253-40e8-bbb0-fba44b230cee}
+
+billybutcherson@10.10.10.109
+
+-----BEGIN OPENSSH PRIV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uIbYDarH7r7HfPeSTc66KHF8aU
+WvdmSzDRN6ZSuQUHIhbJBoChelKvYs6G8ERyNd2dINod9GJNSVHIoOPcpLb1jXkAJzfhk1
+lmIRuV3WZTo91CVGzVAHoIZtbpJ6untI0AAADBAOzUNZACi604DB197svZ9x1WtyWMmvc+
+8WN+ouAG6poHetpL88vT5TZG6bmBvkvXneL5EmlIk8uzDaRpYBBtnbu2ebS1kiG86WXkXE
+1xKJvX1WUnN1qpf5HCC14D/4pZ3lxpCpJnKBqVIXOW5y2v2ut+BPj9GzwcUn4qjINZXxdL
+bXnq3oWfTFPlfWSwUV/Xxew/Yv3ZkUcXgbvxE76LJMajwvfvXVHOIdwxLTLmXPO1k+hpty
+6Iw2+JrU264jLgHQAAAAp1YnVudHVAdG1jAQIDBAUGBw==
+-----END OPENSSH PRIVATE KEY-----
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
+SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1
+Invalid SSH identification string.
docker/files/server_1/socat-to-ports.sh
@@ -0,0 +1,9 @@
+
+while true;
+do
+ for i in $(seq 1031 1225); do
+ socat file:nc_text TCP:10.10.10.2:$i
+ done
+echo "sleeping not dead"
+sleep 30
+done
docker/files/server_2/book.id_rsa
@@ -0,0 +1,38 @@
+-----BEGIN OPENSSH PRIVATE KEY-----
+b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn
+Nh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9ywv1Ia1k5
+FN9mMidTM8lcdXzPZVy80iGo9dSg6AJwAAAMEA0M27XKuphwCeaJhSAcpvfH+UBJQeH/bC
+p+cqJ/jXVaN9Le7BcZP+mrLjtdPTStlYQK1m38AH2Lxx6uurZV3jznNBp/FnUa/+5o0UJ3
+d5QICMWc3fc22IdmgK56b7arezVWO/ZHlf48meNYy6lLumeQRDU4DzNZ9hExozUSJwkqyi
+4p07JQENc3d97tShTGJkxCOhdJd3ln6eAB2LzZEAsc5DhwTu36DayzM3c4PAs56kqTlR7P
+dbMls9dpyNjQC7AAAACnVidW50dUB0bWM=
+-----END OPENSSH PRIVATE KEY-----
docker/files/server_2/book.txt
@@ -0,0 +1,1 @@
+asdfjkasdfjaksld
docker/files/server_2/nope.sh
@@ -1,2 +1,11 @@
#!/bin/sh
-echo NOPE! EDITED! 22222
+echo {BOO:72d0e731-b6ef-4e43-843a-5dc57068ae6e}
+echo "Billy has gone back to sleep, no logins needed here!"
+echo ""
+echo ""
+echo ""
+echo "Note to self: someone keeps trying to connect to this server on all these ports"
+echo " they told me to add their private key to the system and they would"
+echo " send it to me over ssh. I don't think they understand how this works"
+echo "Port range: 1666-1777"
+echo "Public key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC+Wo2TgWNtywjcQ5KEPihZQQ0JrJ7ex43VIpLO23wx7yU5PAjl53xLypIkefBqI4cwR+ZWPyiaNngqaguB6ZSJleEnRKNp0xO5Jj0zRkI7NjI5DqsBPFQmCKsqdfqw/yimq9MzL+BrwEb+HJ/zSLxMmwOTasPTTdd1tvFNPL1Ln9PFTDwftpfLojDwXCTiIOoQ4vUwOjg8tsLYEfbZaDVX+ERQkcKb/GHe9JVITZNqSz84QMvhdq8OwUPtkprJImI917no49A2Ga2m4JBU8OkGYSigVXzbjg4ZnpQ3I2xeHqtCAjIP1oxY581LISUtmjKzGbKo0ZV44Q12FGTMkscA+cwsTy5/lf31j3zTEDdjjAcRmiJBeZ6yexrLZr/nGgPU3rFTQs7Toomv+W85oZC1THj6CMj2UxE2svLg0QtT+Qtn6QPnN76Bro4HAhB9c2hCL1X/BiYA81rjiCehQQl3nv8Nbhs+umS1V0pRE4utd3ezmEC9RlcLd8WReykSnH0= book@192.168.200.201"
docker/files/server_2/scp-to-ports.sh
@@ -0,0 +1,9 @@
+while true;
+do
+ for i in $(seq 1666 1777); do
+ echo "trying $i"
+ scp -i ../server_3/book -P $i book.id_rsa root@10.10.10.109:~/book.id_rsa
+ done
+echo "sleeping not dead"
+sleep 30
+done
docker/files/server_3/nope.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-echo NOPE! EDITED!
+echo {BOO:88c905ce-f09c-4d34-a2ea-25976016e91f}
docker/ssh/port_2222/Dockerfile
@@ -6,7 +6,7 @@ RUN apt-get update && apt-get install -y openssh-server
RUN mkdir /var/run/sshd
RUN sed -i 's/#*Port 22/Port 2222/' /etc/ssh/sshd_config
RUN sed -i 's/#*PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config
-RUN sed -i 's/#*GatewayPorts no/GatewayPorts yes/' /etc/ssh/sshd_config
+RUN sed -i 's/#*GatewayPorts no/GatewayPorts yes #{BOO:e9d5e38d-8179-4e06-93ca-d5cce06c2099}/' /etc/ssh/sshd_config
RUN useradd --create-home --shell /bin/bash binx
RUN mkdir /home/binx/.ssh
docker/ssh/server_2/Dockerfile
@@ -3,6 +3,7 @@ FROM ubuntu:20.04
RUN apt-get update && apt-get install -y openssh-server
+RUN sed -i 's/#*GatewayPorts no/GatewayPorts yes/' /etc/ssh/sshd_config
RUN mkdir /var/run/sshd
RUN useradd --create-home --shell /bin/nope billybutcherson
RUN mkdir /home/billybutcherson/.ssh
scenario/00.md
@@ -1,9 +0,0 @@
-### 00 beachhead
-
-Technical tasks:
- - get basic aps installed:
-
- ```
- apt update
- apt install iproute2
-
docker-compose.yml
@@ -66,6 +66,7 @@ services:
target: /bin/nope
volume:
nocopy: True
+
server_1:
build: docker/ssh/port_2222
image: sshd_port_2222
@@ -81,6 +82,16 @@ services:
target: /home/binx/.ssh/authorized_keys
volume:
nocopy: True
+ - type: bind
+ source: ./docker/files/server_1/motd
+ target: /etc/motd
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/server_1/evidence_found_lense.enc
+ target: /home/binx/evidence_found_lense.enc
+ volume:
+ nocopy: True
router_firewall:
build: docker/ssh/user_admin
@@ -111,6 +122,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.132
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: .docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector02:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -118,6 +140,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.177
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector03:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -125,6 +158,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.197
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector04:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -132,6 +176,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.30
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector05:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -139,6 +194,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.186
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector06:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -146,6 +212,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.118
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector07:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -153,6 +230,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.215
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector08:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -160,6 +248,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.25
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector09:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -167,6 +266,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.232
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector10:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -174,6 +284,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.103
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector11:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -181,6 +302,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.202
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector12:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -188,6 +320,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.67
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector13:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -195,6 +338,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.152
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector14:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -202,6 +356,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.131
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector15:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -209,6 +374,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.42
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector16:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -216,6 +392,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.178
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector17:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -223,6 +410,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.49
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector18:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -230,6 +428,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.245
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector19:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -237,6 +446,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.219
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector20:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -244,6 +464,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.121
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector21:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -251,6 +482,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.250
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector22:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -258,6 +500,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.99
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector23:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -272,6 +525,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.229
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector25:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -279,6 +543,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.38
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector26:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -286,6 +561,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.134
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector27:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -293,6 +579,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.199
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector28:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -300,6 +597,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.130
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector29:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -307,6 +615,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.217
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector30:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -314,6 +633,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.252
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector31:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -321,6 +651,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.50
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector32:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -328,6 +669,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.100
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector33:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -335,6 +687,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.52
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector34:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -342,6 +705,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.171
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector35:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -349,6 +723,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.151
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector36:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -356,6 +741,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.230
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector37:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -363,6 +759,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.120
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector38:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -370,6 +777,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.36
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector39:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -377,6 +795,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.51
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
redirector40:
build: docker/ssh/port_1337
image: sshd_port_1337
@@ -384,6 +813,17 @@ services:
networks:
internet:
ipv4_address: 200.200.200.145
+ volumes:
+ - type: bind
+ source: ./docker/files/redirector/flag1.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/redirector/flag2.txt
+ target: /tmp/flag.txt
+ volume:
+ nocopy: True
# 20 beachheads
bchd1:
@@ -394,6 +834,17 @@ services:
- internet
ports:
- 2001:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd2:
image: gotty
build: docker/gotty
@@ -402,7 +853,17 @@ services:
- internet
ports:
- 2002:8080
-
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd3:
image: gotty
build: docker/gotty
@@ -411,6 +872,17 @@ services:
- internet
ports:
- 2003:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd4:
image: gotty
build: docker/gotty
@@ -419,6 +891,17 @@ services:
- internet
ports:
- 2004:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd5:
image: gotty
build: docker/gotty
@@ -427,6 +910,17 @@ services:
- internet
ports:
- 2005:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd6:
image: gotty
build: docker/gotty
@@ -435,6 +929,17 @@ services:
- internet
ports:
- 2006:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd7:
image: gotty
build: docker/gotty
@@ -443,6 +948,17 @@ services:
- internet
ports:
- 2007:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd8:
image: gotty
build: docker/gotty
@@ -451,6 +967,17 @@ services:
- internet
ports:
- 2008:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd9:
image: gotty
build: docker/gotty
@@ -459,6 +986,17 @@ services:
- internet
ports:
- 2009:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd10:
image: gotty
build: docker/gotty
@@ -467,6 +1005,17 @@ services:
- internet
ports:
- 2010:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd11:
image: gotty
build: docker/gotty
@@ -475,6 +1024,17 @@ services:
- internet
ports:
- 2011:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd12:
image: gotty
build: docker/gotty
@@ -483,6 +1043,17 @@ services:
- internet
ports:
- 2012:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd13:
image: gotty
build: docker/gotty
@@ -491,6 +1062,17 @@ services:
- internet
ports:
- 2013:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd14:
image: gotty
build: docker/gotty
@@ -499,6 +1081,17 @@ services:
- internet
ports:
- 2014:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd15:
image: gotty
build: docker/gotty
@@ -507,6 +1100,17 @@ services:
- internet
ports:
- 2015:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd16:
image: gotty
build: docker/gotty
@@ -515,6 +1119,17 @@ services:
- internet
ports:
- 2016:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd17:
image: gotty
build: docker/gotty
@@ -523,6 +1138,17 @@ services:
- internet
ports:
- 2017:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd18:
image: gotty
build: docker/gotty
@@ -531,6 +1157,17 @@ services:
- internet
ports:
- 2018:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd19:
image: gotty
build: docker/gotty
@@ -539,6 +1176,17 @@ services:
- internet
ports:
- 2019:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
bchd20:
image: gotty
build: docker/gotty
@@ -547,3 +1195,16 @@ services:
- internet
ports:
- 2020:8080
+ volumes:
+ - type: bind
+ source: ./docker/files/bchd/flag.txt
+ target: /root/flag.txt
+ volume:
+ nocopy: True
+ - type: bind
+ source: ./docker/files/bchd/map.txt
+ target: /map.txt
+ volume:
+ nocopy: True
+# TODO nocopy false for map.txt
+# TODO make flags readable but not writeable by users
scenario.md
@@ -40,7 +40,7 @@ router-firewall:
server-1:
- MOTD
{BOO:dc22e9db-9225-4082-b7ed-78f08784fd54}
- - /etc/flag.d/flag.txt
+ - ~/evidence_found_lense.enc
{BOO:8e75a07e-48ad-4b5a-b5a9-9795141f3942}
- gateway ports = true
comment on /etc/ssh/sshd_config
@@ -55,15 +55,12 @@ server-2:
{BOO:72d0e731-b6ef-4e43-843a-5dc57068ae6e}
- note-to-self.txt
contains public key of user and flag
- {BOO:56010379-ba1d-4f09-8f69-3e93860d6191}
- getting connected to by a ssh client
upon successful connection runs printf command user+key+flag
{BOO:20b2523a-1f11-46e8-beed-d40bba98aab0}
server-3:
- access: found username and key
- - MOTD
- {BOO:6132ef35-172c-45aa-b950-a8b50035ed6c}
- Final flag
flag.txt
{BOO:88c905ce-f09c-4d34-a2ea-25976016e91f}