Malicious PDF — malware analysis report

Static analysis result for SHA-256 e85489d2154c772c…

MALICIOUS

PDF

13.0 KB
MD5: b7a50f5574f039c1d6e47b3caf63ea2f SHA-1: 2ab9810f91bafde96a0077c36a482dabfa10c4d5 SHA-256: e85489d2154c772c2dceab3170ceba1eca01efa7206e3bf7dadcd78b87a94bde
138 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/JScript T1204.002 Malicious File

The PDF file contains embedded JavaScript that leverages the CVE-2007-5659 vulnerability via the Collab.collectEmailInfo method. This JavaScript is further deobfuscated into two separate files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js. The primary function of this script appears to be downloading and executing a secondary payload, as indicated by the critical heuristic firings and the presence of deobfuscated JavaScript streams.

Heuristics 5

  • 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-36064 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36064
  • 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.
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
a5c8f0f722df4dd9876a0087e1eee65bd3020c5995f94f6729f7e17f3f3677a0
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 331 bytes
legacy_pdfkit_stage_000.js
4d168e3adad4ceaa5101d78b722b6ac9785d805054492776ae37fee60ca3e9c0
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F2 12072 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
fd68206e919aa22f8c632e81731f5366302453bc31cd5df9ba0830a2ba8e607d
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F2 5087 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).