In some circumstances, you might need to manually update the ENSM Threat Prevention and
VSMac DAT files. For example, to respond quickly to an outbreak situation. A manual update might also be needed in scenarios where these products can't perform automatic updates.
Follow these steps to manually update the DAT files. You must perform the steps with the user logged on as root or issuing commands using sudo.
NOTES:
- Because macOS is UNIX-based, commands in the Terminal are case sensitive. Make sure that you type the paths and file names in the correct case. Otherwise, you might experience file does not exist errors.
- Depending on your permissions, you might need to log on as, or switch to the root user, to complete these steps.
To manually update the DAT files:
-
-
Download
avvdat-xxxx.zip, where xxxx is the DAT version, for example 8788.
-
Unzip
avvdat-xxxx.zip and store the files in a temporary location, for example, in a folder on your Desktop named
Temp.
-
In the Finder, click Applications, Utilities, Terminal to open a Terminal session.
- Change to the folder /usr/local/McAfee/AntiMalware/dats with the following command:
cd /usr/local/McAfee/AntiMalware/dats/
- Stop the McAfee Functional Module Platform (FMP) with the following command:
/usr/local/McAfee/fmp/bin/fmp stop
-
Create a directory with the following command:
mkdir xxxx
Where xxxx is the DAT version being applied
-
Use the
cp command to copy the
avvclean.dat,
avvscan.dat, and
avvnames.dat files from the temporary folder to the
xxxx folder. For example, if these files are in a folder named
Temp on your Desktop, use the following command:
cp /users/<username>
/Desktop/Temp/*.dat /usr/local/McAfee/AntiMalware/dats/xxxx
NOTE: If logged on as root, you can use the following command:
cp /private/var/root/Desktop/Temp/*.dat /usr/local/McAfee/AntiMalware/dats/xxxx
-
Change the file and folder permissions with the following commands. Press Enter after each command.
cd xxxx
chmod 644 *.dat
cd ..
chmod 755 xxxx
chown root:Virex /usr/local/McAfee/AntiMalware/dats/xxxx/avv*
Where xxxx is the DAT version being applied
- Add the DAT version into the plist with the following command:
sudo defaults write /Library/Preferences/com.mcafee.ssm.antimalware.plist Update_DATVersion -string xxxx.0000
Where xxxx is the DAT version being applied
- Start the McAfee Functional Module Platform (FMP) with the following command:
/usr/local/McAfee/fmp/bin/fmp start
- Close the product, if it is running.
- Run the following commands to reload the product. Press Enter after each command.
sudo launchctl unload /Library/LaunchDaemons/com.mcafee.ssm.ScanManager.plist
sudo launchctl load /Library/LaunchDaemons/com.mcafee.ssm.ScanManager.plist
sudo launchctl unload /Library/LaunchDaemons/com.mcafee.ssm.ScanFactory.plist
sudo launchctl load /Library/LaunchDaemons/com.mcafee.ssm.ScanFactory.plist