Skip to content

Commit 6349e91

Browse files
committed
add pypykatz
1 parent 416a24c commit 6349e91

File tree

2 files changed

+44
-1
lines changed

2 files changed

+44
-1
lines changed

plugins/pypykatz.py

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
#
2+
# Author:
3+
# Tamas Jos (@skelsec)
4+
# Leron Gray (@daddycocoaman)
5+
#
6+
# Updated version of the pypykatz plugin for Volatility 3
7+
8+
9+
import logging
10+
from typing import List
11+
12+
from volatility3.framework import interfaces, renderers
13+
from volatility3.framework.configuration import requirements
14+
from volatility3.plugins.windows import pslist
15+
16+
from pypykatz.pypykatz import pypykatz as pparser
17+
18+
vollog = logging.getLogger(__name__)
19+
20+
21+
class pypykatz(interfaces.plugins.PluginInterface):
22+
23+
_required_framework_version = (2, 0, 0)
24+
25+
@classmethod
26+
def get_requirements(cls) -> List[interfaces.configuration.RequirementInterface]:
27+
return [
28+
requirements.TranslationLayerRequirement(
29+
name="primary",
30+
description="Memory layer for the kernel",
31+
architectures=["Intel32", "Intel64"],
32+
),
33+
requirements.SymbolTableRequirement(
34+
name="nt_symbols", description="Windows kernel symbols"
35+
),
36+
requirements.PluginRequirement(
37+
name="pslist", plugin=pslist.PsList, version=(2, 0, 0)
38+
),
39+
]
40+
41+
def run(self):
42+
return pparser.go_volatility3(self)

requirements.txt

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Required for plugins handling certificate objects
2-
cryptography>=37.0.1
2+
cryptography>=37.0.1
3+
pypykatz>=0.6.6

0 commit comments

Comments
 (0)