HackTheBox - LaCasaDePapel

IppSec · Beginner ·🔐 Cybersecurity ·6y ago
01:05 - Start of nmap 02:50 - Attempting to execute an VSFTPD Backdoor via MSF 03:40 - Discovering the backdoor opened 6200, discovering a weird shell 04:50 - Lets figure out what just happened 06:50 - Triggering the backdoor without Metasploit 09:05 - Exploring the Psy PHP Shell opened up by the backdoor 10:20 - Several functions for executing bash aren't working, checking disable_functions 11:40 - Attempting to bypass disabled_functions (does not work) 12:50 - Using ScanDir() and File_Get_Contents(), to explore the filesystem 14:50 - Identifying we are probably running as the Dali User (Unintended Path) 17:00 - Downloading CA.KEY, which is a private key to a webserver 21:40 - Using the CA.KEY to generate client certificates to access the HTTPS Page 30:25 - Weird it didn't work, lets just verify all our certificates are good 32:28 - This time it worked! We connected to the server 33:20 - Failing to add the certificate to BurpSuite 33:50 - Discovering File Traversal by editing the PATH variable 36:38 - Discovering the LFI just puts the path as Base64 Encoded 37:15 - Using the LFI to download the SSH Private Key 38:45 - Testing SSH Key against users on the box to gain access! 39:13 - UNINTENDED: Skipping the HTTPS Certificate - Generating SSH Keys to upload via PHP Shell 40:30 - UNINTENDED: Using file_put_contents() to append our public key to authorized_keys 41:30 - UNINTENDED: Using SSH to tunnel through Dali (SOCKS Proxy) 42:30 - UNINTENDED: Scanning ports on Dali that are listening on LocalHost 43:08 - UNINTENDED: Port 8000 is open, and its one step after the Reverse_Proxy that performs SSL Authentication! 45:35 - Running PSPY and LinEnum 50:20 - Using PSPY to view FileSystem Events which will show the cron 52:30 - Taking control of ~/memcached.ini because we own the folder! 54:45 - Exploiting the cron that utilizes memcached.ini to get a root shell -- Bonus 55:55 - Exploring how the SSL Authentication is working 60:00 - Exploring how the VSFTPD Backdoor was modi
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

Guarding the AI Revolution: Inside AI-Guardian 1.7 and 1.8
Learn about AI-Guardian 1.7 and 1.8, the latest tools to secure AI-powered coding assistants, and why they matter for software development
Medium · Cybersecurity
LetsDefend — Investigate Web Attack
Investigate web attack logs from the bWAPP application to learn about cybersecurity threats and how to defend against them
Medium · Cybersecurity
Breaking OAuth Trust: An Analysis of CVE-2026–45430 in Backdrop CMS
Learn about the critical OAuth vulnerability CVE-2026-45430 in Backdrop CMS and its implications for cybersecurity
Medium · Cybersecurity
Discord now encrypts every voice and video call by default, and not even it can listen in
Discord enables end-to-end encryption for all voice and video calls, ensuring private conversations
The Next Web AI

Chapters (30)

1:05 Start of nmap
2:50 Attempting to execute an VSFTPD Backdoor via MSF
3:40 Discovering the backdoor opened 6200, discovering a weird shell
4:50 Lets figure out what just happened
6:50 Triggering the backdoor without Metasploit
9:05 Exploring the Psy PHP Shell opened up by the backdoor
10:20 Several functions for executing bash aren't working, checking disable_function
11:40 Attempting to bypass disabled_functions (does not work)
12:50 Using ScanDir() and File_Get_Contents(), to explore the filesystem
14:50 Identifying we are probably running as the Dali User (Unintended Path)
17:00 Downloading CA.KEY, which is a private key to a webserver
21:40 Using the CA.KEY to generate client certificates to access the HTTPS Page
30:25 Weird it didn't work, lets just verify all our certificates are good
32:28 This time it worked! We connected to the server
33:20 Failing to add the certificate to BurpSuite
33:50 Discovering File Traversal by editing the PATH variable
36:38 Discovering the LFI just puts the path as Base64 Encoded
37:15 Using the LFI to download the SSH Private Key
38:45 Testing SSH Key against users on the box to gain access!
39:13 UNINTENDED: Skipping the HTTPS Certificate - Generating SSH Keys to upload via
40:30 UNINTENDED: Using file_put_contents() to append our public key to authorized_k
41:30 UNINTENDED: Using SSH to tunnel through Dali (SOCKS Proxy)
42:30 UNINTENDED: Scanning ports on Dali that are listening on LocalHost
43:08 UNINTENDED: Port 8000 is open, and its one step after the Reverse_Proxy that p
45:35 Running PSPY and LinEnum
50:20 Using PSPY to view FileSystem Events which will show the cron
52:30 Taking control of ~/memcached.ini because we own the folder!
54:45 Exploiting the cron that utilizes memcached.ini to get a root shell
55:55 Exploring how the SSL Authentication is working
1:00:00 Exploring how the VSFTPD Backdoor was modi
Up next
How do I resolve the "Kernel panic - not syncing" error in my EC2 instance?
Amazon Web Services
Watch →