A nostalgic journey through a VulnHub machine themed after the classic Adam Sandler comedy, featuring port knocking, packet analysis, and the quest to recover Billy's 12th-grade final project.
Discover target IP using netdiscover in Host-only network
Comprehensive nmap scan reveals telnet with ROT13-encoded clues
Decode telnet banner to discover exschmenuating directory
Use dirbuster with Veronica-filtered wordlist to find capture files
Analyze .cap file in Wireshark, discover FTP credentials and YouTube clues
Extract Spanish Armada port sequence from YouTube video for FTP access
Access anonymous and Eric's FTP, discover SSH backdoor trigger
Send SMTP email with specific phrase to activate SSH backdoor
Connect via backdoor port, crack WiFi password from Billy's revenge
Exploit SUID binary and cron job manipulation for root access
Welcome to Billy Madison 1.1, a VulnHub machine that perfectly captures the chaotic energy of the 1995 Adam Sandler comedy. Our mission? Help Billy recover his 12th-grade final project that's been hidden away by some seriously questionable security practices. This VM is a delightful throwback that combines 90s nostalgia with modern penetration testing techniques.
What makes this challenge special is its creative use of movie references, YouTube video clues, and multi-stage port knocking. It's like watching a comedy while solving a digital puzzle - sometimes frustrating, occasionally ridiculous, but ultimately satisfying when everything clicks into place.
This isn't your typical CTF - it's a narrative-driven adventure where every clue ties back to the movie's absurd charm. Expect ROT13 encoding, Spanish Armada references, and a healthy dose of 90s internet culture.
Time to locate our target in the digital classroom! Both the target VM and my Kali machine are happily coexisting on a Host-only adapter network. My Kali sits at 192.168.234.128, but Billy's hiding somewhere in the subnet.
Scanning the network neighborhood:
sudo netdiscover -i eth0 -r 192.168.234.128
Network discovery reveals our target ending in .129 - Billy's digital homeroom!
Perfect! The scan reveals our target at 192.168.234.129. A quick Firefox visit confirms we've found Billy's machine - complete with what I can only assume is the most 90s website design ever conceived.

Target confirmed! This retro web design screams 90s louder than a Tamagotchi
Time for the full reconnaissance treatment! I'm deploying my trusty nmap arsenal with all the bells and whistles to see what services Billy's machine is offering.
Comprehensive port scan with service detection:
sudo nmap -sSCV -O -A -n -Pn 192.168.234.129
Jackpot! Multiple interesting ports including a telnet banner with encoded secrets
The telnet banner is particularly intriguing - it mentions Billy's laptop being hacked and contains an encoded string: rkfpuzrahngvat. The message also drops a huge hint with the word "ROTten" - clearly pointing toward ROT13 encoding!
Time to channel our inner cryptographer! The telnet banner's emphasis on "ROTten" is about as subtle as Billy's academic performance. Let's decode that mysterious string using ROT13 - the Caesar cipher that shifts each letter 13 positions in the alphabet.

The encoded string reveals 'exschmenuating' - our secret directory name!
The ROT13 decoding reveals exschmenuating - clearly a directory or path we need to explore.
Let's test this theory by visiting the decoded path on the web server. Sometimes the most obvious approach is the right one!

Bingo! We've unlocked a secret message from the laptop hacker
Let's decode this message like we're profiling a digital criminal:
.cap fileexschmenuating directoryConclusion: We're looking for something like *veronica*.cap in this directory!
Time to put our detective skills to work! We need to find files containing "veronica" in the current directory. Rather than using the massive rockyou.txt wordlist, let's be smart and create a targeted wordlist filtered for "veronica" variations.
Creating a focused wordlist:
grep -i "veronica" '/usr/share/wordlists/rockyou.txt' > /home/kali/veronicas.txtNow let's unleash DirBuster on the exschmenuating directory using our custom Veronica-focused wordlist. This approach is much more efficient than brute-forcing with millions of generic passwords.

DirBuster setup with our custom Veronica wordlist targeting the secret directory

SUCCESS! Found our treasure: a .cap file with 'veronica' in the name
We've found our network capture file! Time to download it and see what digital secrets the laptop hacker has been collecting.
Time to channel our inner network forensics expert! Let's open this capture file in Wireshark and see what juicy communications the hacker managed to intercept. Network captures often contain the most valuable intelligence in penetration testing.

Wireshark reveals active TCP streams - time to follow the digital breadcrumbs
The capture file is alive with TCP traffic! Let's systematically follow each TCP stream to reconstruct the conversations. I'll start with tcp.stream eq 0 and work my way through each stream.

TCP Stream 0: Eric emails Veronica about downloading antivirus software
Eric is asking Veronica to download antivirus software - a common social engineering tactic or potentially legitimate IT support.

TCP Stream 1: Veronica suggests using FTP and shares a YouTube link for additional context
Interesting! Veronica mentions setting up an FTP server and provides a YouTube link: https://www.youtube.com/watch?v=z5YU7JwVy7s. YouTube links in security challenges usually contain crucial clues!

TCP Stream 2: Eric shares his FTP credentials - the keys to the kingdom!
From the packet analysis, we've extracted:
ericericdoesntdrinkhisownpeeNow let's analyze that YouTube video to understand the full access mechanism. The email mentions a "Spanish Armada combo" - this sounds like a port knocking sequence disguised as historical references!
Time to crack the historical code! After watching the YouTube video, I discovered a series of dates mentioned: 1066, 1215, 1466, 1467 (or just 67), 1469, 1514, 1981, 1986. But here's the key - the email mentioned the "Spanish Armada combo," which means we only use the numbers mentioned AFTER the Spanish Armada reference in the video.
The Spanish Armada reference eliminates early dates (1066, 1215, 1467), leaving us with the sequence: 1466, 67, 1469, 1514, 1981, 1986
Let's knock on these ports in sequence to see if we can activate the hidden FTP service:
Port knocking sequence automation:
for x in 1466 67 1469 1514 1981 1986; do nmap -Pn --host-timeout 201 --max-retries 0 -p $x 192.168.234.129; doneAfter executing the port knocking sequence, let's check if any new services have appeared:

Port knocking success! FTP service is now online and ready for access
The Spanish Armada sequence worked perfectly! FTP port 21 is now active and accepting connections.
Now for the moment of truth! Let's connect to the newly activated FTP service. I'll start with anonymous access (always worth trying), and based on the email conversation, the anonymous password might be Eric's email address.
Connecting to FTP service:
ftp 192.168.234.129
Anonymous FTP access granted! Using Eric's email as the password worked perfectly
Excellent! Anonymous access is working. After disabling passive mode for better file listing, I discover Billy's 12th-grade final project file. But when I examine it...

Plot twist! Billy's project is just a joke - we've been bamboozled by the class clown
Of course Billy would leave a decoy file with academic jokes! Time to dig deeper with Eric's actual FTP credentials.
Let's authenticate with Eric's credentials and see what the real file structure contains:

Eric's FTP access reveals the real treasure trove of files and secrets

Eric's notes reveal an SSH backdoor and another YouTube clue for activation
Eric's notes reveal crucial information:
Time to watch that YouTube video (https://www.youtube.com/watch?v=6u7RsW5SAgs) and complete the phrase to trigger the backdoor!

The video reveals the complete phrase: 'My kid will be a soccer player'
Now for some social engineering magic! Remember that SMTP service running on port 2525? It's time to send the trigger email containing our YouTube-discovered phrase. Eric mentioned sending TO his own address, so we'll use Veronica's email as the sender.
Crafting the trigger email with swaks:
swaks --to eric@madisonhotels.com --from vvaughn@polyfector.edu --server 192.168.234.129:2525 --body "My kid will be a soccer player" --header "Subject: My kid will be a soccer player"
Email delivery confirmed! The backdoor trigger phrase has been sent successfully
Perfect! The email has been delivered. Now let's check if this triggered the SSH backdoor by scanning for new services:

Backdoor activation successful! Port 1974 is now open and running SSH service
Port 1974 has appeared and is running SSH service - exactly as Eric promised in his notes!

Comprehensive scan confirms port 1974 is indeed running OpenSSH service
Before we dive into SSH access, I need to crack Veronica's FTP password to access additional files. Let's use hydra with our custom Veronica wordlist for a targeted brute force attack:
Brute forcing Veronica's FTP password:
hydra -t 10 -l veronica -P "/home/kali/veronicas.txt" 192.168.234.129 ftp
Veronica's FTP reveals Billy's revenge files - a WiFi capture and explanatory email

Billy's email: Classic revenge move - he captured Eric's WiFi credentials!
Billy left a "flaming bag of dog poo" at Eric's doorstep AND captured his WiFi traffic! This kid's got style AND technical skills.
Let's crack that WiFi password using aircrack-ng. Since this is Eric's personal network, his password might be in a common wordlist:
Cracking the WiFi WPA handshake:
aircrack-ng eg-01.cap -w /usr/share/wordlists/rockyou-tiny.txt
Success! Eric's WiFi password is 'triscuit*' - Billy's revenge is complete!
Eric's WiFi password is triscuit* - perfect for our SSH access attempt!
Now let's use Eric's credentials to access the SSH backdoor. Since we found the WiFi password through FTP, it's likely Eric reuses passwords:

SSH access achieved! We're inside Eric's system with the backdoor access
Time for the privilege escalation phase! Eric's notes mentioned that his usual kernel exploits aren't working anymore due to system updates. Let's take a different approach and hunt for SUID binaries that might give us root access.
Hunting for SUID binaries:
find / -user root -perm -4000 -ls 2>/dev/null
Jackpot! Found an interesting SUID binary at /usr/local/share/sgml/donpcgd
The /usr/local/share/sgml/donpcgd binary runs with root privileges and appears to take two path arguments. This could be our ticket to privilege escalation!
Let's create a cron job that will add Eric to the sudoers file. This is a classic privilege escalation technique when you have access to a SUID binary that can manipulate files:
Creating our privilege escalation cron job:
touch hehe
echo -e '#!/bin/bash\necho "eric ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers' > /etc/cron.hourly/hehe
Privilege escalation cron job planted - now we wait for the hourly execution
Since this is cron.hourly, we need to wait up to an hour for the job to execute. This is realistic timing for many automated privilege escalation scenarios.
After the hourly cron execution, let's check if Eric has been successfully added to the sudoers:

Success! Eric is now a sudoer with full system privileges
The cron job worked perfectly! Eric now has unrestricted sudo access to the entire system.
Now for the main objective - finding Billy's actual 12th-grade final project! As root, let's explore the system thoroughly to see where Eric might have hidden it.

Systematic exploration reveals a suspicious 'PRIVATE' directory in the root filesystem
The /PRIVATE directory looks promising! Let's see what secrets Eric has been hiding in there.
Found two files in /PRIVATE:
The hint file reveals that Eric forgot the password, but mentions it's somewhere on Billy Madison's Wikipedia page. Time for some OSINT work with cewl!
Generating wordlist from Wikipedia:
cewl --depth 0 -w /home/kali/BowelMovement.list https://en.wikipedia.org/wiki/Billy_Madison
Custom wordlist generated from Billy Madison Wikipedia page - movie trivia becomes password cracking
Now let's use truecrack to attack the encrypted container with our movie-themed wordlist:

Setting up HTTP server to transfer the encrypted file for local analysis

BowelMovement file downloaded and ready for password cracking with our Wikipedia wordlist
The Wikipedia wordlist worked! The password is execrable - perfectly fitting for this movie-themed challenge.
Time for the grand finale! Let's decrypt Billy's project using VeraCrypt with our freshly cracked password.

VeraCrypt is ready to decrypt Billy's educational masterpiece

Plot twist! VeraCrypt can't handle the legacy TrueCrypt format
Well, this is awkwardly perfect! Just like in the movie where things don't always go according to plan, we've hit a compatibility roadblock. VeraCrypt has dropped support for the legacy TrueCrypt format, leaving Billy's project locked away like his academic ambitions.
But you know what? This is actually the most authentic Billy Madison experience possible! We've successfully:
Sometimes in penetration testing, you find the treasure but can't open the chest due to legacy system incompatibilities. That's exactly what happened here - we achieved every technical objective except the final file decryption due to format evolution.
Billy would probably find this hilarious - his project remains "academically protected" by technological obsolescence! 😂
What a journey! This Billy Madison 1.1 machine delivered exactly what it promised - a nostalgic, entertaining, and technically challenging experience that perfectly captures the spirit of the 1995 comedy.
This machine showcased several advanced penetration testing concepts:
This VM perfectly captured the essence of Billy Madison - chaotic, unpredictable, occasionally frustrating, but ultimately entertaining and educational. The fact that we couldn't decrypt the final file due to legacy format incompatibility is ironically perfect - just like Billy's academic journey, sometimes the destination is less important than the adventure itself.
Thanks for joining me on this nostalgic ride through digital chaos! Remember: sometimes the best penetration testing experiences are the ones that don't go exactly according to plan. 🎓
This writeup is for educational purposes only. All techniques demonstrated should only be used on systems you own or have explicit permission to test.