Detect TeamT5 ThreatSonar Anti-Ransomware Unrestricted File Upload (CVE-2024-7694) in CrowdStrike LogScale
CVE-2024-7694 is an unrestricted file upload vulnerability (CWE-434) in TeamT5 ThreatSonar Anti-Ransomware. An attacker can upload files with dangerous types to the ThreatSonar management interface, potentially achieving remote code execution on the host running the security product. This vulnerability is listed in CISA's Known Exploited Vulnerabilities catalog, indicating active exploitation in the wild. Successful exploitation of a security product creates a high-impact scenario where the attacker may gain privileged access to the endpoint security management plane.
MITRE ATT&CK
- Tactic
- Initial Access Execution Persistence
LogScale Detection Query
event_simpleName IN ("NewExecutableWritten", "SyntheticProcessRollup2", "NetworkConnectIP4")
| search FileName IN ("*.php", "*.asp", "*.aspx", "*.jsp", "*.war", "*.exe", "*.dll", "*.ps1", "*.bat", "*.cmd", "*.sh", "*.py")
OR FilePath LIKE "%threatsonar%"
OR FilePath LIKE "%ThreatSonar%"
OR FilePath LIKE "%antiransomware%"
OR ImageFileName LIKE "%threatsonar%"
OR ParentBaseFileName LIKE "%threatsonar%"
| eval threat_type=case(
match(FileName, ".*\.(php|asp|aspx|jsp|war)$"), "WebShell Upload",
match(FileName, ".*\.(exe|dll)$"), "Executable Drop",
match(FileName, ".*\.(ps1|bat|cmd|sh)$"), "Script Drop",
true(), "Suspicious File"
)
| stats count by ComputerName, UserName, FilePath, FileName, threat_type, ImageFileName, CommandLine
| where count >= 1
| sort -count CrowdStrike Falcon query detecting new executable or script files written to ThreatSonar directories, or ThreatSonar processes exhibiting suspicious child process behavior consistent with CVE-2024-7694 post-exploitation.
Data Sources
Required Tables
False Positives & Tuning
- CrowdStrike Falcon itself interacting with ThreatSonar directories during joint AV scanning
- Legitimate ThreatSonar update mechanism downloading and staging new binaries
- Authorized red team exercises using file upload techniques against security tools
- Security operations personnel manually uploading signatures or configuration files
Other platforms for CVE-2024-7694
Testing Methodology
Validate this detection against 3 adversary techniques from Atomic Red Team. Each test below lists the behaviour to exercise and the telemetry you should expect to see. Executable commands and cleanup steps are available with Pro.
- Test 1Simulate web shell upload to ThreatSonar upload directory
Expected signal: Sysmon Event ID 11 (FileCreate) showing creation of .php file in ThreatSonar path; DeviceFileEvents in MDE showing FileName=test_shell.php in ThreatSonar directory
- Test 2Simulate ASP webshell drop via PowerShell (ThreatSonar IIS context)
Expected signal: Sysmon Event ID 11 with TargetFilename matching *.aspx in wwwroot/threatsonar; IIS log entry if file is subsequently requested
- Test 3Simulate post-exploitation cmd.exe spawn from web worker process in ThreatSonar context
Expected signal: Sysmon Event ID 1 showing cmd.exe spawned from threatsonar_worker.exe process; process tree showing execution of whoami; DeviceProcessEvents in MDE capturing the parent-child process relationship
Unlock Pro Content
Get the full detection package for CVE-2024-7694 including response playbook, investigation guide, and atomic red team tests.