An IT service management platform holds the integration credentials, automation workflows and ticket history that let it reset passwords, grant access, approve changes and talk to customers, so an attacker inside it can act as your IT department. This playbook covers a compromise of the ITSM platform itself: the service desk tenant, its administrators, its integration accounts and tokens, its on-premises discovery and orchestration agents, and the workflows that provision access. It sets out how the incident shows up, triage questions, containment in priority order, which credentials to rotate and in what order, when to rebuild, the evidence to keep and when notification rules apply. It is vendor-neutral and written for service management owners, identity teams and incident responders. Hardening the platform before an incident is covered in the ServiceNow Security Guide and the SaaS Security Guide, and in Securing the ITSM platform itself; this page is about response.
Key takeaways
- Move response off the platform. If the ticketing system is compromised, the incident ticket, the change records and the on-call chat tied to it may be visible to the attacker, so run the response through an out-of-band channel.
- Integration accounts matter more than people. Accounts and OAuth clients that connect the platform to the identity provider, directory, cloud and monitoring tools often hold more privilege than any administrator, and they keep working after human passwords are reset.
- Automation is a weapon. Access request fulfilment, password reset workflows and orchestration agents let an attacker grant themselves access with a legitimate approval trail, so freeze them before investigating.
- Tickets hold secrets. Years of attachments, notes and knowledge articles contain passwords, API keys, identity documents and network diagrams; scope what was readable and rotate what was in it.
- Revoke tokens, not just passwords. Under RFC 7009, revoking a refresh token should invalidate access tokens from the same grant only where the server supports it, so confirm each integration's behaviour rather than assume it.
How the incident shows up
ITSM compromises often surface through a user or customer complaint, an unexpected access grant, or an alert in a connected system rather than in the platform itself. Initial access is usually a stolen administrator or agent credential (MITRE ATT&CK T1078 Valid Accounts), a stolen integration token (T1528 Steal Application Access Token), a flaw in an agent-facing feature, or a compromised service provider that operates the desk (T1199 Trusted Relationship).
| Signal | Where it appears | What it suggests |
|---|---|---|
| Access requests approved and fulfilled outside normal hours, or approved by an unusual approver | Request fulfilment history, identity provider audit log | Self-granted access through workflow (T1098 Account Manipulation) |
| New administrator roles, new local accounts or changed SSO settings on the platform | Platform audit log | Persistence in the platform (T1136 Create Account) |
| New OAuth clients, API keys or integration users, or existing ones used from new IPs | Platform audit log, identity provider sign-in logs | Token theft or a planted integration (T1550.001 Application Access Token) |
| Bulk export, reporting jobs or API reads across tickets, attachments or the knowledge base | Platform transaction and API logs | Collection from an information repository (T1213 Data from Information Repositories) |
| Scripts, scheduled jobs or orchestration activities nobody created | Platform configuration history, discovery and orchestration agent logs | Code execution on internal hosts through the platform's agents (T1072 Software Deployment Tools) |
| Customers or staff receive genuine-looking ticket replies with links or payment requests | Outbound mail logs, complaints | Internal phishing from a trusted system (T1534 Internal Spearphishing) |
| Changes to closed tickets, change records or audit fields | Record history | Covering tracks or tampering with evidence (T1565.001 Stored Data Manipulation) |
| Password or MFA reset tickets for privileged users that the user did not raise | Service desk queue, identity provider audit | Help desk social engineering or abuse of reset workflow |
Two live incidents show the pattern. In the Canvas Instructure Breach 2026, a support ticket carrying hidden script ran in an agent's session and gave the attacker a privileged token. In the Internet Archive Breach 2024, support platform API tokens that were not rotated after an earlier code theft let the attacker reach years of support tickets and send replies through the genuine account.
Triage questions
- Which identity did it? A human administrator, a service desk agent, an integration user, an OAuth client or an orchestration agent? Each points to a different root cause and containment step.
- Is the incident visible to the attacker? Assume the ticket queue, chat integrations and on-call rotas tied to the platform are being watched. The joint advisory on Scattered Spider (CISA AA23-320A) reports that actors search messaging and email for signs of the response and frequently join remediation calls.
- What can the platform's integrations do? List every outbound connection: identity provider and directory provisioning, privileged access tools, cloud accounts, endpoint management, monitoring and chat. Note the credential type and its privileges.
- Do on-premises agents run commands? Discovery and orchestration agents in the internal network usually hold domain, SSH, SNMP or hypervisor credentials. If the platform could instruct them, the internal network is in scope.
- Which workflows grant access or reset credentials? Identify automated provisioning, group membership changes, password and MFA resets and approvals that skip a human.
- What data was readable? Tickets, attachments, knowledge base, HR cases, customer records and stored credentials, and for how long.
- Is the provider or a managed service partner involved? If the platform is SaaS or run by a partner, open the provider's security incident route now and agree who holds which logs.
Containment priorities
- Start out-of-band coordination: move the response to a channel and case record outside the platform and outside any chat it integrates with. See the Out-of-Band Communications Plan Template.
- Preserve logs: export platform audit, transaction, API and login logs and integration activity before changing configuration; SaaS retention can be short and some logs are only available through the provider.
- Suspend compromised identities: disable the suspect accounts at the identity provider, revoke their sessions, and remove any local platform accounts that bypass SSO.
- Freeze automation that grants access: pause automated fulfilment of access requests, password and MFA reset workflows, and group or role provisioning. Route urgent requests to a manual process with verification by a second channel. See the Help Desk Identity Verification Policy Template.
- Stop on-premises agents: stop or isolate discovery and orchestration agents until their stored credentials are rotated and their job queue is reviewed.
- Cut outbound integrations by risk: disable or revoke integrations with write access to identity, privileged access and cloud systems first, then read-only feeds. Accept the operational cost for the containment window.
- Lock down outbound messaging: restrict outbound notifications and customer replies to templates, or pause them, if the attacker has used the platform to message people.
Credential rotation order
Rotate from the most powerful downstream credential to the least, and verify each one is invalid, not just replaced. The OAuth Security Best Current Practice (RFC 9700) recommends audience-restricted, least-privilege tokens; use the rebuild as the moment to apply it.
| Order | Credential | Action and check |
|---|---|---|
| 1 | Platform administrator accounts and break-glass accounts | Reset, re-enrol phishing-resistant MFA, remove standing admin roles |
| 2 | Integration credentials into the identity provider, directory and privileged access tools | Regenerate secrets or certificates; revoke refresh tokens at the authorisation server; confirm old tokens fail |
| 3 | Credentials stored for on-premises discovery and orchestration agents | Rotate domain, SSH, SNMP, database and hypervisor credentials; re-register agents |
| 4 | Cloud, monitoring, chat and email integration tokens | Revoke and reissue with narrower scope |
| 5 | Inbound API keys and webhooks used by other systems to create tickets | Rotate and restrict source IPs where supported |
| 6 | Secrets found in tickets, attachments and knowledge articles | Search, rotate at source, then redact; track each to closure |
Use the Secrets Rotation Runbook Template for tracking and the OAuth Token Introspection and Revocation Guide for token behaviour. The Secrets in chat and tickets guide covers searching ticket data for credentials.
Eradication and rebuild
- Configuration review: compare server-side scripts, automation rules, scheduled jobs, workflows, inbound email actions, access control rules and SSO settings with the last known good configuration export. Remove anything without an owner and change record.
- Access granted during the window: list every account, group membership and role granted through the platform since the first attacker action, and reverse any that cannot be confirmed with the requester through a second channel.
- Agents and hosts: review jobs run by orchestration agents and treat hosts that received attacker commands as compromised endpoints; see How to Isolate a Compromised Endpoint.
- Records: check change, incident and problem records for tampering, using platform record history and exported copies; restore from provider backups where integrity is in doubt.
- Agent-facing content: where a malicious ticket, attachment or knowledge article was the entry point, remove it, check for others with the same pattern, and fix the rendering flaw class, not just the instance.
Rebuild or clean in place
- Clean in place: the usual choice for SaaS tenants, when the provider can confirm the platform itself was not breached, logs cover the whole window, and configuration can be compared with a known good export.
- Rebuild or restore: for self-hosted platforms where the attacker had server or database access, rebuild hosts from trusted images and restore configuration from a pre-incident backup that has been checked.
- Small organisations: with a few integrations, rotate everything in one window and accept a short service desk outage.
- Large or outsourced desks: stage reconnection of integrations by risk and confirm the managed service provider's own accounts and access paths are clean; see the Compromised MSP Playbook.
Recovery
- Reconnect integrations one at a time with new credentials, least-privilege scopes and alerting on use from new IPs.
- Restore automation with guardrails: privileged access grants and resets for administrators need a second approver and out-of-band verification.
- Move admin to SSO only, with phishing-resistant MFA and no local accounts except monitored break-glass.
- Reduce stored secrets: replace stored passwords for agents with vault retrieval or short-lived credentials, and enable secret detection on ticket and knowledge content.
- Tell users what changed, including how the service desk will and will not contact them, to blunt follow-on phishing.
Detection and measurement
| Metric | Target |
|---|---|
| Time from detection to automation freeze | Under one hour, through a rehearsed switch |
| Integration credentials rotated and confirmed invalid | 100 percent of those in scope |
| Access grants from the window verified or reversed | 100 percent |
| Secrets detected in tickets and knowledge content, open | Falling to zero, each rotated at source |
| Integrations with write access to identity or cloud systems | Known, owned, reviewed quarterly |
| Admin actions from outside SSO | Zero, each alerted |
Evidence to preserve
| Evidence | Why it matters |
|---|---|
| Platform audit, login and API logs | Who acted, from where, with which credential |
| Integration and OAuth client inventory with last-used data | Which tokens were used or planted |
| Workflow, script and scheduled job definitions and their history | Attacker automation and persistence |
| Request fulfilment and approval history | Access self-granted during the window |
| Orchestration agent job logs and host logs | Commands run on internal systems |
| Outbound mail logs and message copies | Who received attacker messages |
| Identity provider sign-in and audit logs for linked accounts | Use of the platform's credentials elsewhere |
Keep hashes and chain of custody; see the Evidence Handling and Chain of Custody Guide.
Notification triggers
- Personal data: service desks hold employee and often customer data. GDPR Article 33 requires the controller to notify the supervisory authority without undue delay and, where feasible, within 72 hours of becoming aware, unless the breach is unlikely to result in a risk; a processor, such as a SaaS provider or outsourced desk, must notify the controller without undue delay.
- Customers and partners: contracts may set shorter notice; tell customers quickly if the platform was used to message them.
- Other regimes: NIS2, sector rules and securities disclosure may apply; see the Breach Notification Laws by Country Guide.
Common failure patterns
- Running the response in the compromised ticket queue, so the attacker reads every containment step.
- Resetting people but not integrations: service accounts and OAuth clients keep working. The Okta Support System Breach 2023 began with a service account credential, and the Cloudflare Thanksgiving Breach 2023 shows what follows when credentials are left unrotated after a related incident.
- Leaving automated fulfilment on, so the attacker's next request is approved and provisioned while you investigate.
- Forgetting on-premises agents, whose stored domain and SSH credentials give a path back into the internal network.
- Not searching ticket data for secrets, so credentials pasted by staff years ago stay live.
Framework mapping
| Phase | NIST CSF 2.0 | NIST SP 800-53 Rev 5 | ATT&CK techniques addressed |
|---|---|---|---|
| Detection and triage | DE.CM-03, RS.AN-03 | AU-6, IR-4, IR-5 | T1078, T1528, T1199 |
| Containment | RS.MI-01, RS.MA-01 | IR-4, AC-2, AC-6 | T1098, T1072, T1534 |
| Rotation and eradication | RS.MI-02, PR.AA-01 | IA-5, CM-3, SA-9 | T1550.001, T1136, T1552.001 |
| Recovery | RC.RP-01, RC.RP-03 | CM-2, SI-7 | T1565.001 |
| Evidence and notification | RS.CO-02 | AU-9, AU-11, IR-6, SR-8 | T1213 |
ISO/IEC 20000-1:2018 sets service management system requirements; use its incident and change management processes, but run them outside the compromised tool until it is trusted again.
Where identity fits
An ITSM platform is a hub of non-human identities: integration users, OAuth clients, API keys, webhook secrets and agent credentials, plus workflows that act on human identities. Give each an owner, a scope and a rotation date before the incident, so this playbook becomes a list rather than a hunt. See the ServiceNow Integration Users and OAuth Security Guide and the Non-Human Identity (NHI) Guide.
Practitioner checklist
- An out-of-band response channel and case record exist and are tested.
- A single switch pauses automated access fulfilment and reset workflows.
- Every integration is inventoried with owner, scope, credential type and rotation steps.
- On-premises agents retrieve credentials from a vault and can be stopped centrally.
- Platform audit and API logs stream to a SIEM with retention beyond the provider default.
- Administrator access is SSO only with phishing-resistant MFA, with break-glass accounts monitored.
- Secret detection runs on new tickets, attachments and knowledge articles.
- The provider's security contact and log request process are documented.
- Privileged resets and access grants require a second approver and out-of-band verification.
Standards and references
- NIST: SP 800-61 Rev. 3 Incident Response Recommendations and Considerations for Cybersecurity Risk Management
- CISA and FBI: Scattered Spider advisory AA23-320A
- IETF: RFC 7009 OAuth 2.0 Token Revocation
- IETF: RFC 9700 Best Current Practice for OAuth 2.0 Security
- ISO: ISO/IEC 20000-1:2018 Service management system requirements
- GDPR: Article 33 Notification of a personal data breach to the supervisory authority
- NIST: SP 800-53 Rev. 5 Security and Privacy Controls
Related NHI Mgmt Group resources: ServiceNow Security Guide, Help Desk Social Engineering Incident Playbook, If your CMDB and asset inventory is compromised, Third-Party Incident Response Playbook, Identity Incident Response Playbook.