Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Loading C# .NET programs into IDA

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Jul 29, 2008 9:27 pm    Post subject: Loading C# .NET programs into IDA Reply with quote

I'm trying to load a program coded in C# .NET into IDA, but it always gives me this error when I try opening it as Microsoft .NET assembly:



If I try opening as a Portable Executable it doesn't load it correctly. But I know this can be done because I see people use IDA on .NET programs all the time. And I tried loading it in olly, but olly didn't load it correctly.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
samuri25404
Grandmaster Cheater
Reputation: 7

Joined: 04 May 2007
Posts: 955
Location: Why do you care?

PostPosted: Tue Jul 29, 2008 9:44 pm    Post subject: Reply with quote

What exactly are you trying to do?

Why not just use Lutz Roeder's Reflector?

_________________
Wiccaan wrote:

Oh jeez, watchout I'm a bias person! Locked.


Auto Assembly Tuts:
In Depth Tutorial on AA
Extended
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Jul 29, 2008 10:12 pm    Post subject: Reply with quote

samuri25404 wrote:
What exactly are you trying to do?

Why not just use Lutz Roeder's Reflector?


I'm trying to load the program into IDA because it lists the function names and I know the program uses a function to encrypt the files it saves, and I want to hook it (a challenge that my friend gave me), and if I double click the function name (most likely ec knowing how he codes), I can find the address.

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
AoiMasamune
Master Cheater
Reputation: 1

Joined: 14 Jun 2007
Posts: 255

PostPosted: Tue Jul 29, 2008 10:45 pm    Post subject: Reply with quote

C# is a .Net language, meaning it doesn't compile to x86 commands that IDA or Olly can understand. Instead it is using the .Net JIT compiler, which generates the executable just before it runs. The .exe that you generate isn't actually an executable program, which is why IDA is having problems.

Samuri gave good advice, just use Reflector to look at the algorithm he's using, and duplicate it in your own program to decrypt the files.
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Jul 29, 2008 10:50 pm    Post subject: Reply with quote

I don't wanna decrypt it. I wanted to hook the Encryption function. And I already know he's using AES anyway.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites