# Known Threat O365 User Login Attempt

**Trigger**: Successful user login (`UserLoggedIn`) from an IP flagged as a known threat 

**Severity**: 🔴High

**Context**: A login attempt originated from a malicious IP. This may indicate:

* Credential theft or reuse from compromised accounts
* Automated attacks such as credential stuffing or brute force attempts

**MITRE:**

* Initial Access (TA0001) - Valid Accounts: Cloud Accounts (T1078.004)


---

> **Investigation Steps 🔎**
>
> * **Check source IP (**`**client.address**`**)** 
>   * Confirm the IP is in threat intelligence feeds and check its history
>   * Determine geolocation and compare to normal login patterns
>   * Assess whether the IP is from a datacenter, VPN, proxy, TOR, or suspicious country
> * A**nalyze login behavior**
>   * Look for multiple rapid logins from the same IP across different accounts
>   * Examine user agent, browser, or device fingerprint for anomalies
> * **Correlate with other events**
>   * Check recent activity for the user: password changes, MFA events, other logins
>   * Investigate if the IP attempted logins for other users recently
> * **Assess potential impact**
>   * Determine if sensitive data or privileged accounts could be affected
>   * Identify any ongoing sessions or active connections from the IP
> * **Response actions**
>   * Block the IP at firewall, WAF, or Azure conditional access policies
>   * Force MFA challenge or reset password for affected accounts

---

**Documents**

- [Alerts - ML and Native Detection Rules](https://outline.cybersift.io/s/engineering/doc/alerts-ml-and-native-detection-rules-YpKFettnC3)
- [Alerts - Custom Detection Rules](https://outline.cybersift.io/s/engineering/doc/alerts-custom-detection-rules-N2kCRxUjIu)