Malicious PDF — malware analysis report

Static analysis result for SHA-256 322ae91c6ddb2856…

MALICIOUS

PDF

11.9 KB
MD5: 08e377c95f1f18669e10f0120f13fbe7 SHA-1: fe23d8caf82051425d0a0af71494f0dbb7e7c283 SHA-256: 322ae91c6ddb2856fa1fd8acdb874526f0dd55f93accbde03dfce75ce9930b6c
186 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/JScript T1204.002 Malicious File

The PDF file contains embedded JavaScript, specifically identified as a stager using hex encoding and the `String.fromCharCode` method. The critical heuristic `CVE_2007_5659` indicates exploitation of a known vulnerability related to `Collab.collectEmailInfo` within PDF documents. This suggests the primary function of the embedded script is to download and execute a second-stage payload. The ClamAV detection further confirms its malicious nature.

Heuristics 7

  • Collab.collectEmailInfo — CVE-2007-5659 critical CVE exact CVE_2007_5659
    PDF JavaScript calls Collab.collectEmailInfo — CVE-2007-5659 is a buffer overflow in Adobe Reader triggered by a long argument or heap-sprayed message field passed to Collab.collectEmailInfo(). Part of a series of Acrobat JS API exploits. (identified after JavaScript deobfuscation)
  • ClamAV: Pdf.Exploit.Agent-36088 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36088
  • Annotation subject callee-key hex JavaScript stager high PDF_ANNOT_SUBJECT_CALLEE_HEX_STAGER
    PDF JavaScript uses syncAnnotScan()/getAnnots() to read an indirect annotation /Subject stream, percent-decodes it through marker replacement, then uses a callee.toString()-derived key to decode and eval the final exploit stage.
  • 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_obj0007_000.js
9fd87306e37a04c361ea1b68a1cf4474b7a018e2270929a8c382cd129d8fc406
pdf-javascript-stream PDF /JS object 7 at offset 0x19C 566 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
annotation_subject_callee_hex_stage_000.js
9e5f63d774d1fd7e63ee6a92276d9bc2b1a7f94dd5074c542e40fd861a9c5183
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x14A 5173 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).