Malicious PDF — malware analysis report

Static analysis result for SHA-256 ddfd0f599611883e…

MALICIOUS

PDF

4.5 KB
MD5: de6f479a98f4ae2fda7ece35b043a7be SHA-1: cd45b6c2af1087cb988ef354460e9a65afbae87f SHA-256: ddfd0f599611883e66d8dc9118146786d374b39c6e6397895f0116e088d079bd
126 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link

The PDF file contains embedded JavaScript, which is executed using a known vulnerability (CVE-2008-2992) that leverages `util.printf` and `eval()`. The JavaScript is further obfuscated and likely downloads and executes a second-stage payload. The presence of `String.fromCharCode` and `eval()` calls within the decoded JavaScript stream indicates a high likelihood of malicious code execution. The extracted JavaScript files are listed as IOCs.

Heuristics 6

  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0005_000.js
64d29e8f4f06ea4c1e2148969b064babad1140ee7756b0b9845f6977fd793715
pdf-javascript-stream PDF /JS object 5 at offset 0x107 22728 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
numeric_charcode_stage_000.js
f39072ac63279a4ff971b5e4738cdb4e83bf0d8fbbbe2009c7aefb72745883b7
deobfuscated-js numeric char-code string decoded JavaScript at offset 0x115 6672 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).