Malicious PDF — malware analysis report

Static analysis result for SHA-256 583f94ba88af4e6b…

MALICIOUS

PDF

5.8 KB Created: 2008-09-24 19:47:56 Authoring application: Adobe (via Notepad)
MD5: eb227f07e3cee742fb446f26c4a8cc55 SHA-1: 46bd4c34c42af9cd215f9d1c649cffaf7f3d7e7d SHA-256: 583f94ba88af4e6bcb2712789d0fdfaf8c78ce52af2ecf9db7155da5cf6ee3f9
358 Risk Score

Malware Insights

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

The PDF file contains multiple critical heuristic firings indicating exploitation of CVE-2009-0927, CVE-2007-5659, and CVE-2008-2992 through embedded JavaScript. The embedded JavaScript streams, particularly 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js', were deobfuscated and contain exploit code. ClamAV detections further confirm the malicious nature of the file and its extracted artifacts. The primary attack vector appears to be leveraging these specific PDF vulnerabilities to execute arbitrary code.

Heuristics 9

  • 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-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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0006_000.js
1b7c6f74801329359c8fc9bf99c5575198be61b3755cc862ca45ba23a69527f1
pdf-javascript-stream PDF /JS object 6 at offset 0x1346 981 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
6ef17017230ed0f102572041f49b39c4733092b95068f33613149a6134359b50
deobfuscated-js metadata placeholder percent-decoded JavaScript at offset 0x16E 4899 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).
legacy_pdfkit_stage_001.js
afa199bf86a0e14d1c6041305b62de2dc7af68deba576d4f02b8ed30a6b08b33
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x16E 4895 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).