Questions tagged [memory-editing]

Use this tag for questions related to memory editing; involves modifying the memory values.

is used in its general concept, varying from questions regarding injections, writing to other processes's memory and such, to game cheating: Quoting Wikipedia:

Cheating via memory editing involves modifying the memory values where the game keeps its status information. The way to achieve this will vary depending on the environment in which the game is running.

Notice that this can happen via software or hardware, but only software questions are on topic for StackOverflow.

31 questions
94
votes
10 answers

How can I find the data structure that represents mine layout of Minesweeper in memory?

I'm trying to learn about reverse engineering, using Minesweeper as a sample application. I've found this MSDN article on a simple WinDbg command that reveals all the mines but it is old, is not explained in any detail and really isn't what I'm…
KingNestor
  • 65,976
  • 51
  • 121
  • 152
10
votes
4 answers

How can I write on another process memory?

I have an address that I would like to modify. I have the process. I have the new value. So now what? // My Process var p = Process.GetProcessesByName("ePSXe").FirstOrDefault(); // Address var addr = 0x00A66E11; // Value var val = 0x63; How can I…
BrunoLM
  • 97,872
  • 84
  • 296
  • 452
9
votes
1 answer

How does GameShark / Action Replay work on modern consoles?

It's quite difficult to find information about this on the internet, since the magical words "GameShark", "Action Replay", "memory editor" and "memory trainer" trigger lots of BS, so I thought I should ask in some forum. I'll get a Nintendo Wii to…
Gui Prá
  • 5,559
  • 4
  • 34
  • 59
7
votes
1 answer

Is there any good and easy-to-use module built in Python for editing memory?

Is there any good and easy-to-use module built in Python for editing memory? Or is there any module like this at all? What I'm looking for is a way to attach to a process and read from/write to it. Much like how Cheat Engine works. Here's a example…
Willy
  • 635
  • 8
  • 18
4
votes
2 answers

How to find the starting address of an application for memory editing a process?

I want to know how to find the valid addresses of an application from beginning to end because I want to know how to memory edit an application for example Notepad. Do I have to decompile the application and see the assembly code or machine code.…
Daniel Lopez
  • 1,728
  • 3
  • 24
  • 40
4
votes
1 answer

C# ReadProcessMemory alternative

I'm trying to ReadProcessMemory on a certain process but it uses ObRegisterCallbacks to prevent another process to create a handle on it (OpenProcess). I have heard of people creating their own memory reading utilites in C# without ReadProcessMemory…
Joshe 343
  • 41
  • 3
4
votes
1 answer

Best Practices for DLL Injection?

Suppose I want to inject a DLL into a process that wants to edit the value of address A every 250 ms. I would need to use DllMain, right? The issue is that I'm not allowed to wait inside DllMain. So I would have to create a thread? Or does that not…
2
votes
1 answer

(C++ Memory Editing) Converting "THREADSTACK0" to an address

I have gotten a pointer to an address in cheat engine, and when I was trying to port it into c++ to set up a hotkey for it I ran into a problem. Cheat engine tells me "THREADSTACK0"-000009C0 (and some offsets) points to my address, but I have no…
Tanner H.
  • 304
  • 1
  • 13
2
votes
1 answer

MemorySharp setting offset to an address not working

Ok so I am using the MemorySharp library to read/write the memory of a game. My problem is when I try to add the offsets to the base pointer address Visual Studio throws an error during runtime. Here is the base code using (var m = new…
2
votes
1 answer

How do I edit opcodes or write memory or edit bytes in C++?

I am memory editing a game called Assault Cube which can be found at: http://assault.cubers.net/ I'm not sure how to describe it, so I've made a video of me doing it: www.youtube.com/watch?v=SS1swxQIbDI Notice that my ammo goes down before the edit.…
user2327287
  • 159
  • 3
  • 8
2
votes
2 answers

What is the cleanest way to dereference multi-level pointers with offsets?

I'm currently memory editing a game called Assault Cube. Unfortunately, because of dynamic memory allocation, the addresses to the values that I want to edit change each time the game starts. Fortunately, there are static pointers that always point…
user2327287
  • 159
  • 3
  • 8
2
votes
1 answer

How is it possible for an application to have static memory addresses?

I'm using a memory editing application known as Cheat Engine. I attach Cheat Engine to a game. In my game, I have a 32-bit integer known as HP. HP is stored at a memory address A. If I restart my game, HP is stored at a new memory address B. It…
1
vote
0 answers

Memory editing howto create more storage

I'm working on a problem using the Cheat Engine software. I have located an array of 12 bytes in memory that I would like to change. The problem is that the array holds 6 double byte unicode characters. I need to modify the string, witch I can do.…
Digital ink
  • 293
  • 1
  • 2
  • 10
1
vote
1 answer

How would get a string from an address?

I am not sure how to get a string from an address in C++. Pretend this is the address: 0x00020348 Pretend this address holds the value "delicious" How would I get the string "delicious" from the address 0x00020348? Thank you.
1
vote
1 answer

How can i make completetly undetectable program ( a program known)?

This question is little complex. I want to hide "cheat engine" from some detecter programs.They're checking cheat engine name in running program list,and checking memory for some special strings or data for detect that program. How can i make…
erginduran
  • 1,678
  • 5
  • 28
  • 51
1
2 3