Malicious PDF — malware analysis report

Static analysis result for SHA-256 4ffb1a86eb7917ac…

MALICIOUS

PDF

5.5 KB
MD5: 4c4993daf36891166f46ab4250267ff0 SHA-1: 7767236a6ef2ec6b72075d1557e279d53fc8b5bf SHA-256: 4ffb1a86eb7917ac01e811f0940b7886243cb22621928453805a04513823aa73
96 Risk Score

Malware Insights

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

The PDF file contains embedded JavaScript that is obfuscated and designed to execute. The script uses functions like 'unescape' and 'fromCharCode' to reconstruct and execute a payload. This payload is likely responsible for downloading and running a secondary malicious file, indicated by the generic stage recovery heuristic.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 5

  • 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.
  • 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 3

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).
deobfuscated.js
46291efe0f645eb4dcc17d0ba38849907479dbbfda980b512eaa418cba1f42a2
deobfuscated-js PDF JavaScript deobfuscation pass 4830 bytes