Malicious PDF — malware analysis report

Static analysis result for SHA-256 5508db23fba4a34d…

MALICIOUS

PDF

9.6 KB
MD5: 31e036aa1c5d2bc6e42686be2dd6a358 SHA-1: 47d0b60c1a0343aebde64de371f4a8c2e5ed659a SHA-256: 5508db23fba4a34da2a6d45d3cd32f7ea3f23593691dbb8b2f2772434aa1c1da
126 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File

The PDF document contains embedded JavaScript that leverages the CVE-2007-5659 vulnerability. The JavaScript is obfuscated and uses eval() and String.fromCharCode() to construct and execute code. This indicates the sample is designed to exploit this known PDF vulnerability to achieve arbitrary code execution, likely to download and run a second-stage payload.

Heuristics 6

  • 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)
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules. (matched inside decoded stream)
  • 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_obj0005_000.js
221601838059fcffc5f00453ef0de079a39dd33f145eb13a96176c9f14c71185
pdf-javascript-stream PDF /JS object 5 at offset 0x107 648 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_000.js
ecbd9120112266fe615fc3fb5673c1e935196180e0d32dd93603604e9cbe15e0
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x3F5 11857 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
0d245dba51ffdc60555d82a5681b34bb406e30f9ce712e3fe2ad20785c3264e4
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x3F5 4979 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).