Malicious PDF — malware analysis report

Static analysis result for SHA-256 2be79ffd0cfa481c…

MALICIOUS

PDF

4.3 KB
MD5: f21e900648e7bd749b6ab01d890247a2 SHA-1: c2460227b84bd9233f099bb735e586559054bd31 SHA-256: 2be79ffd0cfa481c80f300a0e84b2e3f4faa10fd76c032bcd065dd74e8cd6fad
96 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 itself is heavily obfuscated, utilizing eval() and String.fromCharCode, indicating a deliberate attempt to hide malicious code. The ML classifier strongly suggests malicious intent. The primary function of the script appears to be downloading and executing a second-stage payload, as evidenced by the obfuscated nature and the presence of an embedded JavaScript file. The specific MITRE techniques T1059.001, T1059.005, and T1059.007 are relevant due to the nature of JavaScript execution within PDFs and potential for further script execution.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

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_obj5967_000.js
dc01fd7d10e477a09efa640890fc286bda80e2264c61d0a6964848a5956e8412
pdf-javascript-stream PDF /JS object 5967 at offset 0x133 8325 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).