1) Download the linux update script.
2) Update it so it works on your MAC as described below.
First, in the "#Plugin dir" section you will need to to change the line that reads:
3) chmod +x alienvault-feed-sync.sh
If you run the script by typing :
you will see an error about not being able to find the command "md5sum". The nessus feed update did work, but the script was unable to compare the hashes to verify it completed successfully. That might be good enough for you and you can go about using your updated feeds. BUT, I want to see that those hashes match. Really, it is not buying me much security because I'm downloading the "md5sum" file that I am using for comparison from the same location as the files, but its still a good integrity check. To fix it, you might waste your time as I did and change "findcmd md5sum" in the update script to "findcmd md5" since MD5 is the name of the MD5SUM utility on OS X. But if you do you will get the following error:
"Error: md5sums not correct. Your NVT collection might be broken now."
Why? The version of default version of MD5 that comes with the OS doesn't support the --check (-c) option. For the file check to work you will want to install the version of md5 that is installed on most linux distributions. It is called md5sum and it is available for install through fink.
Happy bug hunting.