Malicious PDF — malware analysis report

Static analysis result for SHA-256 8b66ff208b162ed7…

MALICIOUS

PDF

11.7 KB
MD5: 08d90c782796c78570ae4db083719b2f SHA-1: af89fbe13da7f522d3b1426ac98df5a2da3df993 SHA-256: 8b66ff208b162ed74414d31be07ff354d1df74fadfa732f5dc75a03f06cfd18b
146 Risk Score

Malware Insights

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

The critical heuristic CVE_2007_5659 indicates the exploitation of a known vulnerability in PDF files using JavaScript. The embedded JavaScript streams, particularly legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, are likely responsible for executing malicious code. The ClamAV detection further confirms the malicious nature of the file. The primary attack vector appears to be leveraging the Collab.collectEmailInfo method to execute arbitrary code, which is then used to download and execute further stages.

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

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
ef8bdac794684ae9cd4eb7091d80e1c5ca478c06c639d72d01626c1f7ce78b6d
pdf-javascript-stream PDF /JS object 7 at offset 0x19C 578 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
c21baea86cf5e10f01c1ceec20202767929c5a8506cfefd1b5bfef89e5fd2c1e
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x36F 12216 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
0554d2b3b84194b2974a112d92886e61382ff92f1c6e29879909bb9aeac66d5a
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x36F 5068 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).