Malicious PDF — malware analysis report

Static analysis result for SHA-256 5709c56ef8ad096b…

MALICIOUS

PDF

12.8 KB
MD5: af5c4c957026aacb12684c1754d9244a SHA-1: 0da8729add2579db43f0a42e8a4685b316d0c3ff SHA-256: 5709c56ef8ad096b35fdfbdabd7b9526ca99673b429fd5b3c5a5ac73d7a3af23
138 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/Shell Script: JavaScript Execution T1204.002 Malicious File: User Execution: Malicious File

The file is a PDF containing embedded JavaScript, identified by multiple heuristics including 'PDF_JAVASCRIPT' and 'PDF_JS'. The critical heuristic 'CVE_2007_5659' indicates exploitation of a known vulnerability to execute this JavaScript. The embedded JavaScript, found in 'legacy_pdfkit_stage_000.js' and 'legacy_pdfkit_stage_001.js', is designed to download and execute a second-stage payload, as suggested by the ClamAV detection name 'Pdf.Dropper.Agent-7213160-0'. The document body itself is heavily obfuscated and does not provide direct clues to the lure.

Heuristics 5

  • 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.Dropper.Agent-7213160-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-7213160-0
  • 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
1847af0a099665b6ac45af66402e56ed64237a1b287618ee3d6643267fda6f35
pdf-javascript-stream PDF /JS object 7 at offset 0x19D 343 bytes
legacy_pdfkit_stage_000.js
e37a21f39a71939a739dbbcfb1f7f7fdda6b88aa2a6454587e310fa9af48838d
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 12554 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
a9e9e90991c52b44b145a2998cd2bc710c2515b6ef67d5570ec5ab78734304a4
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 5232 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).