Malicious PDF — malware analysis report

Static analysis result for SHA-256 0eb1a5aee1d54ae0…

MALICIOUS

PDF

7.4 KB
MD5: 7907494f7545601d4b4e38f2868beb37 SHA-1: 1ea8f690fc200324b602bad8ec36c6c82512dc32 SHA-256: 0eb1a5aee1d54ae08d591d1abe2b9d31e1f67cd15561a737bf483f43c9c0c723
156 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

The PDF file contains embedded JavaScript that uses String.fromCharCode and eval() to execute obfuscated code. The script decrypts a string using a simple XOR-like operation based on the current second, then evaluates the result. This pattern is indicative of a downloader or exploit loader attempting to execute a second-stage payload, likely leveraging a known PDF vulnerability.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 6

  • PDF JavaScript exploit cluster critical PDF_JS_EXPLOIT_CLUSTER
    PDF combines an executable JavaScript/action surface with exploit staging indicators such as eval/unescape/fromCharCode, XFA script content, or a related CVE pattern. Benign form JavaScript remains low-severity, but this correlated cluster is high-confidence malicious behavior.
  • 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
7edda051d1190f2c6fdb110f7a9ab50e1cc27ab6011739a493818924f4bb5ac6
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 304 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
stream_002_off00001b71.js
4de233354cfdcc63bfac1e0516b56957a589917634b5e4b79214f794ab781517
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x1B71 313 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).