Giter Club home page Giter Club logo

mcafee-macos-cleaner's Introduction

McAfee Remove MacOS

McAfee Cleaner for Mac

Removes the following McAfee software from macOS and prevents it from being installed again:

  • McAfee Threat Prevention for Mac
  • McAfee Endpoint Security for Mac
  • McAfee Agent

Project Goal & Design

Project aims at aiding users in complete removal of enterprise McAfee product from their system. Enterprise McAfee version has no option of being uninstalled while it continues to corrupt the system, occupy significant CPU time, and cause wild crashes by misusing macOS's logd daemon.

The script also prevents listed McAfee products from being installed again.

Tested on: macOS Catalina 10.15.6

Usage

Download mcafee-cleaner.sh script to your machine and run it with sudo rights:

sudo ./mcafee-cleaner.sh

Alternatively, if you trust the source of this script you can run it directly in the terminal:

sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/vduseev/mcafee/master/mcafee-cleaner.sh)"

Internals

It's a simple bash script that performs the following actions:

  1. Removing McAfee
    1. Stopping McAfee services or daemons via launchctl
    2. Removing McAfee services using launchctl
    3. Killing all remaining McAfee processes using pkill
    4. Removing McAfee user and group from the system using dscl
    5. Removing directories where McAfee installs itself
    6. Removing McAfee files, such as configs, logs, and plists
    7. Unloading McAfee kernel extensions using kextunload
  2. Preventing McAfee from installing itself again
    1. Recreate the directories where McAfee installs itself
    2. Make them immutable

Disclaimer

This is a personal project not affiliated with any entity whatsoever with which I have been, am now, or will be affiliated. Use the script on your own risk. No guarantees provided.

mcafee-macos-cleaner's People

Contributors

vduseev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.