mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-08-17 20:35:40 +02:00
Merge pull request #1800 from SolitudePy/develop
add functions to etwpatch
This commit is contained in:
@@ -12,6 +12,8 @@ from volatility3.plugins.windows import pslist, pe_symbols
|
||||
vollog = logging.getLogger(__name__)
|
||||
|
||||
|
||||
# EtwpEventWriteFull -> https://github.com/SolitudePy/Stealthy-ETW-Patch
|
||||
# CAPA rule -> https://github.com/mandiant/capa-rules/blob/master/anti-analysis/anti-av/patch-event-tracing-for-windows-function.yml
|
||||
class EtwPatch(interfaces.plugins.PluginInterface):
|
||||
"""Identifies ETW (Event Tracing for Windows) patching techniques used by malware to evade detection.
|
||||
|
||||
@@ -30,10 +32,14 @@ class EtwPatch(interfaces.plugins.PluginInterface):
|
||||
"EtwEventWrite",
|
||||
"EtwEventWriteFull",
|
||||
"NtTraceEvent",
|
||||
"ZwTraceEvent",
|
||||
"NtTraceControl",
|
||||
"ZwTraceControl",
|
||||
"EtwpEventWriteFull",
|
||||
],
|
||||
},
|
||||
"advapi32.dll": {
|
||||
pe_symbols.wanted_names_identifier: ["EventWrite"],
|
||||
pe_symbols.wanted_names_identifier: ["EventWrite", "TraceEvent"],
|
||||
},
|
||||
}
|
||||
|
||||
@@ -75,7 +81,6 @@ class EtwPatch(interfaces.plugins.PluginInterface):
|
||||
kernel_module_name=self.config["kernel"],
|
||||
filter_func=filter_func,
|
||||
):
|
||||
|
||||
try:
|
||||
proc_id = proc.UniqueProcessId
|
||||
proc_name = utility.array_to_string(proc.ImageFileName)
|
||||
|
||||
Reference in New Issue
Block a user