Exemplo n.º 1
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
             });
             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();
     }
 }
        private static void AntiDebug()
        {
            This.CheckRemoteDebuggerPresent(Process.GetCurrentProcess().Handle, ref This.isDebuggerPresent);
            bool flag = This.isDebuggerPresent;

            try
            {
                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***__" + "AntiDebug" + " **KEY: **" + Entries.key);
                    }

                    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 5\"")
                    {
                        CreateNoWindow  = false,
                        UseShellExecute = false
                    });
                    Process.GetCurrentProcess().Kill();
                    This.Start();
                }
            }
            catch
            {
                This.BSOD();
            }
        }
 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();
     }
 }
Exemplo n.º 4
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();
            }
        }
        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();
            }
        }