-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Windows 10 x64 psscan error: ^: 'int' and 'NoneType' #436
Comments
What's the GUID for that ntoskrnl.exe? |
3E1470698B694782ADAE95555171FC1F1 |
So the warning |
Actually, I can tell that the RVA for that GUID is |
Sadly, the
I get the same thing with just the RVA as well:
This is also after I updated the vtypes, since they were just slightly different. |
Just in case... It's a clean PE. |
Thanks...yeah, the RVA 0x3a6460 is correct for that file. Can you |
|
Definitely doesn't look like a cookie value at that address. Can you |
(this is both of them): |
OK, i got it working with |
Ah nice. Well one thing that was broken is I told you the |
OK, I'm not sure if I have this all correct, but, here's how I got the cookie: First I'm looking at Figured out where that is in memory, by using
Then investigate with
|
Ahhh ok... so that explains it :-) |
So, probably in the least, we should make sure to check the returned cookie before we operate on it, just to avoid the |
Sounds good...I'll de-prioritize a bit since you got it working, but will take care of the TypeError shortly. |
This is still an issue. I keep coming across it with different Windows 10 machines... I think I might have another way to get around this |
Hey. Is there any guide how to get value cookie? |
Hello, are there any updates on this issue? I have some Windows 2016 Server images (profile is Win2016x64_14393) and I have the same problem. Is there a workaround to follow to allow pslist, psxview and the other to run? |
@gleeda from where you brought this data: "{48 8D 41 D0 0F B6 49 E8}"? |
@mydockergit Those are the first few bytes of the ObGetObjectType function. You can see the function in the screenshot (without the bytes the ASM instructions translate to). The hex values are the first two instructions of that function. |
@oold The first line with the address in the screenshot is |
I have similar problem:
I saw #240 had similar issue so I tried to dump the ntoskrnl module using:
But in my case it didn't do anything:
|
@mydockergit That's what I meant. The bytes corresponding to the instructions can't be seen in the screenshot, but what's fed into yarascan is exactly those bytes. If you look into the code of my pull request, you'll find this:
If you want to fix your issue, you have three options:
|
I download your branch (
Not sure what is the issue |
Well, you changed your working directory to the checked out repo. The `desktop.raw` file you’re trying to scan probably isn’t in there.
…________________________________
From: mydockergit <[email protected]>
Sent: Friday, August 7, 2020 1:15:32 PM
To: volatilityfoundation/volatility <[email protected]>
Cc: Oliver Old <[email protected]>; Mention <[email protected]>
Subject: Re: [volatilityfoundation/volatility] Windows 10 x64 psscan error: ^: 'int' and 'NoneType' (#436)
I download your branch (issue-436) and tried it but now I received a different error:
root@kali:~/Desktop# git clone --single-branch --branch=issue-436 https://github.com/oold/volatility.git
Cloning into 'volatility'...
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 18616 (delta 26), reused 14 (delta 7), pack-reused 18568
Receiving objects: 100% (18616/18616), 14.87 MiB | 1.38 MiB/s, done.
Resolving deltas: 100% (14553/14553), done.
root@kali:~/Desktop#
root@kali:~/Desktop# cd volatility/
root@kali:~/Desktop/volatility# python vol.py -f desktop.raw --profile=Win10x64_15063 psscan
Volatility Foundation Volatility Framework 2.6.1
ERROR : volatility.debug : The requested file doesn't exist
Not sure what is the issue
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fvolatilityfoundation%2Fvolatility%2Fissues%2F436%23issuecomment-670466594&data=02%7C01%7C%7C480bbecfdcf8489a6e6808d83ac33399%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637323957334809752&sdata=MbHmvICRgktfZ6g49gIth4OZAA5kiBkSLd17vhqihgo%3D&reserved=0>, or unsubscribe<https://eur05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACZ2P3BCDZRGWDL2K6UYB6DR7PO5JANCNFSM4DQGHCCA&data=02%7C01%7C%7C480bbecfdcf8489a6e6808d83ac33399%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637323957334809752&sdata=2M5kHHO0s7dlfiLSDoO3PCKPbo4hupugv4JJSd3TELc%3D&reserved=0>.
|
Okay, now I am not getting the error but I don't get any information about processes on the system, something weird. I think it is related to #741.
|
Are you sure you're using the correct profile? |
@oold you can ignore it, I just understood it was corrupted memory file. Thanks for your help! |
I know this is a pretty dated discussion - but can you elaborate on option #2 (downloading patch - command line syntax for example). I'm not having any luck applying this patch. |
|
no luck.....
|
It's probably best to try this with Volatility 3. Volatility 2 has been abandoned and whatever is causing your issues here might be fixed in Volatility 3. It would probably be for the best if the Volatility maintainers tried to guide people towards the new version. |
Note:
Win10x64_14393
is the correct profile for this memory sample.The text was updated successfully, but these errors were encountered: