Scanning for malware
The main objective of Bitdefender Endpoint Security Tools is to keep your computer free of malware. It does that primarily by scanning in real time accessed files, e-mail messages, and any new files downloaded or copied to your computer. Besides real-time protection, it also allows running scans to detect and remove malware from your computer.
Scan options
You can use one of these scan options when using the bduitool
command:
Display the scan profile settings for the full, quick, or custom scan:
get scanprof [full|quick|custom]
Run a malware scan:
Important
Add the optional
-f
parameter to run the task in the foreground. Several status messages in real time will be displayed.Run a full scan task:
scan -s [-f] full
Run a quick scan task:
scan -s [-f] quick
Run a custom scan task:
Note
For custom scan, you must specify a list of paths to be scanned (folders and/or files) where you can also use wildcards.
scan -s [-f] custom <path1> <path2>...
Run a previous scan task determined by the task ID:
scan -s [-f] task <taskID>
Examples:
Run the task with the specified task ID:
scan -s task <taskID>
Run a custom scan on the specified file and folders in the foreground:
scan -s -f custom /home/user1/folder1 /home/user1/file.txt
If using wildcards for custom scans, you have the following options:
Expand a single directory level:
scan -s [-f] custom "/dir/*/dir"
Expand the full directory tree:
scan -s [-f] custom "/dir/*/dir"
Substitute a single character using the question mark (
?
):scan -s [-f] custom "/dir/*/dir?"
Pause all running scan tasks:
scan -p
Resume all paused scan tasks:
scan -r
Stop all running or paused scan tasks:
scan -q
Note
The pause, resume, or stop commands apply only to scans started from Bitdefender User Interface Tool.
Display details of all running scan tasks, including a task identifier:
get scantasks
The tasks that are in progress are listed first.
Display information about the last finished scan task.
get scanlog [<taskID>]
The command can also display details about the last run of a specific task if the task ID is mentioned.
Display the status of the scan task with the specified task ID:
get scanstatus <taskID>
Quarantine
To display detailed information regarding quarantined files, run the bduitool
command using the following option.
Display a list of quarantined items:
get quar [-s <integer_value>]
Note
- s <integer_value>
is a parameter that displays the specified number of most recent quarantined items.
Examples:
Display all quarantine items:
get quar
Display the first 10 items from quarantine:
get quar -s 10
Events
Bitdefender Endpoint Security Tools keeps a detailed log of events concerning its activity on your computer.
To display these logs, run the bduitool
command with the following option.
Display the list of events that the Antimalware module has detected.
get events [-s <integer value>]
Parameters:
-s <integer value>
: Display the specified number of most recent antimalware events.