Malicious PDF — malware analysis report

Static analysis result for SHA-256 0fa720f6c6295ebc…

MALICIOUS

PDF

94.6 KB
MD5: 5a5d623b40729a79a8df4d17c8e7d92d SHA-1: 9d8b94fd0f680e713cc5128d6eaf61605987b7f3 SHA-256: 0fa720f6c6295ebc270a9a1b687e6ca180a74af725bf65ba18e71c0ed56301f1
218 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1566.001 Spearphishing Attachment T1140 Deobfuscate/Decode Files or Information

The PDF file contains obfuscated JavaScript, indicated by the use of String.fromCharCode and eval() calls, which is a common technique for downloading and executing further malicious content. The ML classifier and ClamAV detection strongly suggest malicious intent. The primary script, javascript_obj0005_000.js, appears to be responsible for deobfuscating and likely executing a payload, though the exact URL or payload is obfuscated.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • 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.
  • ClamAV: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • 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.
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser failed: PSEOF. Static heuristics still ran and any of their findings above are valid; only the differential cross-check signal is missing.
  • 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_obj0005_000.js
684f1b72b8bee793c4611d7ab5085022702ef233583b56606ac5c6862335a7f5
pdf-javascript-stream PDF /JS object 5 at offset 0x15A 96277 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
javascript_obj0005_001.js
f8c4af4d127317646eb868e943c3080a693f42bf59381d01ba30ba0814cd76d3
pdf-javascript-stream PDF /JS object 5 at offset 0x15A 66 bytes