HackTheBox - Sniper

IppSec · Beginner ·🔐 Cybersecurity ·6y ago
01:05 - Begin of Nmap scans 02:30 - Checking out the website and running a few GoBuster dir searches 04:50 - Examining Links on the blog page and discover a LFI Vulnerability in the LANG Parameter 08:20 - Discovering .. is a bad character, working around it by starting the path with a slash 10:28 - Testing RFI via SMB, then failing to steal a hash and use impackets SMBServer 12:50 - Configuring SMBd to host a share that is accessible by anonymous users 15:00 - Testing the SMB Share locally, then testing the RFI with just text, and finally putting a PHP Script for code execution. 19:10 - Powershell Reverse Shells fail, find out we are in constrained language mode, switch to netcat for reverse shell 24:30 - Reverse Shell Returned! 29:00 - Discovering Chris's password then using Powershell to run a command as him to upgrade the shell. 40:10 - Going over to Windows to create a malicious CHM file with Nishang's out-chm (via NC on a SMB Share) 46:55 - Copying the malicious CHM File to c:\Docs and not getting any shell. Simplify the exploit to run ping instead. 51:30 - Using Out-CHM to have it execute NC out of c:\users\chris\downloads\ instead of a SMB Share and getting shell as administrator 53:25 - Start of doing the box the second way. 54:15 - Explaining the LFI + PHP Session Exploit Chain 56:30 - Identify bad characters by creating a in python to to create accounts and test logins 1:07:00 - Testing minimal php code for code execution 1:08:30 - Testing Code exeuction with Powershell Encoded commands 1:18:26 - Downloading Netcat to the box then executing it for a reverse shell 1:23:00 - Uploading Chisel to the box then forwarding ports 3306 and 5985 to us 1:31:40 - Using Evil-WinRM to get a shell on the box as chris through our chisel tunnel 1:32:20 - Creating a CHM File that includes a file off a SMB Server so we can use Responder to steal the hash 1:40:00 - Uploading the CHM and stealing the hash with Responder 1:31:20 - Using Hashcat to crack a NetNTLMv2 hash fro
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

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
I Deleted a File on Windows and Then Traced Every Byte of What Actually Happened
Explore what happens when you delete a file on Windows and how it can still be recovered
Medium · Cybersecurity

Chapters (24)

1:05 Begin of Nmap scans
2:30 Checking out the website and running a few GoBuster dir searches
4:50 Examining Links on the blog page and discover a LFI Vulnerability in the LANG
8:20 Discovering .. is a bad character, working around it by starting the path with
10:28 Testing RFI via SMB, then failing to steal a hash and use impackets SMBServer
12:50 Configuring SMBd to host a share that is accessible by anonymous users
15:00 Testing the SMB Share locally, then testing the RFI with just text, and finall
19:10 Powershell Reverse Shells fail, find out we are in constrained language mode,
24:30 Reverse Shell Returned!
29:00 Discovering Chris's password then using Powershell to run a command as him to
40:10 Going over to Windows to create a malicious CHM file with Nishang's out-chm (v
46:55 Copying the malicious CHM File to c:\Docs and not getting any shell. Simplify
51:30 Using Out-CHM to have it execute NC out of c:\users\chris\downloads\ instead o
53:25 Start of doing the box the second way.
54:15 Explaining the LFI + PHP Session Exploit Chain
56:30 Identify bad characters by creating a in python to to create accounts and test
1:07:00 Testing minimal php code for code execution
1:08:30 Testing Code exeuction with Powershell Encoded commands
1:18:26 Downloading Netcat to the box then executing it for a reverse shell
1:23:00 Uploading Chisel to the box then forwarding ports 3306 and 5985 to us
1:31:40 Using Evil-WinRM to get a shell on the box as chris through our chisel tunnel
1:32:20 Creating a CHM File that includes a file off a SMB Server so we can use Respon
1:40:00 Uploading the CHM and stealing the hash with Responder
1:31:20 Using Hashcat to crack a NetNTLMv2 hash fro
Up next
VPC Service Controls: Day Two Operations
Google Cloud
Watch →