OpenCanary: Detect NMAP OS Scan Targets via Application Logtype 5002
Alerts when OpenCanary records an NMAP OS scan event (logtype 5002), indicating host fingerprinting activity.
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 honeypot records an event indicating it was targeted by an NMAP OS scan. Fingerprinting services with OS detection can support later exploitation by revealing likely platforms and software versions. The detection relies on OpenCanary application telemetry, specifically log entries with logtype 5002.
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_nmap_os_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-nmap-os-scan-targeting-via-application-logtype-5002-e8a677fd
title: "OpenCanary: Detect NMAP OS Scan Targets via Application Logtype 5002"
id: 3c25c156-c7ac-47fc-b6f4-3fd124af6cc0
status: experimental
description: This rule identifies when an OpenCanary honeypot records an event indicating it was targeted by an NMAP OS scan. Fingerprinting services with OS detection can support later exploitation by revealing likely platforms and software versions. The detection relies on OpenCanary application telemetry, specifically log entries with logtype 5002.
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_nmap_os_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: 5002
condition: selection
falsepositives:
- Unlikely
level: high
license: DRL-1.1
related:
- id: e8a677fd-248c-4eab-94df-de2f6f645884
type: derived