Malicious PDF — malware analysis report

Static analysis result for SHA-256 d5af5b3bc1c0cf0a…

MALICIOUS

PDF

15.0 KB
MD5: cde8ae6a5582bb735870f53bfaa188c9 SHA-1: 257db8fb9ef6c04f4417880d8023dba1ba08cd04 SHA-256: d5af5b3bc1c0cf0a9be8ee8e88ca8ed6a165e9ea072b0ff92a9014b4a84910bb
96 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF file contains embedded JavaScript, flagged by multiple heuristics including PDF_JAVASCRIPT, PDF_JS, and PDF_EVAL. The ML classifier strongly indicates maliciousness. The deobfuscated JavaScript stream, legacy_pdfkit_stage_000.js, is large and exhibits obfuscation indicators, suggesting it is responsible for downloading and executing a second-stage payload. The presence of eval() and String.fromCharCode() calls further supports the dynamic execution of malicious code.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 5

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (matched inside decoded stream)
  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
6ab2ac5ae8dfa21f8e2cc3f8c4e04fe93619adbd7660ed7aeb8cd9a47707659c
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 306 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
b57551528492702aff907765264024760d91079517607c57380708f0dd76f806
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1914 11996 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).