Some information in this article relates to a prereleased product which may be substantially modified before it's commercially released. Microsoft makes no warranties, expressed or implied, with respect to the information provided here.
You can quickly contain threats or address compromised assets that you find in advanced hunting using powerful and comprehensive action options. With these options, you can:
Microsoft recommends that you use roles with the fewest permissions. This helps improve security for your organization. Global Administrator is a highly privileged role that should be limited to emergency scenarios when you can't use an existing role.
If you can't take action, contact a Global Administrator about getting the following permission:
Active remediation actions > Threat and vulnerability management - Remediation handling
To take action on emails through advanced hunting, you need a role in Microsoft Defender for Office 365 to search and purge emails.
Take various actions on devices
You can take the following actions on devices identified by the DeviceId column in your query results:
Isolate affected devices to contain an infection or prevent attacks from moving laterally
Collect investigation package to obtain more forensic information
Run an antivirus scan to find and remove threats using the latest security intelligence updates
Initiate an automated investigation to check and remediate threats on the device and possibly other affected devices
Restrict app execution to only Microsoft-signed executable files, preventing subsequent threat activity through malware or other untrusted executables
You can deploy the quarantine action on files so that they're automatically quarantined when encountered. When selecting this action, you can choose between the following columns to identify which files in your query results to quarantine:
SHA1: In most advanced hunting tables, this column refers to the SHA-1 of the file that's affected by the recorded action. For example, if a file was copied, this affected file would be the copied file.
InitiatingProcessSHA1: In most advanced hunting tables, this column refers to the file responsible for initiating the recorded action. For example, if a child process was launched, this initiator file would be part of the parent process.
SHA256: This column is the SHA-256 equivalent of the file identified by the SHA1 column.
InitiatingProcessSHA256: This column is the SHA-256 equivalent of the file identified by the InitiatingProcessSHA1 column.
To locate files and quarantine them, the query results should also include DeviceId values as device identifiers.
To take any of the described actions, select one or more records in your query results and then select Take actions. A wizard guides you through the process of selecting and then submitting your preferred actions.
Take various actions on emails
Apart from device-focused remediation steps, you can also take some actions on emails from your query results. Select the records you want to take action on, select Take actions, then under Choose actions, select your choice from the following:
Move to mailbox folder - select this action to move the email messages to Junk, Inbox, or Deleted items folder
Note that you can move email results consisting of quarantined items (for instance, in the case of false positives) by selecting the Inbox option.
Delete email - select this action to move email messages to the Deleted items folder (Soft delete) or delete them permanently (Hard delete)
Selecting Soft delete also automatically soft deletes the messages from the sender's Sent Items folder if the sender is in the organization.
Automatic soft-deletion of the sender's copy is available for results using the EmailEvents and EmailPostDeliveryEvents tables but not the UrlClickEvents table. Furthermore, the result should contain the columns EmailDirection and SenderFromAddress columns for this action option to show up in the Take actions wizard. Sender's copy clean-up applies to intra-organization emails and outbound emails, ensuring that only the sender's copy is soft-deleted for these email messages. Inbound messages are out of scope.
You can also provide a remediation name and a short description of the action taken to easily track it in the action center history. You can also use the Approval ID to filter for these actions in the action center. This ID is provided at the end of the wizard: