User enumeration through password reset

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Goal

Detect excessive password reset requests from an IP.

This may be caused by a malicious actor trying to use the feature to list existing users, or compromise some.

Required business logic events

Datadog auto-instruments many event types. Review your instrumented business logic events. This detection requires the following instrumented event:

  • users.password_reset

Strategy

Count the number of users to which an IP requested password resets.

Require the password reset to be flagged using a user event with a usr.id metadata field set to the user receiving the password reset and a exists field set to true or false whether the user existed or not.

usr.id must be provided and unique, even if the user didn’t exist.

A Medium signal is then generated if more than 5 password resets from a single IP over 5 minutes are found for users that exist. A Low signal is generated if the user didn’t exist.

Triage and response

  1. Investigate the IP activity and validate that it is legitimate.
  2. Review your password reset process to ensure it’s not leaking whether the user existed or not.
  3. Consider blocking the IP to slow down the attacker.
PREVIEWING: Cyril-Bouchiat/add-vm-package-explorer-doc