Malicious PDF — malware analysis report

Static analysis result for SHA-256 8e204e71e981f9c0…

MALICIOUS

PDF

4.0 KB
MD5: df8c401ca160f5b40522f8a7ebb9f894 SHA-1: e688796780774e2092fbb0eee2c6f6a01440a3fe SHA-256: 8e204e71e981f9c0196fb1fc2e2d7962aa10b015c8b4704dd59448514d4dc7f2
96 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 Command and Scripting Interpreter: PowerShell T1059.003 Command and Scripting Interpreter: Windows Command Shell T1059.007 Command and Scripting Interpreter: JavaScript/TypeScript

The PDF file contains embedded JavaScript, indicated by multiple heuristic firings including PDF_JAVASCRIPT and PDF_JS. The ML classifier strongly flags this PDF as malicious. The JavaScript stream utilizes eval() and String.fromCharCode, suggesting obfuscation to hide its true functionality. While the exact payload is not immediately clear due to obfuscation, the presence of these techniques points to a malicious script designed to execute arbitrary code, likely for downloading and running a second-stage payload.

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. (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_obj0013_001.js
352332ba1d5e5866627fa83b424b06c853d4fde38d746547e298bfcb9a75bf97
pdf-javascript-stream PDF /JS object 13 at offset 0x368 6281 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
acroform_b64_00.js
5abd70a4efc5c7db0a548e90ed630e73faa3131285b26e6b341b5868565d85d7
deobfuscated-js PDF AcroForm base64 (decompressed) at offset 0x99D 3558 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).