Implementing Security Monitoring
1. Understanding Security Monitoring Goals
| Goal | Detail |
|---|---|
| Detect | Identify attacks in progress |
| Investigate | Understand scope and impact |
| Respond | Contain + remediate quickly |
| Improve | Feedback to detection rules |
2. Monitoring Failed Authentication Attempts
| Metric | Threshold |
|---|---|
| Per user | 5 fails / 5 min |
| Per IP | 20 fails / min |
| Per ASN | 1000 fails / hour |
| Global | Baseline + 3σ |
3. Detecting Brute-Force Attacks
| Signal | Detail |
|---|---|
| Sequential passwords | Common dictionary |
| Many users from 1 IP | Spraying |
| Distributed | Many IPs, one user |
| Action | CAPTCHA, lockout, IP block |
4. Implementing Anomaly Detection
| Approach | Detail |
|---|---|
| Baseline | Per-user, per-tenant |
| Methods | Z-score, Isolation Forest, autoencoders |
| Alerts | Confidence-tier triage |
5. Using SIEM Integration
| SIEM | Detail |
|---|---|
| Splunk ES | Search Processing Language |
| Microsoft Sentinel | KQL queries |
| Elastic Security | Open-source |
| Chronicle | Google Cloud |
6. Implementing Real-Time Alerts
| Channel | Use |
|---|---|
| PagerDuty | Critical, paged |
| Slack | Team awareness |
| Daily digests | |
| SOAR | Automated response (XSOAR, Tines) |
7. Monitoring Token Usage
| Signal | Detail |
|---|---|
| Token from new IP/country | Possible theft |
| Refresh token reuse | Revoke family |
| High velocity | Automated abuse |
8. Detecting Credential Stuffing
| Indicator | Detail |
|---|---|
| Many usernames, low success | Stuffing |
| Datacenter IPs | + signal |
| Headless UA / known bot | + signal |
| Response | Block ASN, force MFA, password reset on hits |
9. Using Threat Intelligence Feeds
| Source | Detail |
|---|---|
| Commercial | Recorded Future, Mandiant |
| Open | AbuseIPDB, AlienVault OTX |
| Format | STIX/TAXII |
10. Implementing Security Dashboards
| Widget | Metric |
|---|---|
| Auth volume | Successes vs failures |
| Geo heatmap | Login locations |
| MFA adoption | % users enrolled |
| Risk score distribution | Daily histogram |