HackTheBox - Timing

IppSec · Beginner ·📰 AI News & Updates ·3y ago
00:00 - Intro 01:05 - Start of nmap 02:00 - Running feroxbuster and discovering image.php 05:05 - Fuzzing image.php for parameters and discovering an LFI 07:15 - Enumerating the WAF to find blacklisted strings and then using a php filter to extract source 10:00 - Examing the login.php source code and discovering a timing attack 12:00 - Demonstrating attempting to login with valid users takes a longer time so we can bruteforce users 14:10 - Creating a python script to enumerate users 21:00 - Logging in with aaron:arron (guessed the password) 22:30 - Extracting upload.php and admin_auth_check.php to see how we can upload files 23:30 - Attempting a mass assignment vulnerability on profile_update.php and discovering we can change our roles 28:00 - Discovering a timing attack to discover filenames uploaded, which can be chained with our LFI to execute code 31:50 - Using the CLI PHP Interpreter to generate potential filenames 34:00 - Uploading a webshell and then generating the filename based upon time 38:50 - Executing commands on the box, discovering we can't do reverse shells 43:30 - Using my Forward Shell Python script to gain an interactive shell on the box 50:40 - Discovering a backup directory that has the web source but also the git repo 51:20 - SSH in as aaron and discovering he can run the netutils binary with sudo, which uses Axel to download files 54:00 - Tricking axel to write to authorized_keys via symlinks 56:40 - Demonstrating we didn't need that sleep(1) for the initial timing attack where we can enumerate valid users to work
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

AI Slop Is Taking Over Google Discover And The Web Feels Worse Than Ever
AI-generated junk content is taking over the web, making it feel cheaper and less trustworthy
Medium · AI
The skills that still matter when AI can do most of your job
Learn which skills remain valuable in an AI-driven job market and why they matter
Medium · Startup
SpaceX Didn’t Buy Cursor. It Made Sure Nobody Else Could.
SpaceX's acquisition of Cursor is not a traditional buyout, but rather a strategic move to prevent Microsoft from acquiring it, and developers should understand the implications of this move before the IPO.
Medium · AI
Big Tech firms are accelerating AI investments and integration, while regulators and companies focus on safety and responsible adoption.
Big Tech firms are accelerating AI investments, focusing on safety and responsible adoption, and regulators are taking notice, which is crucial for professionals to understand and adapt to the changing AI landscape
Dev.to AI

Chapters (20)

Intro
1:05 Start of nmap
2:00 Running feroxbuster and discovering image.php
5:05 Fuzzing image.php for parameters and discovering an LFI
7:15 Enumerating the WAF to find blacklisted strings and then using a php filter to
10:00 Examing the login.php source code and discovering a timing attack
12:00 Demonstrating attempting to login with valid users takes a longer time so we c
14:10 Creating a python script to enumerate users
21:00 Logging in with aaron:arron (guessed the password)
22:30 Extracting upload.php and admin_auth_check.php to see how we can upload files
23:30 Attempting a mass assignment vulnerability on profile_update.php and discoveri
28:00 Discovering a timing attack to discover filenames uploaded, which can be chain
31:50 Using the CLI PHP Interpreter to generate potential filenames
34:00 Uploading a webshell and then generating the filename based upon time
38:50 Executing commands on the box, discovering we can't do reverse shells
43:30 Using my Forward Shell Python script to gain an interactive shell on the box
50:40 Discovering a backup directory that has the web source but also the git repo
51:20 SSH in as aaron and discovering he can run the netutils binary with sudo, whic
54:00 Tricking axel to write to authorized_keys via symlinks
56:40 Demonstrating we didn't need that sleep(1) for the initial timing attack where
Up next
New Google AI Updates Are INSANE!
Julian Goldie SEO
Watch →