Detect AVideo FFmpeg Process Listing OS Command Injection (CVE-2026-63304) in Microsoft Sentinel
Detects exploitation of CVE-2026-63304, an OS command injection vulnerability in WWBN AVideo prior to v29.1.0. The AVideo API endpoint that lists running FFmpeg processes (listFFMPEGProcesses) passes an attacker-controlled keyword into a shell command without proper escaping, allowing an authenticated or anonymous attacker (depending on configuration) to inject arbitrary OS commands via shell metacharacters. This detection surfaces suspicious web requests to the AVideo FFmpeg process-listing endpoint carrying shell metacharacters, and correlates them with anomalous child processes spawned by the PHP/web server process.
Based on VulnCheck Advisory: AVideo OS Command Injection via listFFMPEGProcesses
MITRE ATT&CK
- Tactic
- Initial Access Execution
KQL Detection Query
// df00tech DF00-8a80a39e0f · https://df00tech.com/detections/CVE-2026-63304 · licence: https://df00tech.com/detections/licence
let metachar = dynamic([";","|","&","`","$(","$(","%3B","%7C","%26","%60","%24"]);
let webHits = W3CIISLog
| where csUriStem has_cs "listFFMPEGProcesses" or (csUriQuery has "ffmpeg" and csUriQuery has "process")
| where csUriQuery has_any (metachar) or csUriStem has_any (metachar)
| project TimeGenerated, Computer, cIP, csUriStem, csUriQuery, csMethod, csUserAgent, scStatus;
webHits Identifies IIS/web requests to the AVideo listFFMPEGProcesses endpoint containing shell metacharacters indicative of command injection attempts.
Data Sources
Required Tables
False Positives & Tuning
- Security scanners and vulnerability assessment tools probing the endpoint
- Legitimate URL-encoded parameters that coincidentally contain encoded metacharacters
- Penetration testing or red-team activity against the AVideo instance
Other platforms for CVE-2026-63304
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 further down this page.
- Test 1 Simulate AVideo FFmpeg command injection request
Expected signal: Web server access log entry for listFFMPEGProcesses containing a semicolon and 'id'.
- Test 2 Simulate web-server-spawned shell (post-exploitation)
Expected signal: Process creation event showing www-data (web server user) spawning bash/id/whoami.
- Test 3 Simulate outbound fetch from web server context
Expected signal: Process event showing www-data executing curl with an outbound URL and file write to /tmp.
References (6)
- https://github.com/WWBN/AVideo/security/advisories/GHSA-j44m-77cc-p3cc
- https://github.com/WWBN/AVideo/commit/7559ddf72f48684cc40ae78be9cebcaa07f5fa06
- https://github.com/WWBN/AVideo/releases/tag/v29.1.0
- https://nvd.nist.gov/vuln/detail/CVE-2026-63304
- https://www.vulncheck.com/advisories/avideo-through-os-command-injection-via-listffmpegprocesses
- https://github.com/advisories/GHSA-j44m-77cc-p3cc
Response Playbook
Triage
- Confirm the AVideo version of the targeted host; versions < 29.1.0 are vulnerable to CVE-2026-63304.
- Inspect the raw web request to the listFFMPEGProcesses endpoint and decode the keyword/query parameter to identify the injected shell command.
- Determine whether the request was authenticated and from where (internal, VPN, or untrusted source IP).
- Review web server process ancestry for any child shell/command processes spawned within seconds of the suspicious request.
Containment
- Block the attacker source IP at the WAF/firewall and rate-limit or disable the listFFMPEGProcesses endpoint until patched.
- Isolate the affected AVideo host from the network if post-exploitation command execution is confirmed.
- Rotate any credentials, API tokens, or secrets accessible from the web server context.
Evidence Collection
- Preserve web server access and error logs covering the request window.
- Capture process creation telemetry (EDR) for the web server and any spawned child processes.
- Snapshot the host filesystem and memory if interactive command execution or webshell drop is suspected.
Escalation Criteria
- !Escalate to incident response if a child process (shell, curl, wget, nc) was spawned by the web server following the request.
- !Escalate if evidence of outbound C2, data staging, or additional webshell files is found on the host.
Investigation Guide
Forensic Artifacts
- >
Web server access logs containing requests to listFFMPEGProcesses with shell metacharacters - >
EDR process-creation records showing web server spawning shell/command binaries - >
Newly created or modified files in the AVideo web root (potential webshells)
Tuning Guidance
Baseline legitimate child processes of your AVideo web server before enabling the process-correlation rules; some deployments legitimately shell out to ffmpeg wrapper scripts. Tune the web-request rule to your known scanner IP ranges and consider restricting metacharacter matching to the decoded keyword parameter to reduce encoded-URL false positives.
Hunting Queries
Hunts for shell/command processes spawned by web server processes, indicating successful command injection.
// df00tech DF00-8a80a39e0f · https://df00tech.com/detections/CVE-2026-63304 · licence: https://df00tech.com/detections/licence
DeviceProcessEvents | where InitiatingProcessFileName in~ ("php","php-fpm","httpd","apache2","nginx","w3wp.exe") | where FileName in~ ("sh","bash","cmd.exe","powershell.exe","whoami","id","curl","wget","nc") | project Timestamp, DeviceName, InitiatingProcessFileName, FileName, ProcessCommandLine ``` df00tech DF00-8a80a39e0f · https://df00tech.com/detections/CVE-2026-63304 · licence: https://df00tech.com/detections/licence ```
index=edr sourcetype=*process* (parent_process_name IN ("php","php-fpm","httpd","apache2","nginx","w3wp.exe")) (process_name IN ("sh","bash","cmd.exe","powershell.exe","whoami","id","curl","wget","nc")) | table _time, host, parent_process_name, process_name, process Atomic Red Team Tests
Sends a crafted HTTP request to the listFFMPEGProcesses endpoint with a shell metacharacter payload to trigger the web-request detection.
Command
curl -s -G 'http://localhost/plugin/API/get.json.php' --data-urlencode 'APIName=listFFMPEGProcesses' --data-urlencode 'keyword=ffmpeg;id' Cleanup
echo 'no cleanup required' Expected Telemetry
Web server access log entry for listFFMPEGProcesses containing a semicolon and 'id'.
Expected Detection
KQL/SPL web-request rule fires on the shell metacharacter in the request.
Simulates a web server process spawning a shell command as would occur after successful injection.
Command
sudo -u www-data bash -c 'id; whoami' Cleanup
echo 'no cleanup required' Expected Telemetry
Process creation event showing www-data (web server user) spawning bash/id/whoami.
Expected Detection
Elastic EQL / CrowdStrike CQL process-correlation rule fires on web server child process.
Simulates an attacker using the injection to pull a second-stage payload via curl/wget from the web server user.
Command
sudo -u www-data curl -s http://127.0.0.1/ -o /tmp/avideo_test_payload Cleanup
rm -f /tmp/avideo_test_payload Expected Telemetry
Process event showing www-data executing curl with an outbound URL and file write to /tmp.
Expected Detection
Process-correlation rule flags curl spawned by the web server process.