Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Parsing from shared memory ? #32

Open
rchateauneu opened this issue Mar 19, 2016 · 2 comments
Open

Suggestion: Parsing from shared memory ? #32

rchateauneu opened this issue Mar 19, 2016 · 2 comments
Assignees
Labels

Comments

@rchateauneu
Copy link

Just a idea.

At the moment Haystack parses a memory dump in a file.

Maybe it would be great, to map a process memory, and then directly parse it without an intermediary file.

For example on linux we could use /proc/$pid/maps :
http://unix.stackexchange.com/questions/6301/how-do-i-read-from-proc-pid-mem-under-linux

On Windows, with the function ReadProcessMemory():
http://stackoverflow.com/questions/19606159/c-reading-memory-of-another-process

This would also give the possibility to scan a process memory while it is running without blocking it, which would indeed yield imprecise results if the data are being modified, but this might be enough (At least in my case)

@trolldbois trolldbois self-assigned this Mar 23, 2016
@trolldbois
Copy link
Owner

Good idea. Should be quite simple.
One of the issue is that some protected memory segments will not be accessible.
A solution is code injection. I think that Frida-re could help in that aspect.

@trolldbois
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants