Skip to content

Instantly share code, notes, and snippets.

@amfern
Created December 26, 2022 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amfern/a14bed246250166063b21ec3989da741 to your computer and use it in GitHub Desktop.
Save amfern/a14bed246250166063b21ec3989da741 to your computer and use it in GitHub Desktop.
Install mdatp endpoint security on Ubuntu 22.04
https://docs.microsoft.com/en-us/microsoft-365/security/defender-endpoint/linux-install-manually?view=o365-worldwide#ubuntu-and-debian-systems
wget https://packages.microsoft.com/ubuntu/22.04/prod/pool/main/m/mde-netfilter/mde-netfilter_100.69.45.amd64.deb
apt install ./mde-netfilter_100.69.45.amd64.deb
apt install mdatp
apt-get install gpg curl apt-transport-https curl
curl -o microsoft.list https://packages.microsoft.com/config/ubuntu/22.04/prod.list
mv ./microsoft.list /etc/apt/sources.list.d/microsoft-prod.list
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
apt update
apt-get download mdatp
dpkg-deb -x mdatp_101.62.74_amd64.deb PackageFolder
dpkg-deb --control mdatp_101.62.74_amd64.deb PackageFolder/DEBIAN
vim PackageFolder/DEBIAN/control - remove mde-netfilter
dpkg -b PackageFolder mdatp_101.62.74_amd642.deb
apt install ./mdatp_101.62.74_amd642.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment