Malicious PDF — malware analysis report

Static analysis result for SHA-256 a5d1a0ca1bc4a3b1…

MALICIOUS

PDF

12.2 KB
MD5: 0b5574d3a5c4d77db8ea9d53a3ea8e90 SHA-1: 9a765494c0568b3cf9a66d93257dc1bf0de12573 SHA-256: a5d1a0ca1bc4a3b1e7dbe3c953aa4c67f0a3acc5a17ce0168fbcac312bb9c6c2
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 CVE-2007-5659, which is known to be used for exploiting PDF vulnerabilities. The deobfuscated JavaScript files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, were extracted and indicate the execution of malicious code. The ClamAV detection further confirms the malicious nature of the file. The exact payload or ultimate goal is not fully discernible from the provided evidence, but the exploit chain is clear.

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