HackTheBox - Laser
00:00 - Intro
01:11 - Running nmap
03:20 - Discovering port 9100, and poking at it with nmap/pret
05:30 - Got access to the printer via PRET, dumping print jobs
07:20 - Running ENT to see the entropy is 7.99 which means it is probably encrypted... Then doing the same thing in Cyber Chef
10:50 - Discovering the encryption algorithm via inspecting variables on the printer. Then dumping the memory of the printer to get the AES Key and trying to decrypt in Cyber Chef
12:50 - Cutting up the Print Job with DD to extract the IV/Encrypted payload out of the print job.
18:58 - CyberChef decrypted our A…
Watch on YouTube ↗
(saves to browser)
Chapters (21)
Intro
1:11
Running nmap
3:20
Discovering port 9100, and poking at it with nmap/pret
5:30
Got access to the printer via PRET, dumping print jobs
7:20
Running ENT to see the entropy is 7.99 which means it is probably encrypted...
10:50
Discovering the encryption algorithm via inspecting variables on the printer.
12:50
Cutting up the Print Job with DD to extract the IV/Encrypted payload out of th
18:58
CyberChef decrypted our AES! Reading the PDF
23:46
Creating the Protobuf object and converting to python
27:20
Interacting with Port 9000 with our protobuf payload
31:10
Attempting to Pickle a deserialization payload, to see its disabled
34:30
Taking the example JSON Data and sending it to port 9000 and finding a SSRF Vu
41:00
Using SSRF to scan ports on localhost and discovering SOLR
54:00
Forcing the SSRF to send an HTTPS Post Request via GOPHER
58:00
Sending the SOLR Post Payload
1:07:30
Creating the second payload for SOLR
1:19:50
Verifying our payloads doing some JSON Validation
1:31:50
Finally fixed our payload! Darn URL Encoding issues.
1:35:50
Reverse shell returned, doing some basic enumeration and seeing SSHPass
1:43:10
Using PSPY to monitor processes and catching SSHPASS before it can rewrite its
1:48:00
Gaining root on the Docker Container, disabling SSH, and bending the port back
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