Malicious PDF — malware analysis report

Static analysis result for SHA-256 a51d8d7c8f16ae95…

MALICIOUS

PDF

26.1 KB Created: 2011-72-51 03:25:00 Authoring application: String.fromCharCode
MD5: e22df8a454d262890b4eff4ff9d140fd SHA-1: 0911e09f98130a3efd9572c592052652393381b2 SHA-256: a51d8d7c8f16ae95701f86bce0491e616c68a5caada88337d11ceba26d5cd779
98 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

This PDF sample was flagged as malicious by an ML classifier and contains embedded JavaScript. The JavaScript stream utilizes `eval()` and `String.fromCharCode` for obfuscation, indicating an attempt to hide malicious code execution. The primary function of the script appears to be downloading and executing a second-stage payload, as suggested by the obfuscated nature and the use of `eval()`. No specific family could be identified due to the obfuscation.

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
2f02bc1d85c39f40f1c0c07ec03e4c98a98d0edf429123ee22756e8b6aa0f106
pdf-javascript-stream PDF /JS object 1 at offset 0xA 851 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 5 eval/decoder/string-building token(s).