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

DeviceIOControl Failing #40

Open
Cubanhammer opened this issue Jan 6, 2022 · 3 comments
Open

DeviceIOControl Failing #40

Cubanhammer opened this issue Jan 6, 2022 · 3 comments

Comments

@Cubanhammer
Copy link

Hi, We have been using the winpmem.sys drivers to perform memory collections using winpmem.py

On newer windows 10 builds we have been getting error 87 parameter is incorrect at the following line.

win32file.DeviceIoControl(
self.fd, CTRL_IOCTRL, struct.pack("I", mode), 0, None)

Are you aware of which parameter may have changed on the windows end? I can confirm the drivers work on older windows 10 builds.

Thanks

@scudette
Copy link
Contributor

scudette commented Jan 6, 2022

I believe the format of the ioctl was changed with the most recent drivers. I don't know that the python code was updated - we don't use it really.

Can you successfully image using the c userspace program?

@Cubanhammer
Copy link
Author

Yes, we can currently use the winpmem exe to image.

Do you have any idea what the ioctrl setting would need to be updated to? Or documentation I could look into?

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

2 participants