Malicious PDF — malware analysis report

Static analysis result for SHA-256 b009059f1185e689…

MALICIOUS

PDF

9.4 KB
MD5: d8edda9ea7fe02f3f8b5d78d8ec10d9d SHA-1: 46fcd76ba52074e629cc6b7aeabfb9ef69b471a6 SHA-256: b009059f1185e689b8938317ccba0f1e233784bf0bc923ba1c86579705480fd2
126 Risk Score

Malware Insights

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

The PDF document contains embedded JavaScript, specifically leveraging the Collab.collectEmailInfo method to exploit CVE-2007-5659. This JavaScript acts as a stager, indicated by the presence of multiple deobfuscated JavaScript files. The primary function appears to be decoding and executing further stages of malicious code, likely leading to the download and execution of a second-stage payload. The confidence is high due to the critical CVE exploit firing and the clear presence of JavaScript stagers.

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)
  • Annotation subject callee-key hex JavaScript stager high PDF_ANNOT_SUBJECT_CALLEE_HEX_STAGER
    PDF JavaScript uses syncAnnotScan()/getAnnots() to read an indirect annotation /Subject stream, percent-decodes it through marker replacement, then uses a callee.toString()-derived key to decode and eval the final 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.
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (matched in decompressed 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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
9f17df95bc71874fe0f2dcb9f0e8f529cdb3604910d27079f2fbde52cabda2a8
pdf-javascript-stream PDF /JS object 7 at offset 0x19B 256 bytes
annotation_subject_callee_hex_stage_000.js
fec666169ecfb180e5100b4fbc1cf6558f06f4b2fe820e46cd6fe6554e6baa6b
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x14A 4943 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).
legacy_pdfkit_stage_001.js
5c81ae25d61ece8cbdb6e7d24b3a2ee26b8e293d61c1cf1c129cf0ce6c930b4e
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2D0 11985 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
deobfuscated.js
d8e704b1556cef4477c451d221b5470b3228a0c2ef6a1491e2702b327135e078
deobfuscated-js PDF JavaScript deobfuscation pass 44559 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).