-
Notifications
You must be signed in to change notification settings - Fork 13
Onboarding Linux servers with Microsoft Defender for Endpoint
-
Now we need to download the onboarding script to your workstation from Defender XDR:
Navigate to https://security.microsoft.com/ -
Navigate to Settings > Endpoints > Onboarding
-
Select Linux Servers and then Download onboarding package.
-
Unzip the file and remember its location.
-
Open an Administrative PowerShell.
-
We will use the SCP command to upload the py script to the Linux Server:
scp -P 22 .\MicrosoftDefenderATPOnboardingLinuxServer.py <username>@<IP Address or servername>:/home/<username>/Desktop/
• It should prompt you for your password.
-
Check and/or Install Python.
python --version
sudo dnf install python3
-
Install MDE
sudo yum install mdatp
-
Change directory to the location where you placed the onboarding package.
cd Desktop
-
Run the python script to create the onboarding package.
sudo python MicrosoftDefenderATPOnboardingLinuxServer.py
-
Check the MDE client is pointing to your tenant:
mdatp health --field org_id
-
You should see your OrgID returned, if you do then you are complete. It should show up in the console within 15 minutes to a couple of hours(mine were both in 15 minutes).