Password Filter DLL

T1556.002

Sub-technique of T1556 Modify Authentication Process.View on attack.mitre.org

About this technique

Adversaries may register malicious password filter dynamic link libraries (DLLs) into the authentication process to acquire user credentials as they are validated.

Windows password filters are password policy enforcement mechanisms for both domain and local accounts. Filters are implemented as DLLs containing a method to validate potential passwords against password policies. Filter DLLs can be positioned on local computers for local accounts and/or domain controllers for domain accounts. Before registering new passwords in the Security Accounts Manager (SAM), the Local Security Authority (LSA) requests validation from each registered filter. Any potential changes cannot take effect until every registered filter acknowledges validation.

Adversaries can register malicious password filters to harvest credentials from local computers and/or entire domains. To perform proper validation, filters must receive plain-text credentials from the LSA. A malicious password filter would receive these plain-text credentials every time a password request is made.

Detection rules3

Rules on DetectionCode tagged with T1556.002.

Sigma3

RuleLevelLog source
Powershell Install a DLL in System Directoryhighwindows / ps_script
Dropping Of Password Filter DLLmediumwindows / process_creation
Potential Suspicious Activity Using SeCEditmediumwindows / process_creation

Splunk0

No Splunk rules are mapped to this technique yet.

Groups3

Software1

Campaigns0

None recorded.

Procedure examples4

Groups3

Used byProcedure example
GroupMirrorFace

MirrorFace has used a tool named MRSAStealer as a password filter to collect credentials on password changes.

GroupOilRig

OilRig has registered a password filter DLL in order to drop malware.

GroupStrider

Strider has registered its persistence module on domain controllers as a Windows LSA (Local System Authority) password filter to acquire credentials any time a domain, local user, or administrator logs in or changes a password.

Software1

Used byProcedure example
MalwareRemsec

Remsec harvests plain-text credentials as a password filter registered on domain controllers.

References1

  1. Carnal Ownage Password Filters Sept 2013 Open source
    Fuller, R. (2013, September 11). Stealing passwords every time they change. Retrieved November 21, 2017.

Data from MITRE ATT&CK® (Enterprise). ATT&CK® is a registered trademark of The MITRE Corporation.