Malicious PDF — malware analysis report

Static analysis result for SHA-256 56d5b074b38f1bf2…

MALICIOUS

PDF

9.5 KB
MD5: b807f634bfdcf387f2a14e08ff78e663 SHA-1: 275a96f3ced370f2aaca9e77740225296fa1d51a SHA-256: 56d5b074b38f1bf200f2c35cf1d7c98c82b580943dce5f1cbaf46014963f6015
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 uses eval() and String.fromCharCode() functions, indicating obfuscation and dynamic code execution. The primary technique identified is the exploitation of CVE-2007-5659, which allows for arbitrary code execution within the context of the PDF viewer. The deobfuscated JavaScript streams suggest the execution of further malicious code.

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
2329522bf2e5eab0007ad7e47fc9ed4903deabd6ff48230eb6f1509f09949de2
pdf-javascript-stream PDF /JS object 5 at offset 0x107 299 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
d6a961cc860ec5a8de0be371a9e5faa6ddcb80797f0946d8ef848af03cd5f187
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x30B 11972 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
d5ae881d9642da9be20a99278eaf78888414ddc091f6f9f506a56ca347e197ce
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x30B 5031 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).