Malicious PDF — malware analysis report

Static analysis result for SHA-256 9d4bb85ab8c3f2aa…

MALICIOUS

PDF

190.4 KB
MD5: f45256cbe9a6fbbf27fce532d807d080 SHA-1: 0c0f95ec1eae6f23bbfadd980dce7408c60ad4f6 SHA-256: 9d4bb85ab8c3f2aaf3c3de7ebee89115f47cd3080b1c5fc863c65936f995496a
96 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, indicated by the PDF_JAVASCRIPT and PDF_JS heuristics. The script utilizes eval() and String.fromCharCode, suggesting obfuscation and dynamic code execution. The ML classifier also flagged this PDF as malicious. The primary intent appears to be downloading and executing a second-stage payload from a remote source, as evidenced by the obfuscated JavaScript streams.

Machine Learning

  • Nyx PDF Classifier malicious score 0.5905

Heuristics 6

  • 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. (matched inside decoded stream)
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://ns.adobe.com/pdf/1.3/
    • http://ns.adobe.com/xap/1.0/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://purl.org/dc/elements/1.1/

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
stream_008_off000056c7.js
49cf54e6dea124d681e9320255e750611e4abc318a44c2233c42b58d59afe90c
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x56C7 1388 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 9 eval/decoder/string-building token(s).
objstm_0328_00.bin
d833519188db849a6bb41c8fe06ee4e2f824ce08d000b6975932ae19823d8ceb
pdf-objstm-decoded PDF /ObjStm 328 0 obj (inflated) 4671 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 long base64-like blob(s).
objstm_0174_00.bin
641cbb7db431b49e363d77b146bc86dc1718700710e0762ded3be006009168bf
pdf-objstm-decoded PDF /ObjStm 174 0 obj (inflated) 784 bytes