-
Notifications
You must be signed in to change notification settings - Fork 463
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
Cannot extract files/processes from memory sample in linux #1312
Comments
Your request isn't very detail? Which files, exactly were you hoping to extract from the memory image? Processes can be dumped by adding the |
memory mapped files similar to dump_files in volatility2 and filescan to scan FILE_OBJECT in memory |
There are a number of plugins that support the |
@ikelos pagecache does not have the dump option If I try and manually supply the --dump option, I get the following error The file does exist within the linux dump itself (confirmation) |
@PNW-Hacker is pagecache equivalent of filescan in volatility2? If no then what is the alternative |
Hi @PNW-Hacker you have to use the linux.pagecache.InodePages
See more examples in the PR #1233 |
@SolitudePy doesn't look like there is a Linux equivalent for that specific one: https://blog.onfvp.com/post/volatility-cheatsheet/ @gcmoreira I did figure that out after some more googling, but it crashes when I try, maybe an issue with my dump? |
Are you using the latest dwarf2json version? |
@SolitudePy Vol 3 has: linux.malfind.Malfind -- Lists process memory ranges that potentially contain injected code. |
What I don't understand @gcmoreira is why the Files version finds it, but the Inodes one crashes The other issue is that even without the dump option, the file or inode one still don't work It's not an instant crash, its during the search of the file, meaning in your screenshot where you have all of the column headers, I can see that (which means its searching the dump I think) before it crashes |
@PNW-Hacker It looks like your ISF is bad but I would need more information.
|
@gcmoreira since the feature request would still be helpful, I'll create a new bug report and leave this case open (since this is @SolitudePy case) |
So what's the upshot on this bug? Is there specific functionality needed for volatility 3 that existed in volatility 2, or is it just supported in different ways? The discussion should be about the functionality, any bugs encountered with it are a separate issue. Just trying to figure out whether this can be closed off (since the feature request was quite vague about the technique for retrieving the files). |
@ikelos I am only commenting as to try and help @SolitudePy (if their concern about what I am describing misaligns, then we would need to wait for them to clarify further) There's 2 issues that they seem to be concerned about: memory mapped files similar to dump_files in volatility2 and filescan to scan FILE_OBJECT in memory Can you do memdump for linux? i see this, but this specifically calls out Windows There's filescan for vol2, but i did not see a similar command for vol3 https://github.com/volatilityfoundation/volatility/wiki/Command-Reference#filescan |
Hey @SolitudePy ,
From your second comment, it seems that you think such plugins don't exist, rather than you can't extract any file or process, right? LinuxProcesses:
ELFs:
Memory maps:
Files from the page cache:
Please, if you're not familiar with the framework and you have any questions, the best way to get assistance is by asking in our Slack channels. |
@gcmoreira what @PNW-Hacker commented above is right. |
Hey guys, sorry to hop in. im new to volatility3 i was running a go binaries after i check with pslist got nothing, after it i check again with psscan i got the file that i want to retrieve (offset, pid comm exit_state etc etc) unfortunately the file that i want to retrieve is in exit_dead state, so is there a way to retrieve a file that in the exit_dead state?
update. after reading some docs i found out that i can retrieve a file with pagecache.InodePages but when i try it, it return nothing. anyone got a tips/tricks? Thanks, have a great day. |
Is your feature request related to a problem? Please describe.
Cant extract any file or process from a memory sample with the linux plugins
Describe the solution you'd like
Add the plugin
Describe alternatives you've considered
none
The text was updated successfully, but these errors were encountered: