Log in

View Full Version : DEBUGGER WITH GOOD ASSEMBLY in 64 BITS


Ricardo Narvaja
March 21st, 2009, 20:06
I am working in 64 bits cracking, and have some problems.
I have WINDBG 64 and IDA for 64 bits, and both have a similar problem and i not found a solution.

I need assembly code in 64 bits, in the debugger, and test on the fly, i need be quickly, i'm trying injections of code and the code need to be written in the same program in caves, is not possible compile the code out of the debugger.

Both debuggers don't assemble correctly in 64 bits, and have similar errors, if you type PUSH RAX is not accepted, and PUSH EAX is accepted and changed to PUSH RAX (very strange)
SUB RSP,38 is not accepted at all,SUB RSP,038h, and all posibilities with RSP are not accepted, but SUB ESP,38 is accepted, and is not transformed to SUB RSP,38 (agrrrrrrrrrrrh).
Conclusion is no possible asembly in IDA or WINDBG at all in 64 BITS.

Well my question is, how do you make this job in 64 bits?, assembling and trying code in injections writing directly in the debugger,
In 32 bits is easy in ollydbg, but in 64 bits olly don't work.

What tool can be used for this?There are a debugger for 64 bits capable of assembly code?

Thanks for all
ricnar

evaluator
March 22nd, 2009, 02:28
64bit CPU will dead before 32bit.
& we all will jump to 128bit CPU!

Ricardo Narvaja
March 22nd, 2009, 05:11
well but I have no solution? buaaa

;-)

ricnar

Jon
March 22nd, 2009, 20:30
Hello Ricardo,
When I had to play with that stuff, what I did i assemble a small piece of code using Ml64 or YASM64 and then used .readmem command in windbg to write the code in... would not say its the best or perfect solution ... but I was too lazy to actually add YASM as a plugin to windbg/IDA... but im sure you can do it pretty easily...

Good luck

Ricardo Narvaja
March 23rd, 2009, 05:42
Thanks for the help

ricnar

lallous
March 24th, 2009, 06:52
Just an idea, try HiewPlus.

Ricardo Narvaja
March 24th, 2009, 17:18
Is not free, and the cracked version don't have the assembler/dissassembler in 64 bits, the version i have don't have this feature.

ricnar