Malicious PDF — malware analysis report

Static analysis result for SHA-256 bca78c9f513449f9…

MALICIOUS

PDF

2.2 KB
MD5: a59aa5828c0972b978e81353adcd6e32 SHA-1: 14a61762af664379e337fe5e14d6ef49a34681e5 SHA-256: bca78c9f513449f91e469a16d0d110fea0d5cac2e2d3eba36d3ae70a627e4c8d
196 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1566.002 Spearphishing Attachment

This PDF file was flagged as malicious by ClamAV (Pdf.Exploit.Agent-36082) and a machine learning classifier. It contains embedded JavaScript with multiple obfuscation techniques, including eval(), unescape(), and String.fromCharCode(). The JavaScript is designed to execute arbitrary code, likely downloading and running a second-stage payload. The presence of JavaScript actions and streams within the PDF structure strongly indicates an exploit attempt.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 7

  • ClamAV: Pdf.Exploit.Agent-36082 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36082
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (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_obj111611_000.js
772da696bdb365f3f1eb4ea6af881baad391be62f3591b19f2f9827fcc4c9b53
pdf-javascript-stream PDF /JS object 111611 at offset 0x7DE 479 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
078c189d680f4c870d66d0ca9520aec1e288f7d305846882e8d3a9d577cfce30
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x189 2828 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).