Hidden Process

This is a discussion on Hidden Process within the C++ Programming forums, part of the General Programming Boards category; To start I don't know why but my account got reseted, anyway for the past few days I been to ...

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    38

    Hidden Process

    To start I don't know why but my account got reseted, anyway for the past few days I been to learn stuff about API's and I made a trainer for Pinball that makes you have unlimited balls using this code

    Code:
    #include <iostream>
    #include <fstream>
    #include <windows.h>
    
    using namespace std;  
    
    
    int main()
    
    {
    
    HANDLE Std = GetStdHandle(STD_OUTPUT_HANDLE); 
    SetConsoleTextAttribute(Std, FOREGROUND_RED);
    
    
    SetConsoleTitle("Zomg trainer o.0");
    
    
    	
    	unsigned long PID; 
    
    DWORD Buffer = { 0x000003B8 }; 
    
    HWND hWindow = FindWindow(NULL, "3D PinBall for Windows - Space Cadet");
    
    if (!hWindow){
    
    MessageBox(0, "Game not found!", 0, MB_ICONERROR); return 1; }
    
    
    CreateRemoteThread(hWindow, NULL, 0, 0, 0, NULL, NULL);
    
    GetWindowThreadProcessId(hWindow, &PID);
    
    
    HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, PID);
    
    
    WriteProcessMemory(hProcess, (LPVOID)0x010175B7, &Buffer, sizeof(Buffer), 0);
    
    CloseHandle(hProcess);
    
    
    
    
     bool loop = true;
       while ( loop == true ) {
    
    int def;
    
         cout << "Type 0 to return to default: ";
         cin >> def;
         cin.ignore();
    
    if (def == 0) {
    
    	unsigned long PID; 
    
    DWORD Buffer = { 0x01468689 }; 
    
    HWND hWindow = FindWindow(NULL, "3D PinBall for Windows - Space Cadet");
    
    
    CreateRemoteThread(hWindow, NULL, 0, 0, 0, NULL, NULL);
    
    GetWindowThreadProcessId(hWindow, &PID);
    
    
    HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, TRUE, PID);
    
    
    WriteProcessMemory(hProcess, (LPVOID)0x010175B7, &Buffer, sizeof(Buffer), 0);
    
    CloseHandle(hProcess);
    
    
       return 0;
    
    }
    else if ( def != 0 ) {
             cout << "Incorrect input. Try again. " << endl;
             loop = true;
          }
    
       }
    
    
    system("pause");
    return 0;
    }
    Now I been trying to do the same but for a game that hides it self so I can't see it in Task manager. Is there a was to target a hidden process?

  2. #2
    Registered User
    Join Date
    Nov 2006
    Posts
    86
    :/ a game that is a hidden procces?? why would someone make a game that is hidden?... and btw? than the game developers made a rootkit to hide it>? sounds fishy

  3. #3
    Registered User
    Join Date
    Mar 2007
    Posts
    38
    yup, they made a rootkit to hide it... -_- so is there a way to attach to the process?

  4. #4
    Registered User
    Join Date
    Nov 2006
    Posts
    86
    Kill the rootkit ^^

  5. #5
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    This doesn't sound like any normal game to me at all to somehow hide a process from Task Manager. I do not believe you're telling us the full story of what you are doing.

    With that said, I do not condone cheating in games, unless you stick to singleplayer, since I don't like the idea of ruining other people's enjoyment of a game. As such, I generally will not help people with questions such as this.

  6. #6
    Registered User
    Join Date
    Mar 2007
    Posts
    38
    Quote Originally Posted by MacGyver
    This doesn't sound like any normal game to me at all to somehow hide a process from Task Manager. I do not believe you're telling us the full story of what you are doing.

    With that said, I do not condone cheating in games, unless you stick to singleplayer, since I don't like the idea of ruining other people's enjoyment of a game. As such, I generally will not help people with questions such as this.
    Fine don't help me BUT for your information every game that runs GameGuard hides the process of the game...

  7. #7
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Ah, thank you for pointing that out to me. Found a wikipedia page on it: http://en.wikipedia.org/wiki/GameGuard

    Sounds like an anticheat program that is currently working to keep people like you from cheating in a multiplayer setting.

    Just a little bit of useless background on me: I currently run an anticheat organization for a particular game, and have even written a very small amount of software to assist in the detection and banishment of cheaters from the servers that are owned by other like-minded admins. I have been doing this kind of thing for a few years for this one particular game. It is my organization's belief that cheaters are a serious problem for online gaming, since they ruin the fun for others.

    I love programming and to some extent I love multiplayer gaming. You can definitely mix the two (as I have done modding before and enjoyed it ), but I strongly suggest that you have a sense of morality and decency in programming in more than just gaming. For your own sake as well as others, do not attempt to abuse the knowledge and ability that you may have.

  8. #8
    Registered User
    Join Date
    Mar 2007
    Posts
    38
    I see, well good luck on your anticheat organization later

  9. #9
    Registered User
    Join Date
    Apr 2006
    Posts
    2,053
    Quote Originally Posted by MacGyver
    This doesn't sound like any normal game to me at all to somehow hide a process from Task Manager. I do not believe you're telling us the full story of what you are doing.

    With that said, I do not condone cheating in games, unless you stick to singleplayer, since I don't like the idea of ruining other people's enjoyment of a game. As such, I generally will not help people with questions such as this.
    The only multilayer that 3D pinball for Windows has is trough using the same computer. Surely your opponent would notice if you ran a cheat like this. Besides, 3D pinball is not a competitive game.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

  10. #10
    Deathray Engineer MacGyver's Avatar
    Join Date
    Mar 2007
    Posts
    3,211
    Quote Originally Posted by King Mir
    The only multilayer that 3D pinball for Windows has is trough using the same computer. Surely your opponent would notice if you ran a cheat like this. Besides, 3D pinball is not a competitive game.
    His code is for 3D Pinball for Windows, yes, however, he stated he was trying to break a game that was protected with something possibly resembling a rootkit.

    Since 3D Pinball usually does not come with a rootkit, I figured he was trying to crack a multiplayer game, as he has confirmed.

  11. #11
    Registered User
    Join Date
    Apr 2006
    Posts
    2,053
    Quote Originally Posted by MacGyver
    His code is for 3D Pinball for Windows, yes, however, he stated he was trying to break a game that was protected with something possibly resembling a rootkit.

    Since 3D Pinball usually does not come with a rootkit, I figured he was trying to crack a multiplayer game, as he has confirmed.
    Never mind then.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

  12. #12
    Registered User
    Join Date
    Nov 2006
    Posts
    86
    im still intrested tough

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. init adopts zombie process?
    By password636 in forum Linux Programming
    Replies: 4
    Last Post: 07-01-2009, 11:05 AM
  2. create a child process that creates a child process
    By cus in forum Linux Programming
    Replies: 9
    Last Post: 01-13-2009, 02:14 PM
  3. Replies: 3
    Last Post: 10-15-2008, 10:24 AM
  4. Problem with forking a process
    By Unitedroad in forum C Programming
    Replies: 10
    Last Post: 10-04-2007, 02:43 AM
  5. process programming
    By St0rM-MaN in forum Linux Programming
    Replies: 2
    Last Post: 09-15-2007, 08:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21