HackTheBox - Noter - Cracking Flask Cookies and performing MySQL Raptor Exploit on Modern Distro RCE
00:00 - Intro
00:57 - Start of nmap
02:40 - Registering an account
02:55 - Enumerating valid usernames based upon error message
05:30 - Using ffuf to match regex to enumerate valid usernames
07:10 - Poking at the web applicaiton trying IDOR/SSTI and failing
08:50 - Looking at the cookie given by the application and discovering it is a Flask Session Cookie
10:45 - Trying to crack the Flask Session with Hashcat. It fails because I think the payload is too long for hashcat.
16:50 - Using Flask-Unsign to crack the session
18:45 - Using flask-unsign to forge a cookie that says we are the Blue User…
Watch on YouTube ↗
(saves to browser)
Chapters (18)
Intro
0:57
Start of nmap
2:40
Registering an account
2:55
Enumerating valid usernames based upon error message
5:30
Using ffuf to match regex to enumerate valid usernames
7:10
Poking at the web applicaiton trying IDOR/SSTI and failing
8:50
Looking at the cookie given by the application and discovering it is a Flask S
10:45
Trying to crack the Flask Session with Hashcat. It fails because I think the p
16:50
Using Flask-Unsign to crack the session
18:45
Using flask-unsign to forge a cookie that says we are the Blue User
22:30
Logged into the application as Blue, get the ftp_admin password
25:10
Unzipping the source code that came from the ftp server and using diff to comp
27:50
Failing to exploit a command injection vulnerability in the export note functi
32:40
Going deeper in the export note function to discover it uses a node library md
43:10
Running LinPEAS
48:20
Start of the Raptor Exploit, we pulled a bad version so it isn't immediately g
55:20
Running Show Variables like '%plugin%' which will tell us where we should drop
1:00:30
Using a different version of raptor which has a do_system_init function, this
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 - Dungeon
IppSec
HHC2016 - Terminal Speedrun
IppSec
HHC2016 - Ads
IppSec
HHC2016 - Debug
IppSec
HHC2016 - Exception
IppSec
HHC2016 - Analytics
IppSec
HHC2016 - Getting Coins
IppSec
HackTheBox - Popcorn
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Tenten
IppSec
HackTheBox - CronOS
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Beep
IppSec
HackTheBox - Bastard
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
IppSec
HackTheBox - Haircut
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 - Apocalyst
IppSec
HackTheBox - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
IppSec
HackTheBox - SolidState
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 - Bashed
IppSec
HackTheBox - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
HackTheBox - Nibbles
IppSec
DeepCamp AI