| Trees | Indices | Help |
|
|---|
|
|
Dump a process to an executable file sample
| Nested Classes | |
|
__metaclass__ Automatic Plugin Registration through metaclasses. (Inherited from rekall.plugin.Command) |
|
|
top_level_class A command can be run from the rekall command line. (Inherited from rekall.plugin.Command) |
|
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Class Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| Class Variables | |
dump_dir_optional = True
|
|
table_header = hash(x) |
|
METHODS =
(Inherited from rekall.plugins.windows.common.WinProcessFilter)
|
|
PHYSICAL_AS_REQUIRED = True
(Inherited from rekall.plugin.PhysicalASMixin)
|
|
PROFILE_REQUIRED = True
(Inherited from rekall.plugin.ProfileCommand)
|
|
ROW_OPTIONS =
(Inherited from rekall.plugin.TypedProfileCommand)
|
|
classes =
(Inherited from rekall.plugin.Command)
|
|
classes_by_name =
(Inherited from rekall.plugin.Command)
|
|
default_dump_dir =
(Inherited from rekall.plugins.core.DirectoryDumperMixin)
|
|
error_status = Nonehash(x) (Inherited from rekall.plugin.Command) |
|
interactive = False
(Inherited from rekall.plugin.Command)
|
|
mode = hash(x) (Inherited from rekall.plugins.windows.common.AbstractWindowsCommandPlugin) |
|
plugin_args = Nonehash(x) (Inherited from rekall.plugin.ArgsParserMixin) |
|
plugin_feature =
(Inherited from rekall.plugin.Command)
|
|
producer = False
(Inherited from rekall.plugin.Command)
|
|
table_options =
(Inherited from rekall.plugin.TypedProfileCommand)
|
|
| Properties | |
| filtering_requested (Inherited from rekall.plugins.windows.common.WinProcessFilter) | |
| name (Inherited from rekall.plugin.Command) | |
|
Inherited from |
|
| Method Details |
Dump a process from memory into an executable.
In windows PE files are mapped into memory in sections. Each section is
mapped into a region within the process virtual memory from a region in
the executable file:
File on Disk Memory Image
0-> ------------ image base-> ------------
Header Header
------------ ------------
Section 1
------------ ------------
Section 2 Section 1
------------ ------------
------------
Section 2
------------
This plugin simply copies the sections from memory back into the file on
disk. Its likely that some of the pages in memory are not actually
memory resident, so we might get invalid page reads. In this case the
region on disk is null padded. If that happens it will not be possible
to run the executable, but the executable can still be disassembled and
analysed statically.
References:
http://code.google.com/p/corkami/downloads/detail?name=pe-20110117.pdf
NOTE: Malware can mess with the headers after loading. The remap option
allows to remap the sections on the disk file so they do not collide.
Args:
remap: If set, allows to remap the sections on disk so they do not
overlap.
out_fd: Alternatively, a filelike object can be provided directly.
|
Renders the tasks to disk images, outputting progress as they go
|
|
|
| Class Variable Details |
table_headerhash(x)
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Oct 9 03:29:21 2017 | http://epydoc.sourceforge.net |