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