HackTheBox - Fingerprint

IppSec · Intermediate ·🔐 Cybersecurity ·4y ago
00:00 - Intro 00:54 - Start of nmap, checking websites seeing old copyrights 04:10 - Discovering the HTTP Redirect on /login is pretty big, so its likely an EAR Vulnerability 08:15 - Discovering a LFI that enables us to read source code, chaining it with the proc directory and using wfuzz to discover additional python files 10:50 - While our wfuzz runs testing against a login endpoint to discover an XSS in another webapp 14:30 - Going over the Python Source code 18:35 - Discovering Hibernate Query Injection (HQL) on the login page on port 8080 20:30 - Going over HQL (Hibernate) Injection Using boolean injection to login but need the browser fingerprint of the user 24:00 - Using our XSS to execute the fingerprint function and sending it to our server 27:50 - Logging into the application with our custom fingerprint and boolean injection, getting a JWT with a Serialized Base64 Encoded Java Object 34:00 - Examining the Backups Directory and finding Java Sourcecode to the app on port 8080 42:00 - Going over the javacode we have to discover we can probably craft a deserialization payload to gain code execution 51:20 - Opening up Eclipse and building our java project which we'll use to create a deserialization gadget 1:12:40 - We can now compile our java project, lets creating the first serialized object which tells the server we are an admin 1:16:20 - Creating the second part of the Java Payload which puts the malicious code into our username 1:24:40 - Our exploit didn't work right awy, going over it again and finding some mistakes 1:31:48 - Got our reverse shell, discovering a binary cmatch which lets is exfil files one byte at a time 1:36:40 - Creating a python script to use cmatch to bruteforce the file one byte at a time 1:49:30 - Downloading the Java App that runs on port 8080 to see the database credentials, which can decrypt the SSH Key retrieved from cmatch 1:58:50 - Discovering a flask backup that is a new version of the Webapp on port 80 that has improved authen
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 HHC2016 - Analytics
HHC2016 - Analytics
IppSec
2 HackTheBox - October
HackTheBox - October
IppSec
3 HackTheBox - Arctic
HackTheBox - Arctic
IppSec
4 HackTheBox - Brainfuck
HackTheBox - Brainfuck
IppSec
5 HackTheBox - Bank
HackTheBox - Bank
IppSec
6 HackTheBox - Joker
HackTheBox - Joker
IppSec
7 HackTheBox - Lazy
HackTheBox - Lazy
IppSec
8 Camp CTF 2015 - Bitterman
Camp CTF 2015 - Bitterman
IppSec
9 HackTheBox - Devel
HackTheBox - Devel
IppSec
10 Reversing Malicious Office Document (Macro) Emotet(?)
Reversing Malicious Office Document (Macro) Emotet(?)
IppSec
11 HackTheBox - Granny and Grandpa
HackTheBox - Granny and Grandpa
IppSec
12 HackTheBox - Pivoting Update: Granny and Grandpa
HackTheBox - Pivoting Update: Granny and Grandpa
IppSec
13 HackTheBox - Optimum
HackTheBox - Optimum
IppSec
14 HackTheBox - Charon
HackTheBox - Charon
IppSec
15 HackTheBox - Sneaky
HackTheBox - Sneaky
IppSec
16 HackTheBox - Holiday
HackTheBox - Holiday
IppSec
17 HackTheBox - Europa
HackTheBox - Europa
IppSec
18 Introduction to tmux
Introduction to tmux
IppSec
19 HackTheBox - Blocky
HackTheBox - Blocky
IppSec
20 HackTheBox - Nineveh
HackTheBox - Nineveh
IppSec
21 HackTheBox - Jail
HackTheBox - Jail
IppSec
22 HackTheBox - Blue
HackTheBox - Blue
IppSec
23 HackTheBox - Calamity
HackTheBox - Calamity
IppSec
24 HackTheBox - Shrek
HackTheBox - Shrek
IppSec
25 HackTheBox - Mirai
HackTheBox - Mirai
IppSec
26 HackTheBox - Shocker
HackTheBox - Shocker
IppSec
27 HackTheBox - Mantis
HackTheBox - Mantis
IppSec
28 HackTheBox - Node
HackTheBox - Node
IppSec
29 HackTheBox - Kotarak
HackTheBox - Kotarak
IppSec
30 HackTheBox - Enterprise
HackTheBox - Enterprise
IppSec
31 HackTheBox - Sense
HackTheBox - Sense
IppSec
32 HackTheBox - Minion
HackTheBox - Minion
IppSec
33 VulnHub - Sokar
VulnHub - Sokar
IppSec
34 VulnHub - Pinkys Palace v2
VulnHub - Pinkys Palace v2
IppSec
35 HackTheBox - Inception
HackTheBox - Inception
IppSec
36 Vulnhub - Trollcave 1.2
Vulnhub - Trollcave 1.2
IppSec
37 HackTheBox - Ariekei
HackTheBox - Ariekei
IppSec
38 HackTheBox - Flux Capacitor
HackTheBox - Flux Capacitor
IppSec
39 HackTheBox - Jeeves
HackTheBox - Jeeves
IppSec
40 HackTheBox - Tally
HackTheBox - Tally
IppSec
41 HackTheBox - CrimeStoppers
HackTheBox - CrimeStoppers
IppSec
42 HackTheBox - Fulcrum
HackTheBox - Fulcrum
IppSec
43 HackTheBox - Chatterbox
HackTheBox - Chatterbox
IppSec
44 HackTheBox - Falafel
HackTheBox - Falafel
IppSec
45 How To Create Empire Modules
How To Create Empire Modules
IppSec
46 HackTheBox - Nightmare
HackTheBox - Nightmare
IppSec
47 HackTheBox - Nightmarev2  - Speed Run/Unintended Solutions
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
48 HackTheBox - Bart
HackTheBox - Bart
IppSec
49 HackTheBox -  Aragog
HackTheBox - Aragog
IppSec
50 HackTheBox - Valentine
HackTheBox - Valentine
IppSec
51 HackTheBox - Silo
HackTheBox - Silo
IppSec
52 HackTheBox - Rabbit
HackTheBox - Rabbit
IppSec
53 HackTheBox - Celestial
HackTheBox - Celestial
IppSec
54 HackTheBox - Stratosphere
HackTheBox - Stratosphere
IppSec
55 HackTheBox - Poison
HackTheBox - Poison
IppSec
56 HackTheBox - Canape
HackTheBox - Canape
IppSec
57 HackTheBox - Olympus
HackTheBox - Olympus
IppSec
58 HackTheBox - Sunday
HackTheBox - Sunday
IppSec
59 HackTheBox - Fighter
HackTheBox - Fighter
IppSec
60 HackTheBox - Bounty
HackTheBox - Bounty
IppSec

Related AI Lessons

My AI Security Runtime Burned Through Credits Faster Than the Vulnerabilities
Learn how AI security runtimes can burn through credits quickly and why traditional vulnerability scanners may not be effective
Medium · DevOps
When AI Helped Write a Real Zero-Day, It Wasn’t ChatGPT
AI was used to weaponize a real zero-day bug, highlighting the potential dangers of AI in cybersecurity
Medium · Cybersecurity
Linux kernel flaw opens root-only files to unprivileged users
A Linux kernel flaw allows unprivileged users to access root-only files, and a proposed solution called ModuleJail could minimize the impact of similar bugs
The Register
JWT vs Session Cookies vs PASETO: I Pen-Tested All Three. One Fell in 12 Minutes.
Learn how JWT, Session Cookies, and PASETO authentication methods hold up against penetration testing, and which one was compromised in just 12 minutes
Medium · Cybersecurity

Chapters (20)

Intro
0:54 Start of nmap, checking websites seeing old copyrights
4:10 Discovering the HTTP Redirect on /login is pretty big, so its likely an EAR Vu
8:15 Discovering a LFI that enables us to read source code, chaining it with the pr
10:50 While our wfuzz runs testing against a login endpoint to discover an XSS in an
14:30 Going over the Python Source code
18:35 Discovering Hibernate Query Injection (HQL) on the login page on port 8080
20:30 Going over HQL (Hibernate) Injection Using boolean injection to login but need
24:00 Using our XSS to execute the fingerprint function and sending it to our server
27:50 Logging into the application with our custom fingerprint and boolean injection
34:00 Examining the Backups Directory and finding Java Sourcecode to the app on port
42:00 Going over the javacode we have to discover we can probably craft a deserializ
51:20 Opening up Eclipse and building our java project which we'll use to create a d
1:12:40 We can now compile our java project, lets creating the first serialized object
1:16:20 Creating the second part of the Java Payload which puts the malicious code int
1:24:40 Our exploit didn't work right awy, going over it again and finding some mistak
1:31:48 Got our reverse shell, discovering a binary cmatch which lets is exfil files o
1:36:40 Creating a python script to use cmatch to bruteforce the file one byte at a ti
1:49:30 Downloading the Java App that runs on port 8080 to see the database credential
1:58:50 Discovering a flask backup that is a new version of the Webapp on port 80 that
Up next
Securing the Network
Coursera
Watch →