Malicious PDF — malware analysis report

Static analysis result for SHA-256 a5ef1dfcb3c4bb44…

MALICIOUS

PDF

8.1 KB
MD5: b81285ceca9dd0576fe08ede636dbe6f SHA-1: ce48444887af11aee0088f32bac928b66574c0aa SHA-256: a5ef1dfcb3c4bb4454388356b08759f9064589bcfba44b3255637a6253f36d3d
166 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF contains obfuscated JavaScript, indicated by multiple heuristic firings including 'PDF_JS_OBFUSCATED_DROPPER' and 'PDF_UNESCAPE'. The embedded JavaScript is designed to act as a dropper, likely downloading and executing a second-stage payload. The ClamAV detection 'Pdf.Exploit.Agent-36086' further confirms its malicious nature. The presence of JavaScript actions and embedded JS streams points to MITRE ATT&CK technique T1059.005 (Visual Basic) and potentially T1059.001 (PowerShell) if the script executes shell commands.

Heuristics 7

  • ClamAV: Pdf.Exploit.Agent-36086 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36086
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • Obfuscated multi-stage PDF JavaScript dropper high PDF_JS_OBFUSCATED_DROPPER
    PDF JavaScript shows 3 independent signals of exploit-kit-style multi-stage obfuscation: annot_subject_stage, incremental_eval_build, repeated_pluginschk. This is strongly consistent with pre-2011 Adobe Reader PDF droppers — OpenAction JS reads encoded data from annotation subjects, decodes it through one or more hex / base-N loops, and invokes eval indirectly (method name built one character at a time). The actual CVE is hidden in the final decoded layer and is not visible via static analysis.
  • 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.
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (matched in decompressed 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
f9b4659beaf681d266cfb5046d495e7b144d406eff72e71ecd4d1451ae25ca11
pdf-javascript-stream PDF /JS object 6 at offset 0x143 481 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
56e16c2e17fcfcfc773a87346cbfca0cae3d2fd84293512378a4d5dd22c4d508
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1AE2 1864 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
deobfuscated.js
bc90b864985100bcb4cf1770d4cbe029ff46af5e20945a8e30a7df92fe9faa11
deobfuscated-js PDF JavaScript deobfuscation pass 24718 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 2 long base64-like blob(s).