Block IP - Generic v3

This playbook blocks malicious IP addresses using all integrations that are enabled. The direction of the traffic that will be blocked is determined by the XSOAR user (and set by default to outgoing) Note the following: - some of those integrations require specific parameters to run, which are based on the playbook inputs. Also, certain integrations use FW rules or appended network objects. - Note that the appended network objects should be specified in blocking rules inside the system later on. Supported integrations for this playbook [Network security products such as FW/WAF/IPs/etc.]: * Check Point Firewall * Palo Alto Networks PAN-OS * Zscaler * FortiGate * Aria Packet Intelligence * Cisco Firepower * Cisco Secure Cloud Analytics * Cisco ASA * Akamai WAF * F5 SilverLine * ThreatX * Signal Sciences WAF * Sophos Firewall.

Common Playbooks · 77 tasks · 16 inputs · 17 outputs

Inputs

  • IP — An array of malicious IPs to block. Enter a comma-separated list of IPs (i.e.: 1.1.1.1,2.2.2.2).
  • CustomBlockRule — This input determines whether Palo Alto Networks Panorama or Firewall Custom Block Rules are used. Specify "True" to create new Custom Block Rules (2 FW rules inside the PAN-OS device). For "False" - no rules will be created.
  • LogForwarding — Panorama log forwarding object name. Indicate what type of Log Forwarding setting will be specified in the PAN-OS custom rules.
  • AutoCommit — This input determines whether to commit the configuration automatically on PAN-OS devices and other FWs. Yes - Commit automatically. No - Commit manually.
  • StaticAddressGroup — This input determines whether Palo Alto Networks Panorama or Firewall Static Address Groups are used. Specify the Static Address Group name for IPs list handling.
  • Tag — Insert a tag name with which indicators will get tagged. This tag can be used later in the External Dynamic Lists integration by using the tag for filtering IPs in the indicator query.
  • DAG — This input determines whether Palo Alto Networks Panorama or Firewall Dynamic Address Groups are used. Determine the Dynamic Address Group tag for IPs list handling.
  • UserVerification — Possible values: True/False. Default: True. Whether to provide user verification for blocking those IPs. False - No prompt will be displayed to the user. True - The server will ask the user for blocking verification and will display the blocking list.
  • InternalRange — A list of internal IP ranges to check IP addresses against. The comma-separated list should be provided in CIDR notation. For example, a list of ranges would be: "172.16.0.0/12,10.0.0.0/8,192.168.0.0/16" (without quotes).
  • SiteName — Signal Sciences WAF - Enter the site name for the integration to be applied. The site name can be found in your instance console.
  • AkamaiNetworkListID — Akamai's WAF network list ID, which is mandatory to be mentioned for the integration. The chosen IPs will be added to this ID.
  • InputEnrichment — Possible values: True/False . Default: False Enrich the input IP address/es with reputation commands.
  • RuleName — The rule name/description that will be presented on the created rule in certain integrations (if there is a need). The supported integrations: PAN-OS, CheckPoint. Default input- "XSOAR - Block IP playbook - ${incident.id}"
  • RuleDirection — Determine if a newly created rule should be with the network direction of outbound or inbound blocked traffic. Possible values: inbound or outbound Default: outbound
  • DAGName — This input determines whether Palo Alto Networks Panorama or Firewall Dynamic Address Groups are used. Determine the Dynamic Address Group name for IPs list handling.
  • Folder — For prisma SASE usage - Specify the scope for a newly created security rule to be applied. Remember, this input will only be used when there is no input to the CategoryName. Default: Shared

Outputs

  • Aria.BlockDestSubnet.Rule — The rule name/ID which was created in the system for this playbook.
  • Aria.BlockDestSubnet.Status — The status of the command that created the rule above.
  • Stealthwatch.IP.id — The ID of the object created in Cisco Secure Cloud Analytics.
  • Stealthwatch.IP.identifier — The value of the object created in Cisco Secure Cloud Analytics.
  • CiscoASA.Rules.ID — The rule ID that was created in Cisco ASA for this playbook.
  • CiscoASA.Rules.Source — The rule's source object that was set in the associated rule.
  • CiscoASA.Rules.Dest — The rule's destination object that was set in the associated rule.
  • CiscoASA.Rules.IsActive — The rule's state that was set in the associated rule.
  • SigSciences.Corp.Site.Blacklist.ID — Signal Sciences created rule ID.
  • SigSciences.Corp.Site.Blacklist.Source — Signal Sciences blocked address in a dedicated rule.
  • SigSciences.Corp.Site.Blacklist.CreatedBy — Signal Sciences - the blocking rule's creator name.
  • PrismaSase — The root context key for Prisma SASE integration output.
  • PrismaSase.AddressGroup — The Prisma Access Address group object.
  • PrismaSase.SecurityRule — Created security rule.
  • PrismaSase.SecurityRule.profile_setting — The Security rule group object in the rule.
  • PrismaSase.CandidateConfig — Configuration job object.
  • PrismaSase.Address — Created address object.

Commands used

akamai-add-elements-to-network-list appendIndicatorField aria-block-dest-subnet cisco-asa-create-rule createNewIndicator enrichIndicators f5-silverline-ip-object-add fortigate-ban-ip sigsci-blacklist-add-ip sw-block-domain-or-ip threatx-blacklist-ip threatx-block-ip zscaler-blacklist-ip

Flowchart

yes yes yes yes yes yes yes yes yes yes yes yes YES yes yes yes yes yes yes yes yes yes yes yes yes Start Start Done Done Block IPs Block IPs Is Check Point Firewall enabled? - IsIntegrationAvailable Is Check Point Firewall e... IsIntegrationAvailable Is there an IP to block? Is there an IP to block? Is Zscaler enabled? - IsIntegrationAvailable Is Zscaler enabled? IsIntegrationAvailable Block IP with Zscaler - zscaler-blacklist-ip Block IP with Zscaler zscaler-blacklist-ip PAN-OS - Block IP - Custom Block Rule - PAN-OS - Block IP - Custom Block Rule PAN-OS - Block IP - Custo... PAN-OS - Block IP - Custom Bl... PAN-OS - Block IP - Static Address Group - PAN-OS - Block IP - Static Address Group PAN-OS - Block IP - Stati... PAN-OS - Block IP - Static Ad... PAN-OS PAN-OS CheckPoint FW CheckPoint FW Zscaler Zscaler PAN-OS DAG Configuration - PAN-OS DAG Configuration PAN-OS DAG Configuration PAN-OS DAG Configuration Use Custom Block Rules? Use Custom Block Rules? Use Static Address Group? Use Static Address Group? Use External Dynamic List? Use External Dynamic List? Use Dynamic Address Group? Use Dynamic Address Group? Fortinet Fortinet Is FortiGate enabled? - IsIntegrationAvailable Is FortiGate enabled? IsIntegrationAvailable FortiGate Ban IP - fortigate-ban-ip FortiGate Ban IP fortigate-ban-ip Checkpoint - Block IP - Custom Block Rule - Checkpoint - Block IP - Custom Block Rule Checkpoint - Block IP - C... Checkpoint - Block IP - Custo... F5 Silverline F5 Silverline F5 Silverline - add IP to deny list - f5-silverline-ip-object-add F5 Silverline - add IP to... f5-silverline-ip-object-add Is F5 Silverline enabled? - IsIntegrationAvailable Is F5 Silverline enabled? IsIntegrationAvailable Are there IPs in Inputs? Are there IPs in Inputs? Are there any Malicious IPs? Are there any Malicious IPs? Append Context List with IPs - SetAndHandleEmpty Append Context List with IPs SetAndHandleEmpty User Verification Prompt User Verification Prompt Is User Verification required? Is User Verification requ... Analyst Verification Prompt Analyst Verification Prompt Are there any Suspicious IPs? Are there any Suspicious ... Append Context List with IPs - SetAndHandleEmpty Append Context List with IPs SetAndHandleEmpty Finalize Verdict For IP/s Finalize Verdict For IP/s Enrich Indicators - enrichIndicators Enrich Indicators enrichIndicators Cisco ASA Cisco ASA Is Cisco ASA enabled? - IsIntegrationAvailable Is Cisco ASA enabled? IsIntegrationAvailable Cisco ASA - Create Blocking Rule - cisco-asa-create-rule Cisco ASA - Create Blocki... cisco-asa-create-rule Is Cisco Secure Cloud Analytics enabled? - IsIntegrationAvailable Is Cisco Secure Cloud Ana... IsIntegrationAvailable Cisco Secure Cloud Analytics - Add IP to Block List - sw-block-domain-or-ip Cisco Secure Cloud Analyt... sw-block-domain-or-ip Cisco Secure Cloud Analytics Cisco Secure Cloud Analytics Is Cisco Firepower enabled? - IsIntegrationAvailable Is Cisco Firepower enabled? IsIntegrationAvailable Cisco Firepower Cisco Firepower Akamai WAF Akamai WAF Is Akamai WAF enabled? - IsIntegrationAvailable Is Akamai WAF enabled? IsIntegrationAvailable Akamai WAF - Add IP to a block list - akamai-add-elements-to-network-list Akamai WAF - Add IP to a ... akamai-add-elements-to-networ... ThreatX ThreatX Is ThreatX enabled? - IsIntegrationAvailable Is ThreatX enabled? IsIntegrationAvailable ThreatX - Block IP for 30 min - threatx-block-ip ThreatX - Block IP for 30... threatx-block-ip Signal Sciences WAF Signal Sciences WAF Is Signal Sciences WAF enabled? - IsIntegrationAvailable Is Signal Sciences WAF e... IsIntegrationAvailable Is Signal Sciences WAF - Blacklist IPs - sigsci-blacklist-add-ip Is Signal Sciences WAF ... sigsci-blacklist-add-ip Sophos Firewall Sophos Firewall ARIA Packet Intelligence - Blacklist IPs - aria-block-dest-subnet ARIA Packet Intelligence ... aria-block-dest-subnet Is Sophos Firewall enabled? - IsIntegrationAvailable Is Sophos Firewall enabled? IsIntegrationAvailable Is ARIA Packet Intelligence enabled? - IsIntegrationAvailable Is ARIA Packet Intelligen... IsIntegrationAvailable ARIA Packet Intelligence ARIA Packet Intelligence Check if there are internal IP addresses - IsIPInRanges Check if there are intern... IsIPInRanges Append Context List with Input IPs - SetAndHandleEmpty Append Context List with ... SetAndHandleEmpty Re-set the block list [Inputs] - SetAndHandleEmpty Re-set the block list [In... SetAndHandleEmpty Cisco FirePower- Append network group object - Cisco FirePower- Append network group object Cisco FirePower- Append n... Cisco FirePower- Append netwo... Re-set the block list [Inputs] - SetAndHandleEmpty Re-set the block list [In... SetAndHandleEmpty Re-set the block list [Malicious] - SetAndHandleEmpty Re-set the block list [Ma... SetAndHandleEmpty Re-set the block list [Suspicious] - SetAndHandleEmpty Re-set the block list [Su... SetAndHandleEmpty ThreatX - add IP to a block list - threatx-blacklist-ip ThreatX - add IP to a blo... threatx-blacklist-ip Sophos Firewall - Block IP - Sophos Firewall - Block IP Sophos Firewall - Block IP Sophos Firewall - Block IP Are There Any Internal IPs? Are There Any Internal IPs? No IP to block No IP to block Analyst Verification Prompt (without IP Internal List) Analyst Verification Prom... Should Inputs be enriched? Should Inputs be enriched? Append Internal IPs to a possible block list - SetAndHandleEmpty Append Internal IPs to a ... SetAndHandleEmpty Re-set the block list [Internal Address] - SetAndHandleEmpty Re-set the block list [In... SetAndHandleEmpty Update Indicator Tag for EDL - appendIndicatorField Update Indicator Tag for EDL appendIndicatorField EDL/EIS EDL/EIS Create IP indicators in the system - createNewIndicator Create IP indicators in t... createNewIndicator Prisma SASE Prisma SASE Prisma SASE - Block IP - Prisma SASE - Block IP Prisma SASE - Block IP Prisma SASE - Block IP Is Prisma SASE enabled? - IsIntegrationAvailable Is Prisma SASE enabled? IsIntegrationAvailable