HackTheBox - BlockBlock
00:00 - Introduction
01:00 - Start of nmap
02:15 - Registering an account and discovering the chat, examining source and seeing a database solidity contract
04:45 - Testing for XSS, discovering it within the username
06:00 - The /api/info page exposes the JWT, which lets us exfiltrate it even if HTTPONLY is set
07:10 - Using FeroxBuster to enumerate the API with different methods
10:00 - Discovering XSS in the Report feature, and get a hit from the admin, create a JS Payload to exfiltrate the admin token
16:00 - We are now the admin, which has access to a new endpoint that interacts with the blockchain via the json-rpc API playing with endpoints
19:00 - Playing with eth_getAccount
19:30 - Playing with eth_getBlockByNumber, then viewing information on the chain. Enumerating all blocks will start revealing credentials
25:30 - Shell on the box as Keira, can run forge as paul which we can exploit two ways
26:15 - Exploiting forge with path injection since the sudo has no env_reset set
29:10 - Exploiting forge with the build flag that has command injection
31:00 - Paul can run pacman as root, which we can exploit a few ways. First we create a hook on any package operation that runs a command
35:40 - We could also just build a package that drops a new file, creating a malicious cron
40:30 - Creating a package that just runs a command
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
⚡
⚡
⚡
⚡
Stop Blindly Disabling CSRF — Dynamic CSRF Configuration in Spring Security 6
Medium · Cybersecurity
Microsoft Reveals Kazuar Malware’s Advanced Modular Design and Peer-to-Peer Botnet Capabilities
Medium · Cybersecurity
The OpenAI Breach Wasn't About OpenAI – It Was About the 84 Packages Above Them
Dev.to · Dimitris Kyrkos
Years of Apple's Best Security Work, Cracked in Five Days — Here's What Developers Should Know
Dev.to · ArshTechPro
Chapters (16)
Introduction
1:00
Start of nmap
2:15
Registering an account and discovering the chat, examining source and seeing a
4:45
Testing for XSS, discovering it within the username
6:00
The /api/info page exposes the JWT, which lets us exfiltrate it even if HTTPON
7:10
Using FeroxBuster to enumerate the API with different methods
10:00
Discovering XSS in the Report feature, and get a hit from the admin, create a
16:00
We are now the admin, which has access to a new endpoint that interacts with t
19:00
Playing with eth_getAccount
19:30
Playing with eth_getBlockByNumber, then viewing information on the chain. Enum
25:30
Shell on the box as Keira, can run forge as paul which we can exploit two ways
26:15
Exploiting forge with path injection since the sudo has no env_reset set
29:10
Exploiting forge with the build flag that has command injection
31:00
Paul can run pacman as root, which we can exploit a few ways. First we create
35:40
We could also just build a package that drops a new file, creating a malicious
40:30
Creating a package that just runs a command
🎓
Tutor Explanation
DeepCamp AI