Malicious PDF / .PHP — malware analysis report

Static analysis result for SHA-256 d319e1c788138cc9…

MALICIOUS

PDF / .PHP

298.8 KB
MD5: f415606012b04812813de615ed804b7e SHA-1: f34bbfb7653da5f733fbec6c4b1ee0a5ef53d7c6 SHA-256: d319e1c788138cc939ae9194c7cec562f6e9286c3af53537d6fcd7e1c4781888
318 Risk Score

Malware Insights

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

The sample is a PDF file that leverages multiple critical vulnerabilities (CVE-2009-0927, CVE-2007-5659, CVE-2008-2992) by embedding and executing JavaScript. The embedded JavaScript, particularly the deobfuscated 'legacy_pdfkit_stage_000.js', is designed to download and execute a second-stage payload. ClamAV detections further confirm the malicious nature of the file and its extracted artifacts.

Heuristics 7

  • Collab.getIcon — CVE-2009-0927 critical CVE exact CVE_2009_0927
    PDF JavaScript calls Collab.getIcon — CVE-2009-0927 is a stack buffer overflow in Adobe Reader triggered by Collab.getIcon() with a crafted argument. Allows arbitrary code execution. (identified after JavaScript deobfuscation)
  • 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)
  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • ClamAV: Pdf.Exploit.Agent-36307 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36307
  • JavaScript action low 1 related finding 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
456952646bf3c6d673b031a2d13321571c34981cf12b09fd655af58819721f62
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 3462 bytes
Detection
ClamAV: Pdf.Exploit.Agent-36307
Obfuscation or payload: unlikely
legacy_pdfkit_stage_000.js
fa8ca63f1008d1a9307e3e4530756aa3a270c19f07d564d0d477f69f73726bec
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0xFA1 20111 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s).