Shell Probes Exposed a Potential Cowrie Honeypot Fingerprint

· Original article ↗

Summary

Controlled tests found a repeatable shell-response pattern distinguishing Cowrie 3.1.4 from tested Linux shells. The evidence supports a potential honeypot fingerprint but does not establish that attackers recognized it or why their sessions ended.

Key points

  • Across 432 lab checks, Bash, Dash, and BusyBox ash returned all 360 expected results; Cowrie 3.1.4 returned 36 of 72.
  • The candidate fingerprint combined working control markers with incorrect arithmetic and positional-argument results and a literal $$ response; it appeared in all 12 direct-probe rounds across six recorded sessions.
  • The experiment shows the probes could distinguish the tested shell emulation, not that the visitors identified a honeypot. Compatibility checking remains a plausible explanation.
  • All six sessions uploaded the same .16 file and attempted to add execute permission. The repeated workflow suggests automation, but does not identify its operator.
  • Static inspection and external scan reports are consistent with an XMRig-related miner. The file was not executed, and the evidence does not establish successful mining, persistence, or SSH propagation.
  • Defenders can correlate shell probes with SFTP transfers and permission changes; honeypot operators can test multiple shell behaviors rather than rely on one error.

Article Details

Attack Vectors
  • The client sent repeated shell probes testing arithmetic, process IDs, positional arguments, and function calls; the article says these could have been used to fingerprint the emulated shell or check command compatibility, but the client's intent is unresolved.
  • The client uploaded the miner-related ELF file named .16 directly via SFTP, then submitted a compound command attempting to add execute permission. Cowrie reported that the requested file path was inaccessible; no launch command was recorded.
  • Static contents of the uploaded file include cron entries and a systemd service and timer, suggesting possible persistence if the file ran. The article did not observe execution or persistence on the honeypot.
Defensive Notes
  • Restrict real SSH access to trusted networks and use keys. Review PasswordAuthentication, KbdInteractiveAuthentication, and PermitRootLogin, testing key access before disabling password access.
  • Correlate login activity, shell probes, SFTP transfers, and permission changes; command logs alone may miss file transfers. Process records can help establish whether a payload was later executed.
  • Use the command sequence and file hash for detection; changing probe markers are less useful indicators.
  • Honeypot operators should test several related shell features and responses rather than relying on one fixed error message.

Indicators of compromise

TypeIndicatorContext
IPV4195[.]178[.]110[.]227Observed as the source of one of six sessions that ran the repeated shell probes, uploaded the same .16 file, and attempted chmod; control of the source host is unresolved.
IPV4195[.]178[.]110[.]228Observed as the source of a session that ran the repeated shell probes, uploaded the same .16 file via SFTP, and attempted chmod; control of the source host is unresolved.
IPV480[.]94[.]92[.]234Observed as the source of one of six sessions that ran the repeated shell probes, uploaded the same .16 file, and attempted chmod; control of the source host is unresolved.
IPV480[.]94[.]92[.]55Observed as the source of one of six sessions that ran the repeated shell probes, uploaded the same .16 file, and attempted chmod; control of the source host is unresolved.
IPV492[.]118[.]39[.]14Observed as the source of one of six sessions that ran the repeated shell probes, uploaded the same .16 file, and attempted chmod; control of the source host is unresolved.
IPV492[.]118[.]39[.]77Observed as the source of one of six sessions that ran the repeated shell probes, uploaded the same .16 file, and attempted chmod; control of the source host is unresolved.
SHA256a151d3f4f2422531f30a843ffb35479596c86722bb103bdf8591105687f9b125SHA-256 of the ELF file uploaded as .16 in all six sessions; the article reports that public analysis identified the sample as CoinMiner and an XMRig miner.

MITRE ATT&CK

Malware

Products

Tools

Related Articles