44
55import logging
66from typing import Iterable , List , Tuple
7+ import datetime
78
89from volatility3 .framework import interfaces , renderers
910from volatility3 .framework .configuration import requirements
@@ -18,7 +19,7 @@ class VadYaraScan(interfaces.plugins.PluginInterface):
1819 """Scans all the Virtual Address Descriptor memory maps using yara."""
1920
2021 _required_framework_version = (2 , 22 , 0 )
21- _version = (1 , 1 , 3 )
22+ _version = (1 , 1 , 4 )
2223
2324 @classmethod
2425 def get_requirements (cls ) -> List [interfaces .configuration .RequirementInterface ]:
@@ -102,6 +103,15 @@ def _generator(self):
102103 yield 0 , (
103104 format_hints .Hex (offset ),
104105 task .UniqueProcessId ,
106+ task .get_create_time (),
107+ task .InheritedFromUniqueProcessId ,
108+ task .ImageFileName .cast (
109+ "string" ,
110+ max_length = task .ImageFileName .vol .count ,
111+ errors = "replace" ,
112+ ),
113+ task .get_session_id (),
114+ task .ActiveThreads ,
105115 rule_name ,
106116 name ,
107117 layer_data ,
@@ -130,6 +140,11 @@ def run(self):
130140 [
131141 ("Offset" , format_hints .Hex ),
132142 ("PID" , int ),
143+ ("CreateTime" , datetime .datetime ),
144+ ("PPID" , int ),
145+ ("ImageFileName" , str ),
146+ ("SessionId" , int ),
147+ ("Threads" , int ),
133148 ("Rule" , str ),
134149 ("Component" , str ),
135150 ("Value" , renderers .LayerData ),
0 commit comments