HackTheBox - Socket
Skills:
Ethical Hacking & Pen Testing90%
00:00 - Introduction
01:00 - Start of nmap
01:45 - Taking a look at QReader.htb
04:40 - Opening the QReader application to discover it requires GLIBC_2.35, going back to nmap to see what flavor of linux was used
06:25 - Switching to Ubuntu Jammy and running Wireshark with the app running to see it makes a request to WS.QREADER.HTB
09:30 - Using BurpSuite to intercept this thick client by setting it up as a transparent proxy
12:00 - Playing with the websocket and discovering SQL Injection
14:40 - Using WebSocat and watch to build a quick client to test the SQL Injection over websockets and playing with Union to see how many columns are needed
16:00 - Identifying what database is used, using SQLITE_VERSION() and seeing it is SQLITE. Then dumping the schema of SQLITE
20:30 - Dumping the Users table
24:10 - Dumping the other tables, getting the name of the admin in the answers table
28:20 - Using username-anarchy to generate a bunch of potential usernames, then using CrackMapExec to spray ssh
29:30 - Logging into the webserver, looking at the webserver code and not really finding anything
32:00 - Looking at sudo rules to see I can run build-installer.sh, which is a wrapper around pyinstaller
34:50 - Looking at the PyInstaller spec file, to show we can include files in the executable that gets created by pyinstaller
35:30 - Including files owned by root such as ssh key, shadow and flag in the specfile for pyinstaller
39:30 - Using Pyinstxtractor to extract the pysinstaller exe and downloading our files
40:47 - Beyond Root: Decompiling the QReader Application with pycdc (Decompyle++)
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
Chapters (18)
Introduction
1:00
Start of nmap
1:45
Taking a look at QReader.htb
4:40
Opening the QReader application to discover it requires GLIBC_2.35, going back
6:25
Switching to Ubuntu Jammy and running Wireshark with the app running to see it
9:30
Using BurpSuite to intercept this thick client by setting it up as a transpare
12:00
Playing with the websocket and discovering SQL Injection
14:40
Using WebSocat and watch to build a quick client to test the SQL Injection ove
16:00
Identifying what database is used, using SQLITE_VERSION() and seeing it is SQL
20:30
Dumping the Users table
24:10
Dumping the other tables, getting the name of the admin in the answers table
28:20
Using username-anarchy to generate a bunch of potential usernames, then using
29:30
Logging into the webserver, looking at the webserver code and not really findi
32:00
Looking at sudo rules to see I can run build-installer.sh, which is a wrapper
34:50
Looking at the PyInstaller spec file, to show we can include files in the exec
35:30
Including files owned by root such as ssh key, shadow and flag in the specfile
39:30
Using Pyinstxtractor to extract the pysinstaller exe and downloading our files
40:47
Beyond Root: Decompiling the QReader Application with pycdc (Decompyle++)
🎓
Tutor Explanation
DeepCamp AI