Malicious PDF — malware analysis report

Static analysis result for SHA-256 bf06a317d201e77b…

MALICIOUS

PDF

15.8 KB
MD5: da76f349040dd26b1fcf742e68f517a3 SHA-1: 45a548fb5f34b99f8e897d9fc535d538769bc7ce SHA-256: bf06a317d201e77b734c113e1349204c4ce38013e5fbbd9f093c7bc0494491b0
96 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1105 Ingress Tool Transfer

The PDF file contains embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream includes an eval() call and uses String.fromCharCode, suggesting obfuscation. The ML classifier strongly flags this PDF as malicious. The primary function of the embedded JavaScript appears to be downloading and executing a second-stage payload, as evidenced by the obfuscated script content and the presence of extracted JavaScript files. The exact download URL or execution method could not be definitively determined due to obfuscation, leading to a slightly reduced confidence.

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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
3466f95e43fe9ecfcd001f9bdc017274b71eb8f56c33ff810dabe91bead7d6fa
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 314 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
254274f0c721f4306309c4c5d31a2df2c7b9702538d6f0044c860c73c210d7dd
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1A5F 12578 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).