Malicious PDF — malware analysis report

Static analysis result for SHA-256 40b53acdc7fe14f8…

MALICIOUS

PDF

13.3 KB
MD5: f6c61f4fddac933047456d2b2f02bde5 SHA-1: 7cecc7dc06813584c7a1b5ceacf9a8a703adba56 SHA-256: 40b53acdc7fe14f860f722e629ea16578a2013f103b3a025af4da59d8581b4c7
186 Risk Score

Malware Insights

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

This PDF file contains obfuscated JavaScript that exploits CVE-2007-5659, a known vulnerability in Adobe Reader. The JavaScript is XOR-encoded and uses String.fromCharCode to deobfuscate itself. The primary function of the script is to download and execute a second-stage payload, indicated by the 'PDF_BINARY_XOR_JS_STAGER' and 'CVE_2007_5659' heuristic firings. The document body is unreadable, but the technical indicators strongly suggest a malicious exploit delivery.

Heuristics 7

  • 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: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • Binary-XOR JavaScript stager high PDF_BINARY_XOR_JS_STAGER
    PDF JavaScript stores viewer-version payload branches as long binary digit strings, XORs each bit pair, converts 8-bit chunks with String.fromCharCode, and evals the recovered exploit stage.
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules. (matched inside decoded stream)
  • 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_obj0049_000.js
bb52fe0ddc5dfcfb2b062e5b545a09fe9ad87199d0fa19d49391679f78c0c007
pdf-javascript-stream PDF /JS object 49 at offset 0xA 78844 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 6 long base64-like blob(s).
binary_xor_stage_000.js
c1d0b40f07e054d1db24581f00b7eeec28d48f6fbe241be1cc149f33d34baa19
deobfuscated-js binary-XOR decoded JavaScript at offset 0x3F8 1318 bytes