Malicious PDF — malware analysis report

Static analysis result for SHA-256 d8c74e272de01c36…

MALICIOUS

PDF

8.2 KB
MD5: 1e08e8a91d9aed6c28b5c51c12b61265 SHA-1: 29b3c68f3907adffdfe4965b0ea0853e7c9e37f3 SHA-256: d8c74e272de01c3673ca8f4f86808fcb567e77f039b154ab1ff1481918e131b0
316 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1027 Obfuscated Files or Information T1190 Exploit Public-Facing Application

The PDF document contains obfuscated JavaScript, identified by the 'PDF_JS_OBFUSCATED_DROPPER' heuristic. This script is designed to exploit CVE-2007-5659, specifically using the Collab.collectEmailInfo primitive to decode and execute a payload. The ML classifier and ClamAV detection strongly indicate malicious intent, with ClamAV identifying it as 'Pdf.Exploit.Agent-36086'. The script's primary function appears to be downloading and executing a second-stage payload.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 9

  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (identified after JavaScript deobfuscation)
  • ClamAV: Pdf.Exploit.Agent-36086 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36086
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • Obfuscated multi-stage PDF JavaScript dropper high PDF_JS_OBFUSCATED_DROPPER
    PDF JavaScript shows 3 independent signals of exploit-kit-style multi-stage obfuscation: annot_subject_stage, incremental_eval_build, repeated_pluginschk. This is strongly consistent with pre-2011 Adobe Reader PDF droppers — OpenAction JS reads encoded data from annotation subjects, decodes it through one or more hex / base-N loops, and invokes eval indirectly (method name built one character at a time). The actual CVE is hidden in the final decoded layer and is not visible via static analysis.
  • JavaScript action low PDF_JAVASCRIPT
    PDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • Embedded JS stream low PDF_JS
    PDF references a /JS stream. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (matched in decompressed stream)
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.

Extracted artifacts 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
f9b4659beaf681d266cfb5046d495e7b144d406eff72e71ecd4d1451ae25ca11
pdf-javascript-stream PDF /JS object 6 at offset 0x143 481 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
e8c76b9d4971f2f40b5a6ca415dffd87a6bdf8394f427ea5b3b32cf33142538f
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1B3B 1848 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
93c0883ab82482a03d08fa7fc6d0e8fc1cfa7d408f931f8b803cd8ce859b3876
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x329 5057 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).
deobfuscated.js
e644e19110b60415ca692b6a0a21c58eefbb1beee8ca13107b095e5fcef52788
deobfuscated-js PDF JavaScript deobfuscation pass 44843 bytes
Detection
ClamAV: Pdf.Exploit.Agent-36086
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 2 long base64-like blob(s).