Malicious PDF — malware analysis report

Static analysis result for SHA-256 40cf985282cff43d…

MALICIOUS

PDF

12.8 KB
MD5: cbec28e7c4838691d220dd9f705ffcd8 SHA-1: 309e117b131ef9616812d0e0bfe230a1cb8acc27 SHA-256: 40cf985282cff43dca54b295552b4a9e3c882a9a168d25a594acd049a5c333c6
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 and ClamAV detection as Pdf.Exploit.Agent-36062. Specifically, the CVE-2007-5659 heuristic indicates the exploitation of a vulnerability using JavaScript that is obfuscated and concatenated. The extracted JavaScript files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, are likely responsible for downloading and executing a secondary payload, a common technique for initial access.

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