ONLYOFFICE docservice shell then ds sudo flush-cache sed injection chain
Detects a suspicious sequence of events related to the ONLYOFFICE DocBuilder SaveFile / WOPI Browser JWT chain post-exploitation stage. The rule identifies a node, nodejs, or docservice process spawning a shell referencing OnlyOffice data paths, followed within 10 minutes by the execution of the sudo helper documentserver-flush-cache.sh using the 'ds' account with command-line arguments indicating potential injection.
Microsoft Sentinel (KQL)
