HackTheBox - Cereal

IppSec · Beginner ·🔐 Cybersecurity ·4y ago
01:17 - Start of nmap, showing having valid hostnames will give more information 03:54 - Error message on source.cereal.htb leaks a path 06:30 - Showing .git doesn't exist in DirectyList but does in Raft 08:02 - Using Git-Dumper to download the .git directory and view the source 09:30 - Looking at Git History shows where deserialization happens and a hard coded JWT 12:08 - Using the hard coded JWT To build our own token in dotnet. 21:00 - Trying to use our JWT to access authenticated pages 25:42 - Going through the React JavaScript to see the token is stored in our browsers local storage 29:4…
Watch on YouTube ↗ (saves to browser)

Chapters (23)

1:17 Start of nmap, showing having valid hostnames will give more information
3:54 Error message on source.cereal.htb leaks a path
6:30 Showing .git doesn't exist in DirectyList but does in Raft
8:02 Using Git-Dumper to download the .git directory and view the source
9:30 Looking at Git History shows where deserialization happens and a hard coded JW
12:08 Using the hard coded JWT To build our own token in dotnet.
21:00 Trying to use our JWT to access authenticated pages
25:42 Going through the React JavaScript to see the token is stored in our browsers
29:40 Our browser keeps clearing the storage lets just intercept a request in BurpSu
32:15 Start of the Desrialization, BadWords Filter to prevent ySoSerial, but we can
33:20 Finding the name of our JSON Library then finding a blackhat talk on abusing i
40:11 More examining javascript to find routes that leaks pages of the pplication
42:15 Using npm audit to find an XSS Vulnerability on /admin due to an out of date p
46:10 Testing the XSS Vulnerability with a simple payload
49:00 Putting it all togather, writing notes on how we are going to build the exploi
51:15 Start of exploit script making python requests not care about SSL, then buildi
57:00 Testing out bad character evasion with Base64 by using a benign XSS Payload fi
1:06:20 Adding stage 1 to our script to send the deserialization payload
1:08:22 Changing our payload to use XMLHttpRequest to force the browser to make a requ
1:13:08 Our script did not work, troubleshooting it
1:17:57 Script worked, lets now host a ASPX File for it to download
1:19:20 Using our webshell to download the SQLite Database
1:22:45 Our Powershell One-Liner to convert the database to b64 just fails. Lets co

Playlist

Uploads from IppSec · IppSec · 0 of 60

← Previous Next →
1 HHC2016 - Dungeon
HHC2016 - Dungeon
IppSec
2 HHC2016 - Terminal Speedrun
HHC2016 - Terminal Speedrun
IppSec
3 HHC2016 - Ads
HHC2016 - Ads
IppSec
4 HHC2016 - Debug
HHC2016 - Debug
IppSec
5 HHC2016 - Exception
HHC2016 - Exception
IppSec
6 HHC2016 - Analytics
HHC2016 - Analytics
IppSec
7 HHC2016 - Getting Coins
HHC2016 - Getting Coins
IppSec
8 HackTheBox - Popcorn
HackTheBox - Popcorn
IppSec
9 HackTheBox - October
HackTheBox - October
IppSec
10 HackTheBox - Arctic
HackTheBox - Arctic
IppSec
11 HackTheBox  - Tenten
HackTheBox - Tenten
IppSec
12 HackTheBox - CronOS
HackTheBox - CronOS
IppSec
13 HackTheBox - Brainfuck
HackTheBox - Brainfuck
IppSec
14 HackTheBox - Beep
HackTheBox - Beep
IppSec
15 HackTheBox - Bastard
HackTheBox - Bastard
IppSec
16 HackTheBox - Bank
HackTheBox - Bank
IppSec
17 HackTheBox - Joker
HackTheBox - Joker
IppSec
18 HackTheBox - Haircut
HackTheBox - Haircut
IppSec
19 HackTheBox - Lazy
HackTheBox - Lazy
IppSec
20 Camp CTF 2015 - Bitterman
Camp CTF 2015 - Bitterman
IppSec
21 HackTheBox - Devel
HackTheBox - Devel
IppSec
22 Reversing Malicious Office Document (Macro) Emotet(?)
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
23 HackTheBox - Granny and Grandpa
HackTheBox - Granny and Grandpa
IppSec
24 HackTheBox - Pivoting Update: Granny and Grandpa
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
25 HackTheBox - Optimum
HackTheBox - Optimum
IppSec
26 HackTheBox - Charon
HackTheBox - Charon
IppSec
27 HackTheBox - Sneaky
HackTheBox - Sneaky
IppSec
28 HackTheBox - Holiday
HackTheBox - Holiday
IppSec
29 HackTheBox - Apocalyst
HackTheBox - Apocalyst
IppSec
30 HackTheBox - Europa
HackTheBox - Europa
IppSec
31 Introduction to tmux
Introduction to tmux
IppSec
32 HackTheBox - Blocky
HackTheBox - Blocky
IppSec
33 HackTheBox - Nineveh
HackTheBox - Nineveh
IppSec
34 HackTheBox - Jail
HackTheBox - Jail
IppSec
35 HackTheBox - Blue
HackTheBox - Blue
IppSec
36 HackTheBox - Calamity
HackTheBox - Calamity
IppSec
37 HackTheBox - SolidState
HackTheBox - SolidState
IppSec
38 HackTheBox - Shrek
HackTheBox - Shrek
IppSec
39 HackTheBox - Mirai
HackTheBox - Mirai
IppSec
40 HackTheBox - Shocker
HackTheBox - Shocker
IppSec
41 HackTheBox - Mantis
HackTheBox - Mantis
IppSec
42 HackTheBox - Node
HackTheBox - Node
IppSec
43 HackTheBox - Kotarak
HackTheBox - Kotarak
IppSec
44 HackTheBox - Enterprise
HackTheBox - Enterprise
IppSec
45 HackTheBox - Sense
HackTheBox - Sense
IppSec
46 HackTheBox - Minion
HackTheBox - Minion
IppSec
47 VulnHub - Sokar
VulnHub - Sokar
IppSec
48 VulnHub - Pinkys Palace v2
VulnHub - Pinkys Palace v2
IppSec
49 HackTheBox - Inception
HackTheBox - Inception
IppSec
50 Vulnhub - Trollcave 1.2
Vulnhub - Trollcave 1.2
IppSec
51 HackTheBox - Ariekei
HackTheBox - Ariekei
IppSec
52 HackTheBox - Bashed
HackTheBox - Bashed
IppSec
53 HackTheBox - Flux Capacitor
HackTheBox - Flux Capacitor
IppSec
54 HackTheBox - Jeeves
HackTheBox - Jeeves
IppSec
55 HackTheBox - Tally
HackTheBox - Tally
IppSec
56 HackTheBox - CrimeStoppers
HackTheBox - CrimeStoppers
IppSec
57 HackTheBox - Fulcrum
HackTheBox - Fulcrum
IppSec
58 HackTheBox - Chatterbox
HackTheBox - Chatterbox
IppSec
59 HackTheBox - Falafel
HackTheBox - Falafel
IppSec
60 HackTheBox - Nibbles
HackTheBox - Nibbles
IppSec
Millions of JS devs just got penetrated by a RAT…
Next Up
Millions of JS devs just got penetrated by a RAT…
Fireship