unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials > Anti-Cheat Bypass > PunkBuster

- Sponsored Advertisement -
http://www.myfpscheats.com/


Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2007, 09:56 PM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default Defeating punkbuster checks

By: okidoki



Hi,

Here is a way to defeat punkbuster checks ( I used IDA Pro ).

First we need to find the "%c%c" or "%s NOT_FOUND" string in pbcl.dll:
PHP Code:
.rdata:1005DADC aCC  db '%c%c',0
.rdata:1005DACC aSNot_found db '%s NOT_FOUND',
Then go to the DATA XREF:
PHP Code:
.text:1002696E push    offset aCC      "%c%c"
.text:100269F1 push    offset aSNot_found "%s NOT_FOUND" 
Scroll up to the beginning of the function:
PHP Code:
int __cdecl sub_100250E0(struct _MEMORY_BASIC_INFORMATION Buffer
Now we can detour it:
PHP Code:
typedef int ( *PBPerformCheck_t )( int iArg1int iArg2_MEMORY_BASIC_INFORMATION mbiArg3 );
PBPerformCheck_t pPBPerformCheck 0;

int _PBPerformCheckint iArg1int iArg2_MEMORY_BASIC_INFORMATION mbiArg3 )
{
    return 
pPBPerformCheckiArg1 iArg2mbiArg3 );
}

void Hook( )
{
    
DWORD dwPbclBase = ( DWORD )GetModuleHandle"pbcl.dll" );
    
pPBPerformCheck = ( PBPerformCheck_t )DetourFunction( ( BYTE * )( dwPbclBase 0x250E0 ), ( BYTE * )_PBPerformCheck);

Finally here is a method to filter/defeat the checks:
PHP Code:
char *pszCheckString;

int _PBPerformCheckint iArg1int iArg2_MEMORY_BASIC_INFORMATION mbiArg3 )
{
    
_asm mov pszCheckStringesi;

    
// if the pszCheckString's first char is |: Files white list check
    // if the pszCheckString's first char is B: Cvar check
    // if the pszCheckString's first char is N: MD5 check
    // if the pszCheckString's first char is E: Key bind check

    // Remove stuff

    
int iReturn pPBPerformCheckiArg1 iArg2mbiArg3 );

    
// Re-apply stuff

    
return iReturn;

The string also contains the names of the modules/cvars/path ... checked, and this code is 100% working for up to date FarCry 1.4 punkbuster client.

Happy filtering

Regards.
Reply With Quote
Reply

  • Submit Thread to Digg
  • Submit Thread to del.icio.us
  • Submit Thread to StumbleUpon
  • Submit Thread to Google
  • Submit Thread to Facebook
  • Submit Thread to My Yahoo!
  • Submit Thread to MySpace
  • Submit Thread to Twitter
  • Submit Thread to Reddit

Tags
checks, defeating, punkbuster

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 10:18 AM.