Malicious PDF — malware analysis report

Static analysis result for SHA-256 5309a10c5fefbc5c…

MALICIOUS

PDF

7.9 KB
MD5: bd46b0202647fafae19b5a89a49c9a7b SHA-1: 6facd51db7528070cea333a1e87578658a5b37d2 SHA-256: 5309a10c5fefbc5c4a79164d9e5568c31c0f31a57e32343411bee700f7563a92
256 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/Shell Script Execution T1204.001 Malicious Link/URL T1071.001 Web Protocols

The PDF file contains obfuscated JavaScript that exploits CVE-2007-5659 via the `collab.collectEmailInfo` function. The script is designed as a multi-stage dropper, indicated by the `PDF_JS_OBFUSCATED_DROPPER` heuristic and the presence of multiple deobfuscated JavaScript files. The primary function of the script is to download and execute a second-stage payload from a remote source, likely leveraging web protocols for the download. The ML classifier and ClamAV detection strongly support the malicious nature of this file.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • 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
  • 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
3b16b54f80d14c695046c317e9e3bdc4a9faeb44fb64057dafffe790f2ce595c
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1A9E 1678 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
d42d1f14334a0a964c2605a7b121d3079f32fc121c61f531ceb17e8dc399e679
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x329 4957 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).
deobfuscated.js
2f5f29c2979a31850ad19fda2942e4fe5d533479eb6ec5a140b5136c93fecd8a
deobfuscated-js PDF JavaScript deobfuscation pass 23885 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 2 long base64-like blob(s).