Red team agent considerations

Before you use red team agents in Microsoft Perception, confirm assessment authorization, prepare the environment, and plan how to review findings and respond to unexpected effects. The Recon Agent and Web App Pen Test Agent have different capabilities and operational risks.

Capabilities

Choose the agent that matches your assessment goal:

Agent Availability Assessment boundary Guidance
Recon Agent Generally available Read-only, point-in-time analysis of potential attack paths involving Azure resources, Microsoft Entra ID identities, and permissions. It doesn't exploit vulnerabilities or modify resources. Use the Recon Agent and set up the Recon Agent.
Web App Pen Test Agent Public preview Active security testing of authorized, internet-reachable web applications. Testing can affect application availability, data, and user workflows. Use the Web App Pen Test Agent and set up the Web App Pen Test Agent.

The Protect web app playbook runs the Web App Pen Test Agent, then a separate Web App Risk Reduction Agent for remediation planning and eligible Azure Front Door Web Application Firewall (WAF) policy changes. Recommendations for code and other configuration changes require separate review and implementation.

Important

The Web App Pen Test Agent is in public preview. Preview capabilities are subject to change.

Intended uses

Use red team agents for authorized security assessments within an approved scope. Customers are responsible for ensuring that assessment targets are assets they own or are explicitly authorized to assess.

For web testing, agree on the exact hosts, testing window, test accounts, and application areas that must not be accessed. DNS ownership verification demonstrates control of a domain; it doesn't replace authorization. Redirects and discovered links don't expand the approved testing boundary.

Limitations

  • Findings reflect the scope, permissions, data, and tests available to the session. Results can become stale after environment changes.
  • A completed session or a report with no findings doesn't establish that an environment or application is secure.
  • For web testing, unreachable areas, sign-in failures, or blocked requests can limit coverage. Don't interpret unauthenticated results as authenticated coverage.
  • Free-text exclusions and sign-in instructions aren't enforced URL-level access controls. Use application-side controls or an isolated test environment when a boundary must not be crossed.

Follow each agent's setup and operating guide for its prerequisites and supported targets. Don't assume that the same permissions, coverage, or controls apply to both agents.

Warning language

Review these warnings before starting an assessment:

  • The quality and completeness of output depend on the permissions granted to the agent identity, and insufficient access produces incomplete analysis and can cause missed attack paths or misconfiguration signals.
  • Agent outputs are AI-generated and can contain errors or inaccuracies; human review is always required before acting on findings.
  • Session details and output can be visible to other authorized users depending on tenant permissions.

Risks

  • Active testing can affect environments. Use explicit authorization, change management, application monitoring, and an agreed stop procedure. Safeguards don't make testing risk-free.
  • Findings require evidence review. Inspect the supporting evidence and access limitations rather than relying on a severity or confidence label alone.
  • Reports can disclose sensitive information. Handle session artifacts with controls comparable to penetration testing reports and limit access to authorized reviewers.
  • Excessive permissions increase risk. Grant only the access required for the agent's task. Permission to run a session isn't permission to change resources.

Operational considerations

Prepare for the assessment and supervise it throughout the session:

  1. Complete the applicable agent setup and confirm that operators have the required access.
  2. Before active web testing, agree on the scope, testing window, least-privileged test accounts, monitoring, and stop procedure with the application owner. Start with a controlled nonproduction application.
  3. Have authorization and monitoring in place before starting the session. Web App Pen Test discovery can contact the application before plan approval. Review the available approval settings and the proposed plan before authorizing active vulnerability testing.
  4. Review later requests for input or action approval against the authorized scope. Resource changes require the appropriate permissions and separate approval; answering a planning question doesn't approve execution.
  5. Monitor application health independently during web testing. Stop if testing affects the application or no longer matches the authorization. Stopping doesn't undo requests already sent or changes already made; coordinate recovery with the application owner.
  6. Review findings with the relevant resource or application owners and record follow-up through your existing security and change-management processes.

Evidence of accuracy, performance, and generalizability

For pen-testing benchmark information, see Benchmarking Microsoft Perception for Agentic Pen Testing.

Use benchmark results as context, not as a guarantee of findings or coverage in your environment. Review the evaluated scope and conditions before applying results to your assessment.

For platform-level evaluation methods, limitations, and human oversight, see the Application card for Perception. Validate important findings against the evidence available in your own session.

Next steps