Malicious PDF — malware analysis report

Static analysis result for SHA-256 eb39c237376360a8…

MALICIOUS

PDF

11.8 KB
MD5: c41e74dc08a7b7e1c2f5e019288e3b04 SHA-1: 103174e43f60aab0ed6635d594fceb1017638a93 SHA-256: eb39c237376360a8c5bcb5fe107f8d4d63b4ff7735c76d8fcf421eaa4a97e71d
138 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, identified by multiple heuristics including CVE-2007-5659, which is known to exploit vulnerabilities in PDF viewers. The embedded JavaScript streams, specifically 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js', are indicative of a multi-stage exploit. The ClamAV detection 'Pdf.Exploit.Agent-36065' further confirms its malicious nature. The primary attack vector appears to be leveraging the 'Collab.collectEmailInfo' JavaScript function to execute arbitrary code.

Heuristics 5

  • 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-36065 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36065
  • 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.
  • 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
9c67560e8c63b720885d3efc1627b844b86a6ec08e99e5b65a22eae832045756
pdf-javascript-stream PDF /JS object 7 at offset 0x19C 431 bytes
legacy_pdfkit_stage_000.js
b3a7d3cf2d0746678f3398481f200de586aa09c7e1e581da0d15888466e0ba69
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 12124 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
b5b1d47c2f1e33c3e0bd596c2c19ba979ac20c7a38fee7e435c0bdaad7355f1d
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 4961 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).