HackTheBox - Faculty

IppSec · Beginner ·🔐 Cybersecurity ·3y ago
00:00 - Intro 01:01 - Start of nmap 02:10 - Testing login of the webapp, finding SQL Injection to bypass it 03:20 - Running gobuster with our cookie so it has access to any authenticated page 04:50 - Examining the course edit functionality and discovering how the page tells us if our update was a success 05:50 - Explaning the dangerous thing with update injections, we accidentally changed EVERY row. 08:45 - Extracting information from this Update Injection in MySQL by editing a second column 10:15 - Standard MySQL Injection to extract table information from Information_Schema, then dumping hashes 15:00 - Showing a second login form, which is also SQL Injectable 17:00 - Examining the Generate PDF Function 19:00 - Verifying we can put HTML in the PDF 21:40 - Going to GitHub Issues and finding issues with MPDF to find vulnerabilities in old versions 22:30 - Showing we do have SSRF but this doesn't really give us anything 24:10 - Using Annotations to add loca files into the PDF 25:25 - Dumping source code of the webapp to find the configuration file, then getting the MySQL Password 29:40 - Testing the MySQL Password with SSH and logging in as gbyolo 31:20 - Exploiting Meta-Git to gain access to the developer user 36:40 - Shell as Developer and running LinPEAS 38:48 - Testing CVE-2022-2588 as a privesc on Ubuntu, it works! (unintended route) 42:30 - Finding GDB has cap_sys_ptrace permissions, which means we can debug processes running as root 43:20 - Using MSFVENOM to generate shellcode to perform a reverse shell, which we will inject into a process 45:00 - Creating a python script to format the shellcode in a way we can just paste it into gdb 46:25 - Explaining the modulo operator (%) which is how we will pad our payload 49:00 - Building our payload 53:00 - Payload has been built! Lets inject it into a process and get a shell
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 HHC2016 - Analytics
HHC2016 - Analytics
IppSec
2 HackTheBox - October
HackTheBox - October
IppSec
3 HackTheBox - Arctic
HackTheBox - Arctic
IppSec
4 HackTheBox - Brainfuck
HackTheBox - Brainfuck
IppSec
5 HackTheBox - Bank
HackTheBox - Bank
IppSec
6 HackTheBox - Joker
HackTheBox - Joker
IppSec
7 HackTheBox - Lazy
HackTheBox - Lazy
IppSec
8 Camp CTF 2015 - Bitterman
Camp CTF 2015 - Bitterman
IppSec
9 HackTheBox - Devel
HackTheBox - Devel
IppSec
10 Reversing Malicious Office Document (Macro) Emotet(?)
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
11 HackTheBox - Granny and Grandpa
HackTheBox - Granny and Grandpa
IppSec
12 HackTheBox - Pivoting Update: Granny and Grandpa
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
13 HackTheBox - Optimum
HackTheBox - Optimum
IppSec
14 HackTheBox - Charon
HackTheBox - Charon
IppSec
15 HackTheBox - Sneaky
HackTheBox - Sneaky
IppSec
16 HackTheBox - Holiday
HackTheBox - Holiday
IppSec
17 HackTheBox - Europa
HackTheBox - Europa
IppSec
18 Introduction to tmux
Introduction to tmux
IppSec
19 HackTheBox - Blocky
HackTheBox - Blocky
IppSec
20 HackTheBox - Nineveh
HackTheBox - Nineveh
IppSec
21 HackTheBox - Jail
HackTheBox - Jail
IppSec
22 HackTheBox - Blue
HackTheBox - Blue
IppSec
23 HackTheBox - Calamity
HackTheBox - Calamity
IppSec
24 HackTheBox - Shrek
HackTheBox - Shrek
IppSec
25 HackTheBox - Mirai
HackTheBox - Mirai
IppSec
26 HackTheBox - Shocker
HackTheBox - Shocker
IppSec
27 HackTheBox - Mantis
HackTheBox - Mantis
IppSec
28 HackTheBox - Node
HackTheBox - Node
IppSec
29 HackTheBox - Kotarak
HackTheBox - Kotarak
IppSec
30 HackTheBox - Enterprise
HackTheBox - Enterprise
IppSec
31 HackTheBox - Sense
HackTheBox - Sense
IppSec
32 HackTheBox - Minion
HackTheBox - Minion
IppSec
33 VulnHub - Sokar
VulnHub - Sokar
IppSec
34 VulnHub - Pinkys Palace v2
VulnHub - Pinkys Palace v2
IppSec
35 HackTheBox - Inception
HackTheBox - Inception
IppSec
36 Vulnhub - Trollcave 1.2
Vulnhub - Trollcave 1.2
IppSec
37 HackTheBox - Ariekei
HackTheBox - Ariekei
IppSec
38 HackTheBox - Flux Capacitor
HackTheBox - Flux Capacitor
IppSec
39 HackTheBox - Jeeves
HackTheBox - Jeeves
IppSec
40 HackTheBox - Tally
HackTheBox - Tally
IppSec
41 HackTheBox - CrimeStoppers
HackTheBox - CrimeStoppers
IppSec
42 HackTheBox - Fulcrum
HackTheBox - Fulcrum
IppSec
43 HackTheBox - Chatterbox
HackTheBox - Chatterbox
IppSec
44 HackTheBox - Falafel
HackTheBox - Falafel
IppSec
45 How To Create Empire Modules
How To Create Empire Modules
IppSec
46 HackTheBox - Nightmare
HackTheBox - Nightmare
IppSec
47 HackTheBox - Nightmarev2  - Speed Run/Unintended Solutions
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
48 HackTheBox - Bart
HackTheBox - Bart
IppSec
49 HackTheBox -  Aragog
HackTheBox - Aragog
IppSec
50 HackTheBox - Valentine
HackTheBox - Valentine
IppSec
51 HackTheBox - Silo
HackTheBox - Silo
IppSec
52 HackTheBox - Rabbit
HackTheBox - Rabbit
IppSec
53 HackTheBox - Celestial
HackTheBox - Celestial
IppSec
54 HackTheBox - Stratosphere
HackTheBox - Stratosphere
IppSec
55 HackTheBox - Poison
HackTheBox - Poison
IppSec
56 HackTheBox - Canape
HackTheBox - Canape
IppSec
57 HackTheBox - Olympus
HackTheBox - Olympus
IppSec
58 HackTheBox - Sunday
HackTheBox - Sunday
IppSec
59 HackTheBox - Fighter
HackTheBox - Fighter
IppSec
60 HackTheBox - Bounty
HackTheBox - Bounty
IppSec

Related AI Lessons

Chapters (25)

Intro
1:01 Start of nmap
2:10 Testing login of the webapp, finding SQL Injection to bypass it
3:20 Running gobuster with our cookie so it has access to any authenticated page
4:50 Examining the course edit functionality and discovering how the page tells us
5:50 Explaning the dangerous thing with update injections, we accidentally changed
8:45 Extracting information from this Update Injection in MySQL by editing a second
10:15 Standard MySQL Injection to extract table information from Information_Schema,
15:00 Showing a second login form, which is also SQL Injectable
17:00 Examining the Generate PDF Function
19:00 Verifying we can put HTML in the PDF
21:40 Going to GitHub Issues and finding issues with MPDF to find vulnerabilities in
22:30 Showing we do have SSRF but this doesn't really give us anything
24:10 Using Annotations to add loca files into the PDF
25:25 Dumping source code of the webapp to find the configuration file, then getting
29:40 Testing the MySQL Password with SSH and logging in as gbyolo
31:20 Exploiting Meta-Git to gain access to the developer user
36:40 Shell as Developer and running LinPEAS
38:48 Testing CVE-2022-2588 as a privesc on Ubuntu, it works! (unintended route)
42:30 Finding GDB has cap_sys_ptrace permissions, which means we can debug processes
43:20 Using MSFVENOM to generate shellcode to perform a reverse shell, which we will
45:00 Creating a python script to format the shellcode in a way we can just paste it
46:25 Explaining the modulo operator (%) which is how we will pad our payload
49:00 Building our payload
53:00 Payload has been built! Lets inject it into a process and get a shell
Up next
The Linux Kernel Killswitch Changes Things Forever
Brodie Robertson
Watch →