HackTheBox - Sink

IppSec · Beginner ·☁️ DevOps & Cloud ·4y ago

Key Takeaways

Uses nmap and VirusTotal to find Gitea version on HackTheBox - Sink

Original Description

00:00 - Intro 01:00 - Start of nmap, finding version of gunicorn is from 2019 06:15 - Enumerating the Gitea version (the 404 error page shows it) 08:10 - Trying to find the Gitea version another way (HTTP Files) 09:30 - Downloading jquery.js, grabbing the md5, then using VirusTotal to get an idea when it was released 11:30 - Looking at the second website (Running on gunicorn) 13:20 - Testing for IDOR Vulnerabilities in the /notes/, can confirm a note exists but not read anything 14:40 - Start of explaining the HTTP Smuggling 17:30 - Adding non-ascii characters to Burpsuite Requests via Base64 Decoding 19:40 - Explaining HTTP Chunking 22:30 - Smuggling request created, re-explaining the attack and importance of Content-Length 26:55 - Sending the Smuggling request in BurpSuite then getting the cookie of another user 28:25 - Explaining why the attack is unreliable in BurpSuite then using Python to do it 40:15 - The administrator can read three new notes with some saved credentials. Logging into Gitea 44:40 - Looking at git history to find an SSH Key, then logging into the server 49:40 - Enumerating AWS using the CLI 50:40 - Enumerating AWS logs using the CLI to identify some secret rotation events 54:30 - Enumerating AWS SecretsManager using the CLI to get another users password 58:45 - Utilizing AWS KMS to Decrypt a file 1:09:20 - Extra Content, explaining some unique iptables routing that went into this box to make it stable
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 Reads

📰
In Pursuit of the Ideal Developer Experience
Learn how to create an ideal developer experience by leveraging terminal-first tools and distributed issue trackers to boost productivity
Dev.to · Jonatan Lampa
📰
Why AWS CodePipeline + ECS falls short for production-grade microservices (and how EKS fixes it)
Learn why AWS CodePipeline + ECS may not be suitable for production-grade microservices and how EKS can address these limitations
Dev.to · Arnab Adhikary
📰
The Right Way to Pair AI With Terraform Plans
Learn to effectively pair AI with Terraform plans to streamline infrastructure management and reduce verbosity
Dev.to · James Joyner
📰
A 2-minute pre-commit hook that stops you from committing API keys
Learn to create a 2-minute pre-commit hook to prevent accidental API key commits and protect your project's security
Dev.to · Cửu thiên vũ đế review

Chapters (20)

Intro
1:00 Start of nmap, finding version of gunicorn is from 2019
6:15 Enumerating the Gitea version (the 404 error page shows it)
8:10 Trying to find the Gitea version another way (HTTP Files)
9:30 Downloading jquery.js, grabbing the md5, then using VirusTotal to get an idea
11:30 Looking at the second website (Running on gunicorn)
13:20 Testing for IDOR Vulnerabilities in the /notes/, can confirm a note exists but
14:40 Start of explaining the HTTP Smuggling
17:30 Adding non-ascii characters to Burpsuite Requests via Base64 Decoding
19:40 Explaining HTTP Chunking
22:30 Smuggling request created, re-explaining the attack and importance of Content-
26:55 Sending the Smuggling request in BurpSuite then getting the cookie of another
28:25 Explaining why the attack is unreliable in BurpSuite then using Python to do i
40:15 The administrator can read three new notes with some saved credentials. Loggin
44:40 Looking at git history to find an SSH Key, then logging into the server
49:40 Enumerating AWS using the CLI
50:40 Enumerating AWS logs using the CLI to identify some secret rotation events
54:30 Enumerating AWS SecretsManager using the CLI to get another users password
58:45 Utilizing AWS KMS to Decrypt a file
1:09:20 Extra Content, explaining some unique iptables routing that went into this box
Up next
Containers on Amazon ECS with Mama J
AWS Developers
Watch →