~ / honeypot / go-bot-shell-probe
22 November 2026 · Updated 27 November · Honeypot investigation · 8 min read

Caught checking: how a Go SSH bot fingerprinted Cowrie in eight seconds

honeypotcowriesshevasionfingerprintinggo

A Spamhaus-DROP-listed host brute-forced root over SSH, got in with 123123, and spent every session running nonce-tagged shell-semantics tests. Cowrie failed two of them; the bot left without a payload, then came back twice and ran the identical probe again.

Update, 25 Nov 2026: the probe is still running, from more addresses. 2[.]57[.]122[.]209 (geolocated to Romania, AS47890; AbuseIPDB and Shodan name the same owner, TECHOFF SRV LIMITED, as for the two addresses above) ran the same check_ probe in 18 sessions between 23 Nov 01:10 and 25 Nov 21:07 CST, with 84 commands after three logins (!root, Password1 and admin). It is on Spamhaus DROP and has 36,916 AbuseIPDB reports. A fourth address, 2[.]57[.]122[.]150, shows the same client fingerprint 83 times and the check_ marker 6 times in the sensor's 30-day pivots. I have not opened it.

Across the four addresses the fingerprint index holds 229 records for this client in 30 days (HASSH 2ec37a7cc8daf20b10e1ad6221061ca5; these are index records, not sessions), and the check_ marker is on all four. The addresses sit in two networks, AS48090 and AS47890, and both are on Spamhaus DROP. One more address in the first /24, 195[.]178[.]110[.]78, logged in 18 times and ran 12 commands in the last seven days with different behavior (a cat /proc, and on 24 Nov a login that was validated and then left unused). I have not investigated it.

Update, 23 Nov 2026. A second address in the same /24, 195[.]178[.]110[.]217, ran the identical probe today. It guessed root and admin passwords (77 failed logins; root/123 and admin/password worked), opened 81 SSH sessions between 13:06 and 15:11 CST, and sent the same 42-command probe in two of them (84 commands, fresh nonces). Cowrie failed the same function-definition tests and the bot left without a payload. It has the same HASSH, the same AS and the same Spamhaus listing, and Shodan shows the same OpenSSH 8.9p1 on Ubuntu 22.04 on port 22. AbuseIPDB lists it at 100%, with 52,772 reports from 1,767 users.

This corrects the “Own data” row below, which said no other source IP used the probe. That was true when I wrote it on 22 Nov and it no longer is. Two addresses in one block running the same nonce-tagged tool is more likely one operator than coincidence, so I now read check_ as one operator's tooling, not one host's. A third address, 2[.]57[.]122[.]209, shares the HASSH (4 events) but not the probe; the fingerprint is low-weight, so I do not link it.

Update, 27 Nov 2026. A fifth address has run the check_ tool. 92[.]118[.]39[.]77 (AS47890, the same AS as 2[.]57[.]122[.]209 but a different /24; Spamhaus DROP) opened 24 SSH sessions between 21:55 and 22:50 CST today. It failed 21 root logins, was accepted twice, and ran 84 commands, all of them detection tests (check_ markers, arithmetic, $$, a shell function), and it left without a payload. It shows the same fingerprint (HASSH 2ec37a7c…, 23 index records) and my Sigma replay now lists five addresses for these commands. A neighbour, 92[.]118[.]39[.]75, made three sessions that morning (10:46 to 11:22) with the same fingerprint but no logins and no commands, so I have not seen the tool from it. Five addresses in two networks running the same nonce-tagged tool is more weight for one operator's tooling. It still says nothing about who that operator is.

TL;DR

Source 195[.]178[.]110[.]232, AS48090 (Techoff Srv Limited), BG. Listed on Spamhaus DROP
Client SSH-2.0-Go (Go x/crypto/ssh), HASSH 2ec37a7cc8daf20b10e1ad6221061ca5
Access 22 failed root guesses; root/123123 succeeded three times
Activity 53 SSH sessions over 90 minutes; three interactive sessions (17:08, 17:38, 17:57) each lasted 8 to 17 s and ran the same 42-command probe
Payload None. Every command was a test
Finding The bot validates five POSIX shell behaviors using random nonces. Cowrie mis-parsed arithmetic expansion and could not define a shell function. The bot left without deploying anything, and did not remember the verdict: it re-tested the same sensor twice
Reputation AbuseIPDB 100% (52,961 reports from 1,732 users in 90 days); IP block and its whole AS on Spamhaus DROP / ASN-DROP; 50 AlienVault OTX pulses, including other T-Pot sensors

Timeline

All times CST (UTC-6), 22 Nov 2026.

Time Event
17:01:33 First contact. Suricata during the window: ET SCAN NMAP -sS window 1024 (SYN scan) and ET DROP Spamhaus DROP Listed Traffic Inbound group 47
17:01 to 17:08 Root password guessing (!root, 111111, 123321, 1234, 12345, 123456, 1234567 and others failed); 123123 succeeded
17:08:07 to 15 Session 0c0ccdc9711f: 42 probe commands, then disconnect
17:38:00 to 17 Session fcfdd8136ba4: same login, same 42-command probe with fresh nonces and operands
17:57:55 to 58:03 Session 2833428905c0: third identical run
to 18:30:49 50 other SSH sessions in total (guessing and short connects), none with logged commands

The guess list is short and mostly numeric (123, 12345678, Password1, admin123, letmein joined later). This is a fast first pass that hands any hit to a second-stage checker, not a deep dictionary attack.

The repeat visits matter: the operator's pipeline re-validates hits instead of caching "this is a honeypot". Each run cost the bot about ten seconds and told it the same thing.

The probe

Every probe round generates a random 32-hex token T and runs six tests. Each one prints a line in the form check_T_<test>|<result>, so the operator's parser can match responses to the round even on a noisy shell:

Test Command (simplified) A real sh prints
small_control printf '\n%s|%s\n' check_T_small_control check_T the literal token (baseline)
small_math printf ... "$((668*453+30))" 302634
small_pid printf ... "$$" the shell's PID
small_positional set -- check_T_arg1 check_T_arg2; printf ... "$#|$1|$2" 2|check_T_arg1|check_T_arg2
small_function f_check_T() { printf ... "$1|$#"; }; f_check_T check_T_function_value check_T_function_value|1
small_done printf ... check_T_small_done end-of-round marker

The bot ran four rounds in two transport styles:

Running each test both ways matters because many honeypots and restricted shells handle sh -c and direct input differently. The nonces stop a honeypot from replaying canned answers, and the arithmetic uses fresh operands each round (668*453+30, 671*94+68, 258*7+87, 708*991+8 -> 302634, 63142, 1893, 701636), so the expected value cannot be hard-coded either.

Where Cowrie failed

From the session log, which records what Cowrie's parser did with each line:

1. Arithmetic expansion. Cowrie's command parser treated the $( of $((...)) as command substitution. It split the line and tried to run a command literally named (668*453+30; the remaining printf received a stray ) instead of 302634:

(668*453+30
printf '\n%s|%s\n' 'check_..._small_math' ")"

A real shell never shows this. The bot gets check_T_small_math|) back where it expected a six-digit number: a deterministic tell.

2. Shell functions. Every f_check_T() { ...; }; f_check_T ... line landed in Cowrie's failed-command list. The emulator has no function definitions, so the small_function line never prints.

3. Unverified. $$ and set -- did not error, but Cowrie's output for them was not logged in enough detail to say whether the values were plausible. The two failures above are already enough for the bot.

After the fourth round and its transport_done marker the bot disconnected: no reconnaissance, no download, no persistence. On a real host the same flow would presumably continue to a payload; on this sensor the visible kill chain ends at T1497.

Threat intelligence

Collected automatically by the sensor's investigation tooling on 22 Nov 2026:

Source Result
AbuseIPDB 100% confidence, 52,961 reports from 1,732 users in 90 days; data center / hosting
Spamhaus IP inside a DROP block (SBL677468); AS48090 itself on ASN-DROP
GreyNoise Malicious internet scanner, active the same day
AlienVault OTX 50 pulses, several of them other public T-Pot honeypot feeds
VirusTotal 16 of 92 engines flag the IP
Shodan Stock Ubuntu 22.04 server: only OpenSSH 8.9p1 on port 22, tagged scanner; geolocated to Lelystad, NL
Own data (30 days) On 22 Nov: no other source IP used the check_ probe tool. Update, 23 Nov: 195[.]178[.]110[.]217, in the same /24, ran it (see the update at the top)

Read together: a high-volume, criminal-hosted SSH scanner that is well known to the community and hits honeypots worldwide. None of that changes the finding below; it explains why the bot is careful.

Two details are worth noting:

Assessment

What to change on the sensor (options, not yet applied)

  1. Accept it. The login, credential pair, client fingerprint and probe design are already the valuable part, and this write-up is the result.
  2. Cowrie proxy backend. Cowrie can forward authenticated sessions to a real, disposable backend VM while still logging everything. That defeats semantic checks like these, at the cost of running real attacker code: it would need its own isolated, snapshot-and-revert VM inside the DMZ with no outbound internet except through a controlled sinkhole.
  3. Detection rule on the sensor itself. Tag any session containing check_[0-9a-f]{32}_ so these probe-only sessions are separated from real intrusions in Kibana and in the break-in alerts.

MITRE ATT&CK

ID Technique Evidence
T1595.001 Active Scanning: Scanning IP Blocks Nmap-style SYN scan before the SSH attempts
T1110.001 Brute Force: Password Guessing 22 root guesses
T1078.003 Valid Accounts: Local Accounts root/123123
T1059.004 Command and Scripting Interpreter: Unix Shell 42 shell commands per session
T1497.001 Virtualization/Sandbox Evasion: System Checks Nonce-tagged shell-semantics tests, disconnect on failure

Detection ideas (for real systems)

IOCs

ipv4    195[.]178[.]110[.]232    source (AS48090, Spamhaus DROP)
ipv4    195[.]178[.]110[.]217    second source, 23 Nov (same /24, same probe, same HASSH)
ipv4    2[.]57[.]122[.]209       third source, 23 to 25 Nov (AS47890; same probe, same HASSH; Spamhaus DROP)
ipv4    2[.]57[.]122[.]150       same HASSH (83 index records) and check_ marker (6), 30 days; not opened
ipv4    92[.]118[.]39[.]77       fifth source, 27 Nov 21:55 to 22:50 CST (AS47890; same probe, same HASSH; Spamhaus DROP); 24 sessions, 84 commands
ipv4    92[.]118[.]39[.]75       same HASSH, 27 Nov morning, 3 sessions; no logins, no commands, no check_ seen
banner  SSH-2.0-Go
hassh   2ec37a7cc8daf20b10e1ad6221061ca5   (low specificity; shared by Go clients)
regex   check_[0-9a-f]{32}_(small_(control|math|pid|positional|function|done)|transport_done)
cred    root / 123123

References

Captured on a deliberately exposed honeypot. All indicators are defanged; do not visit them. Sensor location and addressing are withheld. Attribution is limited to what the evidence supports.

← All honeypot investigationstonyjucha.com