union corelight_conn, corelight_conn_red
| where local_orig == true
| where local_resp == false
| where history hasprefix 'Sh' and service hasprefix 'smb'
name: Corelight - Forced External Outbound SMB
id: 73f23aa2-5cc4-4507-940b-75c9092e9e01
description: |
'Detects SMB requests that originate internally and communicate with an external IP address.'
triggerThreshold: 0
entityMappings:
- fieldMappings:
- columnName: id_orig_h
identifier: Address
entityType: IP
version: 2.1.0
triggerOperator: gt
query: |
union corelight_conn, corelight_conn_red
| where local_orig == true
| where local_resp == false
| where history hasprefix 'Sh' and service hasprefix 'smb'
tactics:
- CredentialAccess
kind: Scheduled
queryFrequency: 1h
severity: Medium
queryPeriod: 1h
requiredDataConnectors:
- dataTypes:
- Corelight_v2_conn
- Corelight_v2_conn_red
- corelight_conn
- corelight_conn_red
connectorId: Corelight
status: Available
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Corelight/Analytic Rules/CorelightForcedExternalOutboundSMB.yaml
relevantTechniques:
- T1187