forked from cliffe/SecGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trashed_evidence.xml
209 lines (186 loc) · 7.26 KB
/
trashed_evidence.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<?xml version="1.0"?>
<scenario xmlns="http://www.github/cliffe/SecGen/scenario"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.github/cliffe/SecGen/scenario">
<name>Digital Forensics: Trashed Evidence</name>
<author>Z. Cliffe Schreuders</author>
<description>
# Introduction
Welcome to the world of digital forensics!
In this CTF problem-based learning task, you will be given a virtual machine (VM) representing a seized PC from an operative who works for an evil organization bent on global domination. Your task is to analyze the contents of the VM to gather evidence and identify any evidence of malicious activities on the machine.
In this task, you will be using digital forensics techniques to extract information from the VM, including files, and internet history, and and will involve retrieving deleted files and identifying and extracting data hidden using steganography.
These tasks will require a combination of technical skills, creativity, and critical thinking. With your help we can discover more about their evil plans!
The password to login is: tiaspbiqe2r
</description>
<type>ctf-lab</type>
<difficulty>medium</difficulty>
<CyBOK KA="F" topic="Operating System Analysis">
<keyword>artifact analysis</keyword>
<keyword>Steganography</keyword>
<keyword>Encoding and alternative data formats</keyword>
<keyword>Deleted files</keyword>
<keyword>SEARCH FOR EVIDENCE</keyword>
<keyword>METADATA</keyword>
<keyword>data recovery and file content carving</keyword>
<keyword>storage forensics</keyword>
<keyword>data abstraction layers</keyword>
<keyword>application artifacts</keyword>
<keyword>data acquisition</keyword>
<keyword>encryption concerns</keyword>
<keyword>Hidden files</keyword>
</CyBOK>
<CyBOK KA="F" topic="Application Forensics">
<keyword>APPLICATION ARTIFACTS</keyword>
<keyword>web browsers</keyword>
<keyword>url history</keyword>
<keyword>SEARCH FOR EVIDENCE</keyword>
<keyword>URL HISTORY</keyword>
<keyword>Command history</keyword>
<keyword>Database analysis</keyword>
</CyBOK>
<CyBOK KA="POR" topic="Privacy Technologies and Democratic Values">
<keyword>METADATA</keyword>
<keyword>STEGANOGRAPHY</keyword>
</CyBOK>
<system>
<system_name>seized_desktop</system_name>
<base distro="Debian 12" type="desktop" name="KDE"/>
<input into_datastore="IP_addresses">
<value>172.16.0.2</value>
</input>
<!-- this can be a random secure password, if the hdd is being analysed, as it is leaked -->
<input into_datastore="password">
<value>tiaspbiqe2r</value>
</input>
<input into_datastore="accounts">
<generator type="account">
<input into="username">
<generator type="random_sanitised_word">
<input into="wordlist">
<value>mythical_creatures</value>
</input>
</generator>
</input>
<input into="password">
<datastore>password</datastore>
</input>
<input into="super_user">
<value>true</value>
</input>
<input into="leaked_filenames">
<value>.they_will_never_find_us</value>
</input>
<input into="strings_to_leak">
<value>Trash the evidence, hide in plain sight, and they will never uncover our plans.</value>
<generator type="flag_generator" />
</input>
</generator>
</input>
<utility module_path=".*/stego_tools"/>
<!--Create the users-->
<utility module_path=".*/parameterised_accounts">
<input into="accounts">
<datastore>accounts</datastore>
</input>
</utility>
<vulnerability module_path=".*/forensic_trash_deleted_files">
<input into="account">
<datastore>accounts</datastore>
</input>
<input into="leaked_filenames">
<value>.bash_history</value>
<generator type="filename"/>
</input>
<input into="strings_to_leak">
<generator module_path=".*/bash_history">
<input into="password">
<datastore>password</datastore>
</input>
</generator>
<generator type="flag_generator"/>
</input>
<!-- need a file name for each base64 encoded file -->
<input into="leaked_base64_filenames">
<generator type="filename"/>
<generator type="filename"/>
<generator type="filename"/>
<generator type="filename"/>
<generator type="filename"/>
<generator type="filename"/>
<generator type="filename"/>
</input>
<input into="binary_base64_to_leak">
<!-- firefox history -->
<generator module_path=".*/firefox_places_history_bookmarks">
<input into="strings_to_leak">
<generator type="flag_generator"/>
</input>
</generator>
<!-- png with strings -->
<generator module_path=".*/hidden_data_in_image_file">
<input into="strings_to_leak">
<generator type="flag_generator"/>
<generator type="evil_file_generator"/>
</input>
</generator>
<!-- png with zip -->
<generator module_path=".*/hidden_data_in_image_file">
<input into="binary_base64_to_leak">
<generator module_path=".*/zip$">
<input into="strings_to_leak">
<generator type="flag_generator"/>
<generator type="evil_file_generator"/>
</input>
</generator>
</input>
</generator>
<!-- png with password encrypted zip -->
<generator module_path=".*/hidden_data_in_image_file">
<input into="binary_base64_to_leak">
<generator module_path=".*/zip$">
<input into="strings_to_leak">
<generator type="flag_generator"/>
<generator type="evil_file_generator"/>
</input>
<input into="password">
<generator type="weak_password_generator"/>
</input>
</generator>
</input>
</generator>
<!-- qr code -->
<generator module_path=".*/qr_code">
<input into="strings_to_leak">
<generator type="flag_generator"/>
</input>
</generator>
<!-- exif metadata -->
<generator module_path=".*/exif$">
<input into="strings_to_leak">
<generator type="flag_generator"/>
<value>Secret Kill Switch</value>
</input>
</generator>
<!-- jpg with password protected steghide -->
<generator module_path=".*/steghide">
<input into="password">
<datastore>password</datastore>
</input>
<input into="strings_to_leak">
<generator type="evil_file_generator"/>
<generator type="flag_generator"/>
</input>
</generator>
</input>
</vulnerability>
<network type="private_network" range="dhcp"/>
<input into_datastore="spoiler_admin_pass">
<generator type="strong_password_generator"/>
</input>
<build type="cleanup">
<input into="root_password">
<datastore>spoiler_admin_pass</datastore>
</input>
</build>
</system>
</scenario>