dissect.target.plugins.apps.remoteaccess.remoteaccess#

Module Contents#

Classes#

RemoteAccessPlugin

General Remote Access plugin.

Attributes#

dissect.target.plugins.apps.remoteaccess.remoteaccess.RemoteAccessRecord#
class dissect.target.plugins.apps.remoteaccess.remoteaccess.RemoteAccessPlugin(target)#

Bases: dissect.target.plugin.Plugin

General Remote Access plugin.

This plugin groups the functions of all remote access plugins. For example, instead of having to run both teamviewer.remoteaccess and anydesk.remoteaccess, you only have to run remoteaccess.remoteaccess to get output from both tools.

__namespace__ = 'remoteaccess'#
__findable__ = False#
TOOLS = ['teamviewer', 'anydesk']#
check_compatible()#

Perform a compatibility check with the target.

This function should return None if the plugin is compatible with the current target (self.target). For example, check if a certain file exists. Otherwise it should raise an UnsupportedPluginError.

Raises:

UnsupportedPluginError – If the plugin could not be loaded.

remoteaccess()#

Return Remote Access records from all Remote Access Tools.

This plugin groups the functions of all remote access plugins. For example, instead of having to run both teamviewer.remoteaccess and anydesk.remoteaccess, you only have to run remoteaccess.remoteaccess to get output from both tools.

Yields RemoteAccessRecords with the following fields:

(‘string’, ‘hostname’), (‘string’, ‘domain’), (‘datetime’, ‘ts’), (‘string’, ‘user’), (‘string’, ‘tool’), (‘uri’, ‘logfile’), (‘string’, ‘description’)