Malicious PDF — malware analysis report

Static analysis result for SHA-256 a7ef016346f9388a…

MALICIOUS

PDF

43.6 KB
MD5: decbe17287f42181dd2d5f908d35290e SHA-1: a31a4991f324201b1282f62593510210efbf711a SHA-256: a7ef016346f9388aabdd468c15e906d6afbb036bf7d7d84a912044d352f1c94a
158 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.007 JavaScript

The PDF file contains embedded JavaScript, flagged by multiple heuristics including PDF_JAVASCRIPT, PDF_JS, and PDF_EVAL. The ML classifier and ClamAV also identified this file as malicious. The JavaScript appears to be heavily obfuscated, making it difficult to determine the exact payload, but the presence of eval() and String.fromCharCode suggests dynamic code execution, likely for downloading and running a second-stage malicious file. The extracted artifact names 'javascript_obj0005_000.js' and 'javascript_obj0005_001.js' are included as IOCs.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9995

Heuristics 7

  • 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
  • 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.
  • String.fromCharCode low PDF_FROMCHARCODE
    String.fromCharCode found — used to construct payload strings dynamically. Common in benign JavaScript libraries for codepoint manipulation, so this alone is informational; weaponised use is also caught by the dedicated fromCharCode-stage and exploit-shape rules.
  • PDF differential parser failed info PDF_DIFFERENTIAL_PARSE_FAILED
    The cross-check parser (pdfminer.six) failed on this file: PDF differential parser failed: PSEOF. 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_obj0005_000.js
1ba2dd2d58f336b764497b205b5e5179306bae318459be9cd482435d1e3d38e5
pdf-javascript-stream PDF /JS object 5 at offset 0x15E 44019 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
javascript_obj0005_001.js
312e547cc92902f56504c7cad66107e85d70768c7024b03409caab496a4827ed
pdf-javascript-stream PDF /JS object 5 at offset 0x15E 56 bytes