Microsoft 365 Security Baseline: Essential Defensive Hardening Before Audits
A technical walkthrough of default misconfigurations in Microsoft 365 and Entra ID, and the practical controls needed to prevent business email compromise and identity takeover.

The Reality of Default Cloud Configurations
When organizations provision a Microsoft 365 tenant, the default settings prioritize seamless user adoption over aggressive security controls. For growing businesses across Sri Lanka and the UAE, this often leaves high-risk entry points active—such as legacy authentication protocols, unrestricted app consent permissions, and permissive external sharing policies.
Attackers rarely 'hack' into modern corporate cloud environments; they simply log in using compromised passwords against endpoints where Multi-Factor Authentication (MFA) or Conditional Access is not strictly enforced.
1. Eliminate Legacy Authentication Protocols
Legacy email protocols such as POP3, IMAP4, and SMTP submission bypass modern authentication challenges and cannot enforce MFA. Auditing your Entra ID sign-in logs to identify legacy protocol usage and implementing a tenant-wide Conditional Access policy to block legacy authentication is the single most effective barrier against automated credential-stuffing attacks.
2. Enforce Strict Conditional Access Architecture
Basic MFA is no longer sufficient when token theft and adversary-in-the-middle (AiTM) phishing proxies are widely available. Organizations should structure Conditional Access policies based on device compliance baselines, trusted IP boundaries, and impossible-travel risk detections.
Key policies to deploy include: requiring phishing-resistant authentication for administrative roles, blocking sign-ins from unexpected geographic regions where no staff or partners operate, and enforcing session timeouts on non-corporate managed devices.
3. Restrict Third-Party App Consent Permissions
Illicit consent grant attacks occur when an employee approves permissions for a malicious cloud application masquerading as a legitimate productivity tool. Once granted, the application can read user emails, access SharePoint files, or send messages without ever needing the user's password. Disabling user consent for unverified publisher apps and implementing an administrator approval workflow stops this shadow API access.
4. Secure Exchange Online Mail Routing & Forwarding
In over 80% of Business Email Compromise (BEC) incidents, the first action an adversary takes upon gaining mailbox access is configuring an automatic forwarding rule to siphon invoices and financial correspondence to an external inbox. Tenant policies must explicitly block automated forwarding to external domains across all remote domains.
Related Articles & Advisories
Architecting Zero-Trust Conditional Access in Entra ID for Modern Workforces
A deep dive into constructing modular, non-conflicting Conditional Access policies that enforce least-privilege context without locking out legitimate personnel.
Defeating Adversary-in-the-Middle (AiTM) Phishing & Session Token Theft
How modern reverse proxy toolkits steal active browser session cookies and bypass standard SMS/TOTP MFA, and the specific controls needed to prevent token replay.
Privileged Identity Management (PIM): Eliminating Standing Admin Privileges
Step-by-step guidance on implementing Just-In-Time (JIT) role activations and mandatory ticket approval workflows for Microsoft 365 and Azure environments.