Anti Procsses Name ?

Results 1 to 7 of 7
  1. #1
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Anti Procsses Name ?

    Hello guys i want a program that build a dll that block a porcsses name is there any program like that ?


  2. #2
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Anti Procsses Name ?

    An If condition to check if the process name bla bla is open . I'll code one , give me a moment.

  3. #3
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Anti Procsses Name ?

    Quote Originally Posted by Vusion View Post
    An If condition to check if the process name bla bla is open . I'll code one , give me a moment.
    yes

  4. #4
    Hi, I'm Omar! Vusion is offline
    MemberRank
    Jan 2011 Join Date
    HereLocation
    1,658Posts

    Re: Anti Procsses Name ?

    I got stuck and couldn't finish, this is C#.
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    
    namespace AntiProcess
    {
    
            public static extern void checkRunningGame()
            {
                foreach (Process runningProc in Process.GetProcesses())
                {
                    if (runningProc.ProcessName.Contains("Inject"))
                    {
                        Environment.Exit(0);
                    }
                }
            }
    
    }

  5. #5
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Anti Procsses Name ?

    Quote Originally Posted by Vusion View Post
    I got stuck and couldn't finish, this is C#.
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Diagnostics;
    
    namespace AntiProcess
    {
    
            public static extern void checkRunningGame()
            {
                foreach (Process runningProc in Process.GetProcesses())
                {
                    if (runningProc.ProcessName.Contains("Inject"))
                    {
                        Environment.Exit(0);
                    }
                }
            }
    
    }
    can't you debug it ? i don't have C# Now i'm after format

    ---------- Post added 20-08-11 at 12:18 AM ---------- Previous post was 19-08-11 at 11:36 PM ----------

    it doesn't work !!
    void is wrong

  6. #6
    Proficient Member tuiuiu is offline
    MemberRank
    Jan 2010 Join Date
    186Posts

    Re: Anti Procsses Name ?

    Code:
    //Copyright © MetaStudios
    public static class WindowsDetection 
        {
            [DllImport("user32.dll", SetLastError = true)]
            public static extern int FindWindow(string lpClassName, string lpWindowName);
            static string[] prog = { "Olly", "Dbg", "hack", "h4ck", "hax", "Hack", "HACK", "H4CK", "massive", "MASSIVE", "lawnmower", "LAWNMOWER", "god", "GOD", "G0D", "g0d", "God", "Ghost", "ghost", "gh0st", "speed", "Speed", "Sp33d", "sp33d", "dll", "DLL", "OneWhoSign", "OWS", "ThevingSix", "thevingsix", "t6", "theving6", "Anônimo", "anônimo", "Wizkid", "WizKid", "wizkid", "WIZKID", "Evilness", "evilness", "bytes4bread", "thesupermax", "bypass", "Bypass", "BYPASS", "Cipher", "Sulfin", "sulfin", "SULFIN", "Thanu21", "lone222", "WaffleByte", "hmhax", "Xeffar", "Mafiacoders", "mafiacoders", "Injec", "injec", "Hook", "hook", "Pserv", "pserv" };
            
            //WindowsName Protect
            public static readonly bool WNP
            {
                get
                {
                   foreach (string x in prog)
                    {
                        Thread.Sleep(300);
                        int hwnd = FindWindow(null, x);
                        if (hwnd >= 1) { return true; }
                    }
                    return false;
                }
            }
    
            //Secondary WindowsName Protect
            public static readonly bool SWNP
            {
                get
                {
                    Process[] ProcList = Process.GetProcesses();
                    foreach (Process xProcess in ProcList)
                    {
                        foreach (string x in prog)
                        {
                            Thread.Sleep(300);
                            if (xProcess.ProcessName.Contains(x)) { return true; }
                        }
                    }
                    return false;
                }
            }
        }
    Code:
    while (true)
        {
          Thread.Sleep(1000);
           if (WindowsDetection.WNP == true || WindowsDetection.SWNP == true)
           { //Hack detected, do something. Exemple:
             //foreach(Process yProcess in Process.GetProcesses()){
             //if(yProcess.MainWindowTitle == "The duel"){yProcess.Close();
             //Process.GetCurrentProcess().Close();}}
           }
        }
    Or

    Code:
    WindowsDetection.FindWindow(null, "windows title");
    Credits: Fisher

  7. #7
    Retired. Don't PM. SecretsOThePast is offline
    DeveloperRank
    Jan 2009 Join Date
    643Posts

    Re: Anti Procsses Name ?

    Quote Originally Posted by qet123 View Post
    Hello guys i want a program that build a dll that block a porcsses name is there any program like that ?
    Blocking by process name isn't going to stop hackers, if that's what you mean.

    I suggest looking at the MSDN website for functions you can use within the WinAPI.

    A better way of detecting hackers anyway would be doing so silently without them knowing, instead of outright preventing them.

    For example, every time a hacker is detected, record their UID and character name to a database table (or file even.) using MCommand or even send/recv. If that's too advanced for you, I don't know what to say.



Advertisement