Malicious PDF — malware analysis report

Static analysis result for SHA-256 3b5dbf38b44d6403…

MALICIOUS

PDF

11.9 KB
MD5: cfcd74751281a9706f99048e3c12f716 SHA-1: 210284883374d20dacc1f9ae4f340e3377be79ba SHA-256: 3b5dbf38b44d64035169ca055b10e32ab83078c6fa03e1ba11bf2f05d231ae40
138 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript, identified by the PDF_JAVASCRIPT and PDF_JS heuristics. The critical CVE_2007_5659 heuristic indicates the exploitation of a known vulnerability (Collab.collectEmailInfo) to execute this JavaScript. The extracted JavaScript files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, suggest a multi-stage process typical of exploit kits. The primary function of the embedded script is to leverage the CVE-2007-5659 vulnerability to download and execute 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
df1c3e8f9523564b86607c5c625b230a05795d242fe79556fa53090ffd9e04a9
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 12302 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
640adacc8037d73406feb83b309e4e5cfb0d93209c1c89145f592a38964c40fd
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 5075 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).