[TEST] CyberDefenders: Brave — Network Forensics Write-Up
Test walkthrough demonstration for CyberDefenders Brave lab featuring PCAP traffic analysis, malicious payload extraction, and MITRE ATT&CK matrix mapping.
[TEST] CyberDefenders: Brave — Network Forensics Write-Up
Challenge Overview
| Attribute | Details |
|---|---|
| Platform | CyberDefenders |
| Lab Name | Brave |
| Category | Network Forensics |
| Difficulty | Easy |
| Investigation Focus | Analysis of compromised web server network capture file (PCAP) to identify initial access and lateral movement. |
Tools Used
Wireshark: Used to analyze network packets, filter HTTP streams, and reconstruct web shell uploads.TShark: CLI tool used to extract specific IP statistics and POST payloads.CyberChef: Utilized to decode Base64 obfuscated PowerShell scripts.
MITRE ATT&CK Matrix Mapping
| Tactic | Technique ID | Technique Name | Observed Behavior / Details |
|---|---|---|---|
| Initial Access | T1190 | Exploit Public-Facing Application | Exploit attempt detected targeting HTTP web application |
| Execution | T1059.001 | PowerShell | Encoded PowerShell payload launched via web shell |
| Command and Control | T1071.001 | Web Protocols | C2 beaconing over HTTP POST traffic on non-standard port |
Indicators of Compromise (IOCs)
| Type | Indicator / Value | Context |
|---|---|---|
| IPv4 Address | 192.168.1.105 | Attacker C2 Server IP |
| SHA256 Hash | a1b2c3d4e5f67890123456789abcdef0123456789abcdef0123456789abcdef0 | Malicious ASPX Web Shell |
| Domain | c2-malicious-domain.com | Exfiltration Endpoint |
Investigation & Questions Breakdown
Q1: What is the IP address of the attacker?
Investigation Steps:
- Open the PCAP file in Wireshark and inspect TCP connection handshakes.
- Filter for incoming HTTP requests with high request frequency:
1
tshark -r brave-investigation.pcap -Y "http.request" -T fields -e ip.src | sort | uniq -c
Reveal Answer
192.168.1.105 Q2: What was the name of the webshell uploaded by the attacker?
Investigation Steps:
- Filter for multipart HTTP POST data:
http.request.method == "POST" and http.request.uri contains "upload" - Inspect the HTTP payload stream to locate the
filenameattribute in the Content-Disposition header.
Reveal Answer
cmd_shell.aspx Conclusion & Key Takeaways
- The attacker successfully exploited a file upload vulnerability to drop an ASPX web shell.
- Implementing strict file extension whitelisting and egress firewall filtering would have mitigated the execution and C2 beaconing.
References & Resources
This post is licensed under CC BY 4.0 by the author.
