| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| nune How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 28 Dec 2005
 Posts: 5
 
 
 | 
			
				|  Posted: Wed Dec 28, 2005 2:27 pm    Post subject: what is kernel debug? |   |  
				| 
 |  
				| i try to write a tranier,use "DebugActiveProcess" attach a process, and set BP on some memory address(fault);
 becuz it .......
 so i want to use "kernel debug" (like ce);
 but i hv no idea ,what is "kernel debug",
 also set BP on some memory address (User Mode),
 then do something ,like change reg(Kernel mode)?or ?
 <i hv hook int1/3>
 hope Dark Byte can teach me (only some ez step)
 thx a lot
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Dark Byte Site Admin
 
  Reputation: 470 
 Joined: 09 May 2003
 Posts: 25807
 Location: The netherlands
 
 | 
			
				|  Posted: Wed Dec 28, 2005 4:01 pm    Post subject: |   |  
				| 
 |  
				| kernel debug works by modifying the interrupt table or hooking the original interrupt handler to point to my own handler 
 Then set some hardware breakpoints. (either in the context of the thread or on a taskswitch to the target thread)
 
 Then when the hardware breakpoint gets hit it generates a interrupt 1 . My own handler then handles it and sees what to do. (Either let it go through the original program, or stop all handling and just continue the game, after doping stuff like saving the registers or editing them)
 
 This is the easy way I can explain it, for more info, look at the device drivers sourcecode (dbkfunc.c handles that stuff)
 _________________
 
 Do not ask me about online cheats. I don't know any and wont help finding them.
 Like my help? Join me on Patreon so i can keep helping
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| nune How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 28 Dec 2005
 Posts: 5
 
 
 | 
			
				|  Posted: Wed Dec 28, 2005 11:36 pm    Post subject: |   |  
				| 
 |  
				|  	  | Dark Byte wrote: |  	  | kernel debug works by modifying the interrupt table or hooking the original interrupt handler to point to my own handler 
 Then set some hardware breakpoints. (either in the context of the thread or on a taskswitch to the target thread)
 
 Then when the hardware breakpoint gets hit it generates a interrupt 1 . My own handler then handles it and sees what to do. (Either let it go through the original program, or stop all handling and just continue the game, after doping stuff like saving the registers or editing them)
 
 This is the easy way I can explain it, for more info, look at the device drivers sourcecode (dbkfunc.c handles that stuff)
 | 
 
 First,thanks
 
 my trouble is how to set BP on target thread in kernel mode(some memory address); <at  ce sorcecode ?>
 now i can set BP (in usemode),and i can hook int 1;
 
 have a good day!
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Zhoul Master Cheater
 
 ![]() Reputation: 1 
 Joined: 19 Sep 2005
 Posts: 394
 
 
 | 
			
				|  Posted: Thu Dec 29, 2005 3:41 pm    Post subject: |   |  
				| 
 |  
				| Being a helpdesk tech, I get a lot of people who ask very direct fix-it/how-to questions, but have found that most of the time, there's an even simpler way to accomplish that which they're trying to do over-all (rather then proceed with their initial plan). 
 Using breakpoints and reading debug registers is a bit 'extensive' for a trainer eh?
 
 Wait! Let me guess... Multi-player game?
   
 Just because im curious - Let us know what you're attempting to accomplish here over-all.  And again, because I'm curious, I wont flame thee if it is a multi-player game - Altho DB may move the post on ya
   
 I have a reputation for ripping on multi-player cheaters, but since you're actually trying to create, rather then asking someone else to hand it to you on a silver platter...  Why not!
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| nune How do I cheat?
 
 ![]() Reputation: 0 
 Joined: 28 Dec 2005
 Posts: 5
 
 
 | 
			
				|  Posted: Thu Dec 29, 2005 9:10 pm    Post subject: |   |  
				| 
 |  
				| Not Multi Player Game; Only some trouble softweare,
   above question i have answer by myself (use google)
   thanks anyway
   |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |