CVE-2024-7694 Splunk · SPL

Detect TeamT5 ThreatSonar Anti-Ransomware Unrestricted File Upload (CVE-2024-7694) in Splunk

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

SPL Detection Query

Splunk (SPL)
spl
index=endpoint OR index=wineventlog sourcetype IN ("XmlWinEventLog:Microsoft-Windows-Sysmon/Operational", "WinEventLog:Security", "crowdstrike:events:sensor")
| eval file_path=coalesce(TargetFilename, file_path, FilePath)
| eval process_name=coalesce(Image, process_name, ProcessName)
| eval cmd_line=coalesce(CommandLine, cmd_line, process_cmd_line)
| where match(file_path, "(?i)(threatsonar|antiransomware|teamt5)")
    OR match(process_name, "(?i)(threatsonar|antiransomware)")
| eval file_ext=lower(mvindex(split(file_path, "."), -1))
| where file_ext IN ("php", "asp", "aspx", "jsp", "war", "exe", "dll", "bat", "cmd", "ps1", "sh", "py", "rb", "pl")
| eval risk_score=case(
    file_ext IN ("php", "asp", "aspx", "jsp"), 90,
    file_ext IN ("exe", "dll"), 80,
    file_ext IN ("ps1", "bat", "cmd", "sh"), 70,
    true(), 60
  )
| table _time, host, file_path, file_ext, process_name, cmd_line, user, risk_score
| sort -risk_score, -_time
critical severity medium confidence

Detects file creation events with dangerous extensions in ThreatSonar Anti-Ransomware directories via Sysmon or EDR telemetry, indicating potential exploitation of the unrestricted file upload vulnerability CVE-2024-7694.

Data Sources

SysmonCrowdStrike FalconWindows Security Event Log

Required Sourcetypes

XmlWinEventLog:Microsoft-Windows-Sysmon/OperationalWinEventLog:Securitycrowdstrike:events:sensor

False Positives & Tuning

  • Legitimate software updates deploying executables in ThreatSonar directories
  • Authorized security testing activities
  • ThreatSonar's internal quarantine mechanism storing executable malware samples
  • False path matches on directories with similar naming conventions

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.

  1. 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

  2. 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

  3. 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.

Response PlaybookInvestigation GuideHunting QueriesAtomic Red Team TestsTuning Guidance

Related Detections