Check Order status | Verified Sales | Escrow Service | Advertise
westernunion carding gold carding
revolut carding electronics carding
paypal carding payoneer carding
advertise on cracking forums

Basic Anti-Debugging in C++

Prince

[ Verified Seller ]
Staff member
Trusted Seller
Joined
10 yrs. 6 mth. 15 days
Messages
5,387
Reaction score
18,373
Age
44
Wallet
11,590$
I am going to share a simple method for detecting whether your program (it may be viral code as well) is being debugged. Anti-debugging is an essential trick for survival of your malicious code.

Windows API provides a simple function isDebuggerPresent() but it can be bypassed too easily, and therefore should NOT be used. I will show you how to use Process Control Box to test debugging.

Process Control Box or PCB is a kernel level stuff, and therefore is accessible by Native API (not Win32 API). The following code shows how to do it. Code is self explanatory.

Code:
Please, Log in or Register to view codes content!

To use it in your code, simply call alert() function. You may want to modify it to return a value (true/false) instead of printing string.
 
Paid adv. expire in 2 months
CLICK to buy Advertisement !
westernunion carding Verified & Trusted WesternUnion | MoneyGram | Bank - Transferring [299$ BTC for 2000$ WU]
electronics carding Verified & Trusted Electronics Carding, Carding iPhone, Samsung Carding, MacBook Carding, Laptops Carding

Xp2018

Well-known member
Member
Joined
4 yrs. 10 mth. 21 days
Messages
820
Reaction score
0
Wallet
0$
The ImmunityDebugger has also a plugin that bypass several anti-debug tricks. Maybe thats also interesting to look at their github repo, if you want to learn what kind of techniques are popular.
 
Top Bottom