Malicious PDF — malware analysis report

Static analysis result for SHA-256 797a0bb61a79c075…

MALICIOUS

PDF

8.3 KB
MD5: 0239b9aef3279581deab280dda5ab482 SHA-1: 19e020379671cf1adebfa6705baa119ea3aadcea SHA-256: 797a0bb61a79c075ed60c8bf30784c831a2c225df1b578ee5daf9e74b1f079fe
158 Risk Score

Malware Insights

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

The PDF sample contains obfuscated JavaScript that utilizes eval() and String.fromCharCode(), indicating an attempt to execute malicious code. The ML classifier also flagged this PDF as malicious. The JavaScript is likely responsible for downloading and executing a second-stage payload, a common technique for initial compromise via malicious documents.

Machine Learning

  • Nyx PDF Classifier malicious score 0.8836

Heuristics 7

  • 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. (matched inside decoded stream)
  • 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/xap/1.0/
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/pdf/1.3/

Extracted artifacts 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
stream_002_off0000032a.bin
2a0c4de0e4cda35a63549b8c6b08c23faf61299c9f8edf9966ecfbc1b27d1ae2
decompressed-pdf-stream PDF FlateDecoded stream at offset 0x32A 3194 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
stream_003_off00000b7e.js
2d0e1efdfa6110385aac29417e1a9d65e8e7ccab9271cd5a5863752fe736691a
decompressed-pdf-stream PDF FlateDecoded stream at offset 0xB7E 372 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
objstm_0025_00.bin
970bcf7095d4e0aca365dd316a6ef53b599d74b643b534953917cdf6a5731bc7
pdf-objstm-decoded PDF /ObjStm 25 0 obj (inflated) 375 bytes