Detection rules › Panther
Wiz Defend Alert Passthrough Rule
This rule enriches and contextualizes security alerts generated by Wiz.
Rule body yaml
AnalysisType: rule
RuleID: Wiz.Defend.Alert.Passthrough
Description: This rule enriches and contextualizes security alerts generated by Wiz.
DisplayName: Wiz Defend Alert Passthrough Rule
Runbook: Review the Wiz alert details to determine what malicious behavior was detected, and whether or not it was blocked.
Reference: https://www.wiz.io/product
Enabled: true
Filename: wiz_defend_passthrough.py
Severity: Medium
LogTypes:
- Wiz.Detections
DedupPeriodMinutes: 720
Threshold: 1
Tests:
- Name: High-Severity Alert
ExpectedResult: true
Log:
{
"p_any_ip_addresses": [
"1.1.1.1"
],
"p_any_actor_ids": [
"d16d839c-e1ea-5a8f-ac34-01750288bb6f"
],
"p_any_domain_names": [
"app.wiz.io",
"console.aws.amazon.com"
],
"p_event_time": "2025-10-23 23:15:59.818948801",
"p_log_type": "Wiz.Detections",
"p_parse_time": "2025-10-23 23:24:46.965519396",
"p_row_id": "0000000000fa6bce74e7bf1b819f4e4c",
"p_schema_version": 0,
"p_source_id": "26c0c4b6-781c-40fa-9bc4-5bd16f8e5dda",
"p_source_label": "your-wiz-webhook",
"p_udm": {},
"actors": [
{
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
}
],
"cloudAccounts": [
{
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345-6de7-581a-9263-24f9d2172a05",
"name": "Your-Account"
}
],
"createdAt": "2025-10-23 23:15:59.818948801",
"description": "An EC2 instance has an unprotected port 1433 that is being probed by a known malicious host. This rule's final severity is assigned dynamically according to the severity assigned by GuardDuty.",
"id": "3a65eac1-b8ff-5eb8-8727-5e6cde9c39f3",
"mitreTactics": [
"TA0043",
"TA0007",
"TA0007"
],
"mitreTechniques": [
"TA0043-T1595",
"TA0007-T1046",
"TA0007-T1046"
],
"primaryActor": {
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
},
"primaryResource": {
"cloudAccount": {
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345678-1ab2-111a-1234-1234f9d123a01"
},
"externalId": "i-ABCDEF1234567890A",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-EC2-Instance",
"nativeType": "EC2 Instance",
"region": "eu-central-1",
"type": "VIRTUAL_MACHINE"
},
"resources": [
{
"cloudAccount": {
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345678-1ab2-111a-1234-1234f9d123a01",
"name": "Your-Account"
},
"externalId": "i-ABCDEF1234567890A",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-EC2-Instance",
"nativeType": "EC2 Instance",
"region": "eu-central-1",
"status": "Active",
"type": "VIRTUAL_MACHINE"
}
],
"severity": "HIGH",
"tdrId": "cer-awsguardduty-recon-ec2-portprobeunprotectedport",
"tdrSource": "GUARD_DUTY",
"threatId": "9a3032dc-4697-5d6d-b0f0-905668f63781",
"threatURL": "https://app.wiz.io/issues#~(issue~'9a3032dc-4697-5d6d-b0f0-905668f63781)",
"timeframe": {
"end": "2025-10-23 22:53:23.795000000",
"start": "2025-10-23 22:53:23.795000000"
},
"title": "Recon:EC2/PortProbeUnprotectedPort",
"trigger": {
"ruleId": "73ef6bc5-556b-4317-b0bf-6f5f0aa9605b",
"ruleName": "wiz-defend-detections",
"source": "DETECTIONS",
"type": "Created"
},
"triggeringEvents": [
{
"actor": {
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
},
"actorIP": "1.1.1.1",
"actorIPMeta": {
"autonomousSystemNumber": 12555,
"autonomousSystemOrganization": "Data-center IMAQLIQ Ltd.",
"country": "Russia",
"customIPRanges": [],
"isForeign": true,
"relatedAttackGroupNames": [],
"reputation": "Suspicious",
"reputationSource": "Recorded Future"
},
"category": "Detection",
"cloudPlatform": "AWS",
"cloudProviderUrl": "https://console.aws.amazon.com/cloudtrail/home?region=eu-central-1#/events/arn:aws:guardduty:eu-central-1:111111111111:detector/12345678910/finding/12345678910",
"description": "An EC2 instance has an unprotected port which is being probed by a known malicious host.",
"eventTime": "2025-10-23 22:53:23.795000000",
"externalId": "arn:aws:guardduty:eu-central-1:111111111111:detector/12345678910/finding/12345678910",
"id": "0068fab1-e301-8ec1-a4e2-9e708323f373",
"name": "GuardDuty: Recon:EC2/PortProbeUnprotectedPort",
"origin": "AWS_GUARD_DUTY",
"resources": [
{
"externalId": "i-ABCDEF1234567890A",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-Machine",
"nativeType": "virtualMachine",
"region": "eu-central-1",
"type": "VIRTUAL_MACHINE"
}
],
"source": "guardduty",
"status": "Success"
}
],
"triggeringEventsCount": 1
}
- Name: Low-Severity Alert
ExpectedResult: true
Log:
{
"p_any_ip_addresses": [
"1.1.1.1"
],
"p_any_actor_ids": [
"d16d839c-e1ea-5a8f-ac34-01750288bb6f"
],
"p_any_domain_names": [
"app.wiz.io",
"console.aws.amazon.com"
],
"p_event_time": "2025-10-23 23:15:59.818948801",
"p_log_type": "Wiz.Detections",
"p_parse_time": "2025-10-23 23:24:46.965519396",
"p_row_id": "0000000000fa6bce74e7bf1b819f4e4c",
"p_schema_version": 0,
"p_source_id": "26c0c4b6-781c-40fa-9bc4-5bd16f8e5dda",
"p_source_label": "your-wiz-webhook",
"p_udm": {},
"actors": [
{
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
}
],
"cloudAccounts": [
{
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345-6de7-581a-9263-24f9d2172a05",
"name": "Your-Account"
}
],
"createdAt": "2025-10-23 23:15:59.818948801",
"description": "An EC2 instance has an unprotected port 1433 that is being probed by a known malicious host. This rule's final severity is assigned dynamically according to the severity assigned by GuardDuty.",
"id": "3a65eac1-b8ff-5eb8-8727-5e6cde9c39f3",
"mitreTactics": [
"TA0043",
"TA0007",
"TA0007"
],
"mitreTechniques": [
"TA0043-T1595",
"TA0007-T1046",
"TA0007-T1046"
],
"primaryActor": {
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
},
"primaryResource": {
"cloudAccount": {
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345678-1ab2-111a-1234-1234f9d123a01"
},
"externalId": "i-ABCDEF1234567890A",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-EC2-Instance",
"nativeType": "EC2 Instance",
"region": "eu-central-1",
"type": "VIRTUAL_MACHINE"
},
"resources": [
{
"cloudAccount": {
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345678-1ab2-111a-1234-1234f9d123a01",
"name": "Your-Account"
},
"externalId": "i-ABCDEF1234567890A",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-EC2-Instance",
"nativeType": "EC2 Instance",
"region": "eu-central-1",
"status": "Active",
"type": "VIRTUAL_MACHINE"
}
],
"severity": "LOW",
"tdrId": "cer-awsguardduty-recon-ec2-portprobeunprotectedport",
"tdrSource": "GUARD_DUTY",
"threatId": "9a3032dc-4697-5d6d-b0f0-905668f63781",
"threatURL": "https://app.wiz.io/issues#~(issue~'9a3032dc-4697-5d6d-b0f0-905668f63781)",
"timeframe": {
"end": "2025-10-23 22:53:23.795000000",
"start": "2025-10-23 22:53:23.795000000"
},
"title": "Recon:EC2/PortProbeUnprotectedPort",
"trigger": {
"ruleId": "73ef6bc5-556b-4317-b0bf-6f5f0aa9605b",
"ruleName": "wiz-defend-detections",
"source": "DETECTIONS",
"type": "Created"
},
"triggeringEvents": [
{
"actor": {
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
},
"actorIP": "1.1.1.1",
"actorIPMeta": {
"autonomousSystemNumber": 12555,
"autonomousSystemOrganization": "Data-center IMAQLIQ Ltd.",
"country": "Russia",
"customIPRanges": [],
"isForeign": true,
"relatedAttackGroupNames": [],
"reputation": "Suspicious",
"reputationSource": "Recorded Future"
},
"category": "Detection",
"cloudPlatform": "AWS",
"cloudProviderUrl": "https://console.aws.amazon.com/cloudtrail/home?region=eu-central-1#/events/arn:aws:guardduty:eu-central-1:111111111111:detector/12345678910/finding/12345678910",
"description": "An EC2 instance has an unprotected port which is being probed by a known malicious host.",
"eventTime": "2025-10-23 22:53:23.795000000",
"externalId": "arn:aws:guardduty:eu-central-1:111111111111:detector/12345678910/finding/12345678910",
"id": "0068fab1-e301-8ec1-a4e2-9e708323f373",
"name": "GuardDuty: Recon:EC2/PortProbeUnprotectedPort",
"origin": "AWS_GUARD_DUTY",
"resources": [
{
"externalId": "i-ABCDEF1234567890A",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-Machine",
"nativeType": "virtualMachine",
"region": "eu-central-1",
"type": "VIRTUAL_MACHINE"
}
],
"source": "guardduty",
"status": "Success"
}
],
"triggeringEventsCount": 1
}
- Name: Informational Alert
ExpectedResult: false
Log:
{
"p_any_ip_addresses": [
"1.1.1.1"
],
"p_any_actor_ids": [
"d16d839c-e1ea-5a8f-ac34-01750288bb6f"
],
"p_any_domain_names": [
"app.wiz.io",
"console.aws.amazon.com"
],
"p_event_time": "2025-10-23 23:15:59.818948801",
"p_log_type": "Wiz.Detections",
"p_parse_time": "2025-10-23 23:24:46.965519396",
"p_row_id": "1a6881323bddafbad7bda7da299bd206",
"p_schema_version": 0,
"p_source_id": "26c0c4b6-781c-40fa-9bc4-5bd16f8e5dda",
"p_source_label": "your-wiz-webhook",
"p_udm": {},
"actors": [
{
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
}
],
"cloudAccounts": [
{
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345-6de7-581a-9263-24f9d2172a05",
"name": "Your-Account"
}
],
"createdAt": "2025-10-23 23:15:59.818948801",
"description": "An EC2 instance has an unprotected port 1433 that is being probed by a known malicious host. This rule's final severity is assigned dynamically according to the severity assigned by GuardDuty.",
"id": "3a65eac1-b8ff-5eb8-8727-5e6cde9c39f3",
"mitreTactics": [
"TA0043",
"TA0007",
"TA0007"
],
"mitreTechniques": [
"TA0043-T1595",
"TA0007-T1046",
"TA0007-T1046"
],
"primaryActor": {
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
},
"primaryResource": {
"cloudAccount": {
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345678-1ab2-111a-1234-1234f9d123a01"
},
"externalId": "i-0cfdf6629c26e24da",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-EC2-Instance",
"nativeType": "EC2 Instance",
"region": "eu-central-1",
"type": "VIRTUAL_MACHINE"
},
"resources": [
{
"cloudAccount": {
"cloudPlatform": "AWS",
"externalId": 123456789,
"id": "12345678-1ab2-111a-1234-1234f9d123a01",
"name": "Your-Account"
},
"externalId": "i-0cfdf6629c26e24da",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-EC2-Instance",
"nativeType": "EC2 Instance",
"region": "eu-central-1",
"status": "Active",
"type": "VIRTUAL_MACHINE"
}
],
"severity": "INFORMATIONAL",
"tdrId": "cer-awsguardduty-recon-ec2-portprobeunprotectedport",
"tdrSource": "GUARD_DUTY",
"threatId": "9a3032dc-4697-5d6d-b0f0-905668f63781",
"threatURL": "https://app.wiz.io/issues#~(issue~'9a3032dc-4697-5d6d-b0f0-905668f63781)",
"timeframe": {
"end": "2025-10-23 22:53:23.795000000",
"start": "2025-10-23 22:53:23.795000000"
},
"title": "Recon:EC2/PortProbeUnprotectedPort",
"trigger": {
"ruleId": "73ef6bc5-556b-4317-b0bf-6f5f0aa9605b",
"ruleName": "wiz-defend-detections",
"source": "DETECTIONS",
"type": "Created"
},
"triggeringEvents": [
{
"actor": {
"externalId": "1.1.1.1",
"id": "d16d839c-e1ea-5a8f-ac34-01750288bb6f",
"name": "1.1.1.1",
"type": "NETWORK_ADDRESS"
},
"actorIP": "1.1.1.1",
"actorIPMeta": {
"autonomousSystemNumber": 12555,
"autonomousSystemOrganization": "Data-center IMAQLIQ Ltd.",
"country": "Russia",
"customIPRanges": [],
"isForeign": true,
"relatedAttackGroupNames": [],
"reputation": "Suspicious",
"reputationSource": "Recorded Future"
},
"category": "Detection",
"cloudPlatform": "AWS",
"cloudProviderUrl": "https://console.aws.amazon.com/cloudtrail/home?region=eu-central-1#/events/arn:aws:guardduty:eu-central-1:984186218765:detector/12345678910/finding/12345678910",
"description": "An EC2 instance has an unprotected port which is being probed by a known malicious host.",
"eventTime": "2025-10-23 22:53:23.795000000",
"externalId": "arn:aws:guardduty:eu-central-1:984186218765:detector/12345678910/finding/12345678910",
"id": "0068fab1-e301-8ec1-a4e2-9e708323f373",
"name": "GuardDuty: Recon:EC2/PortProbeUnprotectedPort",
"origin": "AWS_GUARD_DUTY",
"resources": [
{
"externalId": "i-0cfdf6629c26e24da",
"id": "12ab345c-678d-9efg-123h-45678a1a1111",
"name": "Your-Machine",
"nativeType": "virtualMachine",
"region": "eu-central-1",
"type": "VIRTUAL_MACHINE"
}
],
"source": "guardduty",
"status": "Success"
}
],
"triggeringEventsCount": 1
}
Detection logic
Condition
severity ne "INFORMATIONAL"
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
severity | ne |
|
Output fields
Fields the rule emits when it matches. Chronicle authors list these in the outcome block; they appear on the detection and $risk_score drives alerting. Sentinel / Defender XDR rules build them up through project / summarize / extend stages. Sentinel maps these into alert fields via entityMappings and customDetails; Defender XDR custom detections surface them as alert fields directly.
| Field | Source |
|---|---|
machine_id | primaryResource.externalId |
machine_type | primaryResource.type |
native_type | primaryResource.nativeType |
machine_name | primaryResource.name |
mitre_attack_techniques | mitreTechniques |
tdrId |