Malicious PDF — malware analysis report

Static analysis result for SHA-256 8a4446fa7c951a27…

MALICIOUS

PDF

2.2 KB
MD5: c8afaea19b2bd59a9862e5f436fa5986 SHA-1: ae25a332d22a485f9a5ff213915167f2708e149e SHA-256: 8a4446fa7c951a2753a7346dadb0e98ff4bd684de24928bc261b9df7e7396dd7
166 Risk Score

Malware Insights

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

The PDF contains embedded JavaScript, indicated by the PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream utilizes eval() and unescape() functions, along with String.fromCharCode, suggesting obfuscation to hide malicious code. The ClamAV detection of 'Pdf.Exploit.Agent-36098' and the presence of extracted JavaScript files ('javascript_obj111611_000.js', 'legacy_pdfkit_stage_000.js') strongly suggest that the script's purpose is to download and execute a second-stage payload. The obfuscated nature of the script and the lack of specific indicators prevent a more precise family attribution.

Heuristics 7

  • ClamAV: Pdf.Exploit.Agent-36098 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36098
  • 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.
  • 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_obj111611_000.js
e1ab3bbf30605cecdce6db9d2556198626dbb178f7a4cb471a9436bb6e8bd92f
pdf-javascript-stream PDF /JS object 111611 at offset 0x799 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
9b10df87e3dc2cdf13152d3df81a0c1b71df6f9013f16444fd1dcce13418c8e9
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x189 2828 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 3 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).