Malicious PDF — malware analysis report

Static analysis result for SHA-256 2baaa14d5db6bf96…

MALICIOUS

PDF

7.9 KB
MD5: a6cd1493ef17d4537066aa5d1b9e1790 SHA-1: 1da54c5294e0a7e3607d22641f87031631f4e7e9 SHA-256: 2baaa14d5db6bf961e5ac85a5bd285849bd21cc987cf85e456edb9429fac2c58
214 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 Command and Scripting Interpreter: PowerShell T1204.002 Malicious File: Malicious File

The PDF contains embedded JavaScript, indicated by PDF_JAVASCRIPT and PDF_JS heuristics. The presence of PDF_EVAL and PDF_UNESCAPE suggests the JavaScript is obfuscated and designed to execute arbitrary code. The ClamAV detection 'Pdf.Exploit.Agent-36098' strongly suggests this is a known PDF exploit. The embedded JavaScript is likely responsible for downloading and executing a second-stage payload, a common technique for initial access.

Heuristics 9

  • ClamAV: Pdf.Exploit.Agent-36098 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36098
  • RichMedia (Flash) high PDF_RICHMEDIA
    PDF contains /RichMedia (Adobe Flash) which is a historic exploit vector
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (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.
  • Embedded file low PDF_EMBEDDED
    PDF embeds a file attachment — could carry an executable or another weaponised document as a nested payload
  • 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
e1ab3bbf30605cecdce6db9d2556198626dbb178f7a4cb471a9436bb6e8bd92f
pdf-javascript-stream PDF /JS object 6 at offset 0x82E 462 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
94b132346f56f10485657a27bb2cf5e0483d8e0467e975b7c55f6683c6a8f047
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x64 3470 bytes