# Malware Scans

====================================================================================

### ClamAV

ClamAV is a widely used open-source antivirus engine designed for detecting viruses, malware, and other threats on Linux systems.

#### ClamAV Usage

```
clamscan [options] /path/to/scan
```

<p class="callout warning">Depending on the size of the path you're scanning, the scan can take a while. It would be worth running the scan in a screen to ensure that the process isn't interrupted or killed when your session closes.  
  
Start a new screen: `screen`  
Show screens: `screen -ls`  
Connect to existing screen: `screen -r name`</p>

##### ClamAV Options

<table border="1" id="bkmrk--r-recursive--i-only" style="border-collapse: collapse; width: 100%;"><colgroup><col style="width: 50%;"></col><col style="width: 50%;"></col></colgroup><tbody><tr><td>-r</td><td>recursive</td></tr><tr><td>-i</td><td>only print infected files.</td></tr><tr><td>-l /path/to/log</td><td>specify log file for clamscan output</td></tr><tr><td>--move=/path/to/dir</td><td>Move infected files to a specified directory</td></tr></tbody></table>

====================================================================================