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
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