Malicious PDF — malware analysis report

Static analysis result for SHA-256 40b1255294f173be…

MALICIOUS

PDF

9.6 KB
MD5: a43f395a607d0cc8732d8519952fa9f4 SHA-1: e97062911fc3b51932f838c444a87e6af7c23646 SHA-256: 40b1255294f173be54d7e5c55f1fc56e303437a8328e0e13b5d10ce8687fa798
126 Risk Score

Malware Insights

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

The PDF document exploits CVE-2007-5659 using a JavaScript stager embedded within an annotation subject. This stager is designed to download and execute a second-stage payload. The high confidence is due to the critical heuristic firing for this specific CVE and the presence of multiple deobfuscated JavaScript artifacts.

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
dc37160715dd481d0bf49e7af5079aad16ed0e66896c1ae05ca27000b3e4454e
pdf-javascript-stream PDF /JS object 7 at offset 0x19B 259 bytes
annotation_subject_callee_hex_stage_000.js
a9e7a97e67177650058e399124f556b86e922430a0779953dda77af8ea0d638c
deobfuscated-js annotation-subject callee-key decoded JavaScript at offset 0x14A 5264 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
9106c7c67e105e51b2cd2321d9722e63adcade80c5c88d815776437ddbe197aa
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2D4 12325 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
82bde98f4e10b68a3cdf4da7f147e7d7a0df17d91aee308f4074eb19aab56e7c
deobfuscated-js PDF JavaScript deobfuscation pass 64473 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).