StegoTarget System Console
Security Operations Center (SOC) walkthrough guide and decryption walkthroughs.
🔍 Forensic Assessment Brief
This sandbox simulates a corporate website that has been compromised, or configured, to communicate metadata through **covert web channels**. Your assignment as the security auditor is to inspect the site's assets, protocols, and markup, identify the hidden flags, and document the exfiltration methods.
Below is the system console detailing the covert channels and the script tools needed to extract the flags.
HTTP Response Headers
Covert Header DetectedCovert Layer: Network Protocol (Response Headers)
Description: The server sends a custom header X-Internal-Routing-Token containing a Base64-encoded payload on every request.
Detection Command:
Extraction Guide:
Inspect the output and extract the value of X-Internal-Routing-Token, then Base64 decode it.
Storage & Session Cookies
Covert Cookie DetectedCovert Layer: Storage / State Layer
Description: The site sets a persistent tracking cookie named _sec_session_state that stores a Hexadecimal representation of a flag.
Detection:
Open Browser DevTools (F12) → Go to Application/Storage tab → Expand Cookies → Select http://localhost. Look for the value of _sec_session_state.
Alternatively, inspect cookies via command-line:
Extraction Guide:
Convert the hex value (464c41477b636f6f6b69655f737465676f7d) to ASCII:
Source Code Comments & Attributes
Code Flags DetectedCovert Layer: Codebase / Markup Layer
Description: Flags are hidden within CSS stylesheets and HTML forms.
Detection (CSS):
Inspect the main stylesheet assets/styles.css. There is a flag comment at the top.
Detection (HTML):
Inspect the contact form page sources on contact.php:
- There is an HTML comment in the form body containing a base64 encoded credential block:
key_auth_v2=YWRtaW46c3VwZXJzZWNyZXRwYXNzMTIz(decodes toadmin:supersecretpass123). - There is a hidden form input containing a
data-integrity-chkattribute:
Zero-Width Unicode Steganography
Text Channel ActiveCovert Layer: Visual Text (Zero-Width Space Manipulation)
Description: The paragraph text inside the second card of privacy.php ("2. Data Security & Integrity") has a binary message hidden in its whitespace using Zero-Width Space (ZWSP, U+200B) representing 0 and Zero-Width Non-Joiner (ZWNJ, U+200C) representing 1.
Detection Method:
Copy the first paragraph of Section 2 from the website, then run this python script to extract the hidden Unicode bytes and decode them.
Image Least Significant Bit (LSB) Extraction
Pixel Carrier DetectedCovert Layer: Visual Media (Image Carrier)
Description: The CEO profile image (assets/team_ceo.png) on the about.php page contains a secret flag embedded in the least significant bit (bit 0) of the Red, Green, and Blue pixel channels.
Extraction Guide:
Download the image and run this Python script (requires the Pillow library) to extract the LSB bits from the pixels, reconstruct the binary stream, and display the secret flag.