Defense Evasion (TA0005)(external, opens in a new tab or window)
text code block:file where host.os.type in ("windows", "macos") and event.action in ("creation", "modification", "overwrite", "rename") and event.outcome == "success" and file.path : ( "/Users/*/Library/Application Support/Claude/vm_bundles/claudevm.bundle/initrd", "/Users/*/Library/Application Support/Claude/vm_bundles/claudevm.bundle/initrd.zst", "/Users/*/Library/Application Support/Claude/vm_bundles/claudevm.bundle/vmlinuz", "/Users/*/Library/Application Support/Claude/vm_bundles/claudevm.bundle/vmlinuz.zst", "/Users/*/Library/Application Support/Claude/vm_bundles/claudevm.bundle/rootfs.img", "?:\\Users\\*\\AppData\\Local\\Packages\\Claude_*\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\initrd", "?:\\Users\\*\\AppData\\Local\\Packages\\Claude_*\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\initrd.zst", "?:\\Users\\*\\AppData\\Local\\Packages\\Claude_*\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\vmlinuz", "?:\\Users\\*\\AppData\\Local\\Packages\\Claude_*\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\rootfs.vhdx", "?:\\Users\\*\\AppData\\Local\\Packages\\Claude_*\\LocalCache\\Roaming\\Claude\\vm_bundles\\claudevm.bundle\\smol-bin.vhdx" ) and not ( (process.name : "claude.exe" and process.executable : "?:\\Program Files\\WindowsApps\\Claude_*\\app\\claude.exe") or (process.name : ("Claude", "Claude Helper") and process.executable like "/Applications/Claude.app/*") )
Install detection rules in Elastic Security
Detect Claude Cowork VM Boot Image Tamper 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).