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

WinPmem produces empty RAW Dump #55

Open
Cameron-Boyd opened this issue Jul 9, 2024 · 9 comments
Open

WinPmem produces empty RAW Dump #55

Cameron-Boyd opened this issue Jul 9, 2024 · 9 comments

Comments

@Cameron-Boyd
Copy link

Hello guys,
when using the 64-bit Executable from the releases on a device it loads and unloads the driver. Then straight away creates a RAW Dump with the Size of 0 Bytes and exits. The cmd.exe is running elevated. Is there a good reason for this or is this a bug?

This is the STDOUT:

C:\Users\TestAccount\Downloads>.\winpmem_mini_x64_rc2.exe dumper.raw
WinPmem64
Extracting driver to C:\Users\WDAGUtilityAccount\AppData\Local\Temp\pme65F.tmp
Driver Unloaded.
Deleting C:\Users\WDAGUtilityAccount\AppData\Local\Temp\pme65F.tmp
Driver Unloaded.

C:\Users\TestAccount\Downloads>
@scudette
Copy link
Contributor

scudette commented Jul 9, 2024

Can you please try the binary built in #53 I found it works a bit better than the release

@zembtach
Copy link

It's extracting under WDAGUtilityAccount (Windows Defender Application Guard). Could it be blocked, perhaps?

@vivianezw
Copy link
Collaborator

@wallrik Hey, a damn good observation, I didn't notice until you mentioned it. Odd.

Hm. The print verbosity of the usermode app could really be better and ought to be worked over.

@JeetDSharma
Copy link

Any fixes found on this? I am facing the same issue.

@Cameron-Boyd
Copy link
Author

Any fixes found on this? I am facing the same issue.

I used the built mentioned by @scudette and that worked :)

@vivianezw
Copy link
Collaborator

vivianezw commented Nov 12, 2024

Yes, and for everybody else reading, I think we are planning to release a new version that addresses some issues of the past. For now the built mentioned or compiling self from current source addresses most issues.

On an Azure machine or a high tech hardware server + very modern Windows server, please stick to physical memory method. It might be a level 5 paging system. The upcoming version will correctly recognize this.
@edit: to be more precise: a system with around 256 TB or more physical memory. If you have that, level 5 might be active and then you have "ntkrla57.exe" in System32 folder. (You can check for this, but only bother when you have that much memory.)

@scudette
Copy link
Contributor

Can you also test the go user space app. This is likely to be the most supported going forward

@JeetDSharma
Copy link

@vivianezw do let me know if I can contribute to this project on any issue, I would love to see this open source project expand. Although I don't have much experience, I would like to contribute in any way possible.

@vivianezw
Copy link
Collaborator

vivianezw commented Nov 17, 2024

Here is a new beta version. It will be soon under release binaries (as beta, for a while). It can run on Win7-Win11, and there is a 32 bit and a 64 bit variant. But for a Win7 32 bit OS there is almost no change. Who has a 32 bit windows 7 OS nowadays? Nobody. I guess the only version of use is the 64 bit binary.

I can only test for safety & security. The quality of the dump is the thing I want to know.
People with forensic skills needed right now. Test if the resulting dump is of expected quality. Look into the result dump with your tools (volatility) and report if it looks fine?

It's testsigned, you need to do (as admin) bcdedit /set testsigning on, reboot, and then use the minitool. Do bcdedit /set testsigning off afterwards. I guess nobody forgets that thanks to the MS testsigning watermark on the desktop.
PS: Dbgprint is set verbose, you can use dbgview.exe from Microsoft Sysinternals to see all of it (check 'kernel capture' in the menu), if you still get zero dumps.

Winpmem testsigned BETA version:
Winpmem_mini_BETA_4.0.1.zip

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

No branches or pull requests

5 participants