Home > Software engineering > A program at run-time to decrypt an encrypted document in memory, I want to read what method
A program at run-time to decrypt an encrypted document in memory, I want to read what method
Time:09-21
Masters, I hand a program at run time will read a flash file, and add a cipher decrypted in memory to create a decrypted the file for their own use, I use the monitor to see the change process in memory called CreateFile to encrypt folders with create the decrypted files in the folder of the path, at first thought is to create the file in the disk, glad to found that there is no this file to read, query the CreateFile function just know later, founded the object is in the kernel; I want to read the decrypted file, could you tell me how to, should provide each master a way to appreciate,
Annotation: CreateFile connotation is to create the File this kernel object, rather than the creation of a physical disk "File", a series of operating the kernel object in the Win32 API functions, create a kernel object function mostly named CreateXxxx type,
CodePudding user response:
There is no reply warrior?
CodePudding user response:
Do you have a program source code? Otherwise it is difficult to get the exact file from memory
CodePudding user response:
Can I come! ReadProcessMemory
CodePudding user response:
Estimates that it is to use a memory mapped file do
CodePudding user response:
Have the source code, create an actual file on the corresponding place,,,
CodePudding user response:
The CreateFile before you tamper with the several parameters, not become to create a file on disk again?