Microsoft 365 Security Settings: 10 Critical Steps

Microsoft 365 Security Settings: 10 Critical Steps

For many companies, Microsoft 365 is the single hub for email, files and identities. That is why a compromised Microsoft 365 account gives an attacker access to correspondence, customer data and often payment processes. It is also the most common starting point we see in corporate incidents. The 10 settings below block the majority of attacks.

Note: menu names and licence coverage change over time. Some features (such as Conditional Access) require a Microsoft Entra ID P1 licence or higher.

Identity

1. Enforce multi-factor authentication for all users

Almost every compromised account either has no MFA or has it switched off for one user. If your licence does not include Conditional Access, at least turn on Security Defaults. If you use Conditional Access, keep exclusions to a minimum and review them regularly. For choosing a method, see our article on types of MFA.

2. Block legacy authentication protocols

Legacy protocols such as POP, IMAP and SMTP AUTH do not support MFA. If they are left on, an attacker can skip MFA entirely and log in with just a password. Turn them off if they are not used; if they are, restrict them to specific accounts and devices.

3. Separate administrator accounts

Global administrator rights should not sit on the account used for everyday email. Use separate admin accounts without a mailbox, protected by strong MFA. Limit the number of global administrators to between two and four.

4. Create an emergency access account

A misconfigured MFA or Conditional Access policy can lock you out. Set up a "break glass" account protected by strong credentials, with its use monitored.

Email

5. Block automatic forwarding to external addresses

After taking over an account, attackers usually create a rule that forwards all email to an outside address, so they can keep reading correspondence even after the password is changed. Turn off automatic external forwarding in the outbound spam policy.

6. Monitor inbox rules

Rules that delete or archive emails containing words such as "invoice", "payment" or "IBAN" are the clearest sign of an ongoing invoice fraud. Set up alerts for newly created rules.

7. Configure SPF, DKIM and DMARC

These records make it harder for others to send email in your domain's name. We explain how to set them up in What are SPF, DKIM and DMARC?

Apps and sharing

8. Restrict user consent to apps

Instead of asking for a password, attackers may ask the user to grant a malicious app permission to "read your email". That permission stays valid even after the password is changed. Limit user consent to verified publishers or require admin approval.

9. Review external sharing

"Anyone" links in SharePoint and OneDrive leave forgotten files exposed outside the company. Restrict the default sharing type to internal and put an expiry on external sharing links.

Monitoring

10. Turn on the audit log and retain it

When an incident happens, the answer to "which emails did the attacker read and which files did they download?" is in the audit log. Make sure audit logging is on and find out how long your licence retains the logs. This information is critical for a breach notification.

If you suspect an account has been compromised

Changing the password alone is not enough; open sessions, forwarding rules and app permissions must be cleaned up as well. We have collected the steps in My email account has been hacked: what should I do?

If you want to see how your Microsoft 365 tenant and company network look through an attacker's eyes, take a look at our network penetration testing and Active Directory security assessment services.

2DR

Cyber Security Team

Articles by the 2DR team, working in penetration testing, incident response and personal digital security.

LinkedIn profile