request system malware-scan
Command introduced in Junos OS Release 19.2R1.
Run the Juniper Malware Removal Tool (JMRT), which scans for and removes malware running on Junos OS. This command can perform multiple types of scans, detailed in the section below.
Junos OS with Junos Automation Enhancements does not run Veriexec. As such, running the veriexec-check command on Junos OS with Junos Automation Enhancements always shows that Veriexec is not running.
clean—Remove infected files and processes. This is the default action.
warn—Notify the user of files and processes containing malware, but do not remove them.
Test scans require the optional jmrt-test package to be installed. Use the following commands to install the test package:
For Junos OS releases 20.1R1 or later:
request system software add optional://jmrt-test
For Junos OS releases before 20.1R1 (64-bit routing engine):
request system software add optional://jmrt-test-x86-64.tgz
For Junos OS releases before 20.1R1 (32-bit routing engine):
request system software add optional://jmrt-test-x86-32.tgz
Required Privilege Level