HackTheBox - Laboratory
01:00 - Start of nmap, looking at SSL Certificates to get a hostname
02:20 - Examining the website
04:30 - Getting git.Laboratory.htb out of the certificate and checking that host
06:10 - Registering for a GitLab Account then poking at gitlab
07:20 - Getting the GitLab Version and finding a Vulnerability
09:20 - Creating two issues, so we can perform the LFI
11:45 - Using the LFI to extract the application secret then b
15:55 - Installing a vulnerable gitlab docker so we can build our serialized payload
17:00 - Starting the docker container, then executing bash inside of it
17:55 - Changing the docker secret to the one of Laboratory
18:25 - Restarting with gitlab-ctl restart, then entering the console with gitlab-rails console
19:20 - Creating the serialization payload
22:10 - Reverse shell as git returned. Discovering we are inside of docker
23:00 - Running the automated docker script DeepCe
24:50 - Playing with the gitlab console to turn our user into an admin
27:00 - Sorry for the abrupt cut, phone went off and edited that out poorly.
27:15 - Viewing projects on gitlab as admin to find an SSH Key
31:20 - Shell as dexter, running LinPEAS
34:05 - SetUID Binary docker-security found, searching for strings then running ltrace
34:50 - ltrace shows the binary does not use absolute path, doing a PATH HIJACK to trick the program into executing a shell
36:50 - Going over notes
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
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 - Analytics
IppSec
HackTheBox - October
IppSec
HackTheBox - Arctic
IppSec
HackTheBox - Brainfuck
IppSec
HackTheBox - Bank
IppSec
HackTheBox - Joker
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 - Europa
IppSec
Introduction to tmux
IppSec
HackTheBox - Blocky
IppSec
HackTheBox - Nineveh
IppSec
HackTheBox - Jail
IppSec
HackTheBox - Blue
IppSec
HackTheBox - Calamity
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 - Flux Capacitor
IppSec
HackTheBox - Jeeves
IppSec
HackTheBox - Tally
IppSec
HackTheBox - CrimeStoppers
IppSec
HackTheBox - Fulcrum
IppSec
HackTheBox - Chatterbox
IppSec
HackTheBox - Falafel
IppSec
How To Create Empire Modules
IppSec
HackTheBox - Nightmare
IppSec
HackTheBox - Nightmarev2 - Speed Run/Unintended Solutions
IppSec
HackTheBox - Bart
IppSec
HackTheBox - Aragog
IppSec
HackTheBox - Valentine
IppSec
HackTheBox - Silo
IppSec
HackTheBox - Rabbit
IppSec
HackTheBox - Celestial
IppSec
HackTheBox - Stratosphere
IppSec
HackTheBox - Poison
IppSec
HackTheBox - Canape
IppSec
HackTheBox - Olympus
IppSec
HackTheBox - Sunday
IppSec
HackTheBox - Fighter
IppSec
HackTheBox - Bounty
IppSec
More on: Security Basics
View skill →Related AI Lessons
⚡
⚡
⚡
⚡
Virtual Keyboard Login with PingOne Advanced Identity Cloud
Medium · Cybersecurity
Why Businesses Quietly Accept Technology Friction as “Normal”
Medium · Cybersecurity
The Model You Just Downloaded Might Own Your Network — What I Learned Building Defenses Against AI…
Medium · Cybersecurity
I Found Backdoored AI Models on Hugging Face — And So Has Everyone Else Who Bothered to Look
Medium · Cybersecurity
Chapters (21)
1:00
Start of nmap, looking at SSL Certificates to get a hostname
2:20
Examining the website
4:30
Getting git.Laboratory.htb out of the certificate and checking that host
6:10
Registering for a GitLab Account then poking at gitlab
7:20
Getting the GitLab Version and finding a Vulnerability
9:20
Creating two issues, so we can perform the LFI
11:45
Using the LFI to extract the application secret then b
15:55
Installing a vulnerable gitlab docker so we can build our serialized payload
17:00
Starting the docker container, then executing bash inside of it
17:55
Changing the docker secret to the one of Laboratory
18:25
Restarting with gitlab-ctl restart, then entering the console with gitlab-rail
19:20
Creating the serialization payload
22:10
Reverse shell as git returned. Discovering we are inside of docker
23:00
Running the automated docker script DeepCe
24:50
Playing with the gitlab console to turn our user into an admin
27:00
Sorry for the abrupt cut, phone went off and edited that out poorly.
27:15
Viewing projects on gitlab as admin to find an SSH Key
31:20
Shell as dexter, running LinPEAS
34:05
SetUID Binary docker-security found, searching for strings then running ltrace
34:50
ltrace shows the binary does not use absolute path, doing a PATH HIJACK to tri
36:50
Going over notes
🎓
Tutor Explanation
DeepCamp AI