Malicious PDF — malware analysis report

Static analysis result for SHA-256 ad58387d40f0fa41…

MALICIOUS

PDF

12.4 KB
MD5: fac73fb2274aaaebcac4ab8c80924032 SHA-1: 0d02904ad55e036879274e2170fb0f9114219034 SHA-256: ad58387d40f0fa41a734f062b160742bdf06217ba2686e320bd9681e24582384
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 'PDF_JAVASCRIPT' and 'PDF_JS'. A critical heuristic, 'CVE_2007_5659', specifically points to the exploitation of the Collab.collectEmailInfo function to execute JavaScript. This JavaScript is likely used to download and execute a second-stage payload, as indicated by the extracted files 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js'. The ClamAV detection further confirms the malicious nature of the file.

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-36062 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36062
  • 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
068944f8c011a88ab770b45c6de142b9305a1f515d410204d5eadd9ac2b5bfb3
pdf-javascript-stream PDF /JS object 7 at offset 0x19B 373 bytes
legacy_pdfkit_stage_000.js
419d7b46df7ecf71322190271dbf5d3f0ba62ca2f19f0b6f4e3919f9bc5449a2
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F5 12049 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
25c6c243d0ed86193fabd110b6c3ccdf5b3cc12b6e78d391fd00be6b09b198ce
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F5 4962 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).