HackTheBox - Secret
00:00 - Into
01:04 - Start of nmap talking about seeing two ports having the same HTTP Banner
03:20 - Checking out the webpage to discover source code and some docs
04:00 - Always RTFM, Playing with the API to Register a user, login, and check out privilege level.
05:50 - Renaming our burp repeater tab by just double clicking on the number
07:30 - Trying to login with a name instead of email
10:10 - Testing our login token to find out it uses JWT's in a non-standard way
10:50 - Analyzing the source code to see the token is used in a header called "auth-token"
12:40 - Looking at git commit hist…
Watch on YouTube ↗
(saves to browser)
Chapters (23)
Into
1:04
Start of nmap talking about seeing two ports having the same HTTP Banner
3:20
Checking out the webpage to discover source code and some docs
4:00
Always RTFM, Playing with the API to Register a user, login, and check out pri
5:50
Renaming our burp repeater tab by just double clicking on the number
7:30
Trying to login with a name instead of email
10:10
Testing our login token to find out it uses JWT's in a non-standard way
10:50
Analyzing the source code to see the token is used in a header called "auth-to
12:40
Looking at git commit history to see there is a hard coded secret in an older
13:40
Changing our tokens user, going back to the source code and seeing "theadmin"
14:30
Talking about the importance of rotating secrets in a web application
16:30
Analyzing the private.js which shows a logs endpoint that is vulnerable to RCE
17:50
Testing command injection and getting a reverse shell
22:00
Noticing we are a user on the box, seeing our shell is /bin/bash, dropping a S
23:40
Checking NGINX Configuration to see if there is any difference between the two
25:20
Running LinPEAS, discovering a custom SetUID Binary called count
30:00
Running the custom count binary against /etc/shadow, discovering it can read f
31:57
Examining the source code, to discover it allows for dump files to be created
33:15
Failing to kill the linux process with the correct signal
34:50
Pulling up the man page to kill and listing all signals, then killing the proc
36:40
Using apport-unpack to extract the crash report into readable files
37:23
Examining the coredump to discover the file read is there! Then doing the sam
40:00
Showing how file descriptors (/proc/pid/f
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