| View previous topic :: View next topic |
| Author |
Message |
Count How do I cheat?
Reputation: 0
Joined: 29 Jul 2014 Posts: 1
|
Posted: Tue Jul 29, 2014 12:10 pm Post subject: Themida BP And Debug |
|
|
How I Can Debug To Packed Exe With Themida ?
I patched DbgBreakPoint and DbgUiRemoteBreaking But They Are Not Enough.
-Sorry For My Low English
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Tue Jul 29, 2014 12:56 pm Post subject: |
|
|
Themida is a virtual machine in terms of how it packs things. You will typically need to patch all the VM calls as well as remove any of the anti-debug measures that are enabled for the packed file. Typically, it is best to just unpack the whole thing if you plan to debug and alter the binary in any manner for cheating.
_________________
- Retired. |
|
| Back to top |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Tue Jul 29, 2014 5:34 pm Post subject: |
|
|
In other words, give up already. Themida is one of the incredibly difficult actually the most difficult protector of all and it takes a lot of skill and dedication to go through the virtualization it produces and depending on the difficulty it can be very tough task. Also CE is not the debugger you want to use with themida, its alright but nowhere as good as Olly which you need for its plugin and the environment/functions.
I suggest you start out learning unpacking simple packers like upx then tackling easy to hard protectors such as aspr, armadillo to the last one be themida. Tuts4you is the place you want to hang out (CEF is not the place for this).
PS: ^My point is to not try to discourage you but you do need an idea of what you are dealing with and which direction to go, few years back i had interest in MUP and i learned all of them (execryptor was the second most difficult) until it was time for themida and i gave up halfway, way too much of headache to debug through the virtualization it produces then the OEP it steals, arghh you pretty much have to rebuild the exe yourself in asm. It was on a test unpackme so not sure how much virtualization is used in applications in the wild but i imagine a lot. So if you can unpack themida you must be incredibly good and have a lot of patience.
Good luck
_________________
|
|
| Back to top |
|
 |
Chris12 Expert Cheater
Reputation: 1
Joined: 27 Apr 2012 Posts: 103
|
Posted: Wed Jul 30, 2014 11:54 am Post subject: |
|
|
STN is right you're dealing with one of the most advanced obfuscators.
If you don't know what you're doing I'd suggest you give up and come back when you know MUCH more.
But there is hope. Many developers just slap themida ontop of their executable and hope it will work.
But if themida is not applied correctly you can still attack the executable from other points.
Maybe hack the network traffic? Or the files it works with? There are lots of ways to hack stuff without modifying the code.
You could also try to hack the values it uses for calculating stuff.
If its a game there is a small chance that the values are encrypted in memory which can make it harder to find stuff... (depending on how well this protection is done the difficulty cracking it range from "as good as non-existant" to "nearly impossible without debugger")
If its an older version of themida you can try to find a public unpacker.
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Wed Jul 30, 2014 12:07 pm Post subject: |
|
|
I don't suggest just giving up, if you are able to patch certain parts of Themedia already (assuming the two API you mentioned were virtualized) then you are already on the right track.
There are a handful of articles, examples, and posts over at Tuts4You's forums covering Themedia which should help you get further if you are stuck and unsure where to go next. There are other hacking sites, as well, that specifically cover unpacking or include tutorials for it that cover the latest and more major packers. Google should help you find everything you need though, all the info is publicly available.
_________________
- Retired. |
|
| Back to top |
|
 |
|