Uninstall Kaspersky software from macOS endpoints and remove all associated files and processes
This Automox Worklet™ removes Kaspersky software from macOS endpoints by uninstalling the application and eliminating all associated files, directories, and system components. The Worklet targets multiple Kaspersky installation locations including /Library/Application Support/Kaspersky Lab, /Library/Extensions, /Applications, and system launch agents and daemons.
The Worklet uses a bash script to systematically locate and remove all Kaspersky-related components from the endpoint. It terminates any running Kaspersky processes before deletion to maintain clean removal.
Kaspersky software installations create compliance violations and supply chain security risks for organizations operating under government and regulatory frameworks. Following sanctions and security directives from CISA and other government agencies, organizations face mandatory removal deadlines for Kaspersky products to maintain FedRAMP authorization and compliance with federal cybersecurity standards. Incomplete manual removal leaves behind system extensions, launch daemons, and kernel modules that continue intercepting network traffic and maintaining privileged system access, creating ongoing security exposure even after the main application is deleted.
This Worklet eliminates manual removal steps and maintains consistent uninstallation across your fleet. By automating Kaspersky removal, you reduce deployment time and maintain no residual files or processes remain that could impact endpoint performance or security.
Evaluation phase: The Worklet checks for Kaspersky installation by scanning /Library/Application Support/Kaspersky Lab, /Library/Extensions/Kaspersky*, /Applications/Kaspersky*, and launch agent and daemon plist files. If any Kaspersky files or running processes are detected, the evaluation indicates that remediation is needed.
Remediation phase: The Worklet unloads launch agents and daemons using launchctl, then removes all Kaspersky directories and files from /Library, /Applications, and launch configuration directories. It then verifies that all Kaspersky components have been successfully removed.
macOS 10.13 or later
Administrative privileges required on the endpoint
Bash shell availability
Standard file system utilities (rm, launchctl)
After the Worklet completes successfully, all Kaspersky software, associated files, directories, and system launch components will be removed from the endpoint. You can verify successful removal by checking the Applications folder or by searching for the application in Spotlight. No Kaspersky processes will be running and no Kaspersky-related plist files will remain.
You can verify successful removal by checking that the /Library/Application Support/Kaspersky Lab directory no longer exists, no files matching Kaspersky* patterns are present in /Applications or /Library/Extensions, and no Kaspersky launch agents or daemons are listed in the system configuration.
Run this Worklet on a pilot macOS endpoint and review evaluation output for uninstall kaspersky software.
Confirm Automox activity logs show successful completion and exit code 0.
Verify endpoint state using checks aligned to evaluation script logic, such as check_kaspersky_files, return, else.
Validate remediation effects from script operations such as exit, launchctl, rm, then rerun evaluation for compliance.
For technical validation, compare endpoint state to the Worklet evaluation logic and remediation flow for uninstall kaspersky software. This supports repeatable software lifecycle workflows, faster change control review, and auditable compliance evidence.
Useful script references for this Worklet include evaluation operations such as check_kaspersky_files, return, else and remediation operations such as exit, launchctl, rm. Use these indicators to verify that endpoint changes match intended policy outcomes.


By submitting this form you agree to our Master Services Agreement and Privacy Policy.
Already have an account? Log in
Consider Worklets your easy button
A Worklet is an automation script, written in Bash or PowerShell, designed for seamless execution on endpoints – at scale – within the Automox platform. Worklet automation scripts perform configuration, remediation, and the installation or removal of applications and settings across Windows, macOS, and Linux.

AUTOMOX + WORKLETS™
Uncover new possibilities with simple, powerful automation.
By submitting this form you agree to our Master Services Agreement and Privacy Policy