DEV Community

kozhevniko
kozhevniko

Posted on

Detection Engineering for Account Registration and Recovery Abuse

Detection Engineering for Account Registration and Recovery Abuse

Registration and password recovery are easy to treat as support features. They are security workflows with high-value outcomes: a new identity is created, a credential is changed, a session begins, or a recovery method is added. The College Board incident shows why those events need their own detection model.

College Board confirmed unauthorized access to account-creation and CSS Profile systems, basic account-information access for a subset of users, and some password resets. The public notice does not describe the logging that was available, how detection occurred, or which signals first triggered the response. Those details should be reconstructed internally.

Start with the decision points

A registration flow has several decisions: is the identifier valid, does an account already exist, what role is assigned, what verification is required, and which records are linked. A recovery flow adds more: when was the request made, how was the token delivered, was it validated, which account changed, and which sessions were revoked.

OWASP's logging guidance recommends recording authentication successes and failures, authorization failures, input-validation failures, and security-relevant administrative actions. The log should be useful for investigation without becoming a second data store of passwords, full tokens, or unnecessary personal information.

For each event, record a correlation identifier, timestamp, service, endpoint, account identifier in a protected form, source network, user agent, device or session identifier, result code, role, and policy decision. Include the request outcome and the state transition. A row that says "reset requested" is less useful than a linked sequence showing request, token validation, password change, and session revocation.

Build baselines that reflect the service

Registration and recovery traffic has normal peaks. Application deadlines, test dates, school schedules, and support hours can change volume and geography. A static threshold may create noise or miss a targeted campaign. Build baselines by endpoint, account type, request outcome, and population.

Useful ratios include registration attempts per verified account, reset requests per active account, token-validation failures per request, completions per request, new-account logins from new networks, and recovery changes followed by sensitive actions. Compare the ratios with absolute counts. A small account population can show a large ratio without a large event volume.

Create alerts for abrupt changes in these ratios, repeated failures from one source, the same source touching many identifiers, unusual request variation, and successful registration followed by immediate role or profile changes. Treat each alert as a lead. A shared hosting network can be legitimate, and a single failed attempt does not prove abuse.

Preserve evidence across identity systems

The web application, identity provider, email delivery service, fraud system, support console, and data service may each hold part of the timeline. Use a common correlation identifier where possible, or a deterministic join that does not expose credentials. Synchronize clocks and record time zones.

Store the outcome of disabled routes and maintenance responses. During containment, a request that reaches a blocked flow is evidence of continued probing. Preserve administrative changes to feature flags and route rules. A defense that is switched off later may look like an outage in application logs.

The public observation for domain="collegeboard.org" && is_changed=true returned 0 at 2026-11-29T14:45:25+00:00. That result does not mean no security-relevant events occurred. It means the external change field had no matching observations at that time. The broader domain query returned 361 observations at 14:44:18. Keep those observations in an external-exposure timeline rather than mixing them with authentication logs.

Review support workflows as a detection surface

If users cannot complete recovery, support staff may become the fallback. Monitor identity-verification failures, manual unlocks, email changes, factor resets, and document uploads performed through a support console. Require a purpose code and approval trail for sensitive actions. Review whether staff can see data unrelated to the case.

Watch for recovered accounts that immediately change recovery settings or access unfamiliar records. A successful reset followed by a new email address is more significant than either event alone. A support unlock followed by a session from a hosting provider is another sequence worth reviewing.

Test the detections

Run controlled tests with synthetic accounts. Generate a normal reset, a duplicate registration, a failed verification, a token replay, an expired token, and a role-assignment failure. Confirm that each event appears in the expected logs with the right fields and that the alert fires only where intended. Test a blocked service and verify that the maintenance response is distinguishable from a successful login.

The output should be an incident-ready evidence pack: event definitions, field mappings, baseline queries, alert rules, owners, and a documented path from alert to investigation. College Board's public statement does not supply that pack. It provides the scenario that makes the work necessary.

References

Top comments (0)