HackTheBox - Celestial

IppSec · Intermediate ·🛡️ AI Safety & Ethics ·7y ago
00:58 - Begin of Recon 03:00 - Looking at the web application and finding the Serialized Cookie 04:38 - Googling for Node JS Deserialization Exploits 06:30 - Start of building our payload 07:10 - Examining Node-Serialize to see what the heck _$$ND_FUNC$$_ is 09:10 - Moving our serialized object to "Name", hoping to get to read stdout 11:30 - Really busing the deserialize function by removing the Immediately Invokked Expression (IIFE) 13:25 - Failing to convert an object (stdout) to string. 14:02 - Verifying code execution via ping 15:32 - Code execution verified, gaining a shell (Get a shell via NodeJSShell at end of video) 18:49 - Reverse shell returned, running LinEnum.sh 21:26 - Examining logs to find the Cron Job running as root 22:09 - Privesc by placing a python root shell in script.py 24:15 - Going back and getting a shell with NodeJSShell
Watch on YouTube ↗ (saves to browser)
Sign in to unlock AI tutor explanation · ⚡30

Playlist

Uploads from IppSec · IppSec · 53 of 60

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
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 Age Estimation: Ethics and Implications at the Border - SmarterArticles S1E10
Explore the ethics and implications of AI age estimation at borders and its potential consequences
Dev.to · Tim Green
Generative AI Regulatory Compliance: 7 Critical Mistakes to Avoid
Avoid 7 critical mistakes to ensure generative AI regulatory compliance and prevent costly retrofits, fines, and reputational damage
Dev.to AI
Generative AI Regulatory Compliance: Comparing Top Implementation Strategies
Learn how to choose the right compliance strategy for generative AI implementation in your organization and navigate unique challenges around explainability, bias, and evolving regulatory requirements
Dev.to AI
Generative AI Regulatory Compliance: A Developer's Starting Guide
Learn how to navigate generative AI regulatory compliance as a developer and ensure your AI systems meet evolving regulations and ethical standards
Dev.to AI

Chapters (14)

0:58 Begin of Recon
3:00 Looking at the web application and finding the Serialized Cookie
4:38 Googling for Node JS Deserialization Exploits
6:30 Start of building our payload
7:10 Examining Node-Serialize to see what the heck _$$ND_FUNC$$_ is
9:10 Moving our serialized object to "Name", hoping to get to read stdout
11:30 Really busing the deserialize function by removing the Immediately Invokked Ex
13:25 Failing to convert an object (stdout) to string.
14:02 Verifying code execution via ping
15:32 Code execution verified, gaining a shell
18:49 Reverse shell returned, running LinEnum.sh
21:26 Examining logs to find the Cron Job running as root
22:09 Privesc by placing a python root shell in script.py
24:15 Going back and getting a shell with NodeJSShell
Up next
shadow AI is terrifying
NetworkChuck
Watch →