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