Malicious PDF — malware analysis report

Static analysis result for SHA-256 40feb170b7f059a0…

MALICIOUS

PDF

5.8 KB Created: 2009-01-35 62:12:26 Authoring application: Adobe
MD5: 474158dd36c4df7546f6dbbfd8bd10e7 SHA-1: ec1a5acff6c801574b5232013b71cfd459031316 SHA-256: 40feb170b7f059a0f7ef660bcbdd668389af9e28473e9902f176725fc6826dc5
338 Risk Score

Malware Insights

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

This PDF document contains embedded JavaScript that leverages multiple critical vulnerabilities (CVE-2009-4324, CVE-2009-0927, CVE-2007-5659) to execute code. The JavaScript uses eval() and unescape() functions, indicating obfuscation and a likely attempt to download and execute a secondary payload, as suggested by the ClamAV detection of 'Js.Exploit.Shellcode-18'. The extracted 'legacy_pdfkit_stage_000.js' file is large and likely contains the malicious logic.

Heuristics 9

  • media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324
    PDF JavaScript calls media.newPlayer — CVE-2009-4324 is a use-after-free in Adobe Reader's multimedia plugin triggered by media.newPlayer(). Actively exploited as a zero-day in December 2009. (identified after JavaScript deobfuscation)
  • 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.
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (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 6

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0032_000.js
ccf9b35630460caa20b5e67aba6a9caa7f640cfe105569057117d6ee1932a458
pdf-javascript-stream PDF /JS object 32 at offset 0x3EB 186 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
javascript_obj0034_001.js
5edb071aaac4b7d9540d433696615b21f32987806c71fafed09765c9ee87d7a8
pdf-javascript-stream PDF /JS object 34 at offset 0x4DA 134 bytes
javascript_obj0036_002.js
9846fab6244ac40fb775f742829cff45a05ff956003c4414d16dcc353702ca2f
pdf-javascript-stream PDF /JS object 36 at offset 0xF7 140 bytes
javascript_obj0038_003.js
a6e78788f334d45802cddd08ed908da57c60b6b427e1519a7fe7117bcaf701f3
pdf-javascript-stream PDF /JS object 38 at offset 0x1423 180 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
javascript_obj0078_004.js
6b1ac6e219f5a584a011d9a1be08bcfd071c7748b83c20e93fe560c489eb01d2
pdf-javascript-stream PDF /JS object 78 at offset 0x73 48 bytes
legacy_pdfkit_stage_000.js
d63784f082e9abadc5b287ba7c481d7e10e9dc0da883c19dc1c74f3ad5a7c680
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x5C6 6411 bytes
Detection
ClamAV: Js.Exploit.Shellcode-18
Obfuscation or payload: likely
Carved artifact contains 12 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).