Malicious PDF — malware analysis report

Static analysis result for SHA-256 790f480aaaa1b2dc…

MALICIOUS

PDF

15.3 KB
MD5: 28b6ae1a9f3e3b8c257933181acbe188 SHA-1: 34d8ade6fdf6ae6732d5fae008a6db2dadde703b SHA-256: 790f480aaaa1b2dcbf58badfa43a1295df94a39870abb8465aa471e25ba091dc
194 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 JavaScript/JScript T1027 Obfuscated Files or Information

The PDF contains embedded JavaScript streams that are heavily obfuscated, indicated by multiple heuristic firings including PDF_JAVASCRIPT, PDF_JS, PDF_EVAL, and PDF_UNESCAPE. The ML classifier and ClamAV also flagged this file as malicious. The primary function of the embedded JavaScript appears to be downloading and executing a second-stage payload, as suggested by the obfuscation and the nature of the detected heuristics. The extracted JavaScript filenames are included as IOCs.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 8

  • ClamAV: Heuristics.PDF.ObfuscatedNameObject critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Heuristics.PDF.ObfuscatedNameObject
  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution
  • unescape() call high PDF_UNESCAPE
    unescape() found — often used to decode shellcode in PDF JS exploits (matched inside decoded stream)
  • 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.
  • Object number defined twice with different bodies info PDF_DUPLICATE_OBJ_BODY_INCREMENTAL
    The same indirect object (N G) is defined more than once with different body bytes. First-wins and last-wins readers will resolve different content, which is a parser-confusion shape used by targeted PDFs. Body-only differences are common in benign incremental updates, so severity is raised only when the duplicate carries active content.
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser failed: PSSyntaxError. Static heuristics still ran and any of their findings above are valid; only the differential cross-check signal is missing.
  • 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0116_000.js
946d941596f7f057b24ffb2ced11e24333674a380e1182f479c26cea37055aa1
pdf-javascript-stream PDF /JS object 116 at offset 0x4BB 43921 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 218 eval/decoder/string-building token(s).
javascript_obj0123_002.js
c677ec6496d165f0bf7495de89ab7214375f2b69ca03b6b8abad089071df2820
pdf-javascript-stream PDF /JS object 123 at offset 0x386 14801 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).