Malicious PDF / .XXX — malware analysis report

Static analysis result for SHA-256 12a71065d9249a40…

MALICIOUS

PDF / .XXX

15.7 KB
MD5: d067e4825ffcd571b1b18ee66e0536df SHA-1: a7cb55b2a3f4d2155bb44eb131862e4523f3b8e0 SHA-256: 12a71065d9249a40fd6403adb26bf919667e5fb7fc86139ec9c638aa4a019095
136 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1566.001 Spearphishing Attachment

The PDF contains obfuscated JavaScript that attempts to download and execute a payload. The script uses anti-analysis techniques such as checking app.plugIns.length and employs a split-literal-normalize method to reconstruct parts of its functionality. The primary mechanism involves reading an encoded payload from annotation subjects and then executing it.

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
f7daed09fd885eb2163065fc93bfaa2660cba79190c052fa9758733a45b24d67
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1AA6 12556 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
ef6b2b42955684c01d9f4e019ffa31ef6c9fffee0f26aac6133c83f7557faa97
deobfuscated-js PDF JavaScript deobfuscation pass 64778 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).