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