Blocklisted Source Logs In

medium Correlation T1078 Initial Access

A source on an ET reputation list (CINS, Spamhaus DROP, known compromised hosts) logs in to Cowrie within the same hour as Suricata flags it. The lists alone fire on a hundred-odd addresses a day, mostly probing database ports; joining them to a successful login keeps the few that got a shell. Buckets are fixed hours, so a pair that straddles a boundary is missed.

Tested

Fires on 4 attack events in match.jsonl (2 groups) and stays silent on 14 events in nomatch.jsonl. See the test events.

Seen on the honeypot

In the last 30 days (as of 2026-12-05 00:23:53 UTC) this rule raised 922 alerts covering 28,445 sessions, first on 2026-11-09 and last on 2026-12-05.

Counted by running this rule's Sigma logic on the honeypot's raw logs every hour.

False positives

Sigma

title: Suricata IP Reputation Alert
name: suricata_reputation
id: 7fd2dd6e-2f56-4650-a5d3-75006e0288bd
status: experimental
description: Base rule for the blocklisted-source-login correlation. ET's CINS, DROP and COMPROMISED lists.
author: Estul Lachin
date: 2026-11-10
logsource:
  product: suricata
detection:
  selection:
    signature|startswith:
      - 'ET CINS '
      - 'ET DROP '
      - 'ET COMPROMISED '
  condition: selection
level: informational
---
title: Cowrie Successful Login (Reputation Correlation)
name: cowrie_login_success
id: bbc6bc1b-35ec-4dba-b467-da1d659468a9
status: experimental
description: |
  Base rule for the blocklisted-source-login correlation.
  Excludes logins that aren't credentials: a scanner sending HTTP, SIP or RTSP to the Telnet port,
  whose request line Cowrie records as the username, and an empty username, which is how Cowrie records
  a Telnet login bypass (USER=-f root; telnet_exploit_attempt covers that). Evidence: the Honeypot #1
  backlog cleanup of 2026-11-14 closed 11 incidents raised on such logins as false positives; over the
  14 days before, 83 probe and 22 empty-username logins, none with a credential-like pair.
author: Estul Lachin
date: 2026-11-10
logsource:
  product: cowrie
detection:
  selection:
    eventid: cowrie.login.success
  probe_method:
    username|re: '^(GET|POST|HEAD|PUT|DELETE|OPTIONS|CONNECT|PATCH) '
  probe_version:
    username|contains:
      - 'HTTP/1.'
      - 'SIP/2.0'
      - 'RTSP/1.'
  # Three forms, so the evaluator, Splunk and KQL agree: Splunk's rex can't capture an empty
  # string (so "" needs its own value), and a missing username is null in the evaluator and Splunk.
  empty_username:
    - username|re: '^\s*$'
    - username: ''
    - username: null
  condition: selection and not (probe_method or probe_version or empty_username)
level: informational
---
title: Blocklisted Source Logs In
id: f43d56d0-fad2-4a84-a60f-bcdae35dec14
status: experimental
description: |
  A source on an ET reputation list (CINS, Spamhaus DROP, known compromised hosts) logs in to Cowrie
  within the same hour as Suricata flags it. The lists alone fire on a hundred-odd addresses a day,
  mostly probing database ports; joining them to a successful login keeps the few that got a shell.
  Buckets are fixed hours, so a pair that straddles a boundary is missed.
references:
  - https://attack.mitre.org/techniques/T1078/
author: Estul Lachin
date: 2026-11-10
tags:
  - attack.initial-access
  - attack.t1078
correlation:
  type: temporal
  rules:
    - suricata_reputation
    - cowrie_login_success
  group-by:
    - src_ip
  timespan: 1h
falsepositives:
  - A legitimate user behind an address that shares a reputation listing (CGNAT, a VPN exit)
level: medium

rules/blocklisted_source_login.yml

Splunk SPL

``` Blocklisted Source Logs In. Generated from rules/blocklisted_source_login.yml by tools/build.py; do not edit. ```
| multisearch
[ search index=honeypot sourcetype=suricata:alert signature IN ("ET CINS *", "ET DROP *", "ET COMPROMISED *") | eval event_type="suricata_reputation" ]
[ search index=honeypot sourcetype=cowrie:json 
| rex field=username "(?<usernameMatch>^(GET|POST|HEAD|PUT|DELETE|OPTIONS|CONNECT|PATCH) )"
| eval usernameCondition=if(isnotnull(usernameMatch), "true", "false")
| rex field=username "(?<usernameMatch2>^\\s*$)"
| eval usernameCondition2=if(isnotnull(usernameMatch2), "true", "false")
| search eventid="cowrie.login.success" NOT (usernameCondition="true" OR username IN ("*HTTP/1.*", "*SIP/2.0*", "*RTSP/1.*") OR usernameCondition2="true" OR username="" OR NOT username=*) | eval event_type="cowrie_login_success" ]
| bin _time span=1h
| stats dc(event_type) as event_type_count by _time src_ip
| search event_type_count >= 2

Verified in Splunk against the test events. dist/spl/blocklisted_source_login.spl

Microsoft Sentinel KQL

// Blocklisted Source Logs In. Generated from rules/blocklisted_source_login.yml by tools/build.py; do not edit.
union
    (Suricata_CL | where signature startswith "ET CINS " or signature startswith "ET DROP " or signature startswith "ET COMPROMISED " | extend event_type = "suricata_reputation"),
    (Cowrie_CL | where eventid =~ "cowrie.login.success" and (not((username matches regex "^(GET|POST|HEAD|PUT|DELETE|OPTIONS|CONNECT|PATCH) " or (username contains "HTTP/1." or username contains "SIP/2.0" or username contains "RTSP/1.") or (username matches regex "^\\s*$" or username =~ "" or isnull(username))))) | extend event_type = "cowrie_login_success")
| summarize event_type_count = dcount(event_type) by bin(TimeGenerated, 1h), src_ip
| where event_type_count >= 2

For the custom tables Cowrie_CL (Cowrie's field names) and Suricata_CL (Suricata's alerts, flattened to one row each), joined by src_ip. Verified in Microsoft Sentinel against the test events, and deployed there as a scheduled analytics rule that runs every 15 minutes on the live honeypot feed. dist/kql/blocklisted_source_login.kql · analytics rule