HackTheBox - Topology
00:00 - Introduction
01:00 - Start of nmap
02:30 - Discovering Discovering the LaTeX Equation Generator Page
04:10 - Attempting to get code execution, discovering a WAF. Building a wordlist and using FFUF to identify potentially dangerous commands that aren't blocked
07:45 - Discovering lstinputlisting is not blocked, which will let us read files
10:45 - Using FFUF to bruteforce subdomains, show the automatic calibration, so you don't need to manually specify filters
13:25 - Looking for the Apache Config for the Dev subdomain, as it likely has a htpasswd file we can get a password from
15:25 - Showing the alternate path to get RCE, Bypassing the filter by encoding characters in hex with ^^
18:50 - Talking about the catcode command and a failed path at evading a filter with this, but it pointed me towards superscript
21:40 - Looking at the wikibooks latex page and seeing ^ is superscript by default, so we don't need the catcode
22:20 - Testing the bypass with a valid command to make sure it works
24:00 - Writing a file
27:35 - I failed at typing my PHP Shell, standing up my own PHP Server so I can see the error
29:30 - PHP Script is written, getting a reverse shell grabbing the htpasswd and kracking
33:30 - Copying LinPeas and disabling FAST mode, so it looks for unique processes
36:30 - Discovering a cron that is running GNUPLOT
37:50 - Looking at GNUPLOT commands and discovering it has a SYSTEM Command
42:00 - We aren't getting a reverse shell, running the command ourself to see STDERR and discovering commands are case-sensitive
43:00 - Root shell returned, just playing with GNUPLOT to show we can write to a file
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
⚡
⚡
⚡
⚡
Synthesizing the Principles-Building Your Cohesive Security Blueprint
Medium · Cybersecurity
Security Through Obscurity-A Clever Tactic, But a Terrible Strategy
Medium · Cybersecurity
American Lending Center Data Breach Impacts 123,000 Individuals: What Financial Institutions Must…
Medium · Cybersecurity
Secure by Design-Building Foundations, Not Fixing Flaws
Medium · Cybersecurity
Chapters (19)
Introduction
1:00
Start of nmap
2:30
Discovering Discovering the LaTeX Equation Generator Page
4:10
Attempting to get code execution, discovering a WAF. Building a wordlist and u
7:45
Discovering lstinputlisting is not blocked, which will let us read files
10:45
Using FFUF to bruteforce subdomains, show the automatic calibration, so you do
13:25
Looking for the Apache Config for the Dev subdomain, as it likely has a htpass
15:25
Showing the alternate path to get RCE, Bypassing the filter by encoding charac
18:50
Talking about the catcode command and a failed path at evading a filter with t
21:40
Looking at the wikibooks latex page and seeing ^ is superscript by default, so
22:20
Testing the bypass with a valid command to make sure it works
24:00
Writing a file
27:35
I failed at typing my PHP Shell, standing up my own PHP Server so I can see th
29:30
PHP Script is written, getting a reverse shell grabbing the htpasswd and krack
33:30
Copying LinPeas and disabling FAST mode, so it looks for unique processes
36:30
Discovering a cron that is running GNUPLOT
37:50
Looking at GNUPLOT commands and discovering it has a SYSTEM Command
42:00
We aren't getting a reverse shell, running the command ourself to see STDERR a
43:00
Root shell returned, just playing with GNUPLOT to show we can write to a file
🎓
Tutor Explanation
DeepCamp AI