Antivirus
Enumerate
Searching for AV
which [AV_command]
Checks if the antivirus executable is installed and accessible in the system's PATH.
ps -ef | grep [AV_process]
Looks for running antivirus processes in the system.
dpkg -l | grep [AV_package]
Checks if the antivirus package is installed on Debian-based systems.
rpm -qa | grep [AV_package]
Checks if the antivirus package is installed on RPM-based systems.
ps aux | grep antivirus
String search for "antivirus" in the process list.
pgrep -f antivirus
String search for "antivirus" in the process command arguments.
/etc/init.d
Look for scripts related to antivirus software.
systemctl list-unit-files --type=service
(Systemd) Check for service unit files related to antivirus software by name or vendor.
File System Exploration
Locate common antivirus directories:
Many antiviruses reside in specific directories like /usr/local/antivirus /opt/antivirus vendor-specific locations
Look for signature files:
Antiviruses often use signature files for malware detection. Search for common file extensions like .vdb, .dat, or vendor-specific formats in directories typically used for signatures (e.g., /var/lib/antivirus).
AV Enum Script
Searches for popular AVs. Customize accordingly.
This script has not been tested.
Modify
Enable
sudo systemctl enable <antivirus_service_name>
for systemd-based systems
sudo chkconfig <antivirus_service_name> on
for SysVinit-based systems
Disable
sudo systemctl disable <antivirus_service_name>
for systemd-based system
sudo chkconfig <antivirus_service_name> off
for SysVinit-based systems
Start
sudo systemctl start <antivirus_service_name>
for systemd-based systems
sudo service <antivirus_service_name> start
for SysVinit-based systems
Stop
sudo systemctl stop <antivirus_service_name>
for systemd-based systems
sudo service <antivirus_service_name> stop
for SysVinit-based systems
Last updated
Was this helpful?