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