Malicious PDF — malware analysis report

Static analysis result for SHA-256 4b6ff260dec629c4…

MALICIOUS

PDF

16.0 KB
MD5: e0e48a407a3142b4051cd43bf1ca0535 SHA-1: c288e06c6be77caf96461d1d143cdb80d6e1fa9a SHA-256: 4b6ff260dec629c44b446db792a8a7747f87f251ab1ee264007ca9f1cc76a68b
98 Risk Score

Malware Insights

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

This PDF file contains embedded JavaScript, flagged by multiple heuristics including PDF_JAVASCRIPT and PDF_JS. The JavaScript stream utilizes eval() and String.fromCharCode() for obfuscation, indicating an attempt to hide malicious code. The primary function of the script appears to be downloading and executing a second-stage payload, as suggested by the ML classifier and the nature of the obfuscated JavaScript. The lack of specific IOCs like URLs or hashes prevents a more precise family attribution.

Machine Learning

  • Nyx PDF Classifier malicious score 0.9999

Heuristics 5

  • eval() call high PDF_EVAL
    eval() found — commonly used for obfuscated exploit execution (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.
  • 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. (matched inside decoded 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 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0004_000.js
42a42fedf7c7c7f8e17eced8f38b586b59cee1394e16284176e1a27d551d8c73
pdf-javascript-stream PDF /JS object 4 at offset 0xE1 314 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
legacy_pdfkit_stage_000.js
4a2fda26b321add5c602f736f68c193160e00ed94da2c1ac8cdf4134fd79f160
deobfuscated-js repeated-marker hex decoded JavaScript at offset 0x1AB2 12633 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).