Malicious PDF — malware analysis report

Static analysis result for SHA-256 b4cb5318eb3ea04f…

MALICIOUS

PDF

12.7 KB
MD5: 5124be95a28b3737869edf665b5639a0 SHA-1: e99ed5a451f06753b503a8d204621ed90085f00b SHA-256: b4cb5318eb3ea04f8b6c5ab7598da575b6f86c3e3388edd9b2170a7889b28514
138 Risk Score

Malware Insights

MITRE ATT&CK
T1204.002 Malicious File: Malicious File T1059.001 Command and Scripting Interpreter: PowerShell

The PDF file contains embedded JavaScript that leverages the CVE-2007-5659 vulnerability (Collab.collectEmailInfo) to execute arbitrary code. The analysis identified two deobfuscated JavaScript files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, which likely form the second stage of the attack, potentially downloading and executing further malicious content.

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
70db61d6076aa361ec0f5d541d4016e121e12435a62a2716883abf498005e4dc
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 12370 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
0c65340008637c0f35b6014f894db00b245e2374af14d8addb4828bd98fd4276
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 5128 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).