sequence with maxspan=2h
[file where host.os.type == "windows" and event.type != "deletion" and file.extension : "exe" and
(process.name : "AcroRd32.exe" or
process.name : "rdrcef.exe" or
process.name : "FoxitPhantomPDF.exe" or
process.name : "FoxitReader.exe") and
not (file.name : "FoxitPhantomPDF.exe" or
file.name : "FoxitPhantomPDFUpdater.exe" or
file.name : "FoxitReader.exe" or
file.name : "FoxitReaderUpdater.exe" or
file.name : "AcroRd32.exe" or
file.name : "rdrcef.exe")
] by host.id, file.path
[process where host.os.type == "windows" and event.type == "start"] by host.id, process.executable
Install detection rules in Elastic Security
Detect Execution of File Written or Modified by PDF Reader 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(opens in a new tab or window).