Malicious PDF — malware analysis report

Static analysis result for SHA-256 40ed1fe77df35178…

MALICIOUS

PDF

11.9 KB
MD5: b181ddd7c6e226f8c94a79b65fa9fb4a SHA-1: ef34a076567b05a063f1e2b9c99e3e92288cfa67 SHA-256: 40ed1fe77df351783185a0bc099aba135dd07ec570bf6b39d5a128059b3a1c0c
138 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript 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 use of 'collab.collectEmailInfo' to execute JavaScript. This JavaScript is likely used to download and execute a second-stage payload, as indicated by the suspicious 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-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
6f4529a5e96a6e4ad9ce036978dec78176f5ca01d146ff9fb51db94e5a399214
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 12174 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
e6410a404b0f2b0d74f7a7283b75ba6d44d1368a0c8ef4e461ae0bc7b0c49b1e
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x315 5001 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).