Malicious PDF — malware analysis report

Static analysis result for SHA-256 9005e7fb5142aa0c…

MALICIOUS

PDF

22.5 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: a1e6faaa8a915d3cfe4ae92e59e6cf8d SHA-1: 40c6ad61bf0b3fd75e96a9a9b29e09a8bee9419d SHA-256: 9005e7fb5142aa0ce94f029ae70f9f7dc8e289b2701da482d09a5702cd52ce47
96 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 Command and Scripting Interpreter: PowerShell T1204.002 Malicious File: Malicious File

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT, PDF_JS, and PDF_EVAL. The ML classifier also flagged it as malicious. The presence of `String.fromCharCode` and `eval()` suggests obfuscated JavaScript code designed to execute arbitrary commands. While the exact payload is not directly visible, the typical use of such embedded scripts in PDFs is to download and execute further malicious content. No specific family could be identified.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

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.
  • 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_obj0001_000.js
096138ca79aafd1c0e82ec12a2afd3ad1f809fd0c1200801ec6135b49100cac9
pdf-javascript-stream PDF /JS object 1 at offset 0xA 531 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 6 eval/decoder/string-building token(s).