Malicious PDF — malware analysis report

Static analysis result for SHA-256 b9c9af6540c15fa2…

MALICIOUS

PDF

5.9 KB Created: 2008-09-24 19:47:56 Authoring application: Adobe
MD5: da986c121a8c4302c56458fef4031663 SHA-1: 528925f695d36797064c4b55f2a823a0680a6001 SHA-256: b9c9af6540c15fa2f1cc96bca81ac5505d61fc0b23daa4aed026297c46a0dcad
198 Risk Score

Malware Insights

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

The sample is a PDF file that leverages JavaScript embedded within its structure to exploit known vulnerabilities, specifically CVE-2009-0927 (Collab.getIcon) and CVE-2007-5659 (Collab.collectEmailInfo). The embedded JavaScript, identified as 'legacy_pdfkit_stage_000.js' after deobfuscation, is detected by ClamAV as 'Js.Exploit.Shellcode-18'. This script is designed to download and execute a second-stage payload, indicating a downloader or dropper functionality.

Heuristics 6

  • 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)
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • 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_obj0006_000.js
3e1c40173d1e4b9a42b1ce95293cd16c170cf7744d329bd822100c3ce4fa68d6
pdf-javascript-stream PDF /JS object 6 at offset 0x1398 136 bytes
javascript_obj0016_001.js
68b33b2b195535e52291614668006266f3ad4bbeb53c7b23f90bb79fcbd3ba4a
pdf-javascript-stream PDF /JS object 16 at offset 0x1466 170 bytes
legacy_pdfkit_stage_000.js
795465b53ac000e4b785dd64bb6c6a1c42f217e36acd2e56cf3ad199c830abbc
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1E7 4841 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 9 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).