Last active
April 13, 2025 20:57
-
-
Save arainho/c4989631946073f75ee9f8726dcdc9dc to your computer and use it in GitHub Desktop.
uninstall zoom.us and disable nasty features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# sources | |
https://drive.google.com/drive/folders/1MP0cNLyJjzPLNrvNDCZv9hRuif091f0c | |
https://apple.stackexchange.com/questions/358651/unable-to-completely-uninstall-zoom-meeting-app | |
https://medium.com/bugbountywriteup/zoom-zero-day-4-million-webcams-maybe-an-rce-just-get-them-to-visit-your-website-ac75c83f4ef5 | |
echo Stopping Zoom... | |
pkill "zoom.us" | |
echo Cleaning Zoom... | |
echo Cleaning Application Cached Files... | |
{ | |
rm -rf -- ~/Library/Application\ Support/zoom.us | |
rm -rf -- ~/Library/Application\ Support/ZoomPresence | |
rm -rf -- ~/Library/Caches/us.zoom.xos | |
rm -rf -- ~/Library/Logs/zoom.us/ | |
rm -rf -- ~/Library/Logs/zoomRooms/ | |
rm -rf -- ~/Library/Logs/zoominstall.log | |
rm -rf -- ~/Library/Preferences/ZoomChat.plist | |
rm -rf -- ~/Library/Preferences/us.zoom.xos.plist | |
rm -rf -- ~/Library/Saved\ Application\ State/us.zoom.xos.savedState | |
} | |
echo "Cleaning Application..." | |
{ | |
rm -rf -- ~/Applications/zoom.us.app | |
rm -rf -- ~/.zoomus/ZoomOpener.app | |
rm -rf -- ~/.zoomus | |
} | |
echo "Removed Application..." | |
echo "Preventing the vulnerable server from running on your machine..." | |
# (You may need to run these lines for each user on your machine.) | |
pkill "ZoomOpener"; rm -rf ~/.zoomus; touch ~/.zoomus && chmod 000 ~/.zoomus; | |
pkill "RingCentralOpener"; rm -rf ~/.ringcentralopener; touch ~/.ringcentralopener && chmod 000 ~/.ringcentralopener; | |
echo "Disabling the ability of Zoom to turn on your webcam when joining a meeting..." | |
defaults write ~/Library/Preferences/us.zoom.config.plist ZDisableVideo 1 # For just your local account | |
echo "Removing Launch Daemons/Agents and Internet Plug-Ins..." | |
{ | |
sudo /bin/launchctl stop /Library/LaunchDaemons/us.zoom.ZoomDaemon.plist | |
sudo rm -- /Library/LaunchDaemons/us.zoom.ZoomDaemon.plist | |
rm -rf -- ~/Library/LaunchDaemons/us.zoom.rooms.daemon.plist | |
rm -rf -- ~/Library/LaunchAgents/us.zoom* | |
rm -rf -- ~/Library/Internet\ Plug-Ins/ZoomUsPlugIn.plugin/ | |
} | |
echo "Switching to a user with sudo privileges to remove more stuff..." | |
{ | |
sudo rm -rf -- /Applications/zoom.us.app | |
sudo kextunload -b zoom.us.ZoomAudioDevice | |
sudo rm -rf -- /System/Library/Extensions/ZoomAudioDevice.kext | |
sudo defaults write /Library/Preferences/us.zoom.config.plist ZDisableVideo 1 # For all users on the machine | |
sudo rm -rf -- /Library/Internet\ Plug-Ins/ZoomUsPlugIn.plugin/ | |
sudo rm -rf -- /Library/LaunchDaemons/us.zoom.rooms.daemon.plist | |
sudo rm -rf -- /Library/LaunchAgents/us.zoom* | |
sudo rm -rf -- /Library/PrivilegedHelperTools/us.zoom.ZoomDaemon | |
} | |
echo "See zoom background launchagents" | |
sudo sfltool dumpbtm | grep oom | |
thanks @gnought, already added you suggestion.
and more
# See background launchagents with
sfltool dumpbtm | grep oom
sudo /bin/launchctl stop /Library/LaunchDaemons/us.zoom.ZoomDaemon.plist
sudo rm /Library/LaunchDaemons/us.zoom.ZoomDaemon.plist
thanks @0x-2a; already added your suggestions.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
one more:
sudo rm -f -- /Library/PrivilegedHelperTools/us.zoom.ZoomDaemon