Nosferatu - Lsass NTLM Authentication Backdoor
2021-11-20 05:30:00 Author: www.kitploit.com(查看原文) 阅读量:24 收藏

Lsass NTLM Authentication Backdoor

How it Works

First, the DLL is injected into the lsass.exe process, and will begin hooking authentication WinAPI calls. The targeted function is MsvpPasswordValidate(), located in NtlmShared.dll. In the pursuit of not being detected, the hooked function will call the original function and allow for the normal flow of authentication. Only after seeing that authentication has failed will the hook swap out the actual NTLM hash with the backdoor hash for comparison.

Usage

Nosferatu must be compiled as a 64 bit DLL. It must be injected using the a DLL Injector with SeDebugPrivilege.

You can see it loaded using Procexp:

Login example using Impacket:

Limitations

In an Active Directory environment, authentication via RDP, runas, or the lock screen does not work with the nosferatu password. Authentication using SMB, WinRM, and WMI is still possible.

In a non-AD environment, authentication works for all aspects.

Nosferatu - Lsass NTLM Authentication Backdoor Nosferatu - Lsass NTLM Authentication Backdoor Reviewed by Zion3R on 5:30 PM Rating: 5


文章来源: http://www.kitploit.com/2021/11/nosferatu-lsass-ntlm-authentication.html
如有侵权请联系:admin#unsafe.sh