| View previous topic :: View next topic |
| Author |
Message |
Matriz How do I cheat?
Reputation: 0
Joined: 14 Feb 2014 Posts: 2
|
Posted: Fri Feb 14, 2014 7:03 pm Post subject: Change setting of a compiled code. |
|
|
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 |
|
 |
Csimbi I post too much
Reputation: 97
Joined: 14 Jul 2007 Posts: 3330
|
Posted: Fri Feb 14, 2014 8:56 pm Post subject: |
|
|
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 |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
Posted: Sat Feb 15, 2014 3:16 pm Post subject: |
|
|
This is not the site to learn how to make skid childish crap.
_________________
- Retired. |
|
| Back to top |
|
 |
|