System Shell/Binary Copied to Non-Standard Path (Linux LPE)
Detects a system shell/interpreter copied or moved into a writable or non-standard path - the precursor to the 'copy /bin/bash, set SUID, run bash -p' misconfiguration abuse and a common staging step in the page-cache PoCs. Enriched with source/destination decode, an inline-SUID-intent flag (chmod +s / chmod 4755 / install -m / setcap in the same command), masquerade flags (renamed, hidden dotfile, system-lookalike name), a weighted RiskScore / TriagePriority and DeviceInfo context. Pairs with OS-DET-LNX-006 and correlation OS-DET-LNX-007. Detection logic adapted from Elastic Security Labs.
Microsoft Sentinel (KQL)
