Malicious PDF — malware analysis report

Static analysis result for SHA-256 555d033b4e1c4c1b…

MALICIOUS

PDF

12.1 KB
MD5: 783525fc05eefc10a5fa3e81e73121b7 SHA-1: 82f31d3961e93946e8ca5b26851dd395ab44d8a8 SHA-256: 555d033b4e1c4c1b57c9182f322bc9ab168d7c7218f8c0164bcce9b2df3f3382
138 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including 'PDF_JAVASCRIPT' and 'PDF_JS'. Critical heuristics 'PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER' and 'CVE_2007_5659' point to the exploitation of CVE-2007-5659 via a specific PDF stager mechanism that decodes and evaluates JavaScript. The deobfuscated JavaScript files 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js' were extracted, suggesting the primary purpose is to download and execute 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
627eddd4844737d3bf4e398f193611b37e9517ce55552596711a640dc1ab8f4c
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 11901 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
1375670aa6374404f70e101df5b01d3345b61cbcc9f3cee9bfda2a0791b92111
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 4924 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).