Malicious PDF — malware analysis report

Static analysis result for SHA-256 58bfd8b165d3fc0b…

MALICIOUS

PDF

118.5 KB
MD5: ad1a6596d6e6bc89a78d0b8b03884f46 SHA-1: 1bbed3fb049269f54f2b688fa16cd73c3bddd0d2 SHA-256: 58bfd8b165d3fc0b657d62ff9a894602f6bfc79afa2687e2dfb2c3370090bfbb
166 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/JScript

The PDF contains embedded JavaScript, including a large comment-padded eval stager, which is a common technique for obfuscating malicious code. The presence of `eval()` and `String.fromCharCode` further indicates code execution. ClamAV detection as 'Pdf.Exploit.Agent-36086' strongly suggests exploitation. The primary attack pattern involves leveraging JavaScript to achieve arbitrary code execution within the context of the PDF viewer.

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