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 


Change setting of a compiled code.

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Matriz
How do I cheat?
Reputation: 0

Joined: 14 Feb 2014
Posts: 2

PostPosted: Fri Feb 14, 2014 7:03 pm    Post subject: Change setting of a compiled code. Reply with quote

Hello,

I want to write Keylogger that works like this: The user opens the main program A and he can then change the settings of the actual Keylogger, then he saves the settings and it will generate/change the program B or the "lure". But I'm not really sure how that would work to change the settings of an already compiled code (B) through another program (A). Would that mean, that I had to disassemble? Or do I have to add a compiler to the Keylogger main program which will then eventually create the infected object..??

I hope you understand my problem. Settings change would be something like setting a different email adresse where log-files should be sent etc. Thank you very much
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3330

PostPosted: Fri Feb 14, 2014 8:56 pm    Post subject: Reply with quote

When I was playing with ASM and C code back in school (the days of good old MS-DOS), I simply created a large global variable (an array), which gets compiled into the binary.
This array was holding the variables, and the code would read them on program startup and write them (the binary would modify itself in the memory and on the disk) to store the changed settings for future use.
I am not familiar with how Windows images are stored on the disk and memory, but I do know that you can link resources into them. I wonder if the same trick could be achieved with resources.
BTW, some antivirus tools will pick-up modifications in images, so you'd need to find a solution that would not be seen as "malicious activity" - which it usually is... IMHO, bypassing all known antivirus software will be harder than figuring out how to modify executable images on Windows...
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Feb 15, 2014 3:16 pm    Post subject: Reply with quote

This is not the site to learn how to make skid childish crap.
_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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