Malicious PDF — malware analysis report

Static analysis result for SHA-256 b23cbe936529abea…

MALICIOUS

PDF

12.0 KB
MD5: d8bf8e814738bba19e4112322e2f1c1a SHA-1: 8991cdc1f8593d41c282101204f0483387f7e3a4 SHA-256: b23cbe936529abea6cb040da616088cbbaf3b5dc6d055fdc9bb50bbd3bd84f71
138 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript, specifically triggering the CVE-2007-5659 vulnerability via the Collab.collectEmailInfo method. This JavaScript is further deobfuscated into two separate files, 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js'. The presence of these deobfuscated JavaScript files and the critical heuristic firings indicate that the primary function of this PDF is to exploit a known vulnerability to execute arbitrary code, likely for downloading and running a secondary payload.

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
25fed6ef8e3d15e0655b6711518df7e67eb16aef0562ec401d104fd159e6f682
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 12203 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
2dbca4ab022f02b592145d2e730652072e3e00d5edb64fc14251fa19e6ec1457
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 5058 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).