HackTheBox - Nest

IppSec · Beginner ·🔐 Cybersecurity ·5y ago
00:00 - Intro 01:00 - Showing why we should run NMAP as root or sudo. 04:40 - Running nmap to see only SMB is open, start a full port scan and move on 05:45 - Enumerating SMB (Port 445) with CrackMapExec, SMBClient, and SMBMap to explore how each program works 08:20 - Running SMBClient to mount the share 09:20 - Installing CIFS-Utils so we can mount SMB and run commands like find against the share 11:30 - Discovering a password, doing a credential spray and getting some odd results 17:20 - Mounting the shares with as TempUser to discover we have access to more files 22:00 - Using iconv to cat a windows text file because it showed a bunch of bad characters 25:00 - Viewing the NotepadPlusPlus files to see the path of a file in the Secure$ Directory, we can get into this folder 27:00 - Downloading the source-code to RUScanner in the User share 29:30 - Switching to Windows so we can use Visual Studio to compile the RUScanner application and decrypt the password 32:20 - Dropping the config in bin/debug and setting a breakpoint on the line of code which decrypts the password to view the output 35:55 - Using CrackMapExec to validate these are valid credentials, then exploring the fileshares again 39:50 - Exploring the application on port 4386 and showing why we need to use TELNET and not NC or NETCAT 42:30 - Playing with the various options on port 4386 44:58 - Using SMBClient to mount the Users directory as C.SMITH so we can use "allinfo" to see an ADS (Alternate Data Stream) Exists, then downloading the hidden password 50:00 - Using the custom program on port 4386 and using the DEBUG Options to download the configuration file with an encrypted LDAP Password 52:30 - Using DNSPY to decompile HqkLdap.exe 56:00 - Editing the application to print the password 58:20 - Running HqkLdap to get the decrypted password, which is the administrator password 59:20 - Using psexec to get a shell on the box as the SYSTEM user
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

What 44 CVEs Tell You About Rust's Safety Boundary
Learn how 44 CVEs in uutils reveal insights into Rust's safety boundary and its implications for system security
Dev.to · Arthur
The Technology Isn’t the Question. Trust Is.
Building trust in technology like Meta's Incognito Chat is crucial for its adoption and success, beyond just its technical capabilities
Medium · Cybersecurity
Common Cyber Threats That Strong Threat Protection Can Prevent
Learn about common cyber threats and how strong threat protection can prevent them, to safeguard your business from evolving attacks
Medium · Cybersecurity
The “Vibe Coding” Mirage: Why AI-Generated Code Has 2.74x More Vulnerabilities
AI-generated code has 2.74x more vulnerabilities than human-written code, debunking the 'Vibe Coding' mirage
Medium · Startup

Chapters (22)

Intro
1:00 Showing why we should run NMAP as root or sudo.
4:40 Running nmap to see only SMB is open, start a full port scan and move on
5:45 Enumerating SMB (Port 445) with CrackMapExec, SMBClient, and SMBMap to explore
8:20 Running SMBClient to mount the share
9:20 Installing CIFS-Utils so we can mount SMB and run commands like find against t
11:30 Discovering a password, doing a credential spray and getting some odd results
17:20 Mounting the shares with as TempUser to discover we have access to more files
22:00 Using iconv to cat a windows text file because it showed a bunch of bad charac
25:00 Viewing the NotepadPlusPlus files to see the path of a file in the Secure$ Dir
27:00 Downloading the source-code to RUScanner in the User share
29:30 Switching to Windows so we can use Visual Studio to compile the RUScanner appl
32:20 Dropping the config in bin/debug and setting a breakpoint on the line of code
35:55 Using CrackMapExec to validate these are valid credentials, then exploring the
39:50 Exploring the application on port 4386 and showing why we need to use TELNET a
42:30 Playing with the various options on port 4386
44:58 Using SMBClient to mount the Users directory as C.SMITH so we can use "allinfo
50:00 Using the custom program on port 4386 and using the DEBUG Options to download
52:30 Using DNSPY to decompile HqkLdap.exe
56:00 Editing the application to print the password
58:20 Running HqkLdap to get the decrypted password, which is the administrator pass
59:20 Using psexec to get a shell on the box as the SYSTEM user
Up next
VPC Service Controls: Day Two Operations
Google Cloud
Watch →