dissect.target.plugins.os.windows.dpapi.keyprovider.lsa

Module Contents

Classes

LSADefaultPasswordKeyProviderPlugin

Windows LSA DefaultPassword key provider plugin.

Attributes

dissect.target.plugins.os.windows.dpapi.keyprovider.lsa.defaultpassword_def = Multiline-String
Show Value
"""
struct DefaultPassword {
    DWORD   length;
    char    flags[4*3];
    WCHAR   data[length/2];
    char    checksum_or_guid[0x10];
};
"""
dissect.target.plugins.os.windows.dpapi.keyprovider.lsa.c_defaultpassword
class dissect.target.plugins.os.windows.dpapi.keyprovider.lsa.LSADefaultPasswordKeyProviderPlugin(target: dissect.target.Target)

Bases: dissect.target.plugins.os.windows.dpapi.keyprovider.keyprovider.KeyProviderPlugin

Windows LSA DefaultPassword key provider plugin.

__namespace__ = '_dpapi_keyprovider_lsa_defaultpassword'

Defines the plugin namespace.

check_compatible() None

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.

keys() Iterator[tuple[str, str]]

Yield Windows LSA DefaultPassword strings.