Security News > 2021 > April > NTLM Relay Attack Abuses Windows RPC Protocol Vulnerability

NTLM Relay Attack Abuses Windows RPC Protocol Vulnerability
2021-04-27 00:16

A newly identified NTLM relay attack abuses a remote procedure call vulnerability to enable elevation of privilege, researchers from cybersecurity firm SentinelOne reveal.

The researchers used a DCOM client that was instructed to connect to a RPC server, operation that involved two NTLM authentications, one without the "Sign flag" being set, and also leveraged the fact that the DCOM activation service can be abused to trigger RPC authentication.

The idea behind the attack, SentinelLabs explains, was that a shell in Session 0, even as a low privileged user, combined with triggering some CLSIDs, could allow the attacker to obtain "An NTLM authentication from the user who is interactively connected."

The attack works as follows: the attacker has a shell in Session 0 on the target machine, even with a low privileges account; a user with high privileges logs in interactively; the attacker triggers the DCOM activation service to impersonate the high-privileged user; the attacker implements a man-in-the-middle to receive an authenticated call; the binding of the RPC under the attacker's control takes place; the victim machine makes an authenticated call; authentication is relayed to a privileged resource such as LDAP, SMB, HTTP or other; the authentication is forwarded for privilege escalation.

The researchers did publish a series of mitigations that should help prevent attacks that would trigger an authenticated RPC/DCOM call and then relay the NTLM authentication.

"This is different from other known techniques such as CVE-2020-1113 and CVE-2021-1678, where relaying happens between a generic 'client' protocol vs. an RPC server. In this case, we had an RPC client whose authentication was relayed to other 'server' protocols and without 'victim' interaction. Therefore, we hope that MS reconsider their decision not to fix this serious vulnerability," SentinelLabs concludes.


News URL

http://feedproxy.google.com/~r/Securityweek/~3/GwSUimOd7Wc/ntlm-relay-attack-abuses-windows-rpc-protocol-vulnerability

Related Vulnerability

DATE CVE VULNERABILITY TITLE RISK
2021-01-12 CVE-2021-1678 Unspecified vulnerability in Microsoft products
Windows Print Spooler Spoofing Vulnerability
network
low complexity
microsoft
8.8
2020-05-21 CVE-2020-1113 Improper Certificate Validation vulnerability in Microsoft products
A security feature bypass vulnerability exists in Microsoft Windows when the Task Scheduler service fails to properly verify client connections over RPC, aka 'Windows Task Scheduler Security Feature Bypass Vulnerability'.
network
high complexity
microsoft CWE-295
7.5

Related vendor

VENDOR LAST 12M #/PRODUCTS LOW MEDIUM HIGH CRITICAL TOTAL VULNS
Protocol 12 0 1 15 1 17