Malicious PDF — malware analysis report

Static analysis result for SHA-256 af5af4ad6f072cd4…

MALICIOUS

PDF

3.5 KB Created: 2009-04-02 14:05:45 Authoring application: Scribus 1.3.3.12 (via Scribus PDF Library 1.3.3.12)
MD5: 969c4e83338aef06259a8c282117785c SHA-1: 7e662596ab822bff2df33de23ee0c59fbc94f0ba SHA-256: af5af4ad6f072cd4fed0b3a51b969b092c9e12f2e960d353860195ebbb3db420
186 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 heuristic firings including 'PDF_JAVASCRIPT' and 'PDF_JS'. The presence of 'PDF_EVAL' and 'PDF_FROMCHARCODE' suggests the JavaScript is obfuscated and likely malicious. ClamAV detection as 'Pdf.Exploit.Agent-35547' further confirms its malicious nature. The extracted JavaScript, particularly 'deobfuscated.js', is expected to contain code for downloading and executing a secondary payload, which is a common attack pattern for PDF exploits.

Heuristics 7

  • ClamAV: Pdf.Exploit.Agent-35547 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35547
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (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_obj0013_000.js
ac169e7fb3d8e13a6820cfd711b800cd0d21efb456bfc05d3b05a3f04402df0d
pdf-javascript-stream PDF /JS object 13 at offset 0x3CE 7152 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35547
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
deobfuscated.js
cce175f220e06e52837e01530e6272ef00f2570f2576a14afedc4cca5c82f659
deobfuscated-js PDF JavaScript deobfuscation pass 16167 bytes
Detection
ClamAV: Pdf.Exploit.Agent-35547
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s). Carved artifact contains 2 long base64-like blob(s).