Help Perfect The Cracker Antfarm With honeyd
Behind door number three ... Rather than wait for production systems to be cracked, honeypot makers arrange sting operations: they set up as traps intentionally tempting target machines loaded with tools to observe any break-ins.
Though the projects' names (and their rosters of hackers) are confusingly similar, honeyd is distinct from the Honeynet Project. Both are concerned with watching intruders' behavior for analysis and, in the long run, preventing their exploits, but the projects vary in their scope. Honeyd offers specific software tools to effect the appearance of a crackable box (and can simulate thousands of crackable machines at once); the Honeynet Project is broader, and uses honeyd within its larger framework of studying cracker attacks.
"Honeyd creates virtual honeypots that simulate operating system characteristics to such a degree that it fools fingerprinting tools like nmap or xprobe," says Provos. "As such it is a virtual honeypot that may be used for all kinds of purposes -- network sensors, decoys, et cetera. As the Honeynet project investigates interesting honeypot technologies, Honeyd got me involved with the [Honeynet Project] and is my contribution."
The competition Provos is organizing is in turn a chance for others to contribute to his honeypot tool; a variety of prizes (including a trip to CanSecWest/core03) will go to the programmers who provide the best improvements to the current version (0.5) of honeyd. He's hoping to field contributions to upgrade the user interface, better analyze information captured as intruders try to break in, provide simulated P2P programs, and more. Though there's a list of suggestions on the site, anything to more effectively mimic genuine target machines is welcome.
License requirements are friendly to open source programmers: "Source code features to be integrated into Honeyd need to be covered by a BSD-like license. Service emulations and graphical user interface [submissions] may be either BSD-like or GPL."
Though the honeynet.org page says that Provos is sponsoring the challenge, he says others (like Honeynet Project lead Lance Spitzer) have put up the prizes. "As I am still a poor student, I anticipate that my only financial expenses are going to be shipping costs."
What inspired the idea of a contest, rather than simply waiting for code to roll in from interested hackers? "The Honeynet project has held very successful challenges in the past," says Provos. "Additionally, Lance Spitzer and Marcus Ranum have been giving tutorials on honeypots and noticed that all the participants really enjoyed working with Honeyd. As a result, Lance encouraged me to hold this challenge."
What's in it for them? Spitzer, one of the challenge judges, lists a few things he'd like to see come out of this contest. "All the plumbing and features are there for developing your own honeypots. I would love to see these capabilities extended and making it easier to use. For example, it would be great [to see] new emulated services added, a port to Windows, and a GUI to make it easier to use."
Spitzer has recently published a book about honeynets as well, so he has a good reason to want some attention focused on this sort of calculated intruder watching.
"I am most interested in the balance of getting realism with as little risk of abuse," says Job de Haas, another judge for the competition and CEO of security consulting firm ITSX. "The idea is to build simulated services, but you want to end the realism where it starts to undermine the security of the system beyond control." De Haas says that one of the system's weak points right now is that it's simply difficult for new users to know where to begin. "Hopefully lots of useful examples will come out of the challenge, to make it easier to get started."
I send you this file to ask your advice about breaking in.
Code submissions from hundreds of contributors (all of them savvy enough about cracking to contribute in the first place) raise the prospect of at least a few of them trying to sneak in their own malware to subvert the competition, but the organizers discount the possibility of a backdoor or other crack being submitted.
While it's unlikely that malicious code would make it far, Provos says that to be on the safe side (and make sure it doesn't hurt his working environment), "Personally, I run all new code under a systrace sandbox, and before new code gets integrated into the official honeyd source code it has to pass a source code audit."
Similarly, De Haas says that he's not worried about malicious code, but is "alert that someone might try. Generally we're quite used to dealing with untrusted code. On the other hand I don't consider myself unhackable, it can always happen. You mostly try to minimize the damage it can do."
"Generally the community is very good about this." says Spitzner. "While I doubt this would happen, you do have to be concerned about it. Fortunately, the judges we have (except for me :) are outstanding at code review."
Further reading: We've mentioned the Honeynet Project a few times before -- here's one story from July 2001 and other from July 2002; a search on "honeynet" will yield several more.
There's no need to deal with sticky messy honeypots, either. You can get Honey Grahams with the delicious honey flavor baked right in.
How hard is it to make a honey pot look lived in?
I mean, anybody can walk into a house and tell almost instinctively if anybody is living there at the current time.
It is nothing you can put your finger on, it is just a "sense".
Is the same true for honey pots? Can a hacker that is familiar with System X instinctively tell if (s)he is in a real live in-use System X or just a honey pot of System X?
(posted AC the first time by accident)
Mmmm... Honeynet Cheerios </homer>
Trolling is a art,
Furthermore, how many developers that make these kind of tools want to cater to the Windows/GUI crowd?
This is perfect! Since crackers never visit Slashdot, they'll never see this one coming!
Alcohol and Calculus don't mix. Don't drink and derive.
Honeyd is a small daemon that creates virtual hosts on a network. The hosts can be configured to run arbitrary services, and their personality can be adapted so that they appear to be running certain operating systems.
...adding personality to daemons is pure evil!
I thought they were trying to catch a white boy.
Rain Forest Puppy is a well known cracker/hacker. Not necessarily a black hat, but I would put him in a "various shades of gray" hat. It seems that he feels more comfortable going by that name. Just like rappers go by their nicknames, someone like RFP likes to go by his handle. That does not make him a bad person, just someone with a goofy name. :)
I guess it only puts the contest in question for you. For most of the rest of us, at least, those of us involved in the security community, Rain Forest Puppy's involvement is a source of positive credibility, not negative. He's well known and very well respected.
Check out my eclectic infosec blog at InfoSecPotpou
I'd wager you can..
Audit a live system somewhere, where people "live" to copy everything that isn't "sensitive". Then fake the sensitive info, like passwords, card numbers and names.
That is how you do final tests before production. You make a system so lifelike, it is infaliable.. or nealy so.
-
ping -f 255.255.255.255 # if only
Mom, is that you?
That's an interesting point - you'd need to create output files with varying dates and times (to look like production data), log files, etc. I would think one idea would be to take a snapshot of your live environment at a given time, then create a honeypot when needed that alters file create/mod dates appropriately. Not easy, but it's a thought...
Stop by my site where I write about ERP systems & more
Can I just say, "boo, Provos boo"? I can't believe he picked Amazon gift certifacates as prizes. Doesn't he know we hate Amazon? We still do, right?
Dear Slashdot,
I'm a little busy right now, and having trouble finishing my dissertation. Can you guys finish it up for me? Thanks a bunch,
Niels Provos
PS - If you help, you can call yourself Dr., too!
SONY. Because caucasians are just too damn tall.
A PCWorld interview is here
He is also cited as the discoverer of several MS vulnerabilities by Microsoft themselves:
Yeah, Rain Forest Puppy. The fact that it doesn't ring a bell means you really aren't involved with security. Here's a clue: http://www.wiretrip.net/rfp/2/index.asp
All true wisdom can be found in sigs.
Well, even I know that RFP is quite known within the security scene.
To most people interested in this sort of thing, this probably makes the contest even more credible.
Aren't they actually trying to trap hackers? When I read the title, I naturally assumed that the post refered to an attempt to catch people who break into protected software. Has that use of the term 'cracker' gone away? If so, what does 'hacker' mean now days?
http://yetanotherpoliticalrant.blogspot.com
Couldn't you just write a script (or something) to "touch" random files? That would change the dates. Then add a bunch of fake users (some disabled, naturally, as that's a nice target.) That might work.
Give each honeypot an IP of 127.0.0.1. All the co01 wArEz is there. Crackers will flock to them.
Some people have a way with words, and some people, um, thingy.
and find out how the NSA/CIA hack boxes.
Some people have a way with words, and some people, um, thingy.
...a better lure for crackers was Coors Lite and ham hocks...
That or send these folks to the pen and let them get ass raped on a daily basis.
You don't break into my system, I don't crush your spine.
thees pplz think there so smart with there hacker catching toolz well ive nver once been caught and its not gonna happen netime soom LOL! honststly u pplz r serios idiots if u think taht this piece of shit softwarez is gunna protect u.
THERE IS NO HIDING FROM ThA L337 sKWaD!!!!! LOL
Well, see.. the thing is, most crackers are idiots.
I think it would be cromulent to ask if contests such as this only embiggens the problem?
As a system administrator, I do my best to secure my systems. But god damn it, they always seem to find a way in and fuck things up. Hell, I'm dealing with something right now.
If you get into my box, I PUT A BULLET IN YOUR HEAD. That is about the only fucking thing that will stop them.
Anyone spare some bullets?(and a gun for that matter)
No more need for honeypots!
Sick of it!
If not, then why bait lusers into attacking part of your network? At best, you'll slow down some kiddie that's stupid enough to try to break into a box that's a honeypot.
On the other hand, if you get someone with half a clue, they'll realize what you're doing and move on to another target in the same network. "Oh, I see, you must be trying to distract me from the real fun over here... *clicky clicky*"
The only time I can see this being interesting is if you have a chunk of bandwidth that's not yours, and not doing anything productive. At least when they get frustrated and call in the DDOS attack, your personal 'net access won't be affected.
My technique is simple: lock stuff down and above all else, don't look interesting! Look boring. Be the Cavalier in a parking lot full of Cadillacs. Guess which one they'll break into first?
Hmm. I think what they are looking for is a combination of LaBrea's Tarpit programs and Fred Cohen's Deception Tool Kit. As far for making honeypots look alive, you better do better than that. They need to start looking at ways to do user emulation.
There used to be a package called COPS to check UNIX security. The author made use of eval to scan users' .rhosts for suspicious entry. I promptly modified my own file to contain some ` characters and UNIX commands. Worked like a charm. Thought about modifying sendmail to send a few randomly selected local messages to a random local account, but decided it would be too mean. Exchanging screens of two lab suns with screendump and screenload or playing sounds telling a user that his or her shoe is untied is as far as I got.
If you're looking to actually observe crackers "in the wild", you have to make your system look reasonably real; while at the same time making sure the attackers can't do any real damage from your machine (else you may be implicated in their crimes). The Honeynet project has a lot of good tips and tricks on this sort of thing. For example, not allowing more than 10 outgoing connections (so that it can't be used to scan or launch a DDOS attack), and putting a message in motd saying, "The network is acting kind of flaky, we're working on it, blah blah blah."
In fact, making a realistic honeypot is essentially just social engineering... hmm...
TCP: Why the Internet is full of SYN.
With so many inexperienced system administrators out there - is it possible? It's so easy to put a [insert linux distro here]-system online, say "hey, it worked", and forget about it, that I doubt that anyone would raise an eyebrow when entering a 'dead' system.
Doesnt need to look lived in...
For starters - scripts, scanners, worms, script kiddies arent ever going to notice the difference.
Furthermore, more advanced crackers wouldnt neccessarily be put off by such a box... e.g. they may see a nice unused NT sitting in the corner of a lab, just waiting for her to install that new DDOS tool...
However, I guess leet dudes like us would smell a rat!
The oscars are trick pulled overones eyes. Most corrupt voting system that would put a tear in a teamsters eye.
By the way , does anyone else think CMDRTACO and HEMOS need to be laid off due to the economy shrinking in bad tech story submitions?
Such tactics as honeypots are probably good methods for prospective risk assesment. It has been used in physical security with some success - I remember the story of Marty Pell (not the lead singer from wet wet wet...).
A few years ago the was a whole succession of major politicol and tabloid leeks to the British press. Talk surfaced of some "Hacker" with an agenda.... Some legal firm (I think) who were a little shady (e.g. contracts with arms companies, MI6 etc) caught him in the end. Such a company has pretty steep security. Everything got shredded. Occasionally, they would leek false documents into their trash, and see if they would appear in the media.
One of their fake stories was published in a broadsheet. Marty Pell was caught on CCTV stealing there trash. The guy was the worlds most prolific dumpster diver - a house full of trash, not the slightest hacking skill.
Makes you wander - is this whole hacking/internet security really just a bit of an academic excersice at times?
Anyway i digress, I was on-topic at some point....
So tmark makes a sincere statement of his own skeptical opinion (and identifies it as such), and he gets modded down as flamebait!? His lack of familiarity with RFP provoked insightful and presumably educational responses from a few people, letting those of us who had never heard of RFP know who he was.
Thank you to those who had the decency to write tmark a nice reply, rather than moderate him or her down. I hope you negative moderators get meta-modded to your own little honey pot in hell. I would have given him "+1; insightful" but it wasn't my turn.
P.S. Go ahead and slap me too (my karma can take the abuse). How about an "offtopic?" That's my favourite. Oh, and no... I don't mind if someone doubts my own words because I have a stupid handle. Skepticism is healthy.
I have no special gift, I am only passionately curious. --Albert Einstein
Niels Provos would like you to help create the perfect lure for crackers.
IANAL, but I think that doing this sort of thing in the UK could be considered by the authorities to be entrapment. Just something to think about. (I believe entrapment law is much more strict in the UK than in the US.)
A good follow up to this post is a short introduction to honeyd by Marcus Ranum in the latest issue of Information Security Magazine. A good little overview of what the program does and how to potentially use it.
The problem i see with honey pots is that i think it would be pretty unlikly to actually catch anyone with something like this. All of the people that i know that are involved in hacking large amounts of servers are very varefull about security. Using a contolled outside shell account to set up the scan on another hacked box. Systems like this may be good for catching people that are not serious about it and mabey watching trends and getting the tools that people use. But look at efnet the big channels there have hundreds of hacked edu's totally unconnected to any of the ops. You'd think if it was easy to tell who was doing it it would be done already.
If you were doing this at home, would you deliberately put on a flimsy curtain on an outside door with a bright shiny VCR and big ass TV (fake store demo) inside in the hope of attracting theives to your place?
I didn't think so.
Go do something useful.
Andrew
Andrew van der Stock
How about a big barrel of moonshine, a row of cans to shoot from the porch at, and a plate of pork rinds? :)
Interesting, count me in... I'm getting hungry.
here