McAfee MOVE AntiVirus 4.8.0 Client Command Line Interface Reference Guide - CLP9421
McAfee MOVE AntiVirus 4.8.0 Client Command Line Interface Reference Guide - CLP9421
Task
• From the Start menu, select Programs | McAfee | MOVE AV Client Command Prompt.
At this command prompt, you can type commands to perform administration tasks on the VM.
config
Display and edit the configuration settings that are applied to the current installation.
1
Arguments Description
set NAME=VALUE Sets the value of the configuration argument NAME to VALUE.
show Lists the configuration settings.
2
Parameter Value Description
ScanFlags An integer between 0 (no Determines which operations trigger scanning.
operations scanned) and 7 The total combines the values for Read (1),
representing a binary value. Write (2), and Backup (4).
Default = 7 (all operations
scanned).
ScanTimeout A positive integer. Default = 45000. Limits the time (in milliseconds) allowed for file
scans after which the file can be accessed.
ODS ScanTimeout A positive integer. Default = 45000. Limits the time (in milliseconds) allowed for an
on-demand scan after which the file can be
accessed.
ServerAddress1 An IPv4 address or FQDN. No Specifies the IPv4 address or FQDN of the
default. primary SVM used by the VM.
ServerAddress2 An IPv4 address or FQDN. No Specifies the IPv4 address or FQDN of the
default. secondary SVM used by the VM.
ServerPort1 Between 1024 and 65535. Default = Specifies the port used to communicate with
9053. the primary SVM.
ServerPort2 Between 1024 and 65535. Default = Specifies the port used to communicate with
9053. the secondary SVM.
ThreatAction1 0 (delete) or 1 (deny access). Determines the primary action taken when a
Default = 0. threat is detected.
ThreatAction2 0 (delete) or 1 (deny access). Determines the secondary action taken when a
Default = 1. threat is detected.
ODS ThreatAction1 0 (delete) or 1 (deny access). Determines the primary action taken when a
Default = 0. threat is detected during on-demand scan.
ODSThreatAction2 0 (delete) or 1 (deny access). Determines the secondary action taken when a
Default = 1. threat is detected during on-demand scan.
SVMManagerAddress An IPv4 address or FQDN. No Specifies the IPv4 address or FQDN of the SVM
default. Manager.
SVMManagerPort Between 1024 and 65535. Default = Specifies the port used to communicate with
8080. SVM Manager.
ftypes
Display and edit the list of file extensions to be sent for scanning.
The ftypes command does not support wildcards, and extensions must be an exact match. For example,
issuing an mvadm ftypes add doc command does not cause .DOCX files to be scanned.
Arguments Description
add oas <extn> Adds the files with extension for anti-virus scanning.
remove oas <extn> Removes the files with extension from the list of files to be included for scanning.
3
Arguments Description
list oas Lists the file extensions to be included for on-access scanning.
add oas exe pdf zip Adds the files with extensions exe, pdf, and zip to be included for on-access
scanning.
add ods exe pdf zip Adds the files with extensions exe, pdf, and zip to be included for on-demand
scanning.
help
Display usage information for the mvadm utility.
mvadm help
Arguments Description
default Lists the summary description for the McAfee MOVE AntiVirus client CLI commands.
command Lists the detailed Help for the provided command.
loglevel
View and edit the log level of the McAfee MOVE AntiVirus client.
mvadm loglevel
Arguments Description
default Lists the current log level of each module that is part of the McAfee MOVE
AntiVirus client. Use this form to get a full list of modules for use with other
forms of the loglevel command.
enable {MODULE_NAME | Sets the log level for module MODULE_NAME or all modules to the specified log
ALL} {TYPES... | ALL} level types or to all types.
disable {MODULE_NAME | Clears the specified log level types or all types for module MODULE_NAME or for
ALL} {TYPES... | ALL} all modules.
• Error • Detail
• Warning • Fnentry
• System • Fnexit
• Info
4
pp
Specify trusted processes. All files acted on by a trusted process are excluded from scans.
Process passthru rule supports these path formats:
Note these points while using the pp command to specify trusted processes:
Arguments Description
list oas Displays a list of all trusted processes for on-access scanning.
list ods Displays a list of all trusted processes for on-demand scanning.
add oas <process Adds the specified process (or processes) as a trusted process. For example:
image path>
mvadm pp add userprofilemanager.exe
All files acted on by the userprofilemanager.exe file are excluded from the scan.
remove oas Removes the specified process (or processes) as a trusted process.
<process image
path>
set <process image Removes all existing trusted processes and adds the specified process (or processes)
path> as trusted processes.
add oas <file Adds the specified file path as a trusted file path for an on-access scan. For example:
path> mvadm pp add oas c:\windows\system32\notepad.exe
All file paths acted on by the c:\windows\system32\notepad.exe file path are
excluded from on-access scan.
5
exp
Specify path exclusion. All paths acted on by a trusted process are excluded from on-access scan.
Arguments Description
add oas <file Excludes the specified file path from the trusted file path during on-access scan. For
path> example:
mvadm exp add oas "3|11|c:\folder1\*.txt"
3 | 11 — Scans the specified directory only.
3 | 15 — Scans the specified directory and subdirectories.
All file paths acted on by the 3|11|c:\folder1\*.txt file path are excluded during
on-access scan.
q
Change the quarantine behavior for McAfee MOVE AntiVirus (Multi-Platform).
mvadm q list
Arguments Description
list Lists the currently quarantined files and their detection type.
restore <detected Restores all .VIR files from the currently configured quarantine folder with the
as> specified <detected as> category.
remove <detected as> Deletes all .VIR files from the currently configured quarantine folder with the
specified <detected as> category.
status
Display the current state of the McAfee MOVE AntiVirus client in terms of operational mode (enabled or
disabled) and its McAfee MOVE AntiVirus Multi-Platform SVM details.
mvadm status
Arguments Description
default Lists the current McAfee MOVE AntiVirus client status.
OASStatus Displays the current status of the on-access scan.
ODSStatus Displays the current status of the on-demand scan.
ODSScanAllFiletypes Lists all file types to be scanned for on-demand scanning.
6
Example
C:\Program Files\McAfee\MOVE AV client>mvadm status
Scan Configuration: Enabled
On Access Scan: Enabled
On Demand Scan: Disabled
Driver Status: Driver is loaded
Primary Server: 10.216.19.210:9053 [Active]
Secondary Server: NONE:9053 [Not Configured]
SVM Manager: 10.216.19.154:8080 [Configured]
Protection Status: Enabled
version
Display the version of the McAfee MOVE AntiVirus client installed on the VM.
mvadm version
Arguments Description
default Displays the version of the McAfee MOVE AntiVirus client installed on the VM. This is useful for
verifying that an upgrade operation is complete, or checking if an upgrade is needed.
Password-protected CLI
Set password protection through the client policy to prevent users from changing the anti-virus settings, or
disabling the anti-virus protection.
After setting the password, type the password to execute any of these commands on the mvadm command line
of the clients.
• config
• filetypes
• procpassthru
• loglevel
Task
2 Select Menu | Policy | Policy Catalog, then select MOVE AntiVirus Common 4.6.0 from the Product list.
7
5 Select Enable Self-Protection for MOVE CLI, then type and confirm the password.
You can now verify that the commands on the client system are password-protected.
8 0-00