OpenCanary Application Logs: Detect SYN Port Scan Targets on a Hosted Node
Flags OpenCanary events indicating the host was probed with a TCP SYN port scan.
FreeReviewedSigma · High · v5
- Product
- opencanary
- Category
- application
- Author
- Marco Pedrinazzi (@pedrinazziM) (SigmaHQ), DRL 1.1
- Published
- 2026-01-06
- Updated
- 2026-07-31
ATT&CK techniques
DiscoveryRecon
Resource Dev
Initial Access
Execution
Persistence
Priv Esc
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies when an OpenCanary node is targeted by a TCP SYN port scan, based on application logs indicating scan activity (logtype 5001). SYN scanning is a common discovery technique used to enumerate open ports quickly before further exploitation. The detection relies on OpenCanary application telemetry that records the scan-related event type.
Reporting behind it
- opencanary.readthedocs.iohttps://opencanary.readthedocs.io/en/latest/starting/configuration.html#services-configuration
- github.comhttps://github.com/thinkst/opencanary/blob/a0896adfcaf0328cfd5829fe10d2878c7445138e/opencanary/logger.py#L52
- github.comhttps://github.com/SigmaHQ/sigma/blob/master/rules/application/opencanary/opencanary_portscan_syn_scan.yml
Changelog
v5- v5Candidate ingested via manual entry.2026-07-31
- v4Candidate ingested via manual entry.2026-07-31
- v3Candidate ingested via manual entry.2026-07-31
- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
opencanary-application-telemetry-syn-port-scan-targeting-a-host-974be8d2
title: "OpenCanary Application Logs: Detect SYN Port Scan Targets on a Hosted Node"
id: 527b7d7d-130c-44ce-9397-081ed5b0560a
status: experimental
description: This rule identifies when an OpenCanary node is targeted by a TCP SYN port scan, based on application logs indicating scan activity (logtype 5001). SYN scanning is a common discovery technique used to enumerate open ports quickly before further exploitation. The detection relies on OpenCanary application telemetry that records the scan-related event type.
references:
- https://opencanary.readthedocs.io/en/latest/starting/configuration.html#services-configuration
- https://github.com/thinkst/opencanary/blob/a0896adfcaf0328cfd5829fe10d2878c7445138e/opencanary/logger.py#L52
- https://github.com/SigmaHQ/sigma/blob/master/rules/application/opencanary/opencanary_portscan_syn_scan.yml
author: Marco Pedrinazzi (@pedrinazziM), Huntrule Team
date: 2026-01-06
tags:
- attack.discovery
- attack.t1046
logsource:
category: application
product: opencanary
detection:
selection:
logtype: 5001
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: 974be8d2-283e-4033-ab08-7505b84204d0
type: derived