-
Notifications
You must be signed in to change notification settings - Fork 0
/
aoc2024.html
338 lines (301 loc) · 13.4 KB
/
aoc2024.html
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
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Advent of Cyber 2024</title>
<style>
body {
margin: 0;
padding: 0;
background-color: #0d1117;
font-family: Arial, sans-serif;
color: #fff;
}
.banner {
position: relative;
width: 100%;
height: 300px;
background: url('https://tryhackme-images.s3.amazonaws.com/user-uploads/62c435d1f4d84a005f5df811/room-content/62c435d1f4d84a005f5df811-1729071862101.png') center/cover no-repeat;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}
.banner-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
}
.content {
position: relative;
z-index: 2;
color: #fff;
text-align: left;
max-width: 900px;
width: 100%;
}
.logo {
display: flex;
align-items: center;
margin-bottom: 15px;
}
.logo img {
width: 60px;
height: 60px;
margin-right: 15px;
}
.title {
font-size: 2.5rem;
font-weight: bold;
margin: 0 0 10px;
}
.subtitle {
font-size: 1.2rem;
color: #bdbdbd;
margin-bottom: 20px;
}
.info {
display: flex;
align-items: center;
gap: 20px;
}
.info span {
display: flex;
align-items: center;
gap: 8px;
font-size: 1rem;
font-weight: 500;
color: #8cff8c;
}
.info span img {
width: 18px;
height: 18px;
}
.buttons {
margin-top: 15px;
}
.buttons button {
background-color: #006eff;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
margin-right: 10px;
font-size: 1rem;
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.buttons button:hover {
background-color: #0055cc;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}
/* Task Section */
.task-section {
padding: 20px;
max-width: 900px;
margin: 20px auto;
background-color: #161b22;
border-radius: 10px;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}
.task-section h2 {
font-size: 2rem;
margin-bottom: 20px;
color: #8cff8c;
}
.task {
margin-bottom: 15px;
padding: 10px 15px;
background-color: #0d1117;
border: 1px solid #2e3238;
border-radius: 8px;
transition: background-color 0.3s;
}
.task:hover {
background-color: #1a1f27;
}
.task-title {
font-size: 1.5rem;
margin: 0;
font-weight: bold;
}
.task-desc {
font-size: 1rem;
color: #bdbdbd;
margin: 5px 0 0;
}
.flag-container {
border: 1px solid #2f2f2f;
padding: 20px;
margin: 20px auto;
max-width: 700px;
background-color: #1b1b1b;
border-radius: 10px;
box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.5);
}
.flag-container h2 {
color: #ff7b00;
font-size: 1.8em;
margin-bottom: 20px;
}
.flag {
font-size: 1.2em;
margin: 15px 0;
background-color: #111;
border-left: 5px solid #00f7ff;
padding: 10px 15px;
border-radius: 5px;
box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.4);
}
.flag strong {
color: #ff7b00;
}
.back-button {
padding: 12px 25px;
color: #fff;
background-color: #00f7ff;
text-decoration: none;
border-radius: 5px;
display: inline-block;
margin-top: 30px;
font-size: 1.1em;
font-weight: bold;
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.back-button:hover {
background-color: #00d6ff;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}
/* Add a glowing border to the flag container */
.flag-container:hover {
border: 1px solid #00f7ff;
box-shadow: 0px 0px 20px #00f7ff;
}
.back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
background-color: #00f7ff;
color: #fff;
padding: 10px 15px;
border-radius: 50%;
font-size: 1.5rem;
text-align: center;
box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.4);
cursor: pointer;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
}
.back-to-top:hover {
background-color: #00d6ff;
box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.5);
}
.task-banner {
display: inline-block;
position: relative;
border-radius: 8px; /* Rounded corners */
padding: 10px; /* Padding for spacing */
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
overflow: hidden;
}
.task-banner img {
width: 100%; /* Image takes full width */
height: auto; /* Maintain aspect ratio */
border-radius: 6px; /* Match rounded corners */
display: block;
}
.task-banner:hover {
background-color: #e0f7fa00; /* Light cyan on hover */
transform: scale(1.02); /* Slight zoom effect */
transition: 0.3s ease-in-out; /* Smooth transition for hover effect */
}
.task-banner img:hover {
transform: scale(1.05); /* Slight zoom effect on image */
transition: 0.3s ease-in-out; /* Smooth transition for hover effect */
}
</style>
</head>
<body>
<!-- Banner Section -->
<div class="banner">
<div class="banner-overlay"></div>
<div class="content">
<div class="logo">
<img src="https://tryhackme-images.s3.amazonaws.com/room-icons/62c435d1f4d84a005f5df811-1728982657816" alt="Room Logo">
<h1 class="title">Advent of Cyber 2024</h1>
</div>
<p class="subtitle">Dive into the wonderful world of cybersecurity by engaging in festive beginner-friendly exercises every day in the lead-up to Christmas!</p>
<div class="info">
<span><img src="https://img.icons8.com/emoji/48/000000/green-circle-emoji.png" alt="Difficulty"> Easy</span>
<span><img src="https://img.icons8.com/ios/50/ffffff/clock--v1.png" alt="Duration"> 1440 min</span>
</div>
<div class="buttons">
<!-- <button>Share the challenge</button> -->
<!-- <button>Start AttackBox</button> -->
<a href="https://tryhackme.com/r/room/adventofcyber2024"><button>Room Link</button></a>
</div>
</div>
</div>
<!-- Task Data Section -->
<div class="task-section">
<!-- Back to Top Button -->
<a href="../tryhackme.html" class="back-button">Back</a>
<!-- Task 1 -->
<div class="flag-container">
<h2>Day 1: Maybe SOC-mas music, he thought, doesn't come from a store?</h2>
<span class=task-banner><img src="https://tryhackme-images.s3.amazonaws.com/user-uploads/5fc2847e1bbebc03aa89fbf2/room-content/5fc2847e1bbebc03aa89fbf2-1730193392309.svg" alt="" srcset=""></span >
<div class="flag"><strong>Looks like the song.mp3 file is not what we expected! Run "exiftool song.mp3" in your terminal to find out the author of the song. Who is the author? </strong> <br><br> <b>Answer</b><br> <br> Tyler Ramsbey</div>
<div class="flag"><strong>The malicious PowerShell script sends stolen info to a C2 server. What is the URL of this C2 server?</strong> <br><br><b>Answer</b><br><br>http://papash3ll.thm/data</div>
<div class="flag"><strong>Who is M.M? Maybe his Github profile page would provide clues?</strong> <br><br> <b>Answer</b><br> <br>Mayor Malware</div>
<div class="flag"><strong>What is the number of commits on the GitHub repo where the issue was raised?</strong> <br><br> <b>Answer</b><br> <br>1</div>
</div>
<!-- Task 2 -->
<div class="flag-container">
<h2>Day 2: One man's false positive is another man's potpourri.</h2>
<span class=task-banner><img src="https://tryhackme-images.s3.amazonaws.com/user-uploads/5dbea226085ab6182a2ee0f7/room-content/5dbea226085ab6182a2ee0f7-1730369227263.png" alt="" srcset=""></span >
<div class="flag"><strong>What is the name of the account causing all the failed login attempts?</strong> <br><br> <b>Answer</b><br> <br> </div>
<div class="flag"><strong>How many failed logon attempts were observed?</strong> <br><br>Answer<br><br></div>
<div class="flag"><strong>What is the IP address of Glitch?</strong> <br><br> <b>Answer</b><br> <br></div>
<div class="flag"><strong>When did Glitch successfully logon to ADM-01? Format: MMM D, YYYY HH:MM:SS.SSS</strong> <br><br> <b>Answer</b><br> <br></div>
<div class="flag"><strong>What is the decoded command executed by Glitch to fix the systems of Wareville?</strong> <br><br> <b>Answer</b><br> <br></div>
<div class="flag"><strong>If you enjoyed this task, feel free to check out the Investigating with ELK 101 room.</strong> <br><br> <b>Answer</b><br> <br> </div>
</div>
<!-- Task 8 -->
<div class="flag-container">
<h2>Day 3: Even if I wanted to go, their vulnerabilities wouldn't allow it.</h2>
<span class=task-banner><img src="https://tryhackme-images.s3.amazonaws.com/user-uploads/5de96d9ca744773ea7ef8c00/room-content/5de96d9ca744773ea7ef8c00-1731420330182.png" alt="" srcset=""></span >
<div class="flag"><strong>BLUE: Where was the web shell uploaded to?</strong><br><br>Answer<br><br>/media/images/rooms/shell.php</div>
<div class="flag"><strong>BLUE: What is the IP address that accessed the web shell?</strong><br><br>Answer<br><br>10.11.83.34</div>
<div class="flag"><strong>RED: What is the contents of the flag.txt?</strong> <br><br>Answer<br><br>THM{Gl1tch_Was_H3r3}</div>
</div>
<!-- Task 9 -->
<div class="flag-container">
<h2>Day 4: I’m all atomic inside!</h2>
<span class=task-banner><img src="https://tryhackme-images.s3.amazonaws.com/user-uploads/5fc2847e1bbebc03aa89fbf2/room-content/5fc2847e1bbebc03aa89fbf2-1730709355879.png" alt="" srcset=""></span >
<div class="flag"><strong>What was the flag found in the .txt file that is found in the same directory as the PhishingAttachment.xslm artefact?</strong><br><br>Answer<br><br>THM{GlitchTestingForSpearphishing}</div>
<div class="flag"><strong>What ATT&CK technique ID would be our point of interest?</strong><br><br>Answer<br><br>THM{GlitchTestingForSpearphishing}</div>
<div class="flag"><strong>What ATT&CK subtechnique ID focuses on the Windows Command Shell?</strong><br><br>Answer<br><br>T1059.003</div>
<div class="flag"><strong>What is the name of the Atomic Test to be simulated?</strong><br><br>Answer<br><br>Simulate BlackByte Ransomware Print Bombing</div>
<div class="flag"><strong>What is the name of the file used in the test?</strong><br><br>Answer<br><br>Wareville_Ransomware.txt</div>
<div class="flag"><strong>What is the flag found from this Atomic Test?</strong><br><br>Answer<br><br>THM{R2xpdGNoIGlzIG5vdCB0aGUgZW5lbXk=}</div>
</div>
<!-- Task 10 -->
<!-- <div class="flag-container">
<h2>Task 10: Phishing Investigation</h2>
<div class="flag"><strong>Flag:</strong> THM{GlitchTestingForSpearphishing}</div>
<div class="flag"><strong>ATT&CK Technique ID:</strong> T1059</div>
<div class="flag"><strong>ATT&CK Subtechnique ID:</strong> T1059.003</div>
<div class="flag"><strong>Atomic Test Name:</strong> Simulate BlackByte Ransomware Print Bombing</div>
<div class="flag"><strong>Test File Name:</strong> Wareville_Ransomware.txt</div>
<div class="flag"><strong>Flag from Test:</strong> THM{R2xpdGNoIGlzIG5vdCB0aGUgZW5lbXk=}</div>
</div> -->
<!-- Back to Top Button -->
<a href="#" class="back-button">Back to Top</a>
</div>
</body>
</html>