Malicious PDF — malware analysis report

Static analysis result for SHA-256 d28b41d1dad8d7c3…

MALICIOUS

PDF

5.7 KB Created: 2008-09-24 19:47:56 Authoring application: Adobe (via Notepad)
MD5: 7af2bc43ef80fc077dd46d2ea3c88915 SHA-1: ebcc6433259511aacfdeb30fb636b6fb1d51e8dd SHA-256: d28b41d1dad8d7c3b6ff9ada553e30c07c9bb83669273633e316aa65fbbd3999
298 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that exploits known vulnerabilities (CVE-2009-0927 and CVE-2007-5659) in Adobe Reader. The heuristic firings indicate that the JavaScript is obfuscated and uses eval() to execute malicious code. The extracted JavaScript files, particularly 'legacy_pdfkit_stage_000.js', are likely responsible for downloading and executing a secondary payload, as suggested by the ClamAV detection on extracted artifacts. The exact nature of the second-stage payload could not be determined due to obfuscation, but the exploit chain is clear.

Heuristics 8

  • 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: Pdf.Exploit.Agent-35931 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35931
  • 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.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • 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_obj0006_000.js
e283b570fb67be302c65b04a134b5f8e6099392af633e539dc2cb06598d5f4ff
pdf-javascript-stream PDF /JS object 6 at offset 0x12FD 815 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
0c80a507ced1aa91ff9864571f8fd6c6d1dfcf1882eee9a8162c3a3f91de5185
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x16E 4807 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).