Microsoft Sentinel Analytic Rules
cloudbrothers.infoAzure Sentinel RepoToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

OCI - Inbound SSH connection

Back
Ideb6e07a1-2895-4c55-9c27-ac84294f0e46
RulenameOCI - Inbound SSH connection
DescriptionDetects inbound SSH connection.
SeverityMedium
TacticsInitialAccess
TechniquesT1190
Required data connectorsOracleCloudInfrastructureLogsConnector
KindScheduled
Query frequency1h
Query period1h
Trigger threshold0
Trigger operatorgt
Source Urihttps://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIInboundSSHConnection.yaml
Version1.0.0
Arm templateeb6e07a1-2895-4c55-9c27-ac84294f0e46.json
Deploy To Azure
OCILogs
| where EventType contains 'vcn.flowlogs'
| where data_action_s =~ 'ACCEPT'
| where ipv4_is_private(DstIpAddr)
| where ipv4_is_private(SrcIpAddr) == False
| where DstPortNumber == 22
| extend IPCustomEntity = DstIpAddr
triggerThreshold: 0
entityMappings:
- entityType: IP
  fieldMappings:
  - identifier: Address
    columnName: IPCustomEntity
requiredDataConnectors:
- dataTypes:
  - OCILogs
  connectorId: OracleCloudInfrastructureLogsConnector
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Oracle Cloud Infrastructure/Analytic Rules/OCIInboundSSHConnection.yaml
name: OCI - Inbound SSH connection
relevantTechniques:
- T1190
status: Available
version: 1.0.0
queryPeriod: 1h
kind: Scheduled
id: eb6e07a1-2895-4c55-9c27-ac84294f0e46
query: |
  OCILogs
  | where EventType contains 'vcn.flowlogs'
  | where data_action_s =~ 'ACCEPT'
  | where ipv4_is_private(DstIpAddr)
  | where ipv4_is_private(SrcIpAddr) == False
  | where DstPortNumber == 22
  | extend IPCustomEntity = DstIpAddr  
description: |
    'Detects inbound SSH connection.'
queryFrequency: 1h
severity: Medium
triggerOperator: gt
tactics:
- InitialAccess