Malicious PDF — malware analysis report

Static analysis result for SHA-256 aa7d0f42ebf4faf3…

MALICIOUS

PDF

12.2 KB
MD5: fbd2f46e00b4e8035b914adf94ea2773 SHA-1: 65df5b3aa43ee1b8e3d5d931696e3d2f7c3b1fe2 SHA-256: aa7d0f42ebf4faf3b034443538d23365cf243a0e1bafbe9baef5808a6127c325
146 Risk Score

Malware Insights

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

The critical heuristic CVE_2007_5659 indicates the exploitation of a known PDF vulnerability using JavaScript. The embedded JavaScript streams, particularly 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js', are highly suggestive of a downloader or exploit loader. The ClamAV detection further confirms the malicious nature of the file. The primary attack vector appears to be the exploitation of CVE-2007-5659 to execute arbitrary JavaScript, which is then used to download and execute further malicious content.

Heuristics 6

  • 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-36079 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36079
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
ef8bdac794684ae9cd4eb7091d80e1c5ca478c06c639d72d01626c1f7ce78b6d
pdf-javascript-stream PDF /JS object 7 at offset 0x19C 578 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
9216aa44941a64bf6667a5c118d34ddc79a40a363eab763c10d0f1a00e501da6
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x36F 12671 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
95e30a5630179efc2b9c13a3cf6e15a79162232f6a06e481f407d055c80df7c6
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x36F 5209 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).