Page 2 of 4

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 12:02 am
by emoisback
majorb00bage wrote:
Thu Feb 29, 2024 11:59 pm
emoisback wrote:
Thu Feb 29, 2024 11:00 pm
Yes its, but its on byte format
hmm, I don't see anything resembling a quantity here :mellow:
Spoiler
{
0x41, 0x81, 0x84, 0x8A, 0xEC, 0x17, 0x00, 0x00, 0xF4, 0x01, 0x00, 0x00,
0x41, 0x81, 0x84, 0x8A, 0xF0, 0x17, 0x00, 0x00, 0xF4, 0x01, 0x00, 0x00,
0x41, 0x81, 0x84, 0x8A, 0xF4, 0x17, 0x00, 0x00, 0xF4, 0x01, 0x00, 0x00,
0xFF, 0x25, 0x00, 0x00, 0x00, 0x00, // JMP [rip+6]
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Placeholder for the target address
};
There is a quantity 01F4 is 500

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 12:05 am
by daddy
The tool works flawlessly after entering the launch command and overwriting the files with the depot files. Thank you for your hard work and all you contribute.

Edit: The latest github version when compiled spits out an error that I can't see and then closes. But otherwise, the release in the forum post works great.

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 12:28 am
by majorb00bage
emoisback wrote:
Fri Mar 01, 2024 12:02 am
01F4 is 500
this is true, but I don't see it in the code

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 12:31 am
by gir489
majorb00bage wrote:
Thu Feb 29, 2024 11:59 pm
emoisback wrote:
Thu Feb 29, 2024 11:00 pm
Yes its, but its on byte format
hmm, I don't see anything resembling a quantity here :mellow:
Spoiler
{
0x41, 0x81, 0x84, 0x8A, 0xEC, 0x17, 0x00, 0x00, 0xF4, 0x01, 0x00, 0x00,
0x41, 0x81, 0x84, 0x8A, 0xF0, 0x17, 0x00, 0x00, 0xF4, 0x01, 0x00, 0x00,
0x41, 0x81, 0x84, 0x8A, 0xF4, 0x17, 0x00, 0x00, 0xF4, 0x01, 0x00, 0x00,
0xFF, 0x25, 0x00, 0x00, 0x00, 0x00, // JMP [rip+6]
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // Placeholder for the target address
};
That's because he's moving 4 bytes into the address and you have to make sure you properly do Big Endian. Follow the opcodes. 0x41 is MOV, 0x81 0x84 is RAX, 0xEC 0x17 0x00 0x00 is offset 0x000017EC and 0xF4 0x01 0x00 0x00 is 0x00001F4 (500 in decimal).

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 1:14 am
by emoisback
gir489 wrote:
Thu Feb 29, 2024 8:46 pm
emoisback wrote:
Thu Feb 29, 2024 6:26 pm
hmm lets try to use it on latest exe, havent try it.

thanks for reply.

have try it doesnt fast enough, maybe because using aob scan to find address...

gonna try use static addrs
Maybe it's because Themida prevents external processes from seeing game.dll on the PEB? Dunno. I worked with cfemen to use a proxy VERSION.dll, and it's able to call GetModuleHandle on game.dll no problem with the latest EXE.
where i can find version.dll there is no version.dll in game folder but game load it.

found it..

gameguard init always fail, gonna take a rest then try again..

or maybe they check CRC?

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 3:38 am
by gir489
emoisback wrote:
Fri Mar 01, 2024 1:14 am
gir489 wrote:
Thu Feb 29, 2024 8:46 pm
emoisback wrote:
Thu Feb 29, 2024 6:26 pm
hmm lets try to use it on latest exe, havent try it.

thanks for reply.

have try it doesnt fast enough, maybe because using aob scan to find address...

gonna try use static addrs
Maybe it's because Themida prevents external processes from seeing game.dll on the PEB? Dunno. I worked with cfemen to use a proxy VERSION.dll, and it's able to call GetModuleHandle on game.dll no problem with the latest EXE.
where i can find version.dll there is no version.dll in game folder but game load it.

found it..

gameguard init always fail, gonna take a rest then try again..

or maybe they check CRC?
[Link]

You need something like this that fills the IAT with the functions that the WinAPI expects, otherwise it's going to ignore your DLL and map the one from System32. You also need to eject the DLL by calling FreeLibraryAndExitThread after you've done your writes, but you can't do it from DllMain, you should kick off a thread from CreateThread, and just have it wait until it finds a handle to game.dll, write the bytes, then eject the DLL from the HMODULE you got from DllMain.

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 5:04 am
by Saladin01
Followed instructions to the letter. Quite easy! Works great! Thanks to everyone and especially to emoisback for the convenience!

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 9:07 am
by TonyStark
emoisback wrote:
Thu Feb 29, 2024 6:04 pm
Thanks to @gir489 and anyone that contribute on This thread

You still need OLD EXE

This is PoC that i create to learn about asm injection using C# on 64bit application / game.

Feature is :

Inf Health + Invulnerable
Inf Granades
Inf Ammo
Inf Syringes
Inf Stamina
Inf Strategems
Inf Mission Time
No Reload
Max Resources

How to use :
Open with administrator,
then open the game.
cheat automatic active.

[Link]

Password : emoisback

HellDivers2Hack-POC.rar

Please if you test it and its work reply because i dont know its work on other or only me, still learning.
Something like that, with .ini file for custom code and activation/deactivation option should be nice.

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 9:40 am
by emoisback
TonyStark wrote:
Fri Mar 01, 2024 9:07 am
emoisback wrote:
Thu Feb 29, 2024 6:04 pm
Thanks to @gir489 and anyone that contribute on This thread

You still need OLD EXE

This is PoC that i create to learn about asm injection using C# on 64bit application / game.

Feature is :

Inf Health + Invulnerable
Inf Granades
Inf Ammo
Inf Syringes
Inf Stamina
Inf Strategems
Inf Mission Time
No Reload
Max Resources

How to use :
Open with administrator,
then open the game.
cheat automatic active.

[Link]

Password : emoisback

HellDivers2Hack-POC.rar

Please if you test it and its work reply because i dont know its work on other or only me, still learning.
Something like that, with .ini file for custom code and activation/deactivation option should be nice.
There is source code you can edit it, its just poc im learning about asm injection..

But if i have time i will do it.

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 2:21 pm
by slashdogz
Just logged to say thanks for it! Worked really well. Just a questions, the inf stratagems are just for those who have unlimited uses right? Ex. orbital laser, once the 3 limit is done, its over. Would be possible something related to medals?(prop not i know, but dont hurt to ask)

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 4:35 pm
by HellDiversGuy
Unhandled Exception: System.ComponentModel.Win32Exception: Access is denied
at System-Diagnostics.NtProcessManager.GetmoduleInfos(Int32 processld, Boolean firstModuleOnly)
at System-Diagnostics.ProcessManager.GetmoduleInfos(Int32 processld)
at System. Diagnostics.Process. get_Modules ()
at HellDivers2Hack_POC.Memory .GetModuleByName(Process process, String moduleName)
at HellDivers2Hack_POC.Program.Main(String[] args)

Got this error

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 4:50 pm
by XlibshuaX
emoisback wrote:
Thu Feb 29, 2024 6:04 pm
Thanks to @gir489 and anyone that contribute on This thread

You still need OLD EXE

This is PoC that i create to learn about asm injection using C# on 64bit application / game.

Feature is :

Inf Health + Invulnerable
Inf Granades
Inf Ammo
Inf Syringes
Inf Stamina
Inf Strategems
Inf Mission Time
No Reload
Max Resources

How to use :
Open with administrator,
then open the game.
cheat automatic active.

[Link]

Password : emoisback

HellDivers2Hack-POC.rar

Please if you test it and its work reply because i dont know its work on other or only me, still learning.
can i clsoe the exe after the cheats inject?

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 5:21 pm
by emoisback
gir489 wrote:
Thu Feb 29, 2024 8:46 pm
emoisback wrote:
Thu Feb 29, 2024 6:26 pm
hmm lets try to use it on latest exe, havent try it.

thanks for reply.

have try it doesnt fast enough, maybe because using aob scan to find address...

gonna try use static addrs
Maybe it's because Themida prevents external processes from seeing game.dll on the PEB? Dunno. I worked with cfemen to use a proxy VERSION.dll, and it's able to call GetModuleHandle on game.dll no problem with the latest EXE.
i create version.dll proxy show console and print getmodulehandle game.dll, but its look has been protected.

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 7:44 pm
by kxngwho
emoisback wrote:
Thu Feb 29, 2024 6:04 pm
Thanks to @gir489 and anyone that contribute on This thread

You still need OLD EXE

This is PoC that i create to learn about asm injection using C# on 64bit application / game.

Feature is :

Inf Health + Invulnerable
Inf Granades
Inf Ammo
Inf Syringes
Inf Stamina
Inf Strategems
Inf Mission Time
No Reload
Max Resources

How to use :
Open with administrator,
then open the game.
cheat automatic active.

[Link]

Password : emoisback

HellDivers2Hack-POC.rar

Please if you test it and its work reply because i dont know its work on other or only me, still learning.
even using the program i get api error after few minutes in match can anyone help

Re: Helldivers 2 Hack Tools ( PoC - AutoAsm 64bit with C# )

Posted: Fri Mar 01, 2024 11:20 pm
by HellDiversGuy
Do wonder what's going on to get this error,

Unhandled Exception: System.ComponentModel.Win32Exception: Access is denied
at System-Diagnostics.NtProcessManager.GetmoduleInfos(Int32 processld, Boolean firstModuleOnly)
at System-Diagnostics.ProcessManager.GetmoduleInfos(Int32 processld)
at System. Diagnostics.Process. get_Modules ()
at HellDivers2Hack_POC.Memory .GetModuleByName(Process process, String moduleName)
at HellDivers2Hack_POC.Program.Main(String[] args)

had the same issue with the Cheat Engine Table,

Definitely have the 1.8.16570.0 Version of the .exe

Have the Steam Launch Options:
--delay_gameguard_init

If anyone does find out do let me know, looks like there's a few people encountering the same issue.

Tried saving to Desktop as suggested somewhere else but still no luck.

Win 11, AMD