Malicious PDF — malware analysis report

Static analysis result for SHA-256 7387490ed65bf1fd…

MALICIOUS

PDF

8.0 KB
MD5: 766f88f9b7dea2acc48b0365f43d24e9 SHA-1: 650ad4eb07f94a63ec70ccc1cac9696b1281dc78 SHA-256: 7387490ed65bf1fd81e8c222f3fcf91764bdc28b702f10fa5b92b1a946ee54da
216 Risk Score

Malware Insights

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

The PDF file contains obfuscated JavaScript, indicated by multiple heuristic firings including 'PDF_OBFUSCATED_NAME_OBJECT' and 'PDF_GENERIC_STAGE_RECOVERY'. The embedded JavaScript, specifically the code within 'javascript_obj0007_000.js' and 'generic_stage_recovery_000.js', uses app.doc.syncAnnotScan() and app.eval() to execute arbitrary code. This strongly suggests the document is designed to exploit a vulnerability and download a secondary payload, consistent with a malicious document delivered via spearphishing.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 7

  • Hex-obfuscated scripting name object critical PDF_OBFUSCATED_NAME_OBJECT
    A PDF name object that drives script execution (/JavaScript or /JS) is written with #XX hex escapes to hide it from string-based scanners — e.g. /J#61v#61S#63r#69p#74 decoding to /JavaScript. Legitimate PDF producers always write these names literally; hex-encoding an executable name is a deliberate evasion used by exploit-kit and dropper PDFs.
  • ClamAV: Pdf.Exploit.Agent-36063 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Pdf.Exploit.Agent-36063
  • 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 4

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0007_000.js
eb39e2de4dbbc100de6d3e30aa43ff78fa075618862ba1ebba5151ea3a3b848d
pdf-javascript-stream PDF /JS object 7 at offset 0x1D2 273 bytes
generic_stage_recovery_000.js
41323bb0bc5d6e8e4f59ad32a6e5f405b8b479252ecf9b61a0159542b2003e8e
deobfuscated-js generic stage recovery split-literal-normalize from JavaScript object 7 at offset 0x1D2 263 bytes
legacy_pdfkit_stage_000.js
6915d0e62c3abcd868152e020aeb8626e9d1ca26e3208572eb2ba451697de7fd
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x2DD 8077 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
e2c15e87d7990f7303a0853421aa7f8d67f95976f5baf0e808b95b3d68a4c2aa
deobfuscated-js PDF JavaScript deobfuscation pass 51875 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 long base64-like blob(s).