|
You last visited: Today at 09:32
Advertisement
9Dragons Hackshield/GG Bypass for BOT
Discussion on 9Dragons Hackshield/GG Bypass for BOT within the 9Dragons forum part of the MMORPGs category.
04/26/2022, 11:09
|
#1
|
elite*gold: 76
Join Date: Sep 2010
Posts: 323
Received Thanks: 103
|
9Dragons Hackshield/GG Bypass for BOT
Hey all,
I started messing around with developing a simple bot for 9Dragons.
Im using Java and robots api. (I know other languages matching better but this is my favourite  )
My problem is Hackshield/GameGuard is blocking any input to the game. My testRobot works fine on private servers.
What I found out after some research:
Code:
Assuming you are on a Windows machine, the call to java.awt.Robot calls are redirected to sun.awt.windows.WRobotPeer, which in turn calls native code in awt_Robot.cpp. You can check the source code of the awt_Robot.cpp here : http://www.koders.com/cpp/fidFFE004659A9CAB3DA2B3302C457E624AF6F3EEDF.aspx?s=GetDIBits#L232
Here you can see that the mouse events are realized with win32 call mouse_event(...) (defined in winuser.h)
So your Robot mouse click calls are limited by the limitations of mouse_event(...).
Then a little googling on this, reveals that some games have some sort of macro protection mechanism. They ignore mouse_event(...) routed methods and talk directly with the driver. Hackshield, for instance, provides such protection mechanisms to a number of games. So this is the reason why some games do not receive your Robot mouse clicks.
Anyone ever put effort and time into this and found a way to bypass this ?
Greetz,
Prizzle
|
|
|
04/26/2022, 12:58
|
#2
|
elite*gold: 37
Join Date: Jan 2009
Posts: 2,544
Received Thanks: 1,034
|
Quote:
Originally Posted by Prizzle
Hey all,
I started messing around with developing a simple bot for 9Dragons.
Im using Java and robots api. (I know other languages matching better but this is my favourite  )
My problem is Hackshield/GameGuard is blocking any input to the game. My testRobot works fine on private servers.
What I found out after some research:
Code:
Assuming you are on a Windows machine, the call to java.awt.Robot calls are redirected to sun.awt.windows.WRobotPeer, which in turn calls native code in awt_Robot.cpp. You can check the source code of the awt_Robot.cpp here : http://www.koders.com/cpp/fidFFE004659A9CAB3DA2B3302C457E624AF6F3EEDF.aspx?s=GetDIBits#L232
Here you can see that the mouse events are realized with win32 call mouse_event(...) (defined in winuser.h)
So your Robot mouse click calls are limited by the limitations of mouse_event(...).
Then a little googling on this, reveals that some games have some sort of macro protection mechanism. They ignore mouse_event(...) routed methods and talk directly with the driver. Hackshield, for instance, provides such protection mechanisms to a number of games. So this is the reason why some games do not receive your Robot mouse clicks.
Anyone ever put effort and time into this and found a way to bypass this ?
Greetz,
Prizzle
|
I doubt that's the answer you look for, but don't bother with automating stuff that way. Fuck keyboard inputs, fuck mouse inputs, get some help into RE and make your character move by using in-game functions. Set your skills with in-game functions. Attack the same way. Or use packets. That's probably the easiest way to deal with it. But then, I can't really recommend Java, to be honest. Either C++ or C# with unsafe context is the way to go for me.
Or write a driver that simulates a keyboard. Or read about ring0 things, but that's an overkill in this case.
tl;dr: using keyboard/mouse inputs is limited, easily detected, and annoying to deal with.
PS. It works on privs, because most of them stripped the GG layer from the game. IIRC they always hooked these functions.
|
|
|
04/26/2022, 20:28
|
#3
|
elite*gold: 76
Join Date: Sep 2010
Posts: 323
Received Thanks: 103
|
Quote:
Originally Posted by adek1994
I doubt that's the answer you look for, but don't bother with automating stuff that way. **** keyboard inputs, **** mouse inputs, get some help into RE and make your character move by using in-game functions. Set your skills with in-game functions. Attack the same way. Or use packets. That's probably the easiest way to deal with it. But then, I can't really recommend Java, to be honest. Either C++ or C# with unsafe context is the way to go for me.
Or write a driver that simulates a keyboard. Or read about ring0 things, but that's an overkill in this case.
tl;dr: using keyboard/mouse inputs is limited, easily detected, and annoying to deal with.
PS. It works on privs, because most of them stripped the GG layer from the game. IIRC they always hooked these functions.
|
Thhanks for your input!
Im gonna research more on this topic and will go for the RE / by using in-game functions / PE.
Basically this is the way we did it on MapleStory like 15/20 years ago and it is still the way it works, crazy.
Interesting video from Defcon:
Twenty Years of MMORPG Hacking: Better Graphics, Same Exploits
Greetz,
Prizzle
|
|
|
04/26/2022, 22:04
|
#4
|
elite*gold: 37
Join Date: Jan 2009
Posts: 2,544
Received Thanks: 1,034
|
Quote:
Originally Posted by Prizzle
Thhanks for your input!
Im gonna research more on this topic and will go for the RE / by using in-game functions / PE.
Basically this is the way we did it on MapleStory like 15/20 years ago and it is still the way it works, crazy.
Interesting video from Defcon:
Twenty Years of MMORPG Hacking: Better Graphics, Same Exploits
Greetz,
Prizzle
|
Of course, these methods will work as long as the architecture won't change. You can't really prevent it 100%.
Also I watched this video, that's a great one.
|
|
|
 |
Similar Threads
|
[Selling] hardware 9Dragons bot, auto skill, trap, train, buf... No hackshield detected You las
08/16/2014 - 9Dragons Trading - 1 Replies
Controduction:
USB AutoGAMES is a USB peripheral hardware device integrated keyboard and mouse is controlled automatically
according to pre-set programs can be changed by this AutoGames USB software. USB devices can automatically
playing Games by auto-pressing left click, right click, and middle click mouse and auto-pressing all keys
including single keys and key combinations (of keyboard) with the time setting and preinstalled and stored
in the device's memory. The preset program can...
|
[Selling] hardware 9Dragons bot, auto skill, trap, train, buf... No hackshield detected
12/23/2013 - 9Dragons Trading - 4 Replies
introduction:
USB AutoGAMES is a USB peripheral hardware device integrated keyboard and mouse is controlled automatically according to pre-set programs can be changed by this AutoGames USB software. USB devices can automatically playing Games by auto-pressing left click, right click, and middle click mouse and auto-pressing all keys including single keys and key combinations (of keyboard) with the time setting and pre-installed and stored in the device's memory. The preset program can be...
|
[Hackshield]Bypass the new protection hackshield
01/25/2010 - Silkroad Online - 2 Replies
Today i was so mad from agbot so i found the loader lite 3...
so i tried to connect with him to ibot (port : 16000) and failed cuz of the hackshield .... so i tried to rename the "hackshield" file dictory and it was full of success ... but i dont know .. should i get banned for it? (i bought silks)
if no ill post here the download and guide...
Thank's alot : Kobbi :)
|
All times are GMT +1. The time now is 09:34.
|
|