Complete Guide to Microsoft Defender for Linux: Operation and Compatibility

Last update: 23th October 2026
  • It implements a lightweight architecture based on eBPF that avoids kernel modules to minimize the impact on performance.
  • It offers comprehensive protection through EDR, next-generation antivirus, and AI-based vulnerability management.
  • It is compatible with major enterprise distributions such as Ubuntu, RHEL, Debian and SUSE on x64 and ARM64 architectures.
  • Requires Microsoft Defender for Endpoint Plan 2 corporate licenses or Microsoft 365 E5/E7 subscriptions.

Modern data center server racks with blue lighting representing the Linux server environment protected by Microsoft Defender.

You've probably noticed that Microsoft's security ecosystem has taken a significant leap forward. It's no longer just about protecting Windows; they've deployed a powerful tool called Microsoft Defender for Endpoint, designed specifically for the Linux environment. What's most interesting is that, while many see it as a simple corporate security check, the tool has evolved to cover everything from the most robust cloud servers to the laptop of a developer working from home, thus uniting the entire technology ecosystem under a single command.

The move is simple yet ambitious: Microsoft wants to free businesses from juggling ten different tools. By integrating Linux into its XDR (Extended Detection and Response) platform , they allow a security administrator to see what's happening on an Azure virtual machine, a physical server running Red Hat, or a desktop computer running Ubuntu, all from a unified dashboard . Let's take a closer look at how this system works, which machines it supports, and how to get it up and running smoothly.

What's under the hood? Functionality and capabilities

IT professional monitoring Linux servers in a data center, illustrating the management of Microsoft Defender for Endpoint.

Unlike traditional antivirus programs that can sometimes feel like a burden on the system, Defender on Linux uses a lightweight sensor architecture based on eBPF (extended Berkeley Packet Filter) . This is key because it means it doesn't need to install kernel modules, drastically reducing the possibility of system crashes and minimizing the impact on machine performance.

  How to tell if an Android app is accessing your data and how to control it

The system is basically divided into three main defense blocks. First, there's next-generation protection , which doesn't just look for old virus signatures, but uses machine learning and behavioral analysis to block malware in real time. If a process starts behaving strangely that resembles a ransomware attack , the system stops it in its tracks.

Secondly, EDR comes into play. This is where things get serious, as the system monitors activity to detect fileless attacks or memory injections. Thanks to Microsoft's threat intelligence and alignment with the MITRE ATT&CK framework , analysts can see the exact timeline of an attack and respond dynamically, either by deleting a suspicious file or remotely running remediation scripts.

Finally, there's exposure management. Defender scans the system for software vulnerabilities and misconfigurations. Instead of the administrator having to manually review each CVE, the tool prioritizes risks so you know what to patch first to reduce the attack surface.

Compatible equipment and technical requirements

Cybersecurity threat concept with a masked figure near servers, highlighting the importance of EDR and malware protection on Linux.

Not all Linux distributions work, but the list is quite extensive. Microsoft has made any distribution that runs on a server also compatible with the Linux desktop (although the latter is still in public preview). This is vital for programmers, who often handle high privileges and are a prime target for hackers.

  • Accepted distributions: It includes heavyweights such as Red Hat Enterprise Linux (RHEL), CentOS, Ubuntu LTS (from 16.04 to 24.04 and higher), Debian, SUSE Linux Enterprise, Oracle Linux, Fedora, Rocky Linux, Alma Linux, and Mariner.
  • Architectures: It supports both processors x64 (AMD64/EM64T) like the most modern ones ARM64.
  • Graphical environments: It doesn't matter if you use GNOME, KDE, or any other; what matters is the system base and the version of the kernel.
  Secure router configuration: a complete and practical guide

As for the hardware, it's not too demanding. For the agent to run smoothly, you need at least one CPU core , 1 GB of RAM, and about 2 GB of disk space. However, if you have a very heavy workload, it's advisable to increase these values ​​to avoid bottlenecks. On the software side, it's essential that the system uses systemd as the system manager, and if you want to use device isolation, you must have iptables or nftables configured.

File systems and network

Detail of network cables in a server rack, representing the technical connectivity and configuration requirements for security agents.

Real-time protection and scans (quick or full) work on most common file systems. However, there is an extended list for custom scans that includes options such as btrfs, ext2, ext3, ext4, xfs, nfs (v3 and v4), and even more specific systems like glusterfs or ocfs2.

For the agent to report threats to the Microsoft portal, it needs seamless connectivity to the cloud . This involves properly configuring firewalls and, if the company uses a proxy, enabling static proxy detection so that anonymous traffic to Microsoft URLs is not blocked.

How to get it up and running: Deployment methods

Installing Defender isn't as simple as clicking a "next" button, as it's an enterprise-level tool. While manual installation is possible, for large deployments, using the Deployment Tool or configuration managers like Puppet, Ansible, or Chef is recommended.

If you choose the manual route, the process varies depending on your distribution. On RHEL-based systems, you'll use dnf or yum to add the Microsoft repository and install the mdatp package . On Ubuntu or Debian, the process involves using apt , configuring the repository list and the corresponding GPG keys.

  User accounts in Windows: types, permissions, and security

Once the software is installed, comes the crucial step: the onboardingYou need to download a package from the Microsoft Defender portal and run a Python script (usually MicrosoftDefenderATPOnboardingLinuxServer.py) with root privileges. To verify that everything is working correctly, you can use the command mdatp healthwhich will tell you if the agent is healthy and licensed.

Licensing and operational management

It's important to clarify that this isn't a freebie for home users. To use Defender on Linux, you need a corporate license, specifically Microsoft Defender for Endpoint Plan 2 , or a subscription to a more comprehensive plan like Microsoft 365 E5 or E7.

Management is done from the cloud, where you can configure antivirus exclusions to prevent the scanner from slowing down critical applications. Platform updates are monthly, and it's essential to stay on the three latest versions to maintain support. Furthermore, the system allows for passive mode , meaning Defender can coexist with other third-party antivirus software without conflicting, simply observing and reporting without automatically blocking.

This solution transforms Linux security into a manageable and professional solution, eliminating blind spots in enterprise infrastructure. By combining an eBPF -based architecture with centralized cloud management, Microsoft ensures consistent, efficient protection for servers and workstations, capable of stopping everything from simple malware to advanced persistent threats.