Malicious PDF — malware analysis report

Static analysis result for SHA-256 b7b84080f6c76adc…

MALICIOUS

PDF

3.6 KB Created: 2008-12-17 23:30:58 UTC
MD5: 287a2ef6b35de284fb37260bb5cb828e SHA-1: 9f7c70d6f89ce5a2f77dd6a6bd09a890ad6dfe40 SHA-256: b7b84080f6c76adc88b830a80eeb4a9a7ed61069130e2b8da5a942c9412487b9
98 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.007 JavaScript

The PDF contains embedded JavaScript, flagged by multiple heuristics including PDF_JAVASCRIPT and PDF_JS. The JavaScript stream utilizes eval() and String.fromCharCode(), indicating obfuscation and dynamic code execution. The ML classifier strongly flags this PDF as malicious. The primary intent appears to be downloading and executing a second-stage payload, as suggested by the JavaScript execution and the presence of an extracted JavaScript file.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 5

  • 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
b2bb2c553b1ebaf2a6e333534e1b9f4f434d71516b2889f399c3e05d666ef454
pdf-javascript-stream PDF /JS object 6 at offset 0xB5 9549 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 8 long base64-like blob(s).