Malicious PDF — malware analysis report

Static analysis result for SHA-256 963b73af563940ed…

MALICIOUS

PDF

3.4 KB Created: 2008-31-20 53:85:00 Authoring application: Scribus 1.3.3.12 (via Scribus PDF Library 1.3.3.12)
MD5: 6462bbf31cb159aa0e3d80cf11ad5049 SHA-1: 4fca56eecb9a43fdc4574d0b045626cfc7948957 SHA-256: 963b73af563940eda38ce12e18fcaa6125e50e32cedf69ef33aed55fb56ffe47
396 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/Script Execution T1204.002 Malicious File T1071.001 Web Protocols

This PDF file contains embedded JavaScript that is triggered by the OpenAction. Critical heuristics indicate exploitation of CVE-2007-5659 and CVE-2008-2992, likely to execute obfuscated JavaScript. This script is designed to download and execute a second-stage payload, as indicated by ClamAV detections of Pdf.Dropper.Agent-7284464-0 and Win.Trojan.Agent-36167 on extracted artifacts. The primary attack vector is the exploitation of PDF reader vulnerabilities.

Heuristics 10

  • 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.Dropper.Agent-7284464-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7284464-0
  • 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.
  • OpenAction trigger high PDF_OPENACTION
    PDF has an /OpenAction — code runs automatically when opened
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • Suspicious extracted artifact high 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.
  • String.fromCharCode medium PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically (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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0013_001.js
172e2da4c761f9ffd2db9e9e970f4b921343ad1590ced4be698e0f008dfa222a
pdf-javascript-stream PDF /JS object 13 at offset 0x3D7 10908 bytes
Detection
ClamAV: Win.Trojan.Agent-36167
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s).
numeric_charcode_stage_000.js
cd28a1d4abff28b17e97bddf914955abc4328785a7bd6307bf438b8f413e71a2
deobfuscated-js numeric char-code string decoded JavaScript at offset 0x43B 3156 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).