Page 1 of 6 123 ... LastLast
Results 1 to 15 of 81
  1. #1
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,153
    My Mood
    Busy

    Source code for Bypassing Hack

    Some important code for bypassing hack



    Code:
    #include <Windows.h> #include <stdio.h> #include <Psapi.h> td_NtQuerySystemInformation NtQuerySystemInformation = NULL; td_NtQueryObject NtQueryObject = NULL; td_NtDuplicateObject NtDuplicateObject = NULL; BOOL Init() { HMODULE hNtdll = GetModuleHandle(TEXT("ntdll.dll")); if(!hNtdll) return FALSE; NtQuerySystemInformation = (td_NtQuerySystemInformation)GetProcAddress(hNtdll, "NtQuerySystemInformation"); NtQueryObject = (td_NtQueryObject)GetProcAddress(hNtdll, "NtQueryObject"); NtDuplicateObject = (td_NtDuplicateObject)GetProcAddress(hNtdll, "NtDuplicateObject"); return (NtQuerySystemInformation && NtQueryObject && NtDuplicateObject); } BOOL AcquireDebugPrivilege() { HANDLE hToken = NULL; if(!OpenProcessToken(GetCurrentProcess(), TOKEN_ADJUST_PRIVILEGES, &hToken)) return FALSE; BOOL bSuccess = FALSE; TOKEN_PRIVILEGES tp; tp.PrivilegeCount = 1; if(LookupPrivilegeValue(0, SE_DEBUG_NAME, &tp.Privileges[0].Luid)) { tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; if(AdjustTokenPrivileges(hToken, 0, &tp, sizeof(tp), 0, 0)) bSuccess = TRUE; } CloseHandle(hToken); return bSuccess; } BOOL IsProcessFound(DWORD dwProcessId, PSYSTEM_PROCESS_INFORMATION pInfos) { PSYSTEM_PROCESS_INFORMATION pCurrent = pInfos; while(TRUE) { if((DWORD)pCurrent->UniqueProcessId == dwProcessId) return TRUE; if(pCurrent->NextEntryOffset == 0) break; pCurrent = (PSYSTEM_PROCESS_INFORMATION)((DWORD_PTR)pCurrent + pCurrent->NextEntryOffset); } return FALSE; } BOOL DetectHiddenProcesses(PUINT piCount) { if(!piCount) return FALSE; *piCount = 0; // first, we retrieve the process list (this is dirty but the only way) DWORD dwLen = sizeof(SYSTEM_PROCESS_INFORMATION); PSYSTEM_PROCESS_INFORMATION pProcessInfos = (PSYSTEM_PROCESS_INFORMATION)malloc(dwLen); while(pProcessInfos) { NTSTATUS status = NtQuerySystemInformation(SystemProcessInformation, pProcessInfos, dwLen, &dwLen); if(NT_SUCCESS(status)) break; else if(status != STATUS_INFO_LENGTH_MISMATCH) { free(pProcessInfos); return FALSE; } free(pProcessInfos); pProcessInfos = (PSYSTEM_PROCESS_INFORMATION)malloc(dwLen); } if(!pProcessInfos) return FALSE; // secondly, we retreive all open handle dwLen = sizeof(SYSTEM_HANDLE_INFORMATION); PSYSTEM_HANDLE_INFORMATION pHandleInfos = (PSYSTEM_HANDLE_INFORMATION)malloc(dwLen); while(pHandleInfos) { NTSTATUS status = NtQuerySystemInformation(SystemHandleInformation, pHandleInfos, dwLen, &dwLen); if(NT_SUCCESS(status)) break; else if(status != STATUS_INFO_LENGTH_MISMATCH) { free(pHandleInfos); return FALSE; } free(pHandleInfos); pHandleInfos = (PSYSTEM_HANDLE_INFORMATION)malloc(dwLen); } if(!pHandleInfos) return FALSE; // now, we find all handle to a process POBJECT_TYPE_INFORMATION pType = (POBJECT_TYPE_INFORMATION)malloc(4096); if(!pType) { free(pHandleInfos); free(pProcessInfos); return FALSE; } for(ULONG i = 0; i < pHandleInfos->HandleCount; i++) { DWORD dwOwner = pHandleInfos->Handles[i].ProcessId; HANDLE hHandle = (HANDLE)pHandleInfos->Handles[i].Handle; HANDLE hOwner = OpenProcess(PROCESS_DUP_HANDLE, FALSE, dwOwner); if(hOwner == NULL) continue; // we duplicate the handle so we can query it HANDLE hHandleLocal = NULL; NTSTATUS status = NtDuplicateObject(hOwner, hHandle, GetCurrentProcess(), &hHandleLocal, 0, 0, DUPLICATE_SAME_ACCESS | DUPLICATE_SAME_ATTRIBUTES); if(NT_SUCCESS(status)) { // now we query its type status = NtQueryObject(hHandleLocal, ObjectTypeInformation, pType, 4096, NULL); if(NT_SUCCESS(status)) { if(pType->TypeName.Buffer && wcscmp(pType->TypeName.Buffer, L"Process") == 0) { DWORD dwProcessId = GetProcessId(hHandleLocal); // check if the process is not hidden if(!IsProcessFound(dwProcessId, pProcessInfos)) { // hoho here we go wchar_t szProcess[MAX_PATH]; if(GetProcessImageFileNameW(hHandleLocal, szProcess, MAX_PATH) == 0) wcscpy_s(szProcess, L"<Unknown>"); printf("[%0.4d] %ws\n", dwProcessId, szProcess); (*piCount)++; } } } } CloseHandle(hOwner); } free(pType); free(pHandleInfos); free(pProcessInfos); return TRUE; } int main(int argc, char* argv[]) { UINT iHiddenCount = 0; if(!AcquireDebugPrivilege()) { printf("Unable to acquire debug privilege.\n"); return EXIT_FAILURE; } if(!Init()) { printf("Initialization failure.\r\n"); return EXIT_FAILURE; } DetectHiddenProcesses(&iHiddenCount); printf("Found %d hidden process%s.\r\n", iHiddenCount, (iHiddenCount > 1 ? "es" : "")); return EXIT_SUCCESS; }


    You need creativity for this code

    Credit by: how02

    Last edited by COD3RIN; 01-05-2014 at 07:11 PM.


    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !

  2. The Following 5 Users Say Thank You to COD3RIN For This Useful Post:

    HachikoJES (01-06-2014),HDCHEATER (01-06-2014),Megasanderown (01-12-2014),saifuljj (01-06-2014),UlanHafiz (01-06-2014)

  3. #2
    HDCHEATER's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    My Mood
    Confused
    Nice job! Thx for sharing!

  4. #3
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,153
    My Mood
    Busy
    Quote Originally Posted by HDCHEATER View Post
    Nice job! Thx for sharing!
    No problem


    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !

  5. #4
    FAKE_TUTORIAL_2013's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    144
    My Mood
    Cool
    how to use this bro ??
    im not pro at code ..
    but thanks for sharing

  6. #5
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,153
    My Mood
    Busy
    Quote Originally Posted by FAKE_TUTORIAL_2013 View Post
    how to use this bro ??
    im not pro at code ..
    but thanks for sharing
    use c++


    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !

  7. #6
    manforce's Avatar
    Join Date
    Apr 2013
    Gender
    male
    Posts
    20
    Reputation
    10
    Thanks
    75
    My Mood
    Drunk
    how to make it into dll pls help

  8. #7
    FAKE_TUTORIAL_2013's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    45
    Reputation
    10
    Thanks
    144
    My Mood
    Cool
    can share the download link ??
    Quote Originally Posted by COD3RIN View Post

    use c++

  9. #8
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,153
    My Mood
    Busy
    Quote Originally Posted by FAKE_TUTORIAL_2013 View Post
    can share the download link ??
    i dont have the link


    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !

  10. #9
    UlanHafiz's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    C:\BSManiac.exe
    Posts
    39
    Reputation
    10
    Thanks
    392
    Mind remove this post
    -UlanHafiz-

    -User of making tools with Visual Basic. [Newbie]
    -Training on making professional tools for MPGH.


    Regards,

  11. #10
    saiful33's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Posts
    2
    Reputation
    10
    Thanks
    0
    My Mood
    Bashful
    hey cod3rin . can you give me link toturial on youtube how to use c++ . becuse have many fake -.-

  12. #11
    COD3RIN's Avatar
    Join Date
    May 2013
    Gender
    male
    Location
    Posts
    4,941
    Reputation
    315
    Thanks
    22,153
    My Mood
    Busy
    Quote Originally Posted by saiful33 View Post
    hey cod3rin . can you give me link toturial on youtube how to use c++ . becuse have many fake -.-
    watch fleep tutorial well i cannot do that giving link in youtube


    Love you.
    ~Kenshit13
    Quote Originally Posted by cheaterman26 View Post
    COD3RIN PUT A BACKDOOR ON HIS OWN CHEAT HE HACK MY COMPUTER AND MY STEAM, DON'T TRUST THIS GUYS !

  13. #12
    ImmortalZero's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    How do I get c++ ?

  14. #13
    UlanHafiz's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    C:\BSManiac.exe
    Posts
    39
    Reputation
    10
    Thanks
    392
    Quote Originally Posted by ImmortalZero View Post
    How do I get c++ ?
    Window Visual Studio. Find yourself.!
    -UlanHafiz-

    -User of making tools with Visual Basic. [Newbie]
    -Training on making professional tools for MPGH.


    Regards,

  15. #14
    ImmortalZero's Avatar
    Join Date
    Dec 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Took me hours to install the Windows Visual Studio

  16. #15
    Caezer99's Avatar
    Join Date
    Dec 2011
    Gender
    male
    Location
    127.0.0.1
    Posts
    575
    Reputation
    10
    Thanks
    1,235
    Leech again!! Leecher of the year title goes to COD3RIN


    Mess with the best, die like the rest.


  17. The Following 4 Users Say Thank You to Caezer99 For This Useful Post:

    genegohjy (01-08-2014),manforce (01-08-2014),Megasanderown (01-12-2014),xPureangel (01-07-2014)

Page 1 of 6 123 ... LastLast

Similar Threads

  1. [Release] Source Code for Survival Hack v3.3 [by sd333221]
    By chickeninabiskit in forum DayZ Mod & Standalone Hacks & Cheats
    Replies: 16
    Last Post: 01-18-2013, 08:45 AM
  2. Found source code for a hack
    By dankmagicninja in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 5
    Last Post: 08-26-2012, 04:24 AM
  3. [Source Code] Need some Source Codes for Menu Hack
    By taylan in forum WarRock Hack Source Code
    Replies: 8
    Last Post: 12-09-2010, 11:18 AM
  4. Need source code for chams hack
    By TheCamels8 in forum C++/C Programming
    Replies: 10
    Last Post: 06-14-2010, 06:49 PM
  5. Need source code for chams hack
    By TheCamels8 in forum WarRock Hack Source Code
    Replies: 5
    Last Post: 06-11-2010, 10:00 PM

Tags for this Thread