MALICIOUS
86
Risk Score
Malware Insights
MITRE ATT&CK
T1059.007 JavaScript
T1566.001 Spearphishing Attachment
The PDF contains embedded JavaScript that is obfuscated using XOR operations and string concatenation. The script reconstructs and calls functions like 'unescape', 'getPageNthWord', 'charCodeAt', 'fromCharCode', and 'substr' to deobfuscate a payload. This payload is then likely executed via 'eval', indicating the document's purpose is to download and run a secondary malicious component. The ML classifier strongly supports the malicious nature of this PDF.
Machine Learning
- Nyx PDF Classifier malicious score 1.0000
Heuristics 3
-
Page-word XOR JavaScript eval stager high PDF_PAGE_WORD_XOR_EVAL_STAGERPDF JavaScript enumerates rendered page words with getPageNthWord/getPageNumWords, extracts encoded byte fragments, XOR-decodes the stage with char-code helpers, and evals the result. This is an old exploit-kit staging pattern and is not normal document JavaScript.
-
JavaScript action low PDF_JAVASCRIPTPDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
-
Embedded JS stream low PDF_JSPDF references a /JS stream. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
Extracted artifacts 1
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
javascript_obj0018_000.js64dbb1b26294330f72a9c5b7a7778b4e255c7b7609626eddfee2e06a530f4473 |
pdf-javascript-stream | PDF /JS object 18 at offset 0x14F2 | 1021 bytes |
Open this report in the interactive analyzer, or submit your own file for analysis.