HackTheBox - Rope
00:00 - Intro
01:10 - Nmap the box, then play with the WebServer. 404 msg are interesting
05:15 - Discovering Directory Traversal and then grabbing the webserver by going to /proc/self/cwd/
09:25 - Opening the binary up in Ghidra and exploring the binary to understand what it does
18:35 - Discovering we have control over the first argument in log_access/printf
20:05 - Showing one of my most hated things about debugging forks. Be sure to always kill the process!
21:05 - Using GDB to help us analyze the log_access call, by breaking and examining the stack
24:00 - Begin of PrintF (Format Strings…
Watch on YouTube ↗
(saves to browser)
Chapters (18)
Intro
1:10
Nmap the box, then play with the WebServer. 404 msg are interesting
5:15
Discovering Directory Traversal and then grabbing the webserver by going to /p
9:25
Opening the binary up in Ghidra and exploring the binary to understand what it
18:35
Discovering we have control over the first argument in log_access/printf
20:05
Showing one of my most hated things about debugging forks. Be sure to always
21:05
Using GDB to help us analyze the log_access call, by breaking and examining th
24:00
Begin of PrintF (Format Strings) Exploitation, leak a bunch of memory addresse
28:40
Starting to write an exploit script
30:50
Grabbing /proc/self/maps to obtain a memory map which helps bypass ASLR. Anal
34:30
Back to Coding the exploit script, now that we can grab the process map
41:25
Testing our leaking/rebasing code to verify we are leaking correctly then usin
47:00
Running the exploit, seeing the output of "GET" on the Server's STDOUT... Lots
1:01:30
Replacing GET in our request with commands, to see it is running them. Placin
1:03:50
Changing the exploit to use the target... For some reason we have the wrong li
1:08:25
Going to /proc/self/maps again to leak the path of libc, redownloading it and
1:11:30
Going back.. the issues with debugging the printf exploit, to explain it. The
1:17:00
John can sudo the readlogs binary, analyze it with ghidra/ldd to see it calls
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