Malicious PDF — malware analysis report

Static analysis result for SHA-256 b7bec9162f3edcbb…

MALICIOUS

PDF

118.7 KB
MD5: af6212235b1635cedb8364f23ccb97a3 SHA-1: 8ea9dee6984815cac3fb212621367fd6c46e5eeb SHA-256: b7bec9162f3edcbbe9bc21240bf85f79531c6022bcc2bc924a8dbfee24d81e6d
166 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript T1566.002 Spearphishing Attachment

The PDF contains embedded JavaScript, including calls to eval() and String.fromCharCode, which are indicative of obfuscated malicious code. The heuristic 'PDF_JS_LARGE_COMMENT_PADDED_EVAL' specifically points to a stager pattern. ClamAV detection as 'Pdf.Exploit.Agent-36086' further confirms its malicious nature. The primary attack pattern is likely the exploitation of a PDF vulnerability to achieve code execution.

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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
6dd64e698ec98ef47c17f04e9711c3be4a3b2d400ef15c312e1167fbe1c6221e
pdf-javascript-stream PDF /JS object 6 at offset 0x143 627302 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).