> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelblue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Performing Vulnerability Scans

|                       |           |              |             |             |
| --------------------- | --------- | ------------ | ----------- | ----------- |
| **Role Availability** | Read-Only | Investigator | **Analyst** | **Manager** |

In USM Anywhere you can run:

<AccordionGroup>
  <Accordion title="Authenticated scans">
    An <Tooltip tip="Authenticated scans are performed from inside the machine using a user account with appropriate privileges.">authenticated scan</Tooltip> verifies scanned IPs and detects vulnerabilities, <Tooltip tip="An identified configuration of deployed software or features of software that is in use, which is known to be insecure.">configuration issues</Tooltip>, and software. The USM Anywhere <Tooltip tip="Sensors are deployed into an on-premises, cloud, or multi-cloud environment to collect logs and other security-related data. This data is normalized and then securely forwarded to USM Anywhere for analysis and correlation.">Sensor</Tooltip> initiates a credentialed <Tooltip tip="Program to securely log into another computer over a network, execute commands in a remote machine, and move files from one machine to another through Secure Copy (SCP).">SSH</Tooltip> (Linux), WinRM (Windows), or MacOS connection to the <Tooltip tip="An IP-addressable host, including but not limited to network devices, virtual servers, and physical servers.">asset</Tooltip> and remotely runs a series of commands for host-based assessment. See [Managing Credentials in USM Anywhere](/documentation/usm-anywhere/user-guide/vulnerability-assessment/credentials). You can run authenticated asset scans from these pages:

    * **Environment > Assets** for running an authenticated scan in that precise moment. See [Running Authenticated Asset Scans](/documentation/usm-anywhere/user-guide/asset-management/asset-administration/running-vuln-scan)for more information.
    * **Environment > Asset Groups** for running an authenticated asset groups scan in that precise moment. See [Running Authenticated Asset Groups Scans](/documentation/usm-anywhere/user-guide/asset-management/asset-groups/running-vuln-scan-asset-groups) for more information.
    * **Settings > Scheduler** for scheduling an authenticated scan job during a specific period of time. See [Scheduling Asset Scans from the Job Scheduler Page](/documentation/usm-anywhere/user-guide/scheduler/scheduling-asset-scans-from-scheduler) and [Scheduling Asset Groups Scans from the Job Scheduler Page](/documentation/usm-anywhere/user-guide/scheduler/scheduling-ag-scans-from-scheduler) for more information.
    * **Environment > Vulnerabilities** for running an asset scan. You can scan a single asset, an asset group, or enter a network range. See [Running an Asset Scan from Vulnerabilities](/documentation/usm-anywhere/user-guide/vulnerability-assessment/perf-vulnerability-scans) for more information.

    <Danger>
      **Warning:** An authenticated scan may fail if the local mail exchanger, which applies to Linux hosts, is enabled in the target asset.

      You cannot scan USM Anywhere sensors.
    </Danger>
  </Accordion>

  <Accordion title="Unauthenticated scans">
    Use an asset scan to discover services, <Tooltip tip="Software that manages computer hardware resources and provides common services for computer programs. Examples include Microsoft Windows, Macintosh OS X, UNIX, and Linux.">operating systems</Tooltip>, <Tooltip tip="A hostname is a label that is assigned to a device connected to a computer network and is used to identify the device on the network.">hostnames</Tooltip>, IP and <Tooltip tip="A unique numeric value assigned by the manufacturer to identify a specific network device or computer, which allows communication over networks. Note that a device’s MAC address can be manipulated.">MAC addresses</Tooltip>, and vulnerabilities of known hosts in the deployed network. You can run non-authenticated asset scans from these pages:

    * **Environment > Assets** for running an asset scan in that precise moment. See [Running Asset Scans](/documentation/usm-anywhere/user-guide/asset-management/asset-administration/running-asset-scan) for more information.
    * **Environment > Asset Groups** for running an asset group scan in that precise moment. See [Running Asset Groups Scans](https://cybersecurity.att.com/documentation/usm-anywhere/user-guide/asset-management/asset-groups/running-asset-groups-scan) for more information.
    * **Settings > Scheduler** for scheduling an authenticated scan job during a specific period of time. See [Scheduling Asset Scans from the Job Scheduler Page](/documentation/usm-anywhere/user-guide/scheduler/scheduling-asset-scans-from-scheduler) and [Scheduling Asset Groups Scans from the Job Scheduler Page](/documentation/usm-anywhere/user-guide/scheduler/scheduling-ag-scans-from-scheduler) for more information.
  </Accordion>
</AccordionGroup>

<Note>
  **Note:** See [USM Anywhere Scans Best Practices](/documentation/usm-anywhere/user-guide/vulnerability-assessment/scans-best-practices) for more information.
</Note>

## Commands Used in Authenticated Scans

When you run an authenticated scan in USM Anywhere, there are multiple commands executing at the same time. These commands change constantly and there are new definitions released every day. You can also verify which commands have been executing at any given moment.

<AccordionGroup>
  <Accordion title="Linux">
    Linux-authenticated scans use privilege escalation over ssh. Commands are logged in the audit log:

    * `/var/log/secure`\*
    * `/var/log/auth`\*
  </Accordion>

  <Accordion title="Windows">
    Windows-authenticated scans perform file and registry checks to determine the version of the installed patch.
  </Accordion>
</AccordionGroup>

## Running an Asset Scan from Vulnerabilities

1. Go to **Environment > Vulnerabilities**.

2. Click **New Scan**.

   The Authenticated Asset Scan dialog box opens.

   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/ElsAVGG4IM3pFRzT/images/usm-anywhere/authassetscandb1.webp?fit=max&auto=format&n=ElsAVGG4IM3pFRzT&q=85&s=4549a2970df845e2092fd8647ea19af4" alt="" width="478" height="349" data-path="images/usm-anywhere/authassetscandb1.webp" />
   </Frame>

3. Select the assets you want to scan:
   * Single Asset. You need to enter the name of the target you want to scan or select it from a list of your targets.
   * Asset Group Name. You need to enter the name of the <Tooltip tip="Asset groups are administratively created objects that group similar assets for specific purposes.">asset group</Tooltip> you want to scan or click **Select from List** for selecting it from a list of your asset groups.
   * Network ranged. You need to enter the network range you want to scan.

4. Click **Next**.

   A new Authenticated Asset Scan dialog box opens.

   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/ElsAVGG4IM3pFRzT/images/usm-anywhere/authassetscan2.webp?fit=max&auto=format&n=ElsAVGG4IM3pFRzT&q=85&s=78406bda251de535cbc84e9f3087e97e" alt="" width="798" height="349" data-path="images/usm-anywhere/authassetscan2.webp" />
   </Frame>

5. Click **Assign Credentials** for assigning credentials to the assets and devices you want to scan. Click **Create New Credentials** for creating a credential. See [Managing Credentials in USM Anywhere](/documentation/usm-anywhere/user-guide/vulnerability-assessment/credentials) for more information.

6. Click **Select Another Target** if you want to come back.

7. You can select the targets to scan if you have more than one.

8. Click **Start Scan**.
   The scan starts. Depending on the selected asset, the scan can last several minutes. When the scan finishes, you can see the status and if the scan found vulnerabilities. If you want to view the results of your scan, you need to go to the asset details page. See [Viewing Assets Details](/documentation/usm-anywhere/user-guide/asset-management/asset-administration/viewing-asset-details) for more information.

9. Click **Continue Scanning And Close**.
   While the scan is running, a Scanning button shows. When the scan finishes, the message **Scan finished. Refresh to view scan results** displays.

10. Click **Refresh Scan Results** to update the list.
