Malicious PDF — malware analysis report

Static analysis result for SHA-256 4775c5075a8d5099…

MALICIOUS

PDF

229.0 KB
MD5: d0eeb9b57bf488f1c74fb6bf95b6c23d SHA-1: 0083576e991fbeef6f464c10bab124b71e7d380d SHA-256: 4775c5075a8d509939c3b962ab68ed4ccfee4060f8bf3d2b4bcc9d39711c7980
258 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link

The PDF file contains embedded JavaScript that leverages multiple critical vulnerabilities including CVE-2009-0927 (Collab.getIcon), CVE-2007-5659 (Collab.collectEmailInfo), and CVE-2008-2992 (util.printf). The embedded JavaScript is obfuscated and detected by ClamAV as Js.Exploit.Shellcode-18. The primary function of the script appears to be downloading and executing a second-stage payload, as indicated by the 'legacy_pdfkit_stage_000.js' artifact. The reconstructed string 'r' + 'ea' + 'pl' + 'ac' from the DOC BODY suggests a potential attempt to construct a command or URL, though it is incomplete.

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 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0008_000.js
ba161ec9a20d2a4078a8fb1215eff688a0dd376800973aefc66ab84b6c7e876e
pdf-javascript-stream PDF /JS object 8 at offset 0x1E7 3399 bytes
legacy_pdfkit_stage_000.js
ddb087e04008703cb10faaa44a366305828ed18a6ce0cdd166a707209183b1d0
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0xF62 10967 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 11 eval/decoder/string-building token(s).