HackTheBox - Book
00:00 - Intro
00:34 - Begin of Recon
01:45 - Enumerating the login page
03:05 - Creating an account, identifying what fields are unique
05:00 - Logged into the page, examining functionality starting with the download.php file
07:30 - Playing with the search field
08:00 - Playing with XSS by using img src
13:00 - Examining the user signup more closely
15:25 - Viewing javascript on the page to show there is a maximum number of characters in username/email
17:20 - Start of attempting SQL Truncation attack
22:25 - Attempting to login to /admin/ with our account to see we get in, then redoing every…
Watch on YouTube ↗
(saves to browser)
Chapters (27)
Intro
0:34
Begin of Recon
1:45
Enumerating the login page
3:05
Creating an account, identifying what fields are unique
5:00
Logged into the page, examining functionality starting with the download.php f
7:30
Playing with the search field
8:00
Playing with XSS by using img src
13:00
Examining the user signup more closely
15:25
Viewing javascript on the page to show there is a maximum number of characters
17:20
Start of attempting SQL Truncation attack
22:25
Attempting to login to /admin/ with our account to see we get in, then redoing
23:20
Explaining the SQL Truncation Attack
35:40
Noticing the PDF Generation processes HTML and probably JavaScript
39:00
Using a Javascript payload that reads a local file on the box
45:20
Getting rid of the Base64 Encoding in the payload and reading /etc/passwd
46:18
Trying (and failing) to grab /proc/self/environ
54:10
Attempting to grab an SSH Key for the Reader User
56:00
SSH Key is poorly formatted. Using pdf2text to see if formatting is better
57:30
PDF2Text didn't work, lets try PDF2HTML which does a great job
59:45
Revisiting the Base64 Payload to see if PDF2HTML grabs all the Base64 (it does
1:02:15
Running LINPEAS to see we may be able to exploit log rotate
1:06:10
Poorly explaining how logrotten works
1:12:30
Performing the Logrotten exploit to get a reverse shell
1:18:15
Finally keeping the reverse shell alive
1:20:25
Examining how the SQL Truncation vulnerability came to be by looking at the PH
1:27:30
Showing how it determines the admin user and uses trim() which is why our atta
1:29:40
Examining the PHP Sessions
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