HackTheBox - DarkCorp
00:00 - Introduction
01:00 - Start of nmap
02:45 - Discovering the Contact Us form lets us send emails anywhere, also leaks the bcase user to the recipient
05:30 - Discovering RoundCube Version and finding it is vulnerable to XSS, testing it against ourself with the contact us form
11:45 - Building a XSS CSRF Payload that will exfil all emails in the inbox
18:50 - Creating the Python HTTP Server to display emails sent from the XSS Payload, use Beautiful Soup to parse the HTML to only show important pieces
31:40 - Sending the XSS to bcase, getting his emails. Discovering a new subdomain, using password reset and reading his inbox again to discover the reset link
35:20 - Finding SQL Injection in PostGres, checking if we are super user, discovering there is a filter stripping the work copy
38:00 - Doing some light evasion using an eval like feature of PostGres so we can encode our query and getting a shell on the box
47:30 - Discovering an encrypted file, using the db password within .env of the webapp to decrypt it
54:20 - Getting our first Active Directory user, running RustHound but there aren't many paths
59:40 - Logging into another page with Victor's credentials, we have an SSRF here
01:04:18 - Using socat to set up a tunnel so we can have the target listen on a port and send it back to use (Reverse Port Forward), not using SSH because it only listens on localhost
01:08:30 - Responder grabs a NetNTLMv2 Hash from the SSRF, showing the latest version of responder won't grab it, digging into source to show why
01:15:05 - Showing LDAP Signing is not enabled, using NTLMRelayx to forward our request to the LDAP Server, attempting Certificate Enrollment with ADCS but NTLM Auth is disabled
01:22:20 - Getting KRBRelayX Up and running so we can auth with ADCS
01:26:20 - Using the PrinterBug to force the machine to make a request to our KRBRelay Server, but first using NTLMRelayX to create a special DNS Name (marshalling) to masquerade as DC-01
01:31:40 - Got a NTLM Hash f
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
⚡
⚡
⚡
⚡
The Hidden Risk in Emergency Evacuation Plans Nobody Talks About
Medium · Cybersecurity
3 Key Takeaways on Why Cybersecurity Product Management Matters More Than Ever
Medium · Cybersecurity
The Coding Challenge That Came for Your development Directory: Anatomy of a Job Interview Infostealer
Dev.to · Alex Chen
I Watched an AI Hack a Home Network in Under 10 Minutes
Medium · Cybersecurity
Chapters (18)
Introduction
1:00
Start of nmap
2:45
Discovering the Contact Us form lets us send emails anywhere, also leaks the b
5:30
Discovering RoundCube Version and finding it is vulnerable to XSS, testing it
11:45
Building a XSS CSRF Payload that will exfil all emails in the inbox
18:50
Creating the Python HTTP Server to display emails sent from the XSS Payload, u
31:40
Sending the XSS to bcase, getting his emails. Discovering a new subdomain, usi
35:20
Finding SQL Injection in PostGres, checking if we are super user, discovering
38:00
Doing some light evasion using an eval like feature of PostGres so we can enco
47:30
Discovering an encrypted file, using the db password within .env of the webapp
54:20
Getting our first Active Directory user, running RustHound but there aren't ma
59:40
Logging into another page with Victor's credentials, we have an SSRF here
1:04:18
Using socat to set up a tunnel so we can have the target listen on a port and
1:08:30
Responder grabs a NetNTLMv2 Hash from the SSRF, showing the latest version of
1:15:05
Showing LDAP Signing is not enabled, using NTLMRelayx to forward our request t
1:22:20
Getting KRBRelayX Up and running so we can auth with ADCS
1:26:20
Using the PrinterBug to force the machine to make a request to our KRBRelay Se
1:31:40
Got a NTLM Hash f
🎓
Tutor Explanation
DeepCamp AI