
CyberDefenders JetBrains Lab
Analyst: Belal Abdelsalam
Date: July 2026
Lab/Environment: CyberDefenders JetBrains
This report documents the forensic analysis of a compromised JetBrains TeamCity server (version 2023.11.3). By analyzing the provided network packet capture (.pcap), the investigation confirmed that an external threat actor bypassed authentication mechanisms using a path traversal vulnerability (CVE-2024-27198). The attacker subsequently uploaded a malicious plugin containing a Java Server Page (JSP) webshell, achieving Remote Code Execution (RCE) and conducting further system enumeration.
The investigation began by identifying the source of the anomalous traffic. Using Wireshark, I navigated to Statistics > Conversations > IPv4 to identify endpoints with the highest volume of communication with the web server.
23.158.56.1962023.11.3Filtering the traffic for HTTP POST requests (http.request.method == "POST"), I identified the initial exploitation vector. The attacker leveraged a known authentication bypass flaw by appending structural semi-colons to REST API endpoints:
POST /app/rest/users;.jspThis allowed the attacker to generate an administrative access token without valid credentials.
With administrative access secured, the attacker moved to establish persistence. I filtered the network stream for file uploads using http.content_type contains "multipart/form-data".
Following the TCP stream of these requests revealed the attacker uploading a malicious TeamCity plugin formatted as a .zip archive.
NSt8bHTg.zipNSt8bHTg.jsp.To understand the extent of the compromise, I tracked the attacker's interactions with the newly deployed webshell.
By applying the filter http.request.uri contains "cmd=", I successfully isolated the Command and Control (C2) traffic. The attacker passed operating system commands directly through the URL parameters.
Following the TCP streams of these HTTP GET requests allowed me to read the server's plaintext responses, revealing the attacker's enumeration steps:
whoami to determine privilege levels.ls to map the internal files.C:\TeamCity and C:\Windows.The threat actor successfully leveraged CVE-2024-27198 to gain initial access, uploaded a custom webshell for persistence, and executed system commands to enumerate the host and evade local defenses.
Recommended Actions:
Disclaimer: This repository is for educational purposes only as part of a controlled CyberDefenders lab environment. Do not use these techniques on systems you do not own or have explicit permission to test.
| Type | Indicator | Description | MITRE ATT&CK |
|---|
| IP Address | 23.158.56.196 | Source of the attack | T1190 |
| URL Path | /app/rest/users;.jsp | Auth bypass exploit vector | T1190 |
| File | NSt8bHTg.zip | Malicious TeamCity plugin | T1505.003 |
| File | NSt8bHTg.jsp | Webshell backdoor | T1505.003 |