OneAgent Unprivileged NTLM User Coercion
When a network share access fails with a logon error, the OneAgent service retrieves every user token on the machine and repeatedly retries the share while impersonating each user. An unprivileged attacker with local access could use this to coerce NTLM authentication and relay it.
remiec Follow with sayakaisbaka
Originally disclosed on HackerOne
- Triaged in 19 hours
- Fixed in 14 days
- Paid in 43 hours
- Disclosed after 51 days
Summary by the program
Summary:
When attempting to access a remote network share from a machine where OneAgent is installed and receiving a “STATUS_LOGON_FAILURE” error, the agent will retrieve every user token on the machine and repeatedly attempt to access the network share while impersonating them.
The exploitation of this vulnerability can allow an unprivileged attacker with access to the affected system to perform NTLM relay attacks.
What the report shows
The target is Dynatrace OneAgent, the agent component installed on monitored hosts. The report describes a behaviour that appears when the agent tries to reach a remote network share and the attempt fails with STATUS_LOGON_FAILURE.
According to the summary, in that situation the agent retrieves every user token present on the machine and then repeatedly attempts to access the network share while impersonating each of those users. The report does not describe the exact trigger, the configuration of the share, the version of OneAgent, or the number of attempts made.
The researcher's finding is that this behaviour lets an unprivileged attacker who already has access to the affected system perform NTLM relay attacks. The report does not include a proof of concept, request captures or a step-by-step reproduction, so the mechanism is described only at the level of the summary above.
The report was handled through HackerOne under the Dynatrace program, classified as Improper Privilege Management with medium severity, and a bounty of 750.00 USD was awarded. It was disclosed on 2025-10-15. The report does not state which version fixed the behaviour or what the fix was.
Root cause
That turns a routine authentication failure into repeated outbound authentication attempts made while impersonating the machine's user tokens. The report is classified as Improper Privilege Management.
Impact
An unprivileged local attacker can use the agent as a source of NTLM authentication traffic for users other than themselves. The report states that exploitation can allow an unprivileged attacker with access to the system to perform NTLM relay attacks. The report limits the claim to NTLM relay attacks and does not describe specific targets, privileges obtained or data accessed.
How this kind of bug works
NTLM authentication is challenge-response. A client proves knowledge of a user's password hash without sending the password, by responding to a server challenge. A relay attack does not recover the hash: it forwards the challenge and response between a victim client and a third-party service, so the third-party service accepts the authentication as the victim. The classic requirement is that the attacker can make a victim authenticate to a host the attacker controls, and that the target service does not enforce signing or channel binding.
Coercion is the first half: something on the victim machine is made to authenticate outbound. Here the outbound authentication comes from the agent impersonating every user token on the host. The second half is the relay: the attacker captures that authentication and passes it to a service that accepts NTLM without protections such as SMB signing, LDAP signing or Extended Protection for Authentication. Defences therefore sit on both sides: stop unnecessary outbound NTLM (disable NTLM where possible, enforce SMB and LDAP signing, enable EPA, restrict outbound SMB), and stop software from reusing credentials or tokens it was not asked to use.
How to test for it
- Identify software on the host that authenticates to remote resources on behalf of the machine or its users: agents, backup tools, management daemons, scanners and updaters.
- Set up a share or service the software will contact, and make it fail authentication, for example by rejecting the credentials it presents.
- Observe the outbound authentication attempts from the host with a packet capture or a listener that logs incoming NTLM negotiations. Look at which usernames appear in the attempts.
- A positive result is authentication traffic for accounts other than the one running the software, especially accounts the tester does not control, repeated across retries.
- To show impact, relay a captured authentication to a service that accepts it and demonstrate access as the impersonated account, or show that the attempts reach an attacker-controlled listener at all.
Common false positives: the software legitimately running as a service account and authenticating as that account; machine account authentication, which is expected; and traffic that is logged but never leaves the host. Confirm the identity in the NTLM negotiation rather than assuming it from the process owner.
How it is fixed
Where impersonation is genuinely required, it should be limited to explicitly configured accounts. On the network side, enforcing SMB signing, LDAP signing and channel binding reduces the value of any leaked authentication attempt.
Hunting notes
Recon signals include services running as SYSTEM or a privileged service account that make outbound SMB or LDAP connections, and error paths that retry authentication.
What happened, in plain words
Dynatrace OneAgent is a small piece of software that Dynatrace customers install on their servers and computers so that Dynatrace can monitor them. Think of it as a caretaker who lives inside the building and reports back to head office. To do its job, the agent sometimes needs to reach a shared folder on another machine, called a network share. A network share is simply a folder on one computer that other computers on the same network can open, like a shared cupboard in an office corridor.
When accessing a remote network share from a machine with OneAgent installed returns STATUS_LOGON_FAILURE, something unexpected happens. Instead of giving up, the agent went looking for every user token on the machine and tried to open the share again and again, each time pretending to be one of those users.
A token, in this context, is a short-lived pass that Windows hands to a logged-in user so they do not have to type their password for every action. It is like a visitor badge issued at reception: show it and doors open. The agent collected every badge lying around on the machine and tried each one at the shared cupboard door.
The researcher, remiec, reported that this behaviour lets an unprivileged attacker who already has a foothold on the affected system carry out NTLM relay attacks. An unprivileged attacker is someone with a normal, low-level account, not an administrator. An NTLM relay attack is explained below, but in short it means catching someone else's proof of identity in transit and passing it on to a different service so that service believes the attacker is that person.
The report was handled through HackerOne under the Dynatrace program. It was classified as Improper Privilege Management, rated medium severity, and a bounty of 750.00 USD was awarded. It was disclosed on 2025-10-15. The report does not describe the exact trigger, the configuration of the share, the OneAgent version, the number of attempts, a proof of concept or the fix.
In general, how this kind of bug works
NTLM is an older Microsoft login protocol. It works by challenge and response: the server sends a random challenge, and the client proves it knows the user's password by answering correctly, without ever sending the password itself. The answer is derived from a stored fingerprint of the password, called a hash.
A relay attack does not crack that answer. Instead, the attacker sits in the middle: the victim answers the attacker's challenge, and the attacker forwards that same answer to a real service. The real service sees a valid answer and lets the attacker in as the victim. It is like a courier who intercepts a signed delivery receipt and hands it to a different warehouse, which accepts it as proof that the courier is the original sender.
For this to work, two things are needed. First, something on the victim machine must be made to authenticate outbound, which is called coercion. Here the outbound authentication comes from the agent impersonating every user token on the host. Second, the service receiving the relayed login must accept NTLM without protections such as SMB signing, LDAP signing or Extended Protection for Authentication. Those protections bind the login to the original conversation, so a forwarded answer no longer fits.
Why the agent's behaviour matters
The agent retrieves every user token on the machine and repeatedly attempts to access the share while impersonating them. The report is classified as Improper Privilege Management.
How to test for it
- Identify software on the host that logs in to remote resources on behalf of the machine or its users: agents, backup tools, management daemons, scanners and updaters.
- Set up a share or service the software will contact, and make it fail authentication, for example by rejecting the credentials it presents.
- Watch the outbound login attempts from the host with a packet capture or a listener that logs incoming NTLM negotiations. Note which usernames appear.
- A positive result is login traffic for accounts other than the one running the software, especially accounts the tester does not control, repeated across retries.
- To show impact, relay a captured login to a service that accepts it and demonstrate access as the impersonated account, or show that the attempts reach an attacker-controlled listener at all.
Common false positives: the software legitimately running as a service account and logging in as that account; machine account logins, which are expected; and traffic that is logged but never leaves the host. Confirm the identity in the NTLM negotiation rather than assuming it from the process owner.
How it is fixed
The report does not state what the fix was. Where impersonation is genuinely required, it should be limited to explicitly configured accounts. On the network side, enforcing SMB signing, LDAP signing and channel binding reduces the value of any leaked login attempt.
Hunting notes
Recon signals include services running as SYSTEM or a privileged service account that make outbound SMB or LDAP connections, and error paths that retry authentication.
Glossary
- OneAgent: Dynatrace software installed on a host to monitor it.
- Network share: a folder on one computer that other computers can open over the network.
- STATUS_LOGON_FAILURE: a Windows error meaning a login attempt was rejected.
- Token: a short-lived credential Windows issues to a logged-in user so they need not re-enter their password.
- Impersonation: a program acting with the identity and rights of another user.
- Unprivileged attacker: someone with a normal, low-level account rather than administrator rights.
- NTLM: an older Microsoft challenge-response login protocol.
- Hash: a fingerprint derived from a password, used to prove knowledge of it without sending it.
- NTLM relay attack: forwarding a victim's valid NTLM answer to another service so it accepts the attacker as the victim.
- Coercion: making something on a victim machine authenticate outbound.
- SMB signing: a protection that ties SMB traffic to the original conversation, defeating relay.
- LDAP signing: the equivalent protection for LDAP directory traffic.
- Extended Protection for Authentication (EPA): a channel-binding protection that stops relayed logins from being reused.
- Improper Privilege Management: a weakness where software uses or grants more rights than it should.
- Service account: a dedicated account a program runs under.
- SYSTEM: the highest-privileged built-in Windows account.
- False positive: a finding that looks like a bug but is expected behaviour.