Malicious PDF — malware analysis report

Static analysis result for SHA-256 c7c31e7745023d02…

MALICIOUS

PDF

1.6 KB
MD5: f2718afb862940a5961bbeb2274c8bfa SHA-1: 92d919fea12d2e1c2ba388585dd02d909ee46aee SHA-256: c7c31e7745023d0299b4b71d9174545a3d80ce84ebea758d55e6ca5b6abc6ab3
156 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.007 JavaScript

The PDF file contains embedded JavaScript, indicated by the PDF_JAVASCRIPT and PDF_JS heuristics. The JavaScript stream includes an eval() call and uses String.fromCharCode, suggesting obfuscation. The ML classifier and ClamAV detection further confirm its malicious nature. The primary function of the embedded JavaScript appears to be the execution of obfuscated code, likely to download and run a secondary payload, as evidenced by the ML_NYX_PDF_MALICIOUS and CLAMAV_DETECTION firings. No specific URLs or network indicators were directly extracted, but the presence of obfuscated JavaScript points to a downloader or dropper functionality.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9962

Heuristics 6

  • ClamAV: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • 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 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0009_000.js
546e40cf53a597d77f143eba5ccecb036e1a61ef400482da69430cffb8194d49
pdf-javascript-stream PDF /JS object 9 at offset 0xDC 3898 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).