Malicious PDF — malware analysis report

Static analysis result for SHA-256 a2b64e9fc53082f4…

MALICIOUS

PDF

15.9 KB
MD5: 22a9ff656df3ff789355460a1ef510e2 SHA-1: 5173e9217dbd9de0bf8b81f86ca8323268ac3b37 SHA-256: a2b64e9fc53082f451fc6176f31d8af56cea905e6a989de7bb5efd0e1b086818
136 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1566.001 Spearphishing Attachment T1204.002 Malicious File

The PDF contains obfuscated JavaScript that attempts to decode a payload from its annotations. This payload is then executed, likely to download and run a second-stage malicious file. The use of JavaScript and the method of encoding the payload within annotations strongly suggest a malicious document designed for initial compromise.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 6

  • Generic recovered JavaScript exploit stage high PDF_GENERIC_STAGE_RECOVERY
    Bounded static stage recovery exposed hidden JavaScript through generic transforms such as null-byte collapse, percent decoding, marker replacement, arithmetic character codes, fromCharCode, numeric arrays, numeric-array minus-key decoders, alphabet-index arrays, /Producer half-difference metadata arrays, hex literals, marker-stripped Base64 literals, custom 6-bit XOR table decoders, or repeated-marker hex carriers. This rule is emitted only when the recovered stage contains exploit-like Acrobat JavaScript or shellcode markers.
  • Obfuscated multi-stage PDF JavaScript dropper high PDF_JS_OBFUSCATED_DROPPER
    PDF JavaScript shows 3 independent signals of exploit-kit-style multi-stage obfuscation: annot_subject_stage, hex_dashed_payload, repeated_pluginschk. This is strongly consistent with pre-2011 Adobe Reader PDF droppers — OpenAction JS reads encoded data from annotation subjects, decodes it through one or more hex / base-N loops, and invokes eval indirectly (method name built one character at a time). The actual CVE is hidden in the final decoded layer and is not visible via static analysis.
  • 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.
  • syncAnnotScan annotation-staging primitive low PDF_FOXIT_SYNCANNOTSCAN
    PDF JavaScript calls syncAnnotScan() — a no-op annotation-enumeration primitive used by exploit-kit JavaScript to stage payload reads from annotation /Subject fields before eval(). Not a vulnerable sink itself; rarely seen in legitimate PDFs. (matched in decompressed 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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0005_000.js
a3319192cac6d4dc4eeb6af2d736b0ffec979b23116a003bc7c23382761c32a5
pdf-javascript-stream PDF /JS object 5 at offset 0x148 733 bytes
generic_stage_recovery_000.js
d0d9b30997e09d7380aa1f50db3a2ef0c80cafe011beab0224533da2964e68f5
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 5 at offset 0x148 717 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
42a1abce7dfdd91f9649d9319c58b979808466e1ea49ea447f78df115805b2ee
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1B27 12649 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s). Carved artifact contains 1 long base64-like blob(s).
deobfuscated.js
9dcc9e3fdc77786ceb43b55b4fe59f3881477efad4996c9b1807e1b4008d9339
deobfuscated-js PDF JavaScript deobfuscation pass 108696 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).