Malicious PDF — malware analysis report

Static analysis result for SHA-256 d9dd457693372451…

MALICIOUS

PDF

12.5 KB
MD5: de067b65ca6f42f4210595bbd17ef73c SHA-1: 525a7d2683bfcd268871f1cfc74772f1465e7add SHA-256: d9dd4576933724510c0b2dfc2840455936c287dc438eb8fefe10bbb07eff2c28
138 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that exploits the CVE-2007-5659 vulnerability, specifically targeting the Collab.collectEmailInfo function. This exploit is designed to execute arbitrary JavaScript, which in this case is further obfuscated and split into multiple files (legacy_pdfkit_stage_000.js, legacy_pdfkit_stage_001.js). The primary function of this script appears to be downloading and executing a second-stage payload, as indicated by the heuristic firings and the nature of the exploit.

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
5bc80a1960bdd9d5044a6941956ddbd962db82bc6eb671cfaf3162838ccae60b
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F5 12234 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
4098b377b740dabbbfe8f13fe0fb72009d3ee41667725c6038833a1cde8e61ed
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F5 5019 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).