Closed GoogleCodeExporter closed 9 years ago
Hey guys, should this be merged with Issue #141 or is it different?
Original comment by michael.hale@gmail.com
on 6 Mar 2012 at 7:34
Well it is a little different. This issue is about finding KDBG in the first
place, where #141 is about being able to list processes without the kdbg at all
using an alternate algorithm.
Its nice to keep both ways to list processes I think, so in the new branch i
have kept the kdbg way in addition to the new eprocess way. In the new code the
kdbg scanning is also implementing the above described method making it more
reliable.
I am not sure what the policy of the issue tracker should be - as I find more
problems or suggestions in trunk I can post the issues here, although these
will generally be fixed already in my branch.
Original comment by scude...@gmail.com
on 6 Mar 2012 at 9:03
Hey scudette,
I checked out the branch to test a few things, but I get the following error.
Any idea how to fix it?
$ python vol.py --info
Volatile Systems Volatility Framework 3.0_alpha
Traceback (most recent call last):
File "vol.py", line 200, in <module>
main()
File "vol.py", line 156, in main
registry.PluginImporter(config.PLUGINS)
AttributeError: 'module' object has no attribute 'PluginImporter'
Original comment by michael.hale@gmail.com
on 10 Mar 2012 at 9:45
Hi Michael,
The vol.py file will disappear soon. The main entry point is
volshell.py now. This is a sample session:
scudette@laptop:~/volatility/svn$ python volshell.py
Welcome to volshell!
To get help, type 'help()'
In [1]: session.filename = "test_data/win7_trial_64bit.raw"
In [2]: session.profile = "Win7SP1x64"
In [3]: vol plugins.pslist
------> vol(plugins.pslist)
INFO:root:Autodetected physical address space
<volatility.plugins.addrspaces.standard.FileAddressSpace object at
0x29e29d0>
WARNING:volatility.obj:Overlay structure VOLATILITY_MAGIC not present in vtypes
INFO:root:Autodetected virtual address space
<volatility.plugins.addrspaces.amd64.AMD64PagedMemory object at
0x3034250>
INFO:root:KDBG not provided - Volatility will try to automatically
scan for it now using plugin.kdbgscan.
INFO:root:Found a KDBG hit [_KDDEBUGGER_DATA64 _KDDEBUGGER_DATA64] @
0xF80002803070. Hope it works. If not try setting it manually.
Offset(V) Offset(P) Name PID PPID Thds Hnds Time
---------- ---------- -------------------- ------ ------ ------ ------
-------------------
0xfffffa80004b09e0 0x17fef9e0 System 4 0
78 489 2012-02-22 19:58:20
0xfffffa8000ce97f0 0x176e97f0 smss.exe 208 4
2 29 2012-02-22 19:58:20
0xfffffa8000c006c0 0x176006c0 csrss.exe 296 288
9 385 2012-02-22 19:58:24
0xfffffa8000c92300 0x17692300 wininit.exe 332 288
3 74 2012-02-22 19:58:30
....
I intend on making a screen cast this weekend of the current
interface, once I finishs porting some of the linux modules over.
Original comment by scude...@gmail.com
on 10 Mar 2012 at 10:04
Oh BTW, as the info log above explains, you can use kdbgscan to see potential
kdbg hits. If you check the code, it autodetects the kdbg using this very
module, picking the first hit. This replaces the current VolatilityMagic hack
(which is deprecated in the new code base):
In [5]: vol plugins.kdbgscan
------> vol(plugins.kdbgscan)
Potential hits for kdbg strctures.
Offset (V) Offset (P)
---------------- ----------------
0x00f80002803070 0x00000002803070
Out[5]: <volatility.plugins.windows.kdbgscan.KDBGScan object at 0x29e2bd0>
Original comment by scude...@gmail.com
on 10 Mar 2012 at 10:09
Original comment by mike.auty@gmail.com
on 10 Mar 2012 at 11:39
Got it, thanks for the extra info scudette! I'll get back to you after some
testing.
Original comment by michael.hale@gmail.com
on 12 Mar 2012 at 12:47
Analysis of the KDBG scanning/detection is going to be required for
auto-selection of profiles, so I'm just adding this issue to the 2.2.x
milestone.
One thing for sure is I don't think we should continue to pick the first KDBG
hit, because that's often not the right choice. If we have the capability to
determine which KDBG is valid when there are multiple choices, we should do so.
Also see Issue #268.
Original comment by michael.hale@gmail.com
on 13 Jun 2012 at 2:51
Original comment by michael.hale@gmail.com
on 26 Aug 2012 at 5:34
Original comment by michael.hale@gmail.com
on 1 Feb 2013 at 4:46
Original comment by jamie.l...@gmail.com
on 6 Jan 2014 at 7:10
Upon further investigation, this isn't a critical issue that needs fixing. The
current implementation of kdbgscan has worked find for years. Although it
indeed is based on signatures ("KDBG" + size), the proposed method is also
based on a signature ("KDBG").
Original comment by michael.hale@gmail.com
on 7 Mar 2014 at 6:07
Original issue reported on code.google.com by
scude...@gmail.com
on 4 Mar 2012 at 11:55