forked from cliffe/SecGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnw_cyber_games.xml
157 lines (138 loc) · 5.33 KB
/
nw_cyber_games.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
<?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>Decoding</name>
<author>Thomas Shaw</author>
<description>Some basic decoding challenges.
The challenges are presented on a website on one of these VMs, separate from the CTF scoring.
</description>
<type>ctf</type>
<type>jeopardy-ctf</type>
<type>web-hints</type>
<difficulty>easy</difficulty>
<CyBOK KA="C" topic="Symmetric Cryptography">
<keyword>symmetric encryption and authentication</keyword>
</CyBOK>
<CyBOK KA="AAA" topic="Authentication">
<keyword>Cryptography and authentication (hashes and attacks against authentication schemes / passwords)</keyword>
</CyBOK>
<CyBOK KA="F" topic="Artifact Analysis">
<keyword>cryptographic hashing</keyword>
<keyword>Encoding and alternative data formats</keyword>
</CyBOK>
<system>
<system_name>nw_cyber_games</system_name>
<base platform="linux" type="server"/>
<!-- comment describes using pseudo code (C#-like methods with named optional arguments) -->
<!-- vulnerability_nfs_share_leak(strings_to_leak: encoder_flag_generator() CONCAT encoder_ascii_reversible(strings_to_encode: encoder_flag_generator()) CONCAT ...) -->
<service name="Random Parameterised Website">
<input into="visible_tabs">
<generator type="html_snippet_generator" >
<input into="heading">
<value>Welcome to the Cyber Games!</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<value>Hunt down the flags. There are more challenges than meets the eye.</value>
<value>There are vulnerabilities on the server.</value>
<value>Good luck, have fun!</value>
</input>
</generator>
<generator type="html_snippet_generator" >
<input into="heading">
<value>Challenge 1</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<encoder type="ascii_reversible">
<input into="strings_to_encode">
<generator type="flag_generator" />
</input>
</encoder>
</input>
</generator>
<generator type="html_snippet_generator">
<input into="heading">
<value>Challenge 2</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<encoder type="alpha_reversible">
<input into="strings_to_encode">
<generator type="flag_generator" />
</input>
</encoder>
</input>
</generator>
<generator type="html_snippet_generator">
<input into="heading">
<value>Challenge 3</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<encoder type="ascii_reversible">
<input into="strings_to_encode">
<generator type="flag_generator" />
</input>
</encoder>
</input>
</generator>
<generator type="html_snippet_generator">
<input into="heading">
<value>Challenge 4</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<encoder type="alpha_reversible">
<input into="strings_to_encode">
<generator type="flag_generator" />
</input>
</encoder>
</input>
</generator>
<generator type="html_snippet_generator">
<input into="heading">
<value>Challenge 5</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<generator type="ctf_challenge" />
</input>
</generator>
<generator type="html_snippet_generator">
<input into="heading">
<value>Challenge 6</value>
</input>
<input into="paragraphs" unique_module_list="unique_encoders">
<generator type="ctf_challenge"/>
</input>
</generator>
</input>
<input into="hidden_tabs" unique_module_list="unique_encoders">
<generator type="flag_generator" />
<encoder type="ascii_reversible">
<input into="strings_to_encode" >
<generator type="flag_generator" />
</input>
</encoder>
</input>
<input into="images_to_leak" unique_module_list="unique_encoders">
<generator type="image_challenge_generator" />
<generator type="image_challenge_generator" />
</input>
<!-- No business facts. -->
<input into="organisation">
<value/>
</input>
<input into="main_page_paragraph_content">
<value/>
</input>
</service>
<vulnerability type="^((?!webapp).)*$" read_fact="strings_to_leak" access="remote" >
<input into="strings_to_leak">
<generator type="flag_generator" />
</input>
</vulnerability>
<network module_path=".*/private_network_1"/>
<build type="cleanup">
<input into="root_password">
<generator type="strong_password_generator"/>
</input>
</build>
</system>
</scenario>