Right now Microsoft Incident Response are proud to introduce two one-page guides to assist safety groups examine suspicious exercise in Microsoft 365 and Microsoft Entra. These guides include the artifacts that Microsoft Incident Response hunts for and makes use of every day to offer our clients with proof of Menace Actor exercise of their tenant.
With greater than 3,000 completely different actions (often known as operations) logged into the Microsoft 365 suite, figuring out that are helpful on your investigation might be daunting. With these guides, our objective is to make triaging and analyzing information in Microsoft 365 less complicated. Many of those operations are data-based storytelling automobiles, serving to Microsoft Incident Response to piece collectively an assault chain from starting to finish. Now we have labored on lots of of cloud-centric instances with our clients, and whereas techniques, methods, and procedures (TTPs) change with the instances, evaluation methodology and information triage methods stay persistently profitable. To allow Microsoft Incident Response to search out floor fact rapidly and successfully in an investigation, information mining primarily based on identified elements is crucial. The identified elements could possibly be investigation particular, corresponding to an IP tackle, identified compromised username, or suspicious consumer agent string. It’s also simply as necessary to filter primarily based on how actors transfer by means of a cloud surroundings and collect information. That is the place these guides come into their very own, and our hope is that sharing these guides will help you in the identical manner they assist us every single day.
Microsoft Incident Response guides
These new one-page guides from Microsoft Incident Response helps safety groups analyze cyberthreat information in Microsoft 365 and Microsoft Entra.
Analyze the Unified Audit Log in Microsoft 365
First up is our normal Microsoft 365 information, centered round key actions in Alternate On-line and SharePoint—Microsoft 365 merchandise generally focused in cybersecurity assaults. Take into account that the motives of a Menace Actor, the instruments out there to them, and the extent of entry they’ve achieved will decide the actions they take. No two incidents are ever the identical.
Actions carried out in a tenant are recorded within the Unified Audit Log, which might be accessed from the Safety Portal or by means of PowerShell. You may filter the audit log by date, consumer, exercise, IP tackle, or file title. You may also export the audit log to a CSV file for additional evaluation.
A lot of the operations in these sheets are self-explanatory in nature, however a number of deserve additional context:
SearchQueryPerformed—A consumer or an administrator has carried out a search question in SharePoint On-line or OneDrive for Enterprise. This operation returns details about the search question, such because the IP tackle, however doesn’t return the question textual content.
SearchQueryInitiatedSharePoint and SearchQueryInitiatedExchange—These operations are solely logged if in case you have enabled them utilizing the Set-Mailbox PowerShell cmdlet. This operation is very like SearchQueryPerformed, besides it comprises the search question that was used.
SearchExportDownloaded—A report was downloaded of the outcomes from a content material search in Microsoft 365. This operation returns details about the content material search, such because the title, standing, begin time, and finish time.
Replace—A message merchandise was up to date, together with metadata. One instance of that is when an e-mail attachment is opened, which updates the metadata of the message merchandise and generates this occasion. An replace operation just isn’t at all times indicative of an e-mail message being purposefully modified by a Menace Actor.
FileSyncDownloadedFull—Person establishes a sync relationship and efficiently downloads recordsdata for the primary time to their pc from a SharePoint or OneDrive for Enterprise doc library.
Detailed id and entry information with Microsoft Entra
Our Microsoft Entra information covers actions which permit organizations to handle and shield their identities, information, and gadgets within the cloud. As an industry-leading id platform, Microsoft Entra ID provides superior security measures, corresponding to multifactor authentication, Conditional Entry insurance policies, id safety, privileged entry administration, and id governance.
To view the actions carried out by customers and directors in Microsoft Entra ID, you should utilize the Microsoft Entra ID audit log, which shops occasions associated to position administration, machine registration, and listing synchronization to call a number of. To view detailed sign-in data, you should utilize the Signal-In Logs. The occasions positioned in these two information sources will help you detect and examine safety incidents, corresponding to unauthorized entry or configuration modifications to the id aircraft.
You should use the next strategies to entry Microsoft Entra ID audit log information:
Microsoft Entra Admin Portal—Go to the portal and check in as an administrator. Navigate to Audit and/or Signal-ins below Monitoring. Filter, type, and export the information as wanted.
Azure AD PowerShell—Set up the Azure AD PowerShell module and hook up with Microsoft Entra ID. Use Get-AzureADAuditDirectoryLogs and/or Get-AzureADSignInLogs to get the information you want. Pipe the outcomes to Export-CSV to output the knowledge for evaluation.
Microsoft Graph API—Register an software in Microsoft Entra ID and provides it the permissions to learn audit log information (AuditLog.Learn.All and Listing.Learn.All). Use /auditLogs/directoryAudits and /auditLogs/signIns API endpoints to question the information, together with question parameters corresponding to $filter to refine the outcomes.
A lot of the operations in these sheets are self-explanatory in nature, however as with our Microsoft 365 operations, a number of deserve additional context:
Suspicious exercise reported—This log occasion signifies {that a} consumer or an administrator has reported a sign-in try as suspicious. The log occasion comprises details about the reported sign-in—such because the consumer, the IP tackle, the machine, the browser, the situation, and the chance degree. It additionally reveals the standing of the report—whether or not it was confirmed, dismissed, or ignored by the consumer or the administrator. This log occasion will help establish potential safety incidents, together with phishing, credential compromise, or malicious insiders.
Replace software: Certificates and secrets and techniques administration—This log occasion signifies that an administrator has up to date the certificates or secrets and techniques related to an software registered in Microsoft Entra ID—corresponding to creation, deletion, expiration, or renewal. Functions are steadily misused by Menace Actors to realize entry to information, making this a crucial administrative occasion if discovered throughout an investigation.
Any operation ending in ‘(bulk)’—These are fascinating as they display a bulk exercise being carried out—corresponding to ‘Obtain customers’ or ‘Delete customers.’ Take into accout, nonetheless, that these are solely logged if the majority exercise is carried out utilizing the graphical consumer interface. If PowerShell is used, you’ll not see these entries in your log.
Elevate Entry—Assigns the presently logged-in id the Person Entry Administrator position in Azure Position-Primarily based Entry Management at root scope (/). This grants permissions to assign roles in all Azure subscriptions and administration teams related to the Microsoft Entra listing. This toggle is barely out there to customers who’re assigned the World Administrator position in Microsoft Entra ID. It may be utilized by Menace Actors to realize full management of Azure sources, typically for the needs of crypto mining or lateral motion from cloud to on-premises.
Enhance safety evaluation with the Microsoft Incident Response guides
We hope that these one-page guides can be a invaluable useful resource for you when that you must rapidly establish and analyze suspicious or malicious exercise in Microsoft 365 and Microsoft Entra ID. Print them out, save them as your desktop background, or put them on a mouse pad. No matter you do, tell us what you discover helpful and keep in mind that the audit logs in Microsoft 365 and Microsoft Entra ID will not be the one supply of proof in a cloud-based case, and you must at all times correlate and validate your findings with different information sources the place potential.
To entry additional data on what information lies in these logs and how one can entry them, reference the next weblog posts from the Microsoft Incident Response staff:
Study extra
Study extra about Microsoft Incident Response.
To be taught extra about Microsoft Safety options, go to our web site. Bookmark the Safety weblog to maintain up with our knowledgeable protection on safety issues. Additionally, observe us on LinkedIn (Microsoft Safety) and Twitter (@MSFTSecurity) for the newest information and updates on cybersecurity.