Flag: Tornado! Hurricane!

 Forums >>  IDA Pro  >>  recompile to .exe

Topic created on: February 19, 2010 11:46 CST by Dannymet .

Hi, I opened a .net assembly, and modified just one line in the code
i cant recompile the .exe again though. Ive tried creating it as an asm file (compiling the asm didnt work) and a dif file (dif to patch the original) but none seem to work.
ive also tried pe_sections.idc then pe_write.idc, but i get the error "The HEADER section is not in the first section"

  kowboykoder   February 22, 2010 20:29.43 CST
I dont think IDA is capable of recompiling to an EXE (despite the option being there), at least in the free version anyway. Maybe in the commercial version.

IDA is advertised as a disassembler / decompiler / debugger, not a compiler as well.

  Silkut     February 23, 2010 02:47.34 CST
IDA can not directly patch the EXE, however in latest commercial versions you could produce a .dif file to patch your application. Try to look that way.

  velocirapt0r     November 25, 2011 08:46.53 CST
Not a gravedig. xkcd[979].

Use latest version as previously suggested, make a .dif, and patch with this (run at commandline with at least one argument for usage message):
http://pastebin.com/WsbKhdwB

Protip: compilers are your friend.

  Swoorup     November 26, 2011 11:52.08 CST
View the structure of diff file.
Then open the diff file.
And then use a hex editor to patch the exe.

Note: Registration is required to post to the forums.

There are 28,225 total registered users.


Recently Created Topics
Reverse Engineering ...
Jan/23
Career: DoD Agency I...
Jan/22
"Disappearing&q...
Jan/17
Career: Software Sec...
Jan/11
Where is the call st...
Jan/07
IDA Pro 6.1 Breakpoi...
Jan/01
How to create data s...
Dec/30
can i search all mod...
Dec/23
IDA symbol table exp...
Dec/20
An anti-attach trick
Dec/17


Recent Forum Posts
Reverse Engineering ...
NirIzr
"Disappearing&q...
NirIzr
Reverse Engineering ...
charlie
"Disappearing&q...
charlie
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
An anti-attach trick
waleeda...
An anti-attach trick
Bass
Looking for value in...
NirIzr


Recent Blog Entries
cmathieu
Feb/07
Hacker Carnival

waleedassar
Feb/06
OllyDbg v1.10 And Hardware ...

waleedassar
Jan/31
Yet Another Anti-Debug Trick

RolfRolles
Jan/22
Finding Bugs in VMs with a ...

waleedassar
Jan/13
An OllyDbg Bug Disables Sof...

More ...


Recent Blog Comments
waleedassar on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/07
OllyDbg v1.10 And Hardware ...

NirIzr on:
Feb/05
Yet Another Anti-Debug Trick

trolotou on:
Feb/05
Doudoune Moncler -Pennies F...

waleedassar on:
Feb/01
Yet Another Anti-Debug Trick

More ...


Imagery
SoySauce Blueprint
Jun 6, 2008

[+] expand

View Gallery (11) / Submit