HackTheBox - Guardian
Skills:
Network Security80%
00:00 - Introduction
00:52 - Start of nmap
03:00 - Discovering the portal.guardian.htb sub domain, there is a PDF here that shows the default password. Failing to enumerate valid accounts.
06:00 - Using FFUF to Bruteforce all accounts with the default password of GU1234
10:25 - Logging into the application, doing some quick notes of what functionality is exposed
14:25 - Identifying the Chat Functionality, attempting to see if there are broken access controls letting us read other users messages with ffuf
17:30 - Looking at the chats to admin, discovering a Gitea Password then finding the Gitea sub domain
22:00 - Doing some light enumeration against Gitea showing the Public API will let us enumerate if a user exists
24:45 - Logging in as Jamil and then downloading the portal source code and running it through Snyk
28:00 - Looking into the PHP Spreadsheet XSS Vulnerability and creating a python script to weaponize a document
35:20 - Stole the teachers cookie, switching our cookie and finding an CSRF Vulnerability
38:15 - Creating a quick CSRF Payload to add users
48:40 - Logged in as our newly created admin, exploiting the LFI Vulnerability with the Synactiv Filter Chain Vulnerability
55:15 - Got a shell on the box, dumping the database
58:30 - Identifying the hash, failing to crack it, realize its salted, finding the salt and cracking
1:06:10 - Logged in as Jamil, we can run a python script as Mark. We have write permission over a portion of the script allowing for RCE
1:08:45 - Mark can run SafeApache2CTL which is a custom wrapper, creating an apache module to show RCE
1:17:40 - Playing around with the binary, opening it up in Ghidra to show what it does and how weak the checks are
1:23:30 - Showing that using the Apache Include directive with a SymLink we can leak the first line of any file
1:25:10 - Showing copying the existing apache config and modifying it to just serve files out of /, this lets us grab entire files
1:34:30 - Showing a minimal apache config that
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from IppSec · IppSec · 0 of 60
← Previous
Next →
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
HHC2016 - Analytics
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Lazy
IppSec
Camp CTF 2015 - Bitterman
IppSec
HackTheBox - Devel
IppSec
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
HackTheBox - Granny and Grandpa
IppSec
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
HackTheBox - Optimum
IppSec
HackTheBox - Charon
IppSec
HackTheBox - Sneaky
IppSec
HackTheBox - Holiday
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - Shrek
IppSec
HackTheBox - Mirai
IppSec
HackTheBox - Shocker
IppSec
HackTheBox - Mantis
IppSec
HackTheBox - Node
IppSec
HackTheBox - Kotarak
IppSec
HackTheBox - Enterprise
IppSec
HackTheBox - Sense
IppSec
HackTheBox - Minion
IppSec
VulnHub - Sokar
IppSec
VulnHub - Pinkys Palace v2
IppSec
HackTheBox - Inception
IppSec
Vulnhub - Trollcave 1.2
IppSec
HackTheBox - Ariekei
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
How To Create Empire Modules
IppSec
HackTheBox - Nightmare
IppSec
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
HackTheBox - Bart
IppSec
HackTheBox - Aragog
IppSec
HackTheBox - Valentine
IppSec
HackTheBox - Silo
IppSec
HackTheBox - Rabbit
IppSec
HackTheBox - Celestial
IppSec
HackTheBox - Stratosphere
IppSec
HackTheBox - Poison
IppSec
HackTheBox - Canape
IppSec
HackTheBox - Olympus
IppSec
HackTheBox - Sunday
IppSec
HackTheBox - Fighter
IppSec
HackTheBox - Bounty
IppSec
More on: Network Security
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Stop Storing JWTs in localStorage: A Security Guide for Web Developers
Dev.to · Damilola Owolabi
Inside Consumer DVRs — Hardware, Firmware & Network Security Evaluation
Medium · Cybersecurity
Cómo construimos un SOC con honeypot e IA local
Dev.to · Yoandy Ramirez Delgado
Credentials in web applications: how to store them properly
Dev.to · Ian Johnson
Chapters (21)
Introduction
0:52
Start of nmap
3:00
Discovering the portal.guardian.htb sub domain, there is a PDF here that shows
6:00
Using FFUF to Bruteforce all accounts with the default password of GU1234
10:25
Logging into the application, doing some quick notes of what functionality is
14:25
Identifying the Chat Functionality, attempting to see if there are broken acce
17:30
Looking at the chats to admin, discovering a Gitea Password then finding the G
22:00
Doing some light enumeration against Gitea showing the Public API will let us
24:45
Logging in as Jamil and then downloading the portal source code and running it
28:00
Looking into the PHP Spreadsheet XSS Vulnerability and creating a python scrip
35:20
Stole the teachers cookie, switching our cookie and finding an CSRF Vulnerabil
38:15
Creating a quick CSRF Payload to add users
48:40
Logged in as our newly created admin, exploiting the LFI Vulnerability with th
55:15
Got a shell on the box, dumping the database
58:30
Identifying the hash, failing to crack it, realize its salted, finding the sal
1:06:10
Logged in as Jamil, we can run a python script as Mark. We have write permissi
1:08:45
Mark can run SafeApache2CTL which is a custom wrapper, creating an apache modu
1:17:40
Playing around with the binary, opening it up in Ghidra to show what it does a
1:23:30
Showing that using the Apache Include directive with a SymLink we can leak the
1:25:10
Showing copying the existing apache config and modifying it to just serve file
1:34:30
Showing a minimal apache config that
🎓
Tutor Explanation
DeepCamp AI