> [!NOTE]
> Premium and Enterprise (Deprecated) [service tiers](https://docs.cloud.google.com/security-command-center/docs/service-tiers.md.txt)

> [!CAUTION]
> The Security Command Center Enterprise service tier will shut down on May 21, 2027. If your organization uses the Enterprise service tier, then the organization will automatically move to the Premium service tier on or after May 21, 2027. Contact your account representative or a [Google Cloud sales specialist](https://cloud.google.com/contact) if you have questions.

This document describes a threat finding type in Security Command Center. Threat findings are generated by
[threat detectors](https://docs.cloud.google.com/security-command-center/docs/concepts-security-sources.md.txt#threats) when they detect
a potential threat in your cloud resources. For a full list of available threat findings, see [Threat findings index](https://docs.cloud.google.com/security-command-center/docs/threat-findings-index.md.txt).

## Overview

An AI agent exhibited port scanning behavior over short intervals. The behavior
detected can include the following:

- **Horizontal scanning:** scanning multiple IPs for the same port.
- **Vertical scanning:** scanning multiple ports for the same IP.

Findings are classified as **Low** severity by default.

[Event Threat Detection](https://docs.cloud.google.com/security-command-center/docs/concepts-event-threat-detection-overview.md.txt) is the source of
this finding.

## How to respond

To respond to this finding, do the following:

### Review finding details

1. Open the `Discovery: Evidence of Port Scanning from AI Agent` finding as directed in
   [Reviewing findings](https://docs.cloud.google.com/security-command-center/docs/how-to-investigate-threats.md.txt#reviewing_findings).
   Review the details in the **Summary** and **JSON** tabs.

   - **Affected resource** , especially the following field:
     - **Resource display name** : the [`ReasoningEngine`](https://docs.cloud.google.com/vertex-ai/generative-ai/docs/reference/rest/v1/projects.locations.reasoningEngines#ReasoningEngine) resource where the scanning occurred.
   - **Related links** :
     - **Cloud Logging URI**: link to Logging entries.
     - **MITRE ATT\&CK method**: link to the MITRE ATT\&CK documentation.
2. Identify other findings that occurred at a similar time for this resource.
   Related findings might indicate that this activity was malicious, instead of
   a failure to follow best practices.

3. Review the settings of the affected resource.

4. Check the logs for the affected resource.

   1. On the **Summary** tab of the finding details in the Google Cloud console, go to **Logs Explorer** by clicking the link in the **Cloud Logging URI** field.
   2. Check the value in the `textPayload` field to identify the port scanning activity log.

### Research attack and response methods

Review the MITRE ATLAS framework entry for this finding type:
[Active Scanning](https://atlas.mitre.org/techniques/AML.T0006)

### Implement your response


For response recommendations, see [Respond to AI
threat findings](https://docs.cloud.google.com/security-command-center/docs/respond-ai-threats).

<br />

## What's next

- Learn [how to work with threat
  findings in Security Command Center](https://docs.cloud.google.com/security-command-center/docs/how-to-investigate-threats).
- Refer to the [Threat findings index](https://docs.cloud.google.com/security-command-center/docs/threat-findings-index.md.txt).
- Learn how to [review a
  finding](https://docs.cloud.google.com/security-command-center/docs/how-to-investigate-threats#reviewing_findings) through the Google Cloud console.
- Learn about the [services that
  generate threat findings](https://docs.cloud.google.com/security-command-center/docs/concepts-security-sources#threats).