

-A10101P- wrote:Hello lets imagine the fallowing scenario: You the author of the program wrote a program, how would you find out the source code, which suddenly one day vanished permanently from the computer and cannot be no longer found in the computer, and you don't remember the algorithm from the top of your head how would one then try to decrypt the program so they can find potential weakness or if possible the programs source code. And all you have is the compiled and ready to use version of the program.>>END OF SCENARIO
So in simple and obscure words how would one decrypt a program to exploit potential weakness of the program, etc.
Also i would be glad if someone explained the process of how its done detailed or not detailed, or at least point me to the right direction, because google is giving me all sorts of things.
Thank You,

-Ninjex- wrote:-A10101P- wrote:Hello lets imagine the fallowing scenario: You the author of the program wrote a program, how would you find out the source code, which suddenly one day vanished permanently from the computer and cannot be no longer found in the computer, and you don't remember the algorithm from the top of your head how would one then try to decrypt the program so they can find potential weakness or if possible the programs source code. And all you have is the compiled and ready to use version of the program.>>END OF SCENARIO
So in simple and obscure words how would one decrypt a program to exploit potential weakness of the program, etc.
Also i would be glad if someone explained the process of how its done detailed or not detailed, or at least point me to the right direction, because google is giving me all sorts of things.
Thank You,
This isn't down my path of knowledge.
All I have done is change minor things to some programs which I can not see the source for.
Here was my scenario:
I wanted to run VLC as root, which is not allowed.
I brought up Hexedit to read the code in hex form and it showed some of the information to the right in plain text.
I then installed Hex on my system and could just type in "Hex 'whatever I wanted here'" and it would turn it into Hex...
I then used that to change the code of VLC to allow it to be run as root.
Sorry if this sounds somewhat sketchy, but I am not to familiar with this anyways, and do not know if this would help you.




NightQuest wrote:You'll want a basic understand of assembly, but..
Since this is a scenario where it's a program/game you yourself made, I would use a program like OllyDbg or IDA to look for code that is near something that references what you're wanting to alter (for instance, in a player class you might have put the code to apply a skin to the player near the code to set their XYZ position).
Now I'm going to read between the lines here and say you didn't program this.
First, I would use a program like PEiD to find out which language/linker/etc is used.
Depending on that, I'd use the a disassembler that can handle it. For reference, OllyDbg doesn't like MSIL/.NET.
Once you have the program loaded in one of those, take a look at any referenced strings (OllyDbg can bring these up easily by right-clicking -> Search for -> All referenced text strings).
Usually, developers leave behind debug/log text that can help you locate where bits and pieces of code are in the program.
An example of this might be if you get teleported in a game, it might output your new and old coordinates to a log file "New XYZ: %f, %f, %f\nOld XYZ: %f, %f, %f".
Seeing this, I'd then examine the code surrounding the string and see if I can figure out where it's feeding the X, Y, and Z coordinates from.
If I'm able to figure that out easily, then using a program like Cheat Engine I would modify the XYZ memory values while in-game and see if it takes effect. if it does, then you could easily make a trainer that can teleport the player.
For that, you'd want to look at OpenProcess(), ReadProcessMemory() WriteProcessMemory() and VirtualProtectEx() to name a few.
Hope that helped on some level; I didn't go into more detail due to how generic your question is, sorry.


-A10101P- wrote:NightQuest wrote:You'll want a basic understand of assembly, but..
Since this is a scenario where it's a program/game you yourself made, I would use a program like OllyDbg or IDA to look for code that is near something that references what you're wanting to alter (for instance, in a player class you might have put the code to apply a skin to the player near the code to set their XYZ position).
Now I'm going to read between the lines here and say you didn't program this.
First, I would use a program like PEiD to find out which language/linker/etc is used.
Depending on that, I'd use the a disassembler that can handle it. For reference, OllyDbg doesn't like MSIL/.NET.
Once you have the program loaded in one of those, take a look at any referenced strings (OllyDbg can bring these up easily by right-clicking -> Search for -> All referenced text strings).
Usually, developers leave behind debug/log text that can help you locate where bits and pieces of code are in the program.
An example of this might be if you get teleported in a game, it might output your new and old coordinates to a log file "New XYZ: %f, %f, %f\nOld XYZ: %f, %f, %f".
Seeing this, I'd then examine the code surrounding the string and see if I can figure out where it's feeding the X, Y, and Z coordinates from.
If I'm able to figure that out easily, then using a program like Cheat Engine I would modify the XYZ memory values while in-game and see if it takes effect. if it does, then you could easily make a trainer that can teleport the player.
For that, you'd want to look at OpenProcess(), ReadProcessMemory() WriteProcessMemory() and VirtualProtectEx() to name a few.
Hope that helped on some level; I didn't go into more detail due to how generic your question is, sorry.
Thank you for pointing me in the right direction, and one more question will cheat engine work for all games or just the ones that are not played online?

-Ninjex- wrote:In my uses, cheat engine worked on online games and offline games.
Although, some games take precautions and makes Cheat Engine pointless.

NightQuest wrote:You'll want a basic understand of assembly, but..
Since this is a scenario where it's a program/game you yourself made, I would use a program like OllyDbg or IDA to look for code that is near something that references what you're wanting to alter (for instance, in a player class you might have put the code to apply a skin to the player near the code to set their XYZ position).
Now I'm going to read between the lines here and say you didn't program this.
First, I would use a program like PEiD to find out which language/linker/etc is used.
Depending on that, I'd use the a disassembler that can handle it. For reference, OllyDbg doesn't like MSIL/.NET.
Once you have the program loaded in one of those, take a look at any referenced strings (OllyDbg can bring these up easily by right-clicking -> Search for -> All referenced text strings).
Usually, developers leave behind debug/log text that can help you locate where bits and pieces of code are in the program.
An example of this might be if you get teleported in a game, it might output your new and old coordinates to a log file "New XYZ: %f, %f, %f\nOld XYZ: %f, %f, %f".
Seeing this, I'd then examine the code surrounding the string and see if I can figure out where it's feeding the X, Y, and Z coordinates from.
If I'm able to figure that out easily, then using a program like Cheat Engine I would modify the XYZ memory values while in-game and see if it takes effect. if it does, then you could easily make a trainer that can teleport the player.
For that, you'd want to look at OpenProcess(), ReadProcessMemory() WriteProcessMemory() and VirtualProtectEx() to name a few.
Hope that helped on some level; I didn't go into more detail due to how generic your question is, sorry.



-A10101P- wrote:Thank you for the guidance and for pointing me into the right direction and now ima go continue doing some cheat engine tutorials. One more quick question in cases where cheat engine wont work for the game what would is the alternative or would that mean the game cant be penetrable.


Users browsing this forum: No registered users and 0 guests