MOVE AntiVirus 4.10.0 Client Command Line Interface Reference Guide

Prev Next

Last Updated: September 17, 2023


Client command line interface

You can access the Trellix MOVE AntiVirus (Multi-Platform) client command line interface (CLI) on the managed virtual machine to perform basic maintenance tasks.

The CLI is a series of commands that you can issue to the mvadm utility. Each command has arguments and parameters that can be added to the command to change its behavior. This reference lists each command in mvadm, and all argument variations.

Access the CLI

During installation, a shortcut to the Multi-platform command line interface (CLI) is added to the Windows Start menu.

  • From the Start menu, select Programs → McAfee → MOVE AV Client Command Prompt.

NOTE

Make sure you run this command as an administrator.

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.

mvadm config set NAME=VALUE
mvadm config show

Arguments

Description

set NAME=VALUE

Sets the value of the configuration argument NAME to VALUE.

show

Lists the configuration settings.

Parameter

Value

Description

AllowNetworkScan

0 (off) or 1 (on). Default = 0.

Enables or disables scanning of files residing on a network path.

ConnTimeout

A positive integer value. Default = 0 (no timeout).

Sets the connection timeout in milliseconds.

EventSink

An integer between 0 (no notifications) and 14 (all notifications). Default = 14.

Determines where threat events are sent. The total combines the values for Windows Event Viewer log (2), ePO - On-prem Threat Event Log (4), and Trellix system tray pop-up menu (8).

IntegrityEnabled

An integer between 0 (no self-protection) and 7 representing a binary value. Default = 7 (all self-protections).

Determines the active self-protections. The total combines the values for file (1), registry (2), and services (4).

LogFileNum

A positive integer value. Default = 4.

Limits the number of log files allowed before they are overwritten.

LogFileSize

An integer greater than 1024. Default = 2048.

Limits the size (in KB) of an individual log file.

MaxFileSize

A positive integer value. Default to 40.

Limits the size (in MB) of files where scan results are cached. Files up to this size are transferred completely to the SVM for scanning.

QuarantineEnabled

0 (off) or 1 (on). Default = 1.

Enables or disables quarantine services.

Quarantine-Folder

A valid file path. Default = C:\Quarantine.

Determines where quarantined files are stored. Cannot be a mapped network drive or UNC file path.

Quarantine-Days

A positive integer. Default = 28.

Determines the number of days quarantined files are stored before being deleted. Submitting a 0 turns off quarantined file deletion.

RTEMode

0 (off) or 1 (on). Default = 0.

Indicates protection status on the VM. This value cannot be changed through the config command.

OASStatus

0 (off) or 1 (on). Default = 0.

Enables or disables the on-access scan on the VM. On the next policy enforcement, the settings are changed based on the configurations in the on-access scan policy in ePO - On-prem.

ODSStatus

0 (off) or 1 (on). Default = 0.

Enables or disables the on-demand scan on the VM. On the next policy enforcement, the settings are changed based on the configurations in the on-demand scan policy in ePO - On-prem.

ScanAllFile-Types

0 (specific extensions) or 1 (all files). Default = 1.

Determines whether to scan all files or only specific extensions.

ODSScanAllFileTypes

0 (specific extensions) or 1 (all files). Default = 1.

Determines whether to scan all files or only specific extensions for the on-demand scan.

ScanFlags

An integer between 0 (no operations scanned) and 7 representing a binary value. Default = 7 (all operations scanned).

Determines which operations trigger scanning. The total combines the values for Read (1), Write (2), and Backup (4).

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 default.

Specifies the IPv4 address or FQDN of the primary SVM used by the VM.

ServerAddress2

An IPv4 address or FQDN. No default.

Specifies the IPv4 address or FQDN of the secondary SVM used by the VM.

ServerPort1

Between 1024 and 65535. Default = 9053.

Specifies the port used to communicate with the primary SVM.

ServerPort2

Between 1024 and 65535. Default = 9053.

Specifies the port used to communicate with the secondary SVM.

ThreatAction1

0 (delete) or 1 (deny access). Default = 0.

Determines the primary action taken when a threat is detected.

ThreatAction2

0 (delete) or 1 (deny access). Default = 1.

Determines the secondary action taken when a threat is detected.

ODS ThreatAction1

0 (delete) or 1 (deny access). Default = 0.

Determines the primary action taken when a threat is detected during on-demand scan.

ODSThreatAction2

0 (delete) or 1 (deny access). Default = 1.

Determines the secondary action taken when a threat is detected during on-demand scan.

SVMManagerAddress

An IPv4 address or FQDN. No default.

Specifies the IPv4 address or FQDN of the SVM Manager.

SVMManagerPort

Between 1024 and 65535. Default = 8080.

Specifies the port used to communicate with SVM Manager.

ftypes

Display and edit the list of file extensions to be sent for scanning.

mvadm ftypes add oas <extn>
mvadm ftypes remove oas <extn>
mvadm ftypes list oas

mvadm ftypes add oas exe pdf zip

mvadm ftypes add ods exe pdf zip

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.

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
mvadm help command

Arguments

Description

default

Lists the summary description for the Trellix MOVE AntiVirus client CLI commands.

command

Lists the detailed Help for the provided command.

loglevel

View and edit the log level of the Trellix MOVE AntiVirus client.

mvadm loglevel
mvadm loglevel enable {MODULE_NAME | ALL} {TYPES... | ALL}
mvadm loglevel disable {MODULE_NAME | ALL} {TYPES... | ALL}

Arguments

Description

default

Lists the current log level of each module that is part of the Trellix 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 | ALL} {TYPES... | ALL}

Sets the log level for module MODULE_NAME or all modules to the specified log level types or to all types.

disable {MODULE_NAME | ALL} {TYPES... | ALL}

Clears the specified log level types or all types for module MODULE_NAME or for all modules.

These are the supported log level types:

  • Error

  • Warning

  • System

  • Info

  • Detail

  • Fnentry

  • Fnexit

On-demand scan loglevel

View and edit the log level of the Trellix MOVE AntiVirus ODS clients.

ODSLOG

The ods.log(ods<n>.log) file is created on client and installed at: mvadm loglevel enable/disable <module_name> ODSLOG.

Arguments

Description

mvadm loglevel enable all ODSLOG

Enable ODSLOG loglevel on client for all modules.

mvadm loglevel disable all ODSLOG

Disable ODSLOG loglevel on client for all modules.

List of files:

Table 1. Trellix MOVE AntiVirus Client

File name

Location

Description

ods.log

<Install Directory>

Trellix MOVE AntiVirus Client log, rolled over logs will be named similarly (ods1.log,ods2.log, etc.) Stores results of ODS/TODS on system.

Table 2. Trellix MOVE AntiVirus SVM Manager

File name

Location

Description

Mcafee.movesvmmanager.service

/lib/systemd/system/

Control script for regulating SVA Manager process. File available from Trellix MOVE AntiVirus Multi-platform 4.9.0 onwards.

pp

Specify trusted processes. All files acted on by a trusted process are excluded from scans.

Process passthru rule supports these path formats:

  • Just the process name, for example: xyz.exe

  • Partial path, for example: abc\xyz.exe

  • Complete path, for example: C:\abc\xyz.exe

  • Windows path, for example: %windir%\abc\xyz.exe

Note these points while using the pp command to specify trusted processes:

  • If %abc% does not resolve, delete it from the list.

  • This format is only valid from ePO - On-prem.

  • This resolves the path concerning the system user.

mvadm pp list oas

mvadm pp list ods

mvadm pp add oas <process path>
mvadm pp remove oas <process path>
mvadm pp set <process path>
mvadm pp add oas <file path>

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 image path>

Adds the specified process (or processes) as a trusted process. For example:

mvadm pp add userprofilemanager.exe

All files acted on by the userprofilemanager.exe file are excluded from the scan.

remove oas <process image path>

Removes the specified process (or processes) as a trusted process.

set <process image path>

Removes all existing trusted processes and adds the specified process (or processes) as trusted processes.

add oas <file path>

Adds the specified file path as a trusted file path for an on-access scan. For example:

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.

exp

Specify path exclusion. All paths acted on by a trusted process are excluded from on-access scan.

mvadm exp add oas <file path>
mvadm exp list oas

Arguments

Description

add oas <file path>

Excludes the specified file path from the trusted file path during on-access scan. For 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.

list oas

Lists excluded file paths from on-access scan.

q

Change the quarantine behavior for Trellix MOVE AntiVirus (Multi-Platform).

mvadm q list

mvadm q restore <detected as>

mvadm q remove <detected as>

Arguments

Description

list

Lists the currently quarantined files and their detection type.

restore <detected as>

Restores all .VIR files from the currently configured quarantine folder with the 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 Trellix MOVE AntiVirus client in terms of operational mode (enabled or disabled) and its Trellix MOVE AntiVirus Multi-Platform SVM details.

mvadm status

Arguments

Description

default

Lists the current Trellix 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.

Example 1. Example

If TODS/Schedule ODS is running on client then mvadm status display progress.

C:\Windows\system32\mvadm status
Scan Configuration: Enabled
On Access Scan: Enabled
On Demand Scan: Enabled
On Demand Scan State: Progress
Driver Status: Driver is loaded
Primary Server: xxx.xxx.xxx.xxx:9053 [Active]
Secondary Server: NONE:9053 [Not Configured]
SVA Manager: NONE:8080 [Not Configured]
Protection Status: Enabled

If TODS/Schedule is not running on client:

C:\Windows\system32\mvadm status
Scan Configuration: Enabled
On Access Scan: Enabled
On Demand Scan: Enabled
On Demand Scan State: Not Running
Driver Status: Driver is loaded
Primary Server: xxx.xxx.xxx.xxx:9053 [Active]
Secondary Server: NONE:9053 [Not Configured]
SVA Manager: NONE:8080 [Not Configured]
Protection Status: Enabled

If TODS/Scheduled ODS is running on client:

C:\Windows\system32\mvadm status
Scan Configuration: Enabled
On Access Scan: Enabled
On Demand Scan: Enabled
On Demand Scan State: Running[3.98 % : Finished]
Driver Status: Driver is loaded
Primary Server: xxx.xxx.xxx.xxx:9053 [Active]
Secondary Server: NONE:9053 [Not Configured]
SVA Manager: NONE:8080 [Not Configured]
Protection Status: Enabled

On-demand scan stats

Display the information related to On-demand scan on SVM.

mvadm stats ods

Arguments

Description

List of Connected Clients

IP address list of connected Trellix MOVE AntiVirus Multi-platform clients .

Number of connected Clients

Number of connected Trellix MOVE AntiVirus Multi-platform clients.

Target On Demand Scan

Trellix MOVE AntiVirus Multi-platform client GUID and IP address of system currently running TODS.

Scheduled On Demand Scan

Trellix MOVE AntiVirus Multi-platform client GUID and IP address of system currently running Scheduled on demand.

Example 2. Example

The output of the mvadm stats ods command from one SVM where 6 clients are connected and on one of client TODS is running:

Command-line screenshot titled mvadm stats ods showing a black terminal window with an ASCII table listing connected clients (IP Address entries obscured), Number of connected clients : 6, and a Target On Demand Scan table with Agent GUID and IP Address columns.

version

Display the version of the Trellix MOVE AntiVirus client installed on the VM.

mvadm version

Arguments

Description

default

Displays the version of the Trellix 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.

Cert

View, add, or remove certificates from the Certificate policy.

Arguments

Description

mvadm cert

View the existing certificates added to the Certificate policy.

mvadm cert add <certificate name>

Add certificate to the Certificate policy.

mvadm cert remove <certificate name>

Remove certificate from the Certificate policy.

Scanning folders

Run on-demand scan on a specific folder.

Arguments

Description

mvadm tods path <path_name>

Example:

To run the on-demand scan on C:\Windows folders

>mvadm tods path C:\Windows\

Start on-demand scan on the path specified.

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

Set password for client CLI

Specify the password on the ePO - On-prem server to prevent users from changing the anti-virus settings, or disabling the anti-virus protection on the client.

You installed the Trellix MOVE AntiVirus extension on the ePO - On-prem server.

For details about product features, usage, and best practices, click ? or Help.

  1. Log on to ePO - On-prem as an administrator

  2. Select Menu → Policy → Policy Catalog, then select MOVE AntiVirus Common 4.6.0 from the Product list.

  3. From the Category list, select Options.

  4. Click the name of an editable policy.

  5. Select Enable Self-Protection for MOVE CLI, then type and confirm the password.

  6. Click Save to modify the policy.

Results

You can now verify that the commands on the client system are password-protected.