# US 2025/0168186 A1 · Cybersecurity Engine in a Security Management System

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0168186 A1
- Document ID: US20250168186A1
- Status: Published application
- Kind: A1
- Application number: 18/397,657
- Filed: 2023-12-27
- Published: 2025-05-22
- Earliest claimed: 2023-11-17
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Geoffrey Lyall Pearson MCDONALD; Jack Wilson STOKES; Jiacen XU; David Abraham MARSHALL; Siyue WANG; Adith SWAMINATHAN
- Web page: https://patentgrep.com/patent/US20250168186A1

## CPC

- H04L 63/1433: {Vulnerability analysis}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Methods, systems, and computer storage media for providing cybersecurity simulation management using a cybersecurity engine in a security management system. Cybersecurity simulation management supports providing a controlled computing environment associated with generative artificial intelligence (AI) security operations for responding to cyber-threats and incidents. In operation, a prompt for a task is communicated from a host machine to a generative AI model. The prompt is associated with a generative AI cybersecurity simulation environment comprising the host machine, the generative AI model, an attacker machine, and a victim machine. The host machine receives a first response from the generative AI model. Based on the first response, the host machine communicates a command to the attacker machine, where the attack machine generates a second response based on executing the command on the victim machine. The host machine receives the second response. The second response is tagged as an outcome associated with the task.

## Claims

### Claim 1

A computerized system comprising:
one or more computer processors; and
computer memory storing computer-useable instructions that, when used by the one or more computer processors, cause the one or more computer processors to perform operations, the operations comprising:
communicating a prompt associated with a task from a host machine to a generative artificial intelligence (AI) model;
based on communicating the prompt, receiving, at the host machine, a first response from the generative AI model;
based on the first response, communicating, from the host machine, a command, the command is communicated to an attacker machine to cause the attacker machine to generate a second response associated with a victim machine;
receiving the second response at the host machine; and
tagging the second response as an outcome associated with the task.

### Claim 2 (depends on 1)

The system of claim 1, wherein the host machine is associated with a cybersecurity simulation environment that is a reinforcement learning environment that operates based on autonomous decision-making associated with communications between the host machine, the generative AI model, the attacker machine, and the victim machine.

### Claim 3 (depends on 1)

The system of claim 1, wherein the host machine is associated with a cybersecurity simulation environment that is a virtual platform that supports evaluating a plurality of human-like hands-on-keyboard attacks in evaluation experiments associated with built experiment environments, wherein the plurality of human-like hands-on-keyboard attacks are assigned different levels of difficulty.

### Claim 4 (depends on 1)

The system of claim 1, wherein the second response is provided in a defense report, the defense report comprising configuration suggestions associated with one or more defense software applications or an operating system.

### Claim 5 (depends on 1)

The system of claim 1, wherein the attacker machine connects to the victim machine using a cybersecurity tool to simulate cyberattacks based on output from the generative AI model.

### Claim 6 (depends on 1)

The system of claim 1, wherein a file is provided to share information between the host machine and the attacker machine.

### Claim 7 (depends on 1)

The system of claim 1, wherein the host machine is associated with a cybersecurity engine supports a prompt template associated with a variable object, a context, a plurality of output format requirements, and a plurality of examples.

### Claim 8 (depends on 1)

The system of claim 1, wherein the host machine is associated with a cybersecurity engine that analyzes a plurality of cyberattacks based on an observing-reacting procedure associated with a plurality of operations including receiving a command-line response or giving a next command.

### Claim 9 (depends on 1)

The system of claim 1, the operations further comprising:
accessing, at the attacker machine, a command from the host machine, wherein the command is based on a response from the generative AI model, the response is associated with a prompt for a task;
executing the command on the victim machine;
based on executing the command on the victim machine, generating a response; and
communicating the response to the host machine to cause the response to be tagged as an outcome associated with the task.

### Claim 10 (depends on 1)

The system of claim 1, further comprising a plurality of cybersecurity management modules, the plurality of cybersecurity management modules include a penetration testing engine, a prompt design engine, a summarizer, an observation parser, an experience manager, and a defense manager.

### Claim 11

One or more computer-storage media having computer-executable instructions embodied thereon that, when executed by a computing system having a processor and memory, cause the processor to perform operations, the operations comprising:
initializing a cybersecurity simulation environment comprising a generative artificial intelligence (AI) model, an attacker machine, a victim machine, and a host machine;
processing a plurality of tasks via the cybersecurity simulation environment; and
based on processing the plurality of tasks, generating one or more examples associated with generating prompts for the generative AI model associated with cybersecurity penetration testing in the cybersecurity simulation environment.

### Claim 12 (depends on 11)

The media of claim 11, the operations further comprising:
associating the one or more examples with corresponding experience data;
scoring the experience data;
storing the one or more examples and the corresponding experience data and scores in a database.

### Claim 13 (depends on 11)

The media of claim 11, wherein the one or more examples are associated with corresponding experience data, wherein the experience data is associated with a standard format comprising a reasoning field, command type field, and command information field.

### Claim 14 (depends on 11)

The media of claim 11, the operations further comprising:
accessing an atom task associated a task;
based on the atom task, identifying a plurality examples associated with the atom task; and
communicating the plurality of examples for a prompt template for the task.

### Claim 15 (depends on 14)

The media of claim 14, the operations further comprising:
accessing feedback from a command line associated with the atom task; and
updating a score of one of the plurality examples based on feedback from the command line.

### Claim 16

A computer-implemented method, the method comprising:
accessing, at an attacker machine, a command from a host machine, wherein the command is based on a response from a generative artificial intelligence (AI) model, the response associated with a prompt for a task, wherein the attacker machine, a victim machine, the host machine, and the generative AI model are associated with a cybersecurity simulation environment;
executing the command on the victim machine;
based on executing the command on the victim machine, generating a response; and
communicating the response to the host machine to cause the response to be tagged as an outcome associated with the task.

### Claim 17 (depends on 16)

The method of claim 16, wherein the cybersecurity simulation environment is a virtual platform that supports evaluating a plurality of human-like hands-on-keyboard attacks in evaluation experiments associated with built experiment environments.

### Claim 18 (depends on 16)

The method of claim 16, wherein the attacker machine connects to the victim machine using a cybersecurity tool to simulate cyberattacks based on output from the generative AI model.

### Claim 19 (depends on 16)

The method of claim 16, wherein a file is provided to share information between the host machine and the attacker machine.

### Claim 20 (depends on 16)

The method of claim 16, wherein the command is associated with a prompt template associated with a variable object, a context, a plurality of output format requirements, and a plurality of examples.
