Malicious PDF — malware analysis report

Static analysis result for SHA-256 ba67707cbb36b78d…

MALICIOUS

PDF

4.1 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: dfb24351002d9d79cbe610b62ef6e767 SHA-1: 93a339832c79e73ef7bed91a2e3c7024ad1c5a43 SHA-256: ba67707cbb36b78d28968eea4bb133b6f6bc1be98cc5ac4ac3eb64895763f74d
98 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

This PDF file contains embedded JavaScript, indicated by the PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream utilizes String.fromCharCode and an eval() call, suggesting obfuscation and dynamic code execution. The ML classifier also flagged this PDF as malicious with high confidence. The primary intent appears to be downloading and executing a second-stage payload, as evidenced by the embedded JavaScript artifact.

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.
  • 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_obj0001_000.js
b5aa8107ab707c426410d6d893f05a20c8272f53036a29e64f63dbc1819fc7a8
pdf-javascript-stream PDF /JS object 1 at offset 0xA 911 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).