HackTheBox - Attended

IppSec · Beginner ·🤖 AI Agents & Automation ·5y ago
00:00 - Intro 01:15 - Showing a tmux keybinding to 03:06 - Setting up an IPTables rule to log new connections 05:00 - Using SWAKS to send an email 07:15 - Starting up a python SMTP Server so we can see the email coming back to us 12:23 - Finding a VIM RCE and verifying it works by using ping 16:25 - Testing a python2 web cradle within the VIM Exploit 20:00 - Explaining how our C2 is going to work and why what we are doing it uniquely 23:50 - Quick high level overview of the C2 Program we are creating 24:50 - Start coding the C2 34:20 - Demoing the C2 Keeping the HTTP Request alive until a command is sent 39:00 - Updating our Client/Implant to work with the new C2 41:45 - Updating the Web Cradle with our improved agent and getting a shell as Guly 44:10 - Discovering an SSH Config, updating it to put our web cradle in ProxyCommand to get shell as Freshness 59:15 - Start of analyzing the AuthKeys binary 1:09:10 - Installing OpenBSD 1:15:16 - Getting GEF on OpenBSD to help with reversing 1:17:30 - Back to analyzing the binary, examining the registers after Base64 1:22:10 - Using Pattern Create with a large string to crash the program and find out what registers we control 1:25:50 - Controlling RIP and dealing with an annoying python3 oddity that makes me use Python2 1:31:10 - Start of talking about ROP Chains and looking up the Execve Syscall information 1:32:39 - Comparing OpenBSD to Linux Syscall numbers and realizing why linux segfaulted (different codes!) 1:35:00 - Using Ropper to print gadgets 1:36:30 - Start of RAX Gadget, finding SHR and NOT 1:39:00 - Showing the start of base64 decode is hard coded at a memory address 1:40:52 - Explaining how to create any number with just the NOT and SHR instructions. 1:48:10 - Start of RDI Gadget (movss and cvtss1si) 1:54:40 - Start of creating our exploit program and prove we can set RAX 2:04:15 - Adding the ability to set RDI which requires putting some data on the stack 2:13:30 - Explaining our writing to the stack 2:29:0
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

Chapters (30)

Intro
1:15 Showing a tmux keybinding to
3:06 Setting up an IPTables rule to log new connections
5:00 Using SWAKS to send an email
7:15 Starting up a python SMTP Server so we can see the email coming back to us
12:23 Finding a VIM RCE and verifying it works by using ping
16:25 Testing a python2 web cradle within the VIM Exploit
20:00 Explaining how our C2 is going to work and why what we are doing it uniquely
23:50 Quick high level overview of the C2 Program we are creating
24:50 Start coding the C2
34:20 Demoing the C2 Keeping the HTTP Request alive until a command is sent
39:00 Updating our Client/Implant to work with the new C2
41:45 Updating the Web Cradle with our improved agent and getting a shell as Guly
44:10 Discovering an SSH Config, updating it to put our web cradle in ProxyCommand t
59:15 Start of analyzing the AuthKeys binary
1:09:10 Installing OpenBSD
1:15:16 Getting GEF on OpenBSD to help with reversing
1:17:30 Back to analyzing the binary, examining the registers after Base64
1:22:10 Using Pattern Create with a large string to crash the program and find out wha
1:25:50 Controlling RIP and dealing with an annoying python3 oddity that makes me use
1:31:10 Start of talking about ROP Chains and looking up the Execve Syscall informatio
1:32:39 Comparing OpenBSD to Linux Syscall numbers and realizing why linux segfaulted
1:35:00 Using Ropper to print gadgets
1:36:30 Start of RAX Gadget, finding SHR and NOT
1:39:00 Showing the start of base64 decode is hard coded at a memory address
1:40:52 Explaining how to create any number with just the NOT and SHR instructions.
1:48:10 Start of RDI Gadget (movss and cvtss1si)
1:54:40 Start of creating our exploit program and prove we can set RAX
2:04:15 Adding the ability to set RDI which requires putting some data on the stack
2:13:30 Explaining our writing to the stack
Up next
Physical AI: the new era of robotics
Google for Developers
Watch →