[metadata] creation_date = "2020/09/02" ecs_version = ["1.6.0"] maturity = "production" updated_date = "2020/09/02" [rule] author = ["Elastic"] description = """ Identifies a suspicious file that was written by a PDF reader application and subsequently executed. These processes are often launched via exploitation of PDF applications. """ from = "now-9m" index = ["logs-endpoint.events.*", "winlogbeat-*"] language = "eql" license = "Elastic License" name = "Execution of File Written or Modified by PDF Reader" risk_score = 21 rule_id = "1defdd62-cd8d-426e-a246-81a37751bb2b" severity = "high" tags = ["Elastic", "Windows"] type = "eql" query = ''' sequence with maxspan=2h [file where event.type != "delete" and file.extension == "exe" and process.name in ("acrord32.exe", "rdrcef.exe", "foxitphantomPDF.exe", "foxitreader.exe") and file.name not in ("foxitphantomPDF.exe", "FoxitPhantomPDFUpdater.exe", "foxitreader.exe", "FoxitReaderUpdater.exe", "acrord32.exe", "rdrcef.exe") ] by host.id, file.path [process where event.type in ("start", "process_started")] by host.id, process.executable ''' [[rule.threat]] framework = "MITRE ATT&CK" [[rule.threat.technique]] id = "T1064" name = "Scripting" reference = "https://attack.mitre.org/techniques/T1064/" [[rule.threat.technique]] id = "T1192" name = "Spearphishing Link" reference = "https://attack.mitre.org/techniques/T1192/" [[rule.threat.technique]] id = "T1193" name = "Spearphishing Attachment" reference = "https://attack.mitre.org/techniques/T1193/" [rule.threat.tactic] id = "TA0002" name = "Execution" reference = "https://attack.mitre.org/tactics/TA0002/"