Malicious PDF — malware analysis report

Static analysis result for SHA-256 1d3a13dfe2c2c742…

MALICIOUS

PDF

13.2 KB
MD5: 53992de2ef1f000a1e0d75327baf7806 SHA-1: f3fa8c5ac4f394e7be623e0aea9f67e6f055758d SHA-256: 1d3a13dfe2c2c742997442d57dd4324114f5fab3bc2ac48c2c215405562aea58
138 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript that is designed to exploit CVE-2007-5659 using the Collab.collectEmailInfo method. The JavaScript is further obfuscated and appears to be a stager for downloading and executing additional malicious content, as indicated by the extracted files legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js. The primary goal is to download and execute a second-stage payload.

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
bedd676af9bf2e3ca07f9e3a10d07bc561e9745801f30653ef176c0c1e7620a3
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 336 bytes
legacy_pdfkit_stage_000.js
ac979a3ef4356d2f154c46b285318ad5a85d96a6ccdce67dd4dd96bb90ccad95
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2EC 12179 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
966819772b59e71040bbefac9ad9162d1057c36630fff90a767083a81750f630
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2EC 5097 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).