Suspicious Execution from a Mounted Device

Last updated 5 days ago on 2026-03-30
Created 5 years ago on 2021-05-28

Definition

Rule Type
Event Correlation Rule
Integration Pack
Prebuilt Security Detection Rules
Index Patterns
winlogbeat-*logs-endpoint.events.process-*logs-windows.sysmon_operational-*
Related Integrations

endpoint(external, opens in a new tab or window)

windows(external, opens in a new tab or window)

Query
text code block:
process where host.os.type == "windows" and event.type == "start" and process.executable : "C:\\*" and ( process.working_directory : ("D:\\*", "E:\\*", "F:\\*") or ?process.Ext.device.product_id : ("Virtual DVD-ROM", "Virtual Disk") ) and process.parent.name : "explorer.exe" and process.name : ( "rundll32.exe", "mshta.exe", "powershell.exe", "pwsh.exe", "cmd.exe", "regsvr32.exe", "cscript.exe", "wscript.exe", "certutil.exe", "bitsadmin.exe", "msiexec.exe", "wmic.exe", "schtasks.exe", "msbuild.exe" )

Install detection rules in Elastic Security

Detect Suspicious Execution from a Mounted Device in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).