Shell Probes Exposed a Potential Cowrie Honeypot Fingerprint

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
| Type | Indicator | Context |
|---|---|---|
| IPV4 | 195[.]178[.]110[.]227 | Observed 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. |
| IPV4 | 195[.]178[.]110[.]228 | Observed 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. |
| IPV4 | 80[.]94[.]92[.]234 | Observed 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. |
| IPV4 | 80[.]94[.]92[.]55 | Observed 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. |
| IPV4 | 92[.]118[.]39[.]14 | Observed 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. |
| IPV4 | 92[.]118[.]39[.]77 | Observed 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. |
| SHA256 | a151d3f4f2422531f30a843ffb35479596c86722bb103bdf8591105687f9b125 | SHA-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
T1053.003 · CronThe retained ELF contains static @reboot and per-minute cron entries for /var/tmp/snap and /var/tmp/snapd, suggesting intended scheduled persistence; execution was not observed.T1059.004 · Unix ShellThe client submitted shell probes and a chmod command through Cowrie's emulated shell; the article does not establish execution on a real host.T1105 · Ingress Tool TransferThe client transferred the .16 ELF file to Cowrie via SFTP; no download URL was involved.T1496 · Resource HijackingThe retained file contains XMRig and stratum-related strings, and public analyses label it a miner; resource use for mining is conditional because the file was not executed in this investigation.T1543.002 · Systemd ServiceThe retained ELF contains a systemd service path and a matching timer, suggesting possible service-based persistence; installation or execution was not observed.
Malware
Products
BusyBoxThe comparison used Bash 5.1 and Dash 0.5.11 on Ubuntu 22.04.5, BusyBox 1.37.0 ash on Alpine 3.24.2, and an official Cowrie 3.1.4 container [20].DashThe comparison used Bash 5.1 and Dash 0.5.11 on Ubuntu 22.04.5, BusyBox 1.37.0 ash on Alpine 3.24.2, and an official Cowrie 3.1.4 container [20].GNU BashThe comparison used Bash 5.1 and Dash 0.5.11 on Ubuntu 22.04.5, BusyBox 1.37.0 ash on Alpine 3.24.2, and an official Cowrie 3.1.4 container [20].OpenSSHOpenSSH's ForceCommand setting can replace a client's requested command [18].XMRigThe file contains an XMRig configuration-help URL and the strings stratum+tcp:// and stratum+ssl://, which are consistent with mining software.
