mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-10 03:37:39 +02:00
Yarascan: Make generic yarascan just scan kernel memory.
This commit is contained in:
@@ -34,7 +34,7 @@ class YaraScanner(interfaces.layers.ScannerInterface):
|
||||
|
||||
|
||||
class YaraScan(plugins.PluginInterface):
|
||||
"""Scans memory using yara rules (string or file)."""
|
||||
"""Scans kernel memory using yara rules (string or file)."""
|
||||
|
||||
@classmethod
|
||||
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
|
||||
@@ -42,18 +42,10 @@ class YaraScan(plugins.PluginInterface):
|
||||
requirements.TranslationLayerRequirement(name = 'primary',
|
||||
description = "Memory layer for the kernel",
|
||||
architectures = ["Intel32", "Intel64"]),
|
||||
requirements.BooleanRequirement(name = "all",
|
||||
description = "Scan both process and kernel memory",
|
||||
default = False,
|
||||
optional = True),
|
||||
requirements.BooleanRequirement(name = "insensitive",
|
||||
description = "Makes the search case insensitive",
|
||||
default = False,
|
||||
optional = True),
|
||||
requirements.BooleanRequirement(name = "kernel",
|
||||
description = "Scan kernel modules",
|
||||
default = False,
|
||||
optional = True),
|
||||
requirements.BooleanRequirement(name = "wide",
|
||||
description = "Match wide (unicode) strings",
|
||||
default = False,
|
||||
|
||||
Reference in New Issue
Block a user