Giter VIP home page Giter VIP logo

Comments (10)

ufrisk avatar ufrisk commented on July 17, 2024 1

Thanks for the update. I'm glad the BSOD is resolved (at least from my point of view; it seems like you accidentally tripped over an issue in Sysmon though ;)

Also that the memory dump from DumpIt was corrupt. I've noticed that one or two times that old DumpIt may create corrupt memory dumps for some reason.

Anyway, please let me know if you have any enhancement suggestions or find any new bugs. I have some minor new features coming in the next few days that are almost ready (mainly driver parsing instead of loaded DLL's when looking at System "modules").

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

It should not be possible for my application to cause a BSOD. It's a user mode application that should at most crash itself upon any errors. A BSOD indicates some deeper problem - I suspect it may be with some interaction with the Dokany File System driver that I use. I'll check it out with the WinXP mem dump you suggested in a few hours.

1 - I'm interested in memory dumps on which the identification fails upon. If your dump does not contain sensitive data I'm interested in it. "unfortunately" my 17134 memory dumps are all working both with auto-detect and '-identify' - but systems are somewhat different. Regardless I'll try to investigate this.

One thing that I noticed on some systems though is that older DumpIt versions may generate corrupt memory dumps on some more recent Windows 10 systems. In my blog entry for the predecessor to this I use winpmem for this reason. ( https://blog.frizk.net/2018/03/memory-process-file-system.html ) I don't know if this is your situation though - especially since Volatility seems to work.

2 - x86 (32-bit) is not supported. I only tested the Memory Process File System on x64 Windows Vista and onwards. 32-bit versions won't work. This should not cause a BSOD though.

Please allow me to get back on this issue.

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

Update:
I've checked out the "Moyix's Fuzzy Hidden Process Sample Windows XP SP3 x86" image. Since it's a 32-bit (also PAE) image the Memory Process File System has no notition about this.

The topmost paging level in 32-bit (PAE) is similar enough to a 64-bit (IA-32e) PML4 so The Memory Process File System actually tries to mount it when I force the address -cr3 0x319000. The mounted result is totally useless though since all translations fail since it's not supported. It however does not result in a BSOD for me.

===

What Windows version are you running? Like exact version? (example: Version 10.0.17763.134). Also what version of Dokany are you using? Also did you install Dokany with the Bundle or separately?

from memprocfs.

B2dfir avatar B2dfir commented on July 17, 2024

Currently traveling in South America and have poor internet, so sharing the first memory dump (10gb) isn't feasible unfortunately.

Running:
Windows 10.0.17134.0
Dokany v1.2.0.1000 (from DokanSetup_redist.exe here: https://github.com/dokan-dev/dokany/releases/tag/v1.2.0.1000)

Tried uninstalling Dokan, re-downloading and re-installing Dokan from the same link and rebooting my machine. Still BSOD unfortunately.

I also tried using winpmem (imaged to aff4 without pagefile, then extracted raw dump from that) and get the same result.

The BSOD error presented is PAGE_FAULT_IN_NONPAGED_AREA.

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

Unfortunately I'm not able to replicate the BSOD problem.

I've installed your dokany version on a completely fresh 10.0.17134.1 (win10 64-bit both pro and enterprise) system (without any patches) and it works without any bluescreens.

I'm not able to find any media for "10.0.17134.0" unfortunately so I was only able to try on "10.0.17134.1". It works fine in both VirtualBox and Physical Hardware for me unfortunately :/

Anyway, I'm guessing the BSOD problem may be due to some bad interactions between Dokany and your system; or that it's something else with your system that is triggering it. My application should not by itself be able to bluescreen the computer. It's just a normal user-mode program. It has no kernel components on its own.


The separate issue of not being able to identify the memory dump from your win10 system is also interesting - but I would need a memory dump to look more into that.

from memprocfs.

B2dfir avatar B2dfir commented on July 17, 2024

No worries - I appreciate the effort in troubleshooting.

I'll have a bit more of a play and let you know if I have any success.

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

Thanks, also if you find the root cause of your BSODs it would be interesting to know. Also, that memory dump of yours.

Good Luck and hope you'll get it working :)

I'll leave this thread open for a while to see if there are any updates.

from memprocfs.

B2dfir avatar B2dfir commented on July 17, 2024

After analysing the crash dump in WinDbg, I identified reference to SysmonDrv.sys.
dmp_analysis.txt
To test, I uninstalled sysmon (I had the 64 bit version installed) and rebooted.

The BSOD issue appears to be resolved :)

Now for the actual Win10 memory dump, it is still not identified using 'identify', however now when I specify the DTB address from volatility in the -cr3 parameter, it mounts something. There seems to be an issue parsing the dump though, as only one process exists in M:\name\unknown_process-0. I imagine this is somewhat expected given the OS couldn't be identified. I also know you
can't troubleshoot this until I can share the dump :)

Regardless, I'm happy the BSOD issue is sorted. I'll try find another 64bit memory image online to test this out some more.

from memprocfs.

B2dfir avatar B2dfir commented on July 17, 2024

Aaaand final update - Whilst my raw dump using DumpIt did not work (as explained above), the raw extract of my .aff4 dump created with winpmem-2.1.post4.exe is successfully identified and works as expected.

Ready to rumble for tool testing! Would still be interesting to figure out why the DumpIt dump didn't work though.

from memprocfs.

ufrisk avatar ufrisk commented on July 17, 2024

I'm closing this issue since it seems to be fully resolved.

from memprocfs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.