HackTheBox - Forge
00:00 - Intro
01:00 - Running nmap finding a filtered port with some open ones
03:30 - Running GoBuster to always have something running in the background
05:00 - Playing with the Upload Form
07:20 - Playing with the Upload from URL to see what library connects back to us (SSRF)
09:30 - The Upload From URL has a blacklisted address, playing with it to discover what is blacklisted
10:55 - Bypassing the URL Blacklist in the SSRF by changing the case of words
11:45 - Running a virtualhost bruteforce within gobuster to discover vhost
13:10 - Bypassing the URL Blacklist in the SSRF by creating a webserver that will send a redirect
16:50 - Using the SSRF to download admin.forge.htb and discovering ftp creds and another SSRF
18:20 - Using the SSRF to use FTP
19:20 - Encoding the IP Address as hex to bypass a blacklist
22:10 - When specifying a directory in the FTP with SSRF need a trailing slash explaining why
23:10 - Downloading id_rsa and then logging into the machine
24:10 - The user can sudo run a python script, which stands up a debugger on a random port
26:13 - Doing a nested tmux so we can run the python script and then use netcat to connect
28:50 - Getting root
30:55 - Explaining how to harden the blacklist to prevent the easy bypassing
34:30 - Looking at how admin.forge.htb added FTP Support
36:50 - Thinking there's an RCE but there isn't, shlex is a good filter
44:30 - Getting frusterated, lets break this down and see whats stopping our RCE
45:40 - Playing with Shlex to discover it is what prevents the RCE
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
Related AI Lessons
⚡
⚡
⚡
⚡
Why Businesses Quietly Accept Technology Friction as “Normal”
Medium · Cybersecurity
The Model You Just Downloaded Might Own Your Network — What I Learned Building Defenses Against AI…
Medium · Cybersecurity
I Found Backdoored AI Models on Hugging Face — And So Has Everyone Else Who Bothered to Look
Medium · Cybersecurity
The XSS Escalation Playbook: From Basic Reflection to DOM Breakouts
Medium · Cybersecurity
Chapters (22)
Intro
1:00
Running nmap finding a filtered port with some open ones
3:30
Running GoBuster to always have something running in the background
5:00
Playing with the Upload Form
7:20
Playing with the Upload from URL to see what library connects back to us (SSRF
9:30
The Upload From URL has a blacklisted address, playing with it to discover wha
10:55
Bypassing the URL Blacklist in the SSRF by changing the case of words
11:45
Running a virtualhost bruteforce within gobuster to discover vhost
13:10
Bypassing the URL Blacklist in the SSRF by creating a webserver that will send
16:50
Using the SSRF to download admin.forge.htb and discovering ftp creds and anoth
18:20
Using the SSRF to use FTP
19:20
Encoding the IP Address as hex to bypass a blacklist
22:10
When specifying a directory in the FTP with SSRF need a trailing slash explain
23:10
Downloading id_rsa and then logging into the machine
24:10
The user can sudo run a python script, which stands up a debugger on a random
26:13
Doing a nested tmux so we can run the python script and then use netcat to con
28:50
Getting root
30:55
Explaining how to harden the blacklist to prevent the easy bypassing
34:30
Looking at how admin.forge.htb added FTP Support
36:50
Thinking there's an RCE but there isn't, shlex is a good filter
44:30
Getting frusterated, lets break this down and see whats stopping our RCE
45:40
Playing with Shlex to discover it is what prevents the RCE
🎓
Tutor Explanation
DeepCamp AI