Forum Discussion
Sentinel for MSSPs: how far back do you hunt before a client restores?
Question for people running Sentinel across multiple client tenants. When a client gets hit and wants servers back fast, how do you decide how far back to hunt before they pick what to restore from? Workspace retention often doesn't cover the whole window, so it seems easy to end up guessing at first access. Does anyone have a KQL routine or workbook they run per tenant for this, or is it mostly manual?
Disclosure: I work on CyberSnap, which checks snapshots for signs of compromise.
5 Replies
- UriShay-CyberSnapBrass Contributor
Thanks all. The part I keep coming back to is when retention doesn't reach first access, since then the logs can't tell you which snapshot to trust. Dwell time means the newest snapshots can already hold persistence, so I'd check the snapshots themselves for signs of compromise instead of only trusting the alert timeline. Then pick the recommended recovery point from what that shows, and isolate and scan the restored systems before they go back on the network.
Disclosure: I work on CyberSnap, which scans snapshots for signs of compromise.
- adrelicata53Copper Contributor
For MSSPs using Microsoft Sentinel, don't rely only on workspace retention to decide the restore point. The goal is to identify the earliest evidence of compromise before restoring.
Recommended approach
1. Start with a 30–90-day investigation window, extending further if threat intelligence or available logs suggest earlier access.
2. Identify initial access: Review sign-in logs, suspicious IPs, privilege changes and unusual authentication.
3. Hunt for persistence: Check new accounts, scheduled tasks, services and configuration changes.
4. Check lateral movement: Investigate remote logins, administrative activity and unusual access between servers.
5. Correlate backup snapshots: Compare suspicious activity timestamps with available backup dates.
6. Choose a clean restore point: Restore only after validating that the snapshot predates known compromise.
Useful Sentinel data sources
- `SecurityEvent`
- `SigninLogs`
- `DeviceEvents`
- `DeviceProcessEvents`
- `AuditLogs`
Important consideration
If Sentinel retention is insufficient, supplement it with archived logs, EDR telemetry, identity-provider logs and backup metadata.
My recommendation: Build a reusable per-tenant Sentinel workbook that identifies earliest suspicious activity, last known clean activity and candidate restore dates.
Never assume that the oldest available snapshot is clean.
- StefanBlom44Tin Contributor
For an MSSP, I'd avoid using a fixed 7-, 14-, or 30-day lookback for every client. I'd use a risk-based compromise window.
My recommended workflow:
1. Start with the earliest known indicator: suspicious login, endpoint alert, persistence event, or first confirmed malicious activity.
2. Hunt backwards: ideally 30–90 days, depending on available telemetry and incident severity.
3. Correlate across sources: Sentinel, Defender for Endpoint, Entra ID sign-ins, firewall logs, and backup telemetry.
4. Account for retention gaps: missing logs do not mean the environment was clean.
5. Choose restore points: restore to a point before the earliest credible compromise, with an additional safety buffer.
6. Validate before reconnecting: scan restored systems and monitor for recurring indicators.
What I'd automate in Sentinel
Build a per-tenant workbook showing:
- Earliest suspicious activity.
- First privileged account compromise.
- Persistence indicators.
- Lateral movement.
- Logging and retention gaps.
- Candidate restore-point cutoff.
My biggest recommendation: Don't make the restore decision based solely on the oldest alert. The first alert is not necessarily the first compromise.
The goal should be to identify the earliest defensible clean recovery point, not simply the oldest available backup.
- FerdinandNanalig8Tin Contributor
For MSSPs using Microsoft Sentinel, I wouldn't rely on a fixed 7-, 30-, or 90-day hunting window. The investigation should go back to the earliest suspected compromise, not just the available workspace retention.
Recommended approach
1. Initial access: Identify the earliest suspicious login, endpoint alert, or exploitation indicator.
2. Persistence: Hunt for new accounts, privileged access, scheduled tasks, and suspicious services.
3. Lateral movement: Check activity across connected servers and client environments.
4. Backup integrity: Investigate backup deletion, modification, and suspicious snapshot activity.
5. Restore validation: Identify the last defensibly clean backup before restoring.
What should MSSPs automate?
Build a reusable Sentinel workbook for every tenant that tracks:
- Earliest known compromise indicator.
- First suspicious authentication.
- Affected users and servers.
- Available log-retention coverage.
- Last known clean restore point.
- Confidence level and missing evidence.
What about KQL?
Use reusable KQL hunting queries across `SecurityAlert`, `SigninLogs`, `SecurityEvent`, and `DeviceProcessEvents`, adjusting for each tenant's enabled data connectors and retention.
My recommendation: Use a rolling 90-day investigation as an initial baseline, extend it when indicators suggest older access, and supplement Sentinel with backup and endpoint telemetry.
Most importantly, don't declare a snapshot clean simply because Sentinel shows no alerts. Absence of evidence isn't evidence of a clean backup.
- FerdinandNanalig8Tin Contributor
For MSSPs using Microsoft Sentinel, I'd avoid relying solely on workspace retention to decide whether a backup is safe to restore.
A practical approach is to use three investigation windows:
1. Immediate compromise: Hunt the last 7–14 days for suspicious logins, privilege escalation, persistence, and lateral movement.
2. Initial access: Extend the investigation to 30–90 days, depending on available identity, endpoint, firewall, and cloud logs.
3. Historical validation: Check older backups and external telemetry to identify potentially dormant compromise.
Useful Sentinel checks
- First suspicious sign-in and unusual IP addresses.
- New accounts, credentials, and privileged roles.
- Scheduled tasks, services, and persistence indicators.
- Lateral movement between servers.
- Unusual backup deletion or modification activity.
My recommendation
Build a repeatable per-tenant incident workbook that records:
- Earliest confirmed indicator of compromise.
- Earliest suspected access.
- Last known clean backup.
- Evidence gaps caused by retention limits.
- Confidence level for each restore candidate.
Important: Don't treat the earliest event in Sentinel as the initial access date. Missing logs can make an investigation appear cleaner than it really is.
For restoration, prioritize independently validated backups and isolate restored systems until they're checked.
The key principle: Restore from the last defensibly clean point, not simply the newest available snapshot.