MITRE ATT&CK CoA - T1573.002 - Asymmetric Cryptography
This playbook Remediates the Standard Cryptographic Protocol technique using intelligence-driven Courses of Action (COA) defined by Palo Alto Networks Unit 42 team. ***Disclaimer: This playbook does not simulate an attack using the specified technique, but follows the steps to remediation as defined by Palo Alto Networks Unit 42 team’s Actionable Threat Objects and Mitigations (ATOMs). Techniques Handled: - 1573.002: Encrypted Channel: Asymmetric Cryptography Kill Chain phases: - Command And Control MITRE ATT&CK Description: Adversaries may employ a known asymmetric encryption algorithm to conceal command and control traffic rather than relying on any inherent protections provided by a communication protocol. Asymmetric cryptography, also known as public key cryptography, uses a keypair per party: one public that can be freely distributed, and one private. Due to how the keys are generated, the sender encrypts data with the receiver’s public key and the receiver decrypts the data with their private key. This ensures that only the intended recipient can read the encrypted data. Common public key encryption algorithms include RSA and ElGamal. For efficiency, may protocols (including SSL/TLS) use symmetric cryptography once a connection is established, but use asymmetric cryptography to establish or transmit a key. As such, these protocols are classified as Asymmetric Cryptography. Possible playbook uses: - The playbook can be used independently to handle and remediate the specific technique. - The playbook can be used as a part of the “Courses of Action - Defense Evasion” playbook to remediate techniques based on the kill chain phase. - The playbook can be used as a part of the “MITRE ATT&CK - Courses of Action” playbook, which can be triggered by different sources and accepts the technique MITRE ATT&CK ID as an input.
MITRE ATT&CK - Courses of Action · 12 tasks · 4 inputs · 1 output
Details
| ID | MITRE ATT&CK CoA - T1573.002 - Asymmetric Cryptography |
|---|---|
| From Version | 6.5.0 |
| Tasks | 12 |
README
This playbook Remediates the Standard Cryptographic Protocol technique using intelligence-driven Courses of Action (COA) defined by Palo Alto Networks Unit 42 team.
***Disclaimer: This playbook does not simulate an attack using the specified technique, but follows the steps to remediation as defined by Palo Alto Networks Unit 42 team’s Actionable Threat Objects and Mitigations (ATOMs).
Techniques Handled:
- 1573.002: Encrypted Channel: Asymmetric Cryptography
Kill Chain phases:
- Command And Control
MITRE ATT&CK Description:
Adversaries may employ a known asymmetric encryption algorithm to conceal command and control traffic rather than relying on any inherent protections provided by a communication protocol. Asymmetric cryptography, also known as public key cryptography, uses a keypair per party: one public that can be freely distributed, and one private. Due to how the keys are generated, the sender encrypts data with the receiver’s public key and the receiver decrypts the data with their private key. This ensures that only the intended recipient can read the encrypted data. Common public key encryption algorithms include RSA and ElGamal.
For efficiency, may protocols (including SSL/TLS) use symmetric cryptography once a connection is established, but use asymmetric cryptography to establish or transmit a key. As such, these protocols are classified as Asymmetric Cryptography.
Possible playbook uses:
- The playbook can be used independently to handle and remediate the specific technique.
- The playbook can be used as a part of the “Courses of Action - Defense Evasion” playbook to remediate techniques based on the kill chain phase.
- The playbook can be used as a part of the “MITRE ATT&CK - Courses of Action” playbook, which can be triggered by different sources and accepts the technique MITRE ATT&CK ID as an input.
Dependencies
This playbook uses the following sub-playbooks, integrations, and scripts.
Sub-playbooks
- PAN-OS - Enforce WildFire Best Practices Profile
- PAN-OS - Block all unknown and unauthorized applications
- PAN-OS - Enforce Anti-Spyware Best Practices Profile
Integrations
This playbook does not use any integrations.
Scripts
- SetGridField
- Set
Commands
This playbook does not use any commands.
Playbook Inputs
| Name | Description | Default Value | Required |
|---|---|---|---|
| template | Template name to enforce WildFire best practices profile. | Optional | |
| pre_post | Rules location. Can be ‘pre-rulebase’ or ‘post-rulebase’. Mandatory for Panorama instances. | Optional | |
| device-group | The device group for which to return addresses (Panorama instances). | Optional | |
| tag | Tag for which to filter the rules. | Optional |
Playbook Outputs
| Path | Description | Type |
|---|---|---|
| Handled.Techniques | The techniques handled in this playbook | unknown |
Playbook Image

Inputs
template— Template name to enforce WildFire best practices profile.pre_post— Rules location. Can be 'pre-rulebase' or 'post-rulebase'. Mandatory for Panorama instances.device-group— The device group for which to return addresses (Panorama instances).tag— Tag for which to filter the rules.
Outputs
Handled.Techniques— The techniques handled in this playbook
Flowchart
description: "This playbook Remediates the Standard Cryptographic Protocol technique using intelligence-driven Courses of Action (COA) defined by Palo Alto Networks Unit 42 team.\n \n***Disclaimer: This playbook does not simulate an attack using the specified technique, but follows the steps to remediation as defined by Palo Alto Networks Unit 42 team’s Actionable Threat Objects and Mitigations (ATOMs).\nTechniques Handled:\n- 1573.002: Encrypted Channel: Asymmetric Cryptography\n\nKill Chain phases:\n- Command And Control\n\nMITRE ATT&CK Description:\nAdversaries may employ a known asymmetric encryption algorithm to conceal command and control traffic rather than relying on any inherent protections provided by a communication protocol. Asymmetric cryptography, also known as public key cryptography, uses a keypair per party: one public that can be freely distributed, and one private. Due to how the keys are generated, the sender encrypts data with the receiver’s public key and the receiver decrypts the data with their private key. This ensures that only the intended recipient can read the encrypted data. Common public key encryption algorithms include RSA and ElGamal.\n\nFor efficiency, may protocols (including SSL/TLS) use symmetric cryptography once a connection is established, but use asymmetric cryptography to establish or transmit a key. As such, these protocols are classified as Asymmetric Cryptography.\n\nPossible playbook uses:\n- The playbook can be used independently to handle and remediate the specific technique.\n- The playbook can be used as a part of the “Courses of Action - Defense Evasion” playbook to remediate techniques based on the kill chain phase.\n- The playbook can be used as a part of the “MITRE ATT&CK - Courses of Action” playbook, which can be triggered by different sources and accepts the technique MITRE ATT&CK ID as an input." id: MITRE ATT&CK CoA - T1573.002 - Asymmetric Cryptography inputs: - description: Template name to enforce WildFire best practices profile. key: template playbookInputQuery: required: false value: {} - description: Rules location. Can be 'pre-rulebase' or 'post-rulebase'. Mandatory for Panorama instances. key: pre_post playbookInputQuery: required: false value: {} - description: The device group for which to return addresses (Panorama instances). key: device-group playbookInputQuery: required: false value: {} - description: Tag for which to filter the rules. key: tag playbookInputQuery: required: false value: {} name: MITRE ATT&CK CoA - T1573.002 - Asymmetric Cryptography outputs: - contextPath: Handled.Techniques description: The techniques handled in this playbook type: unknown starttaskid: "0" tasks: "0": id: "0" ignoreworker: false nexttasks: '#none#': - "2" note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" id: 4af17ccf-c47d-4628-84d9-c675501d15e7 iscommand: false name: "" version: -1 description: '' taskid: 4af17ccf-c47d-4628-84d9-c675501d15e7 timertriggers: [] type: start view: |- { "position": { "x": 50, "y": 50 } } "2": id: "2" ignoreworker: false nexttasks: '#none#': - "12" note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" id: 39030ea4-4519-4f5c-81ba-21b97381ff5d iscommand: false name: Block all unknown and unauthorized applications type: title version: -1 description: '' taskid: 39030ea4-4519-4f5c-81ba-21b97381ff5d timertriggers: [] type: title view: |- { "position": { "x": 50, "y": 195 } } "3": id: "3" ignoreworker: false nexttasks: '#none#': - "4" note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" id: 3403e018-1288-4fcf-8877-035cdea4c516 iscommand: false name: Enable SSL decryption type: title version: -1 description: '' taskid: 3403e018-1288-4fcf-8877-035cdea4c516 timertriggers: [] type: title view: |- { "position": { "x": 50, "y": 515 } } "4": id: "4" ignoreworker: false nexttasks: '#none#': - "5" note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" description: Block all unknown and unauthorized applications, Enable SSL decryption. id: 89943cc2-49e9-4358-87bc-40c457013863 iscommand: false name: Manual - Enable SSL Decryption in PAN-OS type: regular version: -1 taskid: 89943cc2-49e9-4358-87bc-40c457013863 timertriggers: [] type: regular view: |- { "position": { "x": 50, "y": 660 } } "5": id: "5" ignoreworker: false nexttasks: '#none#': - "13" note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" id: 7c160ecd-c539-4965-8510-b65627e171dc iscommand: false name: Enable DNS Security in Anti-Spyware profile type: title version: -1 description: '' taskid: 7c160ecd-c539-4965-8510-b65627e171dc timertriggers: [] type: title view: |- { "position": { "x": 50, "y": 835 } } "7": id: "7" ignoreworker: false nexttasks: '#none#': - "14" note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" id: 6b794610-b04a-4ff1-86f8-92bcb8e1b71a iscommand: false name: Forward SSL decrypted files to WildFire type: title version: -1 description: '' taskid: 6b794610-b04a-4ff1-86f8-92bcb8e1b71a timertriggers: [] type: title view: |- { "position": { "x": 50, "y": 1155 } } "9": id: "9" ignoreworker: false note: false quietmode: 0 separatecontext: false skipunavailable: false task: brand: "" id: 7ff773ce-6c2e-4c3f-8fed-a764a8e19a61 iscommand: false name: Done type: title version: -1 description: '' taskid: 7ff773ce-6c2e-4c3f-8fed-a764a8e19a61 timertriggers: [] type: title view: |- { "position": { "x": 50, "y": 1830 } } "12": id: "12" ignoreworker: false loop: exitCondition: "" iscommand: false max: 100 wait: 1 nexttasks: '#none#': - "3" note: false quietmode: 0 scriptarguments: device-group: complex: root: inputs.device-group pre_post: complex: root: inputs.pre_post tag: complex: root: inputs.tag separatecontext: true skipunavailable: false task: brand: "" id: a5a5a9ee-3832-4910-8eda-d808116544b6 iscommand: false name: PAN-OS - Block all unknown and unauthorized applications playbookId: PAN-OS - Block all unknown and unauthorized applications type: playbook version: -1 description: '' taskid: a5a5a9ee-3832-4910-8eda-d808116544b6 timertriggers: [] type: playbook view: |- { "position": { "x": 50, "y": 340 } } "13": id: "13" ignoreworker: false loop: exitCondition: "" iscommand: false max: 100 wait: 1 nexttasks: '#none#': - "7" note: false quietmode: 0 scriptarguments: ApplyToRule: complex: root: inputs.ApplyToRule device-group: complex: root: inputs.device-group pre-post-rulebase: complex: root: inputs.pre_post rule_name: complex: root: inputs.rule_name tag: complex: root: inputs.tag separatecontext: true skipunavailable: false task: brand: "" description: | This playbook enforces the Anti-Spyware Best Practices Profile as defined by Palo Alto Networks BPA. The playbook performs the following tasks: - Check for DNS Security license (If license is not activated, the playbook refers users to their Palo Alto Networks account manager for further instructions). - Get the existing profile information. - Get the best practices profile information. - Check if the best practices profile set by Cortex XSOAR is enforced. (If not, the playbook allows the user to compare the existing profile with the best practices and decide on the action to take). - Create best practices profile. - Apply profile to policy rules on PAN-OS firewall or Panorama. id: 7cac6b45-81b3-42da-88e3-fa13a1c2068a iscommand: false name: PAN-OS - Enforce Anti-Spyware Best Practices Profile playbookId: PAN-OS - Enforce Anti-Spyware Best Practices Profile type: playbook version: -1 taskid: 7cac6b45-81b3-42da-88e3-fa13a1c2068a timertriggers: [] type: playbook view: |- { "position": { "x": 50, "y": 980 } } "14": id: "14" ignoreworker: false loop: exitCondition: "" iscommand: false max: 100 wait: 1 nexttasks: '#none#': - "15" note: false quietmode: 0 scriptarguments: ApplyToRule: complex: root: inputs.ApplyToRule device-group: complex: root: inputs.device-group pre-post-rulebase: complex: root: inputs.pre_post rule_name: complex: root: inputs.rule_name tag: complex: root: inputs.tag template: complex: root: inputs.template separatecontext: true skipunavailable: false task: brand: "" id: cf422b55-47cc-4f6e-84f2-2f2bb7778f6d iscommand: false name: PAN-OS - Enforce WildFire Best Practices Profile playbookId: PAN-OS - Enforce WildFire Best Practices Profile type: playbook version: -1 description: '' taskid: cf422b55-47cc-4f6e-84f2-2f2bb7778f6d timertriggers: [] type: playbook view: |- { "position": { "x": 50, "y": 1300 } } "15": id: "15" ignoreworker: false nexttasks: '#none#': - "16" note: false quietmode: 0 scriptarguments: append: simple: "true" key: simple: Handled.Techniques stringify: {} value: simple: '["T1032","T1573.002"]' separatecontext: false skipunavailable: false task: brand: "" description: Set a value in context under the key you entered. id: cb80c993-9eeb-4214-8af2-d9d8ea5bfa8b iscommand: false name: Set technique handled script: Set type: regular version: -1 taskid: cb80c993-9eeb-4214-8af2-d9d8ea5bfa8b timertriggers: [] type: regular view: |- { "position": { "x": 50, "y": 1475 } } "16": continueonerror: true id: "16" ignoreworker: false nexttasks: '#none#': - "9" note: false quietmode: 0 scriptarguments: columns: simple: technique context_path: simple: Handled.Techniques grid_id: simple: handledtechniques keys: {} overwrite: {} sort_by: {} unpack_nested_elements: {} separatecontext: false skipunavailable: false task: brand: "" description: Creates a Grid table from items or key-value pairs. id: 9f75e6ad-e9f6-42e8-8510-b6751e725dd2 iscommand: false name: Set grid field script: SetGridField type: regular version: -1 taskid: 9f75e6ad-e9f6-42e8-8510-b6751e725dd2 timertriggers: [] type: regular view: |- { "position": { "x": 50, "y": 1650 } } version: -1 view: |- { "linkLabelsPosition": {}, "paper": { "dimensions": { "height": 1845, "width": 380, "x": 50, "y": 50 } } } tests: - No tests (auto formatted) fromversion: 6.5.0