Malicious PDF — malware analysis report

Static analysis result for SHA-256 1f28961d9d21e2bd…

MALICIOUS

PDF

16.3 KB
MD5: 1f77e126d2df7b4f1be4c6c426d59938 SHA-1: 7bf37b60e3ca827f86b6cd8f8d9b01610d720fc3 SHA-256: 1f28961d9d21e2bd7d298c009d4e12de37dedb372d4cb139f0e170bd68e63464
136 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 JavaScript T1203 Exploitation for Client Execution T1566.001 Spearphishing Attachment

This PDF file contains obfuscated JavaScript designed to decode and execute a payload. The script utilizes techniques like splitting strings and using `unescape` and `fromCharCode` to obscure its malicious intent. The primary function appears to be downloading and executing a second-stage payload, indicated by the 'Obfuscated multi-stage PDF JavaScript dropper' heuristic.

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 5

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
b1a97f6c5088ffdf61fa0604abf18d271ed90a8bbe7e8b9d57cd4784357013c7
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1BD6 12950 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).
legacy_pdfkit_stage_001.js
8070daf8d8465eced2ef49f9e9f4840557fd5c5678147a07a5df7d5ca2c92fc2
deobfuscated-js nested inline base-23 callee-key decoded JavaScript at offset 0x1BD6 5148 bytes
deobfuscated.js
c62799603b4015ce29e733f7ef96fe915ba723a64e3754368f7016aa475099f7
deobfuscated-js PDF JavaScript deobfuscation pass 104658 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).