Malicious PDF — malware analysis report

Static analysis result for SHA-256 40546aec7fb6977c…

MALICIOUS

PDF

12.3 KB
MD5: 6819172cecc296d75512b12d729da1e9 SHA-1: 654e2e781d649ef107887d1b976ef06b287b6622 SHA-256: 40546aec7fb6977c170cb6027cdedc9d8d1fd586600ec9a8d1496081314e9cc3
228 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File T1027 Obfuscated Files or Information

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT and PDF_JS. Critical heuristics like CVE_2007_5659 and PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER point to the exploitation of known PDF vulnerabilities to execute code. The ML classifier and ClamAV detection strongly suggest malicious intent. The extracted JavaScript files, legacy_pdfkit_stage_000.js and legacy_pdfkit_stage_001.js, are likely responsible for downloading and executing a secondary payload, a common technique for PDF-based malware.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

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 percent-decoding eval stager critical PDF_ANNOT_SUBJECT_MARKER_EVAL_STAGER
    OpenAction JavaScript forces annotation enumeration, reads an annotation /Subject payload with getAnnots(), rewrites marker bytes into percent escapes, decodes it with unescape(), and dispatches it through eval. This is a high-confidence exploit-kit staging pattern. It is intentionally not mapped to CVE-2009-1492 unless getAnnots() itself carries the crafted integer or long argument shape for that vulnerability.
  • ClamAV: Pdf.Dropper.Agent-9448321-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Dropper.Agent-9448321-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
d12fbe49f63b759bce4ab220d28a35cb305e9e0077de22875eeb57ac5fe4617d
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 12019 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).
legacy_pdfkit_stage_001.js
cc10f488ba1bde8220aa8ae4d9736979d3780ed5abc5568acad61732a44f2638
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2F0 4963 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).