Malicious PDF — malware analysis report

Static analysis result for SHA-256 22ca36249502cb1c…

MALICIOUS

PDF

9.3 KB
MD5: 4b65fc0af4197de84e8c70d854800b7f SHA-1: 6bc23b9a63e3e7deca9bf08fc4e55154b2cd99a2 SHA-256: 22ca36249502cb1c7be6b80890d322426bfba835db4e8f3de2fb44575f70f41a
178 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that leverages the CVE-2007-5659 vulnerability (Collab.collectEmailInfo). This exploit is designed to execute arbitrary JavaScript, which in this case is heavily obfuscated but identified by ClamAV as Pdf.Exploit.Agent-35905. The primary function of the script appears to be downloading and executing a secondary payload, indicated by the presence of multiple deobfuscated JavaScript streams and the critical heuristic firings.

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
915ce17f63b682d4eb31ce4c897dedf8038bf73f2a7ffb66b3d998484f8a8ef1
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2FE 12053 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
9f0e234daec440b55edef1732141607e1c0e22bd990148ffefdef420b7f3973e
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2FE 4962 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).