Using the Rapid7 Agent (Insight Agent) with Vulnerability Management (InsightVM)
Copy link

As an Vulnerability Management (InsightVM) subscriber, you can access several feature-rich cloud capabilities powered by the Insight platform. To complement the on-premises scanning infrastructure that you may already have, you can also install the Rapid7 Agent (Insight Agent) across your network for the purpose of vulnerability assessment.

Why use the Rapid7 Agent (Insight Agent) with Vulnerability Management (InsightVM)?
Copy link

The Rapid7 Agent (Insight Agent) best addresses the vulnerability assessment needs of assets that have the following characteristics:

Assets running from remote locations

You may have assets in your organization that operate outside of your company network for long periods of time and regularly connect to the internet in different locations. While a traditional scan requires target assets to be present on your network in order to be assessed, the Rapid7 Agent (Insight Agent) can send vulnerability data to the Command Platform (Insight Platform) as long as the asset has an internet connection. Whether the asset is on your company network or on its assigned user’s home network, the Rapid7 Agent (Insight Agent) has you covered.

Assets with heavy scanning restrictions

Some of your assets may serve in roles that are too business-critical to absorb the load of a traditional scan during standard hours of operation. This means you often have to find a suitable scanning window for these assets, which can be difficult depending on the role they play. Rapid7 Agents (Insight Agents) are considerably less burdensome by comparison because the actual assessment process is the responsibility of the Insight platform.

Assets restricted by credentials

Traditional scans rely on configured credentials in Vulnerability Management (InsightVM) in order to authenticate to the target asset, which yields more comprehensive vulnerability results. Since Rapid7 Agents (Insight Agents) monitor the asset from within, their assessments are functionally authenticated already, thus sparing you from having to configure credentials at all.

ℹ️

Where can I view my Rapid7 Agents (Insight Agents) after I've deployed them?

The Agent Management view in your Insight platform account page is the central location for monitoring all the Rapid7 Agents (Insight Agents) you have deployed across your organization.

See the Agent Management Help page  to learn how to access this view.

Rapid7 Agent (Insight Agent) and Vulnerability Management (InsightVM) scans
Copy link

For the most accurate view of your environment, we recommend using agent scans for authenticated (local) assets and unauthenticated engine scans for unauthenticated (remote) assets.

Scan capability comparison
Copy link

The Rapid7 Agent (Insight Agent) and Scan Engine are designed to complement each other. If both scan the same asset, the Security Console automatically recognizes the data and merges the results.

Rapid7 Agent (Insight Agent)Unauthenticated scan
(Scan Engine)
Authenticated scan
(Scan Engine)
Scan Assistant
(Scan Engine)
SpeedFastestFasterFastFastest
CredentialsN/ANot requiredRequiredN/A
Scheduled scansNoYesYesYes
Scan blackoutsNoYesYesYes
Scan TemplatesN/AYesYesYes
CollectionRegularly During scanDuring scanDuring scan
Type of checkLocal onlyRemote onlyLocal, remote, and policyLocal, remote, and policy (CIS only)

Usage scenarios
Copy link

Scan sourceCommon usage
Scan Engine
  • To perform policy assessments
  • To perform unauthenticated (remote) scans
  • To discover assets via discovery scans or connections
  • To assess assets unsupported by the Rapid7 Agent (Insight Agent), such as network devices
  • Rapid7 Agent (Insight Agent)
  • To perform policy assessments
  • To perform authenticated (local) scans
  • Asset is located outside of the corporate network
  • Asset is located in a highly isolated or micro-segmented network
  • Asset does not have remote access services (SMB, SSH, etc.) enabled
  • Asset remote access credentials are unavailable
  • Asset is only online for short periods of time
  • Asset is sensitive to network-based scanning
  • Asset requires continuous monitoring as opposed to periodic scans
  • Asset is in a dynamic, cloud, or other complex modern environment that requires flexible deployment
  • Scan Engine and Rapid7 Agent (Insight Agent) on the same asset
  • Get the external perspective by capturing remote access vulnerabilities that the devices might be exposed to. This does not require credentialed or authenticated scans from the Scan Engine
  • Complete assessments faster by skipping authenticated scans that the Scan Engine knows the Rapid7 Agent (Insight Agent) will cover
  • Run an on-demand scan
    Copy link

    ℹ️

    This feature is being incrementally delivered on a regional basis

    If you don’t see the on-demand scan in your environment, it may not be available in your region at this time.

    You can trigger an on-demand scan using the Rapid7 Agent (Insight Agent). This allows you to validate remediation immediately after applying patches or fixes, speeding up your workflows.

    As part of this feature, the Security Console’s Command Platform sync interval will permanently change to 5 minutes. This improvement ensures you will have the most up-to-date asset information at all times, and will result in smaller downloads of information due to the increased synchronization frequency.

    ℹ️

    Scheduled Rapid7 Agent scan intervals will reset following an on-demand scan

    If a scheduled agent scan is already in progress, the on-demand scan will be queued for that asset. Subsequent scheduled agent assessment intervals will be reset to run 6 hours after the on-demand scan is complete for that asset.

    Prerequisites
    Copy link

    To enable the on-demand scan feature, you must:

    1. Install the Rapid7 Agent (Insight Agent) on version 4.1.0.2 or higher. For more information, see the Rapid7 Agent (Insight Agent) help documentation .
      1. Ensure that the relevant Rapid7 Agent is online prior to attempting any scan, and that the network used for the Rapid7 Agent will remain stable for the duration of the scan. Failure to meet these requirements may cause the scan to fail.
    2. Ensure your Security Console has a permanently updated sync interval of 5 minutes.
      1. In your Security Console, go to Administration > Console > Platform Data Synchronization.
      2. On the VM Console tab, view the value of the VM Platform Download Frequency field.
        • If the value is in hours (ranging from 1 to 12), you will need to restart you Security Console. For instructions, read Using the Command Console. Once you have restarted the Security Console, check the sync interval again to validate this is now 5 minutes.
        • If the value is 5 minutes, the update has been implemented on your Security Console.

    To run an on-demand scan for a single asset:

    1. Navigate to the Assets page.
    2. From the Assessed Assets table, click into the Asset Details page of the asset you want to scan.
    3. Click Run Scan > Rapid7 Agent.
    4. A modal will appear to ensure all assets selected are eligible for Rapid7 Agent (Insight Agent) scanning.
    5. The scan will begin assessment, or will be queued if a scan is already in progress.

    To run an on-demand scan for multiple assets:

    1. Navigate to the Assets page.
    2. From the Assessed Assets table, Select the assets you want to scan using the checkboxes in the table.
    3. Click Run Agent Scan.
    4. A modal will appear to ensure all assets selected are eligible for Rapid7 Agent (Insight Agent) scanning.
    5. The scan will begin assessment, or will be queued if a scan is already in progress.

    View on-demand scan progress
    Copy link

    On-demand scans will begin the collection and assessment process instantly. Once a scan starts, you can track how long it has been running and the estimated time remaining for it to complete.

    To view the progress of an on-demand scan per asset:

    1. Navigate to the Assets page.
    2. From the Assets table, click into the Asset Details page of the asset you want to scan.
    3. At the top of the page, there will be a Last On Demand Agent Scan attribute listing the status of the scan.
    4. The available statuses include:
      1. Queued: a Rapid7 Agent (Insight Agent) scan is already in progress. The on-demand scan will begin once the current scan is finished.
      2. In progress: the on-demand scan is currently running.
      3. Complete: the on-demand scan has finished all collection and assessment. If the on-demand scan has completed, it will list the date and time it was completed on.
      4. Complete (with failures): scan failure can occur if a job has failed, the Rapid7 Agent (Insight Agent) has had an error during assessment, or has timed out after failing to receive the request after trying for one hour. This may occur if the Rapid7 Agent (Insight Agent) is offline.

    Using the Scan Assistant
    Copy link

    The Scan Assistant provides a more secure way to scan your assets, removes the need for administrative credential management, consumes much fewer resources, and significantly decreases the time to complete for policy scans. The Scan Assistant can be leveraged to expand and extend enterprise vulnerability coverage as it is an extension of the Scan Engine that’s complementary to the Rapid7 Agent (Insight Agent) and compatible with the Vulnerability Management (InsightVM) cloud platform.

    Better security

    The Scan Assistant leverages Transport Layer Security (TLS) with elliptic curve asymmetric encryption (ECDSA) and advanced encryption standard (AES) and digital certificates to create a trusted secure channel between the Scan Engine and the Scan Assistant.

    No credential management

    The Scan Assistant provides the only access needed for you to run an authenticated scan. There is no need for privileged Admin account access to assets. This means that the Scan Assistant can perform scans without the hassle of managing credentials to assets.

    You do not need to use SSH, CIFS, WMI or other traditional account-based credentials alongside the Scan Assistant, since the Scan Assistant acts as your credential type. Note that the Scan Engine prioritizes the Scan Assistant over other credential types when it is present.

    Efficiency

    The Scan Assistant is lightweight and efficient. It consumes minimal memory and CPU resources. Once installed, the Scan Assistant provides Registry and File System (Windows) or Command Execution (Linux) services on the local asset. The Scan Assistant only runs when scans are initiated.

    Faster policy scans

    Due to the large amounts of data being collected, policy scans usually take a while to complete. With the Scan Assistant, policy scan time completion improves vastly.

    Usage scenarios
    Copy link

    ScenarioHow the Scan Assistant Helps
    Authenticated scan credentials are difficult to administerThe Scan Assistant uses digital certificates instead of traditional administrative credentials
    Need more control over site parametersThe Scan Assistant does not require Internet connectivity
    Concerns about agent resource utilization for mission critical assetsThe Scan Assistant is only active during scans initiated by the Scan Engine
    Need granular control over assessment parameters for particular assetsThe Scan Assistant responds to specific scan parameters defined by the Console to the Scan Engine
    Need to accelerate completion times for vulnerability and policy scansCompared to traditional authenticated scans, the Scan Assistant will be faster for vulnerability scans and orders of magnitude faster for policy scans

    Complementary scanning
    Copy link

    If you deploy Scan Engines and Rapid7 Agents (Insight Agents) together to assess your assets for vulnerabilities, you can enable complementary scanning to do the following:

    Use caseValueRequired credentials
    To gain an external perspective of remote access vulnerabilitiesGet the external perspective by identifying remote access vulnerabilities that the devices might be exposed toScan Engine: Unauthenticated (remote) scan does not require elevated credentials

    Rapid7 Agent (Insight Agent): None
    To complete assessments more quickly and improve performanceAllows you to skip checks that the Scan Engine knows the Rapid7 Agent (Insight Agent) is running, increasing efficiency. Stress on the Security Console is reduced since the Scan Engine won’t need to produce as many results for integrationScan Engine: Authenticated scan (local) requires root permission

    Rapid7 Agent (Insight Agent): None

    Requirements
    Copy link

    The following requirements must be satisfied for complementary scanning to be enabled:

    • Your asset must be running Rapid7 Agent (Insight Agent) version 2.7.17 or later.
    • Highest permissions are required. Depending on your operating system, you must have Administrative or Root credentials.

    How does complementary scanning work?
    Copy link

    The Rapid7 Agent (Insight Agent) keeps a record of the vulnerability assessments it runs for the asset on which it is installed. When complementary scanning is enabled, your Scan Engine consults this record to determine if running authenticated vulnerability checks is necessary. As long as the last Rapid7 Agent (Insight Agent) assessment was successful and ran within the normal data collection schedule, the Scan Engine skips all authenticated vulnerability checks for that asset.

    ℹ️

    Complementary scanning does not affect the Rapid7 Agent (Insight Agent)

    Enabling complementary scanning only affects what actions the Scan Engine will be responsible for during a scan job. The feature itself will not direct an Rapid7 Agent (Insight Agent) to collect new data if the Scan Engine determines that the last agent assessment did not run successfully, or if the agent did not collect new data as scheduled.

    Complementary scanning diagram

    Enable complementary scanning
    Copy link

    This feature is available for all scan templates that have the Vulnerabilities check type enabled. Enable complementary scanning by adjusting your scan template configuration:

    1. In the Security Console, click the Administration tab in your left menu.
    2. In the Scan section, click Scans > Scan Templates > Manage scan templates.
    3. Select and open the scan template you want to configure by clicking its name link.
    4. On the Scan Template Configuration page, under Types of Checks, select the Vulnerabilities check box > click the Vulnerability Checks tab.
    5. In the Check Configuration section, select the Skip checks performed by the Rapid7 Agent (Insight Agent) check box.
    6. Click Save.

    Learn more about the Rapid7 Agent (Insight Agent)
    Copy link

    Rapid7 Agents (Insight Agents) are an important part of any Vulnerability Management (InsightVM) deployment, and even more so if your organization also subscribes to SIEM (InsightIDR)  or Log Management (InsightOps) . For this reason, Rapid7 continually develops and maintains a dedicated documentation set for all Rapid7 Agent (Insight Agent) related resources.

    Check out the Rapid7 Agent (Insight Agent) help pages  to learn more about the following topics:

    • Overview information, including the types of data that the Rapid7 Agent (Insight Agent) collects and how the agent software updates
    • Comprehensive requirements, including supported operating systems, network configuration, and application settings
    • Complete download and install instructions for both Rapid7 Agent (Insight Agent) installer types
    • Mass deployment guidelines
    • Advanced configuration options
    • Common troubleshooting solutions