Malicious PDF — malware analysis report

Static analysis result for SHA-256 40cc967d32a8c9f4…

MALICIOUS

PDF

118.5 KB
MD5: ae571cef14c8f2cbbdc8ddd97d06282a SHA-1: 0e8d5cc2b2bc082c5faac5bcf0c4fe91893ef84b SHA-256: 40cc967d32a8c9f49ae7b2c2b5c25f0b76991b13105822f520c532008db30071
166 Risk Score

Malware Insights

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

The PDF contains embedded JavaScript, including calls to eval() and String.fromCharCode, indicating an attempt to obfuscate malicious code. Heuristics indicate a large comment-padded JavaScript eval stager, and ClamAV detected it as Pdf.Exploit.Agent-36086. The primary function of the embedded JavaScript appears to be downloading and executing a second-stage payload, as suggested by the presence of large JS streams and the 'eval stager' heuristic.

Heuristics 7

  • ClamAV: Pdf.Exploit.Agent-36086 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36086
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • Large comment-padded JavaScript eval stager high PDF_JS_LARGE_COMMENT_PADDED_EVAL
    PDF JavaScript contains a very large stream padded with long random-looking block comments around String.fromCharCode and eval. This is an exploit-kit obfuscation shape used to bury a decoder and recovered stage inside noise, not normal PDF form automation.
  • 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_obj0006_000.js
fe22c37abb436121cdce0b0346a1522d4983c21c3e65828f7da1a1ebac1a26c8
pdf-javascript-stream PDF /JS object 6 at offset 0x143 626586 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 42 long base64-like blob(s).
legacy_pdfkit_stage_000.js
b5f496db7be98df7680e4f41375a2b87467d4815c0acf5a0919bce5b1e23eae1
deobfuscated-js double percent-decoded annotation JavaScript at offset 0x143 262116 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 632 long base64-like blob(s).