Hi IT Pro,
The following is step-by-step document for Defender for Endpoint Linux (MD ATP for Linux) deployment.
Let's start your MD for Endpoint Linux deployment!
________________________________
Microsoft Defender for Endpoint Linux (MD ATP) support for Linux with kernel version 3.10.0-327 or later, including the following Linux flavours :
MD ATP provide real-time protection for the following file system types:
btrfs |
ecryptfs |
ext2 |
ext3 |
ext4 |
fuse |
fuseblk |
jfs |
nfs |
overlay |
ramfs |
reiserfs |
tmpfs |
udf |
vfat |
xfs |
|
|
Deployment MD for Endpoint prerequisite:
Service location |
DNS record |
Common URLs for all locations |
x.cp.wd.microsoft.com |
European Union |
europe.x.cp.wd.microsoft.com |
United Kingdom |
unitedkingdom.x.cp.wd.microsoft.com |
United States |
unitedstates.x.cp.wd.microsoft.com |
DEPLOYMENT OPTIONS
MD for Endpoint deployment go through 4 steps as follow:
MANUAL DEPLOYMENT (using YUM Utility)
sudo yum-config-manager --add-repo=https://packages.microsoft.com/config/[distro]/[version]/[channel].repo
If you want to check current Linux distro and version, run the command:
cat/etc/os-release
sudo rpm --import http://packages.microsoft.com/keys/microsoft.asc
yum makecache
sudo yum install mdatp
Download the onboarding package from Microsoft Defender Security Center:
sudo alternatives --set python /usr/bin/python
python MicrosoftDefenderATPOnboardingLinuxServer.py
mdatp health --field org_id
Monitoring new Linux Client on ATP Portal
KEY |
VALUE |
|
Enable / disable real-time protection |
enableRealTimeProtection |
true (default)/false |
Enable / disable passive mode (In passive mode: • Real-time protection is turned off. • On-demand scanning is turned on. • Automatic threat remediation is turned off. • Security intelligence updates are turned on. • Status menu icon is hidden. |
passiveMode |
true/false (default) |
Scan exclusions
|
exclusions
|
$type excludedPath
|
Path to excluded content
|
path
|
valid paths (string)
|
Enable/Disable Delivered Cloud Protection
|
enabled
|
true (default)/false
|
To get started, we recommend the following configuration profile for your enterprise to take advantage of all protection features that Microsoft Defender for Endpoint Linux provides.
The following configuration profile will:
More MD for Endpoint Preference Configuration
Configuration profile deployment by Linux Management:
Once you've built the configuration profile for your enterprise, you can deploy it through the management tool that your enterprise is using. Microsoft Defender ATP for Linux reads the managed configuration from the /etc/opt/microsoft/mdatp/managed/mdatp_managed.json file.
Each version of Microsoft Defender ATP for Linux has an expiration date, after which it will no longer continue to protect your device.
To check the MD for Endpoint expiration date, run the following bash command:
mdatp health --field product_expiration
To update Microsoft Defender for Endpoint on Linux manually, execute one of the following commands:
RHEL and variants (CentOS and Oracle Linux)
sudo yum update mdatp
SLES and variants
sudo zypper update mdatp
Ubuntu and Debian systems
sudo apt-get install --only-upgrade mdatp
Troubleshoot installation issues:
To verify if the installation succeeded, one can obtain installation.log and search the installation logs for “postinstall end” phrase, using these commands:
sudo journalctl | grep 'microsoft-mdatp' > installation.log
grep 'postinstall end' installation.log
Troubleshooting Connectivity:
Run the connectivity test
mdatp connectivity test
Troubleshooting Performance:
To find the applications that are triggering the most scans, you can use real-time statistics gathered by Microsoft Defender for Endpoint on Linux.
mdatp diagnostic real_time_protection_statistics > stat.log
This feature is enabled by default on the Dogfood and InsisderFast channels. If you're using a different update channel, this feature can be enabled from the command line:
mdatp config real-time-protection-statistics --value enabled
More Troubleshooting:
Installation
Performance
Network Connectivity
I hope the information is useful to you. Please provide feedback.
Disclaimer
The sample scripts are not supported under any Microsoft standard support program or service. The sample scripts are provided AS IS without warranty of any kind. Microsoft further disclaims all implied warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample scripts and documentation remains with you. In no event shall Microsoft, its authors, or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample scripts or documentation, even if Microsoft has been advised of the possibility of such damages.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.