p0dalirius/windows-coerced-authentication-methods
关于
列出通过远程过程调用(RPC)和各种协议,诱使 Windows 计算机向攻击者控制的计算机进行身份验证的方法。
安全与隐私实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文
This repository contains a list of many methods to coerce a windows machine to authenticate to an attacker-controlled machine.
All of these methods are callable by a standard user in the domain to force the machine account of the target Windows machine (usually a domain controller) to authenticate to an arbitrary target. The root cause of this "vulnerability/feature" in each of these methods is that Windows machines automatically authenticate to other machines when trying to access UNC paths (like \\192.168.2.1\SYSVOL\file.txt).
There are currently 30 working functions in 13 protocols.
Protocols & Methods
[MS-COMA]: Component Object Model Plus (COM+) Remote Administration Protocol
[MS-DFSNM]: Distributed File System (DFS) Namespace Management Protocol
[MS-DHCPM]: Microsoft Dynamic Host Configuration Protocol (DHCP) Server Management Protocol
[MS-DNSP]: Domain Name Service (DNS) Server Management Protocol
[MS-EFSR]: Encrypting File System Remote (EFSRPC) Protocol
- Remote call to EfsRpcOpenFileRaw (opnum 0)
- Remote call to EfsRpcEncryptFileSrv (opnum 4)
- Remote call to EfsRpcDecryptFileSrv (opnum 5)
- Remote call to EfsRpcQueryUsersOnFile (opnum 6)
- Remote call to EfsRpcQueryRecoveryAgents (opnum 7)
- Remote call to EfsRpcFileKeyInfo (opnum 12)
- Remote call to EfsRpcDuplicateEncryptionInfoFile (opnum 13)
- Remote call to EfsRpcAddUsersToFileEx (opnum 15)
- Remote call to EfsRpcFileKeyInfoEx (opnum 16)
- Remote call to EfsRpcEncryptFileExSrv (opnum 21)
[MS-FSRVP]: File Server Remote VSS Protocol
[MS-PAR]: Print System Asynchronous Remote Protocol
[MS-PLA]: Performance Logs and Alerts Protocol
[MS-RAIW]: Remote Administrative Interface WINS
[MS-RPRN]: Print System Remote Protocol
[MS-UAMG]: Update Agent Management Protocol
[MS-VDS]: Virtual Disk Service (VDS) Protocol
[MS-WSP]: Windows Search Protocol
Protecting against coerced authentications
Microsoft does not consider coerced authentications as security vulnerability. In their point of view, only the relaying of authentications issued from coerced authentication consitute a security vulnerability. To prevent NTLM Relay Attacks on networks with NTLM enabled, domain administrators must ensure that services that permit NTLM authentication make use of protections such as Extended Protection for Authentication (EPA) or signing features such as SMB signing. The mitigations against NTLM relays are outlined in these bulletins:
- July 24, 2021 KB5005413: Mitigating NTLM Relay Attacks on Active Directory Certificate Services (AD CS)
- December 08, 2009 MSA974926: Credential Relaying Attacks on Integrated Windows Authentication
- August 12, 2009 Extended Protection for Authentication
- August 11, 2009 MSA973811: Extended Protection for Authentication
Contributing
Feel free to open a pull request to add new methods.
探索相关项目
加载中…