persistence-info.github.io

View on GitHub

Password Filter

Location:

HKLM\SYSTEM\CurrentControlSet\Control\Lsa

Classification:

Criteria Value
Permissions Admin
Security context System
Persistence type Registry
Code type DLL
Launch type User initiated1
Impact Non-destructive
OS Version All OS versions
Dependencies OS only
Toolset Scriptable

Description:

When a password change request is made, the Local Security Authority (LSA) calls the password filters registered on the system.

The DLL not only provides some persistence, but also obtains a cleartext password from LSASS.

References:

Credits:

See also:

Remarks:

  1. Password change must happen. Possibly machine password change will work as well making this automatic, but it happens quite rarely.