Malicious PDF — malware analysis report

Static analysis result for SHA-256 b9245affd132d206…

MALICIOUS

PDF

12.5 KB
MD5: 8f6ccf323ee449d765ce15272cfbd2e1 SHA-1: 3669124b9254789c2c5c4119c0d12847ed5ff877 SHA-256: b9245affd132d206c33de18594509c490a6a41127aae6a02706b2272416154a2
138 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/Shell Script: JavaScript Execution T1204.002 Malicious File: User Execution: Malicious JavaScript

This PDF file exploits CVE-2007-5659 using a JavaScript stager embedded within the annotation subject. The stager is designed to decode and execute JavaScript from the PDF's metadata. The extracted JavaScript files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, likely contain the logic for downloading and executing a secondary payload, indicating a multi-stage attack.

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)
  • Annotation subject percent-decoding eval stager critical PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER
    OpenAction JavaScript forces annotation enumeration, reads an annotation /Subject payload with getAnnots(), rewrites marker bytes into percent escapes, decodes it with unescape(), and dispatches it through eval. This is a high-confidence exploit-kit staging pattern. It is intentionally not mapped to CVE-2009-1492 unless getAnnots() itself carries the crafted integer or long argument shape for that vulnerability.
  • 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
1847af0a099665b6ac45af66402e56ed64237a1b287618ee3d6643267fda6f35
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 343 bytes
legacy_pdfkit_stage_000.js
c7428c622eb2cda98554d915339ff84cf1820e2579c7121443ef0d4cb1a45e10
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 12116 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
5fbd1ceb127171908dc451b03dd6cd67a4c0137435e1fd16f3cf8e1255afef85
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 5043 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).