Skip to main content
In illicit consent attacks, an attacker who controls a user’s account consents to a third-party application, such as a mail backup or email client tool, so the application keeps reading the mailbox after the password is reset. Application remediation disables the Microsoft Entra application a detection reports, revokes the consent it was granted, or both, using the Microsoft integration that reported it. Application remediation runs manually from a case, and automatically from verdict rules for applications known to be used in business email compromise (BEC).

Remediation Actions

  • Disable Application — disable the application’s enterprise application (service principal) in your tenant, so nobody can sign in to it and it can’t get new tokens, even if a user consents to it again
  • Revoke Application Consent — remove the application’s delegated permissions for the consent the detection reports: all of the user’s grants to the application for a user consent, or all of its tenant-wide grants for an admin consent
Wirespeed disables applications rather than deleting them. Disabling keeps the application, its consents, and its audit history in Entra for your investigation, and you can turn the application back on if it turns out to be legitimate. The app registration is never changed.

Release Actions

  • Enable Application — turn back on an application that Wirespeed disabled
Enable Application is only offered manually, from Remediate > Release Assets in the case header or the Release tab of a detection’s remediation dialog, and only for applications Wirespeed disabled. Wirespeed never re-enables an application automatically, even when a detection is resolved as benign. Re-enable an application that was disabled outside Wirespeed in Entra.
Revoke Application Consent can’t be undone from Wirespeed. If a consent is revoked by mistake, the user or an admin must consent to the application again.

Manual remediation

Open the case and select Remediate in the case header (Remediate > Remediate Assets once something on the case is remediated). Applications appear under Applications (Disable Application), and consents under Application Consents (Revoke Application Consent). Manual remediation is available even when Application Auto Remediation is off. Wirespeed offers these actions only when it can identify the application and consent exactly:
  • The detection reports a single application. Applications on a detection that names several applications can’t be remediated from Wirespeed.
  • Revoke Application Consent needs a consent that granted delegated permissions, for a known user or for the whole tenant. It is unavailable when the consent granted only application permissions, when the audit event doesn’t say whose consent it was, or when the detection reports several consents. You can still disable the application.
  • The application belongs to the same Microsoft tenant as the connected integration.

Automatic remediation

When a single user consents to an application known to be used in business email compromise, the matching OAuth Grant verdict rule marks the detection Malicious, escalates it with High severity, and by default:
  • disables the application;
  • revokes that user’s consent;
  • remediates the consenting user with Disable Account, Reset Password, and Revoke Sessions, under your user remediation settings.
Admin consent for all users is not remediated automatically: by default the detection is escalated as Suspicious, and you can remediate it manually. A few known applications that customers commonly rely on are also only remediated manually.

Turning it on

Automatic application remediation needs all of the following:
  1. Enable Automated Remediations is on under Settings > Remediation (see Introduction to Remediation).
  2. Application Auto Remediation is on under Settings > Remediation > Configuration. It is off by default.
  3. The matching verdict rule has Disable Application, Revoke Application Consent, or both selected. These options are only available on Malicious verdict rules in the OAuth Grant category.
  4. The Microsoft integration that reported the detection is not read-only and has been granted the permission each action needs. See Requirements.

Requirements

See Microsoft remediation access.

Where results appear

  • Detection timeline — each action and its outcome.
  • Detection next steps — Disable application and Revoke application consent steps under Remediate. They are marked done when the action succeeds or was already in effect, failed when it fails or is refused, or skipped with a reason when Application Auto Remediation is off or nothing on the detection could be remediated.
  • Settings > Remediation — Actions Taken lists each disabled, re-enabled, or revoked application by name, or by application ID when it has none; Actions Blocked lists automatic actions stopped by a setting.
  • The Activity Summary email counts disabled applications and revoked consents.

Supported integrations