SWM - Software Install - Client Specific - Vuln Scanner - Install
Summary
This script installs the NESSUS vulnerability scanner.
Sample Run
Variables
Name | Description |
---|---|
LocalFileName | The downloaded file name on the target machine. |
LocalPath | The full path including filename for the installer. |
Nessus_Server | The server information needed when specifying Nessus_server= in the MSI command. |
Application Name | The application name as seen in the programs and features list. |
ErrorMessage | The current error message, if applicable. |
Global Parameters
Name | Example | Required | Description |
---|---|---|---|
NESSUS_Key | 54654d23156423asfd15642615af646587432184c | True | The NESSUS key assigned to the required instance |
NESSUS_Prefix | xxxxxxxxx-xx-xxxxxxx-xxxx-xxx-xxxx_ | True | The prefix to the computer name when entering NESSUS_Name , should end with _. |
DownloadURL | Download URL | True | The download URL for the Nessus agent. Will need to change with future versions. |
Process
- Set up any variables.
- Check for the downloaded file (in the
c:/temp
folder); if it exists, go to step 6. - Download the MSI installer.
- Check for the downloaded file (in the
c:/temp
folder); if it exists, go to step 6. - Log an error and exit with an error.
- Run
msiexec
to install the application. - Wait 5 seconds to complete.
- Resend the software list.
- If "Nessus Agent (x64)" is a valid software in the software list, go to step 11.
- Log an error and exit with an error.
- Log success and exit.