Malicious PDF — malware analysis report

Static analysis result for SHA-256 29af520d0f4fe2a8…

MALICIOUS

PDF

118.8 KB
MD5: 2b40158afee888e11611c54bb5d2d10f SHA-1: 7108a77b1ae0c9da52159cf190cfc32f45616dec SHA-256: 29af520d0f4fe2a8bd9d4e864ab4d963d27998d820ae9157fe79e8a4d4d39911
166 Risk Score

Malware Insights

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

The file is a PDF containing embedded JavaScript, as indicated by multiple PDF-specific heuristics including 'PDF_JAVASCRIPT', 'PDF_JS', and 'PDF_EVAL'. The 'PDF_JS_LARGE_COMMENT_PADDED_EVAL' heuristic suggests a stager pattern. ClamAV detection as 'Pdf.Exploit.Agent-36086' further confirms its malicious nature. The JavaScript is likely designed to download and execute a secondary payload, a common technique for initial access.

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
1afcd2f9b6ebfeb90f665ee46376e2621b68e051256ccdfed6b9865a4f686daf
pdf-javascript-stream PDF /JS object 6 at offset 0x143 627315 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
d219847372c35583ef18e89708a87ba8fc83f14c2e87cd2f95b1c429c8944f90
deobfuscated-js double percent-decoded annotation JavaScript at offset 0x143 262144 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 551 long base64-like blob(s).