dissect.target.plugins.os.windows.credential.lsa
¶
Module Contents¶
Classes¶
Windows Local Security Authority (LSA) plugin. |
Attributes¶
- dissect.target.plugins.os.windows.credential.lsa.HAS_CRYPTO = True¶
- dissect.target.plugins.os.windows.credential.lsa.LSASecretRecord¶
- class dissect.target.plugins.os.windows.credential.lsa.LSAPlugin(target: dissect.target.Target)¶
Bases:
dissect.target.plugin.Plugin
Windows Local Security Authority (LSA) plugin.
- Resources:
- __namespace__ = 'lsa'¶
Defines the plugin namespace.
- SECURITY_POLICY_KEY = 'HKEY_LOCAL_MACHINE\\SECURITY\\Policy'¶
- SYSTEM_KEY = 'HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\LSA'¶
- 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 anUnsupportedPluginError
.- Raises:
UnsupportedPluginError – If the plugin could not be loaded.
- secrets() Iterator[LSASecretRecord] ¶
Yield decrypted LSA secrets from a Windows target.