Malicious PDF — malware analysis report

Static analysis result for SHA-256 dfbfa1a39d00261a…

MALICIOUS

PDF

118.5 KB
MD5: f4e188d077b1caf43a21accd9084368c SHA-1: 5ae59e990c28a17a1e9cf850153520431ab1a2a1 SHA-256: dfbfa1a39d00261a9b2a16bd26b04e472e32cf3dd27a6046ddcd3b4ef68760e4
196 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript that utilizes eval() and String.fromCharCode, indicating an attempt to obfuscate malicious code. Heuristics suggest this JavaScript is a stager designed to download and execute a secondary payload. The ML classifier and ClamAV detection strongly support a malicious classification, with ClamAV identifying it as 'Pdf.Exploit.Agent-36086'. The primary attack vector appears to be exploiting PDF vulnerabilities to achieve remote code execution.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

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