Malicious PDF — malware analysis report

Static analysis result for SHA-256 cfa4b2ba3aea9b16…

MALICIOUS

PDF

9.3 KB
MD5: 2f8aa0e445ce2eb86af5aa85640e5094 SHA-1: f02d1835ba23aba304445b6e83cf6a39b763b54e SHA-256: cfa4b2ba3aea9b16786113a348df0fe3dca1db00f79e6ec182f40d30b70c2ef0
180 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.001 Malicious Link or Macro: User Execution: Malicious Link T1204.002 Malicious Link or Macro: User Execution: Malicious Macro

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT and PDF_JS. The critical CVE_2007_5659 firing specifically points to the exploitation of a known vulnerability (Collab.collectEmailInfo) to execute JavaScript. This JavaScript is likely used to download and execute a second-stage payload, as suggested by the ClamAV detection of Pdf.Exploit.Agent-35905 and the presence of deobfuscated JavaScript streams. The document body was unreadable, but the technical indicators strongly suggest an exploit delivery mechanism.

Heuristics 6

  • 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-35905 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-35905
  • 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 3

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
d8a6b4ad1abf04d0c4a4f89535cfb57f7312edef25c443f4e844c8ec9d0929dd
pdf-javascript-stream PDF /JS object 7 at offset 0x19B 352 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
9f5182f89d3b14a66b7c15d05b353afdaab0b27f6af2d35e39e2faae71439c24
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2FE 12028 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
031cec3d5c2cd20ff3a9f65e5f87b0cbd242c47e6dc2bba703c7204365dd5603
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2FE 5000 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).