HackTheBox - Smasher2
00:58 - Begin of Recon
02:30 - Using Wireshark to see why Nmap said HTTP 403
06:15 - Running GoBuster to identify /backup
07:05 - Performing a DNZ Zone Transfer with dig axfr
08:50 - Manually playing with the login form to hunt for SQL Injection
10:50 - Downloading files out of /backup, opening auth.py with vim and ses.so with ghidra
16:42 - Examining /auth endpoint
18:10 - Examining ses.so in Ghidra
20:31 - Renaming variables from Ghidra's decompiler to try to make sense of the code
30:00 - Examining get_internal_usr and pwd to discover the bug
33:20 - Using GDB to debug python and step through ses.so, which makes analyzing decompiled code easier
36:50 - First time attaching the debugger - Seg faults for some reason.
38:30 - Attaching the debugger again, this time it works. Explaining important registers
39:00 - Stepping through the code trying to make sense of registers. This part may not make sense.
### The RDI Value in the STRCMP was from my python script calling ses.so -- RSI is what the program thinks the password is. So if in the Python Script I used ippsec:ippsec, then it would be STRCMP('ippsec','ippsec').
51:50 - Logging in with Administrator:Administrator and then looking at auth.py to see how the /api works
54:25 - Getting command execution
55:50 - Trying to get a Reverse Shell, discovering a WAF, identifying the bad characters
56:50 - Configuring burp to have a hotkey to "Issue Repeater Request" so we don't have to click send
57:18 - Tips to avoid a web filter/WAF ex: {echo,test}|{ba''se64,-''-d}
1:01:00 - Getting a reverse shell, then upgrading to a SSH Terminal by dropping SSH Key
1:05:05 - Running LinPEAS to identify paths to privesc
1:09:10 - Downloading the custom Linux Kernel Module: DHID then examine in Ghidra
1:12:00 - Looking at Snowscans blog to test the dev_read function
1:14:15 - Looking at the dev_mmap call
1:15:20 - Looking at MWR LAbs paper on insecure MMAP use in kernel modules
1:16:30 - Explaining what we are going to do - Rewrite cr
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
More on: Network Security
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
AI Will Exploit What Businesses Refuse to Fix
Medium · AI
AI Will Exploit What Businesses Refuse to Fix
Medium · Cybersecurity
How to detect and protect ESP tokens across 5 different template syntaxes
Dev.to · Sasa
Stop Just Hashing Passwords: Why Salting is Non-Negotiable
Dev.to · Nirmal Ravidas
Chapters (26)
0:58
Begin of Recon
2:30
Using Wireshark to see why Nmap said HTTP 403
6:15
Running GoBuster to identify /backup
7:05
Performing a DNZ Zone Transfer with dig axfr
8:50
Manually playing with the login form to hunt for SQL Injection
10:50
Downloading files out of /backup, opening auth.py with vim and ses.so with ghi
16:42
Examining /auth endpoint
18:10
Examining ses.so in Ghidra
20:31
Renaming variables from Ghidra's decompiler to try to make sense of the code
30:00
Examining get_internal_usr and pwd to discover the bug
33:20
Using GDB to debug python and step through ses.so, which makes analyzing decom
36:50
First time attaching the debugger - Seg faults for some reason.
38:30
Attaching the debugger again, this time it works. Explaining important regist
39:00
Stepping through the code trying to make sense of registers. This part may no
51:50
Logging in with Administrator:Administrator and then looking at auth.py to see
54:25
Getting command execution
55:50
Trying to get a Reverse Shell, discovering a WAF, identifying the bad characte
56:50
Configuring burp to have a hotkey to "Issue Repeater Request" so we don't have
57:18
Tips to avoid a web filter/WAF ex: {echo,test}|{ba''se64,-''-d}
1:01:00
Getting a reverse shell, then upgrading to a SSH Terminal by dropping SSH Key
1:05:05
Running LinPEAS to identify paths to privesc
1:09:10
Downloading the custom Linux Kernel Module: DHID then examine in Ghidra
1:12:00
Looking at Snowscans blog to test the dev_read function
1:14:15
Looking at the dev_mmap call
1:15:20
Looking at MWR LAbs paper on insecure MMAP use in kernel modules
1:16:30
Explaining what we are going to do - Rewrite cr
🎓
Tutor Explanation
DeepCamp AI