OpenAI Brute Force Login Success
Description
Detects successful credential stuffing or brute force attacks against OpenAI accounts. This rule identifies when a user account experiences 5 or more failed login attempts followed by a successful login within 30 minutes. This pattern indicates: - Successful credential stuffing attack - Successful brute force attack - Compromised user credentials - Automated attack tools successfully gaining access The correlation is performed by matching on the user email address to track attempts against the same account across multiple failed attempts and the eventual success.
Query
Detection:
- Group:
- ID: Multiple Failed Logins
RuleID: OpenAI.Login.Failed
MinMatchCount: 5
- ID: Successful Login
RuleID: OpenAI.Login.Success
MatchCriteria:
field_name:
- GroupID: Multiple Failed Logins
Match: p_any_emails
- GroupID: Successful Login
Match: p_any_emails
Schedule:
RateMinutes: 1440
TimeoutMinutes: 5
LookbackWindowMinutes: 1800
Rule dependencies
⚠ Higher-order rule. It fires on other rules' alerts, not on raw events, so it cannot fire on its own. Deploy the rules it depends on too.
Depends on
-
correlates · Panther group
OpenAI.Login.Failedwithin 1800m -
correlates · Panther group
OpenAI.Login.Successwithin 1800m
Analyst notes
- Verify if the successful login was legitimate by contacting the user via a trusted out-of-band channel to confirm they logged in. Review the failed login attempts including source IPs, geolocations, user agents, and timing patterns for anomalies.
- If the login is confirmed as unauthorized, immediately disable the compromised account, force password reset, revoke all active sessions and API keys, and review all actions taken by the account since the successful login.
- Investigate potential breach scope by checking if the same IP targeted multiple accounts, reviewing API key modifications, auditing role assignments and permission changes, and checking for data exfiltration or suspicious API usage.