Tarpits for Microsoft Worms
Digital_Quartz writes: "Wired News is reporting on a clever little tool by Tom Liston called LaBrea which uses unused IP addresses on a network to create virtual computers for worms and hackers to attack. LaBrea responds to requests in such a way as to keep the connection open forever, creating a "tarpit" in which worms like Code Red will get "stuck"."
Ok, so the next version will close the connection in 1 minute. I don't see this helping in the future...
I've been looking into this for about a day... looks like it might have a chance, though it wouldn't be difficult to circumvent this kind of "tarpit" in future generations of viruses. By using multiple scanning threads, monitoring existing threads that might be getting stuck, and keeping an internal log of tarpits, a virus could learn which IPs to avoid. Handy in the short term, though, if enough people implement it.
-- Minds are like parachutes... they work best when open.
do NOT click on the cleverly hidden goatse.cx link.
especially if you are in a cubicle environment...
-sam
The REAL sam_at_caveman_dot_org is user ID 13833.
How long do you think it'll take till a new release of one of these worms just spawns a new process for each attack? Now it might eventually bring your machine down, but the attacks keep going on till it does. The parent process could even kill the children after ten minutes just to help keep the machine viably attacking hosts.
Slay a dragon... over lunch!
I think this is a great tool for catching worms but mostly worms come from the outside where you _don't_ have IP's to spare but you will probably run it on the inside where it won't be that much use.
There are no good way in blocking worms, the solution is a easy way to check if you've patched your servers against a central patch library..... like windowsupdate where supposted to work.
// yendor
Its the equavalent of the Honeypot Project and it shows promise. But the main problem is with these kind of projects, one has to wonder where the funding comes from to provide for the bandwidth..
Honey usually doesn't come without a few stings you know...
First rule of holes; When in one, stop digging.
Looks like a hoax
For a more detailed version of this same type, see the Honeynet Project. Knowledge is power, as the saying goes.
visit my free wallpaper collection, wp.erasei.com
This way 10,000 years into the future, the viruses will be magically rediscovered in prestine condition.
Verily, the PC is developing into an organism in its own right. How long until hackers develop the first "immunodeficiency", anti-LaBrea attacks, I wonder?
The fundamental problem with this is that yes you may trap an instance of the worm with your fake IP address on your local network, but it's only one in a million instances all over the internet. Yes you will preserve a copy indefinitely, but this is not a tarpit, as a tarpit implies that the worm would get trapped and not be able to escape, in reality only one copy get's trapped, the others still roam free.
~ now you know
It's a cool little program. It's purpose, to use up your own resources to prevent other peoples resources from being used up. There seems to be a little flaw in that logic to me. Personally, I like the scripts that connect to servers that have tried to infect them, and send those servers a bit of code to reboot the machine. I'd rather them install the patch automatically and then reboot the machine though. That seems like a much more effecient use of resources.
Why has nobody either sent out a worm to patch machines, or created a script to patch the sender of a worm? The bandwidth used would be minimal to what is being eaten by these worms, and it would SOLVE the problem. Of course, in this day and age, nobody wants to actually solve a problem, they have to create some technically incredible way of ignoring a problem, or placing blame on the common scapegoat of MS or stupid admins, or doing some trivial task just to prove they can do the same type of thing as the virii spreaders.
BTW, this article was posted on Wired yesterday afternoon, why did it take so long to get here?
It seems more of a 'feel-good' measure than anything. After all, Liston's quoted as:
"I'm holding about 1,000 Nimda scanning threads and 300 Code Red scanning threads at the HackBusters site. I'm holding them hard and I'm not letting them go"
Well what about the other threads that are spawned by the virus? If I remember correctly, don't Code Red and Nimbda spawn multiple threads to infect/probe several hosts at the same time? How does this really do anything other than just hold a thread captive while the other XX threads go about their daily business?
'Life is like a spoonful of Drain-O, it feels good on the way down but leaves you feeling hollow inside'
great reply. it's people like you and the anonymous 'goatse.cx' poster (if indeed those are separate beings) who are ruining the web for the rest of us. not that i have a problem with any of it, and of course this place is as much your place to post 'you big fag' as it is anybody else's place to post whatever THEY want... but maybe it's time to grow up and become part of the solution, not the problem? eh? obviously you are smart enough to figure out the slashdot journal system, you could probably do about whatever you set your mind to do. so maybe instead of posting 'you big fag' you could do something worthwhile and add something of value to this planet.
but i guess 'you big fag' posts get some people off, or whatever, so they have value too. nevermind.
-sam
The REAL sam_at_caveman_dot_org is user ID 13833.
I don't understand why people continue to use Microsoft products (it *must* be _very important_ to do so). It seem that every few days there's another Outlook/IIS exploit. If my bank account was broken into every other week, i'd be shopping for a new bank.
sure sure, viruses can be rewritten to timeout to avoid a tarpit, but unless software like this becomes widespread (and I doubt it will), chances are very very few viruses would be built to consider them. Same reason viruses aren't ported for Macs or *nix. I find one of the best ways to avoid these outbreaks is simply through nonconventional software solutions. So I say kudos to this kind of development.
ôó
It still saps my pathetic bandwidth. (64 k)
Is there a way that I can re-direct port 80 requests using NAT (FreeSCO Linux Router) so that they go to Microsoft's website and not mine?
I suppose that it would still sap my bandwidth, but at least it would eventually land in *their* lap...
Cheers,
Jim in Tokyo
-- My Weblog.
# Hack the planet, it's important.
Looking at my Apache logfiles, I see the infected systems trying to obtain many .exe files, like cmd.exe. I was wondering if I could stop those systems, by taking a "shutdown.exe" program, renaming it to "cmd.exe" and putting it on my web-server. Than hoping that they download this "cmd.exe" and will execute it.
OK, it's only a stop-gap solution, just for this particular attack, but it could quiet things down (on my subnet). One problem is that I couldn't find a Windows "shutdown.exe" program that has no GUI and doesn't take any command-line parameters.
Willem
Browsers shouldn't have a back button!! It's all about going forward...
Should be simple to write a script that would examine your HTTP error_log file for '\.exe' and insert a rule into IPCHAINS to DENY all connections from that IP. The connection will time out, of course... but it will slow down the virus.
Much better than having your system get hit 15 times a second from Nimda probes, anyway.
"May I have ten thousand marbles, please?"
Instead of fixing the operating system to avoid these obvious mistakes, we have people creating solutions outside of the operating system. It's like when MS tells people that their systems are buggy, so instead of fixing their own system, they suggest people buy more licenses and more machines to run as backups.
What happened to fixing the problem where it originated from?
Outdoor digital photography, mostly in New Engl
VMware?
What is the postercomment compression filter?
Within my home directory I have a couple of symlinks pointing back at the root of the home directory. Because it's exported by Samba to Windows machines, and Windows (or rather, Win32) doesn't know about symlinks, the 'Find File' utility from the Windows Start button would get stuck descending forever into these links. I can't say for sure, but it's possible that a few worms like ILOVEYOU were thwarted or slowed down by this, if they do a depth-first search for files to infect.
:-(. It would be nice to have an option to serve the first level of symlinks but not allow recursive ones.
Unfortunately, I think that in the end Samba was reconfigured not to serve symlinks
-- Ed Avis ed@membled.com
Actually, there were only about 300,000 known instances of Code Red. By this gentleman's estimation, only 1000 or so Tarpits would be necessary. If put in the right places, a single tarpit could stop multiple attackers.
Incidents.org is gathering information about Nimda to determine what networks are most heavily affected, and therefore in most need of LaBrea traps. I don't know if it's going to work, but the theory is a good start.
-- Minds are like parachutes... they work best when open.
Strange: of the 27 hosts (IP-based) I run on a single box, the most popular got probed first, not the server with the lowest IP-number, so the worm seems not attacking the IP-numbers sequentially, but rather due to some reference somewhere else. This may also explain, why it spread so quickly: if the worm could replicate itself from a popular webserver, the chances are good for a quicker spread among many surfers... This worm is really an excellent piece of code - kudos to its author!
And here are some log-entries from another box (NT runnung Apache):
First suspect entries on July 12(!):
My Timezone is GMT+1 (That's mid-europe, one hour ahead of Great Britain)
(SR) stand for ServerRoot which I omitted here
[Thu Jul 12 03:39:40 2001] [209.3.150.130] File does not exist: (SR)/scripts/..%5c..%5cwinnt/system32/cmd.exex ed .exe
[Thu Jul 12 03:39:42 2001] [209.3.150.130] File does not exist: (SR)/msadc/..%5c/..%5c/..%5c/winnt/system32/cmd.e
[Thu Jul 12 03:39:43 2001] [209.3.150.130] File does not exist: (SR)/_vti_bin/../../../../../../winnt/system32/cm
I had a few more interesting logs between Jul 28 and Aug 30... but the /. Lameness filter considers it a Junk character post, so I had to shorten it...
May this information be useful for someone!
ms
The REAL sam_at_caveman_dot_org is user ID 13833.
Instead of using complex and expensive superscalar and vector processors one can take another approach, like our company did. We chose Zilog's Z80A as our base processor. You can get them for 1c these days, so it's quite cool. Now we built a NUMA/XBAR system with 1,256,000 Z80s running a single image. Each processor has 64Kb of RAM for it's own, and runs a portion of the simulation that it pushes to the master processor, a single Intel Pentium III, that takes the data and creates the graphical representation in realtime. As the Z80 doesn't need a cache you'll never run into cache coherency problems. We developed a special kernel called Zix and developed a finetuned compiler and parallelizer to create the Solar System simulation.
If enough people is interested I can post some more info and links.
Sincerely, Mike Bouma (NASA engineer)
I just recieved an email with the subject:
a gazine_winter_19992000.doc.bat
Civil society has become one of- Foreign policy magazine winter 19992000
with the attachment:
Civil_society_has_become_one_of-_Foreign_policy_m
Didn't open it, but it comes from someone I don't know. Can't be good.
"We're sorry, but the website you're trying to reach has been disconnected."
You are a git. Sure you are not a blonde copying the day from your pills? Or are you on altogether more serious medication? (Still getting over that nervous breakdown I hear. Keep going, progress is slow.)
When I saw this thing hit I decided to modify the 404 script I'm running on my web server to log all Nimda attempts. I made a front end script that shows their ip and creates some whois links.
I then devote a few hours of my time in the evening to click these links and let the netblock owners know that the specific IP is infected. I would hope that people would keep the ball rolling and inform their downstream or shut them off.
In the multiple hundreds of emails that I have sent out, I have received 2 replies by real people. This tells me that nobody cares. No big surprise, its been proven again and again.
what are you doing to help?
-= Why can't I add 'Anonymous Coward' to my list of Foes? =-
#2324685, but close. Keep trying and you might just reach it. LOsEr.
Heres what I was just about to submit:
:)
LaBrea - The Tarpit: Keep your friends close, your enemies closer.
- -
With the recent proliferation in worms (Code Red, Sircam, Nimda, etc) beyond either switching to a more secure? webserver or keeping up to date with the patches for your own and hoping that others do the same; approaches to actively dealing the problem have been limited. One can try to either contact the administrator[s] of the machines infected or take a slight more risky proactive approach. 'LaBrea' - The Tarpit offers proof of concept? for an interesting open source approach.
Linux today, Wired and Linuxsecurity have covered this developing project, more information is available from Hackbusters here, here, here, here, here, or here.
- -
Im off to sulk.
troodon.net
but i'm at school
I'm going to rape your virgin ass, that is what I am going to do about it. Prepare for a few tears, though that is nothing out of the ordinary for your first anal adventure. In time it becomes pleasurable. Just let me rape your ass enough times, and you will come to love me. Hugs and Kisses. Me, your gaylord master.
He made you visit goatse.cx and he's the idiot?
it sounds rather interesting, but might I suggest securing the server in the first place?
a sp?ReleaseID=32571">http://www.microsoft.com/Downl oads/Release.asp?Rel easeID=32571</a>
For any IIS admins out there, you need to download and install URLScan. It is a free tool put out by Microsoft. It scans incoming requests and only allows ones that meet its criteria of rules (with a default blank ruleset, all requests are discarded.)
<a href="http://www.microsoft.com/Downloads/Release.
There are a variety of other methods that can be used as well, and I am currently working on a guide to security for IIS admins. It isn't that hard... take the time to do it right.
Natural != (nontoxic || beneficial)
when Apache is free and has none of the security bugs of IIS. Even if you are running winNT/2k, I don't see why anyone who had the choice would choose IIS. On my machines at home and at school, one of the first things I do is rip out wu-ftpd and replace it with NcFTPd for the same reason I'd rip out IIS and install Apache.
I don't recall what the limit is on open connections on a typical *nix system, but wouldn't this tie up connections? The longer you hold each connection open, the more simultaneous connections are being wasted.
IOW, don't use this on a production machine. Perhaps you could run this on a separate box that doesn't do much, but that sounds like a lot of work (compared to, oh, say, patching the NT boxen).
NGWave - Fast Sound Editor for Windows
cuz BSD be dyin'
Code red GET's default.ida, nimda GET's cmd.exe, but what is this? I've had a ton of them in the last couple days, and still going strong.
203.133.6.69 - - [20/Sep/2001:17:28:01 +1000] "-" 408 - "-" "-"
203.200.80.45 - - [20/Sep/2001:17:32:18 +1000] "-" 408 - "-" "-"
203.199.141.83 - - [20/Sep/2001:17:38:48 +1000] "-" 408 - "-" "-"
203.236.112.161 - - [20/Sep/2001:17:44:16 +1000] "-" 408 - "-" "-"
203.237.16.73 - - [20/Sep/2001:17:46:19 +1000] "-" 408 - "-" "-"
203.94.231.131 - - [20/Sep/2001:17:53:13 +1000] "-" 408 - "-" "-"
How biased can get you get with the title "Tarpits for Microsoft Worms"? Did the Slashdot editors think they were being cute by just associating worms with Microsoft? This kind of behavior only colors the image of the Slashdot geek in a bad way. I know the other side of the fence does it as well, e.g. associating the GNU licence with the word viral, but that doesn't justify this non-professional behavior.
While I'm here, I'd like to make the observation that bashing Microsoft has now become trendy. It's in the same category as the Starbucks and Abercrombie and Fitch. It's so profuse that it has infiltrated my computer science classes. The professors and students try to make jokes and slam Microsoft in such a miserable way that the situation becomes completely inane.
What makes me think that if it were costly and closed-source, there's no chance in Hell that we'd be seeing it posted to Slashdot?
Many people are writing about how this is worthless because:
- It can be circumvented by future worms
- It does not protect your current hosts
- Other worm threads continue to scan
- etc
While all of these comments are valid, they miss the point of a solid security strategy - defense in depth. This seems to be a valuable addition to an existing security infrastructure. One thing in particular is sequential port scans. A port scan would most definitely get snagged by such a host if it were scanning ip's sequentially.
Of course virus writers can circumvent tarpits with thread timeouts, etc. but that requires much more code and skill. It would also create a larger amount of code that may be easier to detect.
This program, just like any other security product, does not prevent any sort of attack, but if installed enough places, it will raise the bar for future attacks.
How biased can get you get with the title "Stop the Microsoft Bashing"? Did you notice that the news item in question is in fact about a software product which bogs down the processing of worm software? Did you notice that these worms only attack Microsoft operating systems? I think that the title is not so much "Microsoft bashing", but just a good summary of what the article is about.
Lighten up.
Not A Sig
But they couldnt withstand the biggest hack:
/. Effect
The
-- site is unreachable
- In Memoriam: Jeroen de Bruin (1972-2004), bye bro
Distributed was a great buzzword for a while. Peer networks were wonderful when we were getting music for free (like all this beer everyone keeps promising). Stickin' it to the man is the thing at the moment, but come an opportunity to actually do something useful, and no one "gets it" all of a sudden.
Get the Hell off my planet, you slimy mobster Bush!
It seems to me that on top of wasting bandwidth and other resources, this technique would serve as an immediate spur to write more sophisticated worms. For example, the term "timeout function" immediately springs to mind....
Laws affecting technology will always be bad until enough techies become lawyers.
You're nothing but a cheap-ass imitation of the incomparable Bobabooey. To be blunt sir, YOU SUCK. Better luck next time.
Since 90% of my traffic on port 80 is Microsoft-relared poop, I can use 8080 - Most of my useful traffic comes from a site with a real IP - I use DynDNS to resolve my dynamic IP (Kickass service!) but most people hit it via mmdc.net, so it wouldn't be a problem.
Thanks!
Jim
-- My Weblog.
Just me jumping to conclusions. Previous poster was correct, that's SirCAM. Nimda would have sent you a README.EXE file with a "audio/x-wav" MIME type that'll auto-execute on non-updated Windows machines.
They exploit security holes in Microsoft software on Microsoft OSes. Other software and OSes are immune (although if a user has access to the file space, they could place an infected file on the non-MS server, making it an "immune carrier"). So what should we call them?
obviously so many systems are infected and going unchecked. I sent mail to postmaster@ so many times in the last few days and have gotton ZERO replies back. shit, they don't even read their own postmaster accounts - how could you expect them to be responsible enough to check their own logs and system resources?
it appears that the only way to let these turkeys know they have a local problem (one which has global implications) is to shut them down until they clean up their act.
it isn't really hard to sample traffic on an ISP's port concentrator (router, dslam, switch, etc) and if you see a customer sending out this kind of crap traffic, shut down their port and let them contact you. when they do, inform them how to fix their system and then switch their port over to a non-public lan and monitor to see if the virus has been removed. if and only if it has been removed, then you can switch them back to the common public wan.
given that M$ lusers tend to install-and-forget their boxes (at least home lusers do), I see no other way to stop this M$ menace from affecting others.
I, for one, am sick and tired of paying for other peoples' poor choice of o/s.
--
"It is now safe to switch off your computer."
Those rules of yours would have blocked your own post because it contained "root.exe"... it's not always bad to have that string in your packets.
-- these are only opinions and they might not be mine.
Yep, this same person keeps sending me more documents. Thanks for identifying it.
"We're sorry, but the website you're trying to reach has been disconnected."
I've been running this for about a day now with the new bandwidth limiting feature set at 15000 bytes/s. /24 with only 3 of the addresses in use, so it has a lot of chances to snag incoming worms.
This is on a box sitting in a
It took a couple of hours, but LaBrea eventually ramped up to the limit and stayed there for most of the day. Right now it's down around 9 KB/s, suggesting that some of the boxes causing the problem have been fixed or otherwise blocked from the net.
It's a trivial amount of bandwidth for me, and I get to harass idiots who are annoying me. That's plenty of fun right there.
What's that from?
As for IPCHAINS, I would have my standard script in a daily cron job. Block them as they come in, but then dump all the new rules each day - Add them again as they misbehave... Twice daily, if necessary.
-- My Weblog.
Next time i develop a worm, i'll put in a little timeout. ( A sort of period of time the worm has to infect a certain IP ).
Seriously, when are people going to stop thinking about stupid patch solutions! This one is even worst than the last one. What was it again ? Oh yeah! The anti-virus who acts exactly like a virus and takes as much bandwith as the one it's trying to fight.
There's only one solution, make the vulnerable software better. In other words bust microsoft's balls until they FINALLY MAKE QUALITY SOFTWARE!!
To this I'm adding a small idea, just because i like thinking also:
Why not change our laws like this:
If the software is sold as a proprietary software, then the company is responsible for any damages the use of it might incur to its users.
If the software is open, i.e. not proprietary, then no one would be responsible for any damages using it might incur. Hey! It's open who are you
going to sue anyway!
if you are using a microsoft iis server, i suggest you do the following:
run the tool IISLockdown from Microsoft to strip of features in IIS that you do not use that might be a potential source for hacking. it can be found Here.
The better way is to use the URLscan tool option from Microsoft that strips out possible malicious URL requests coming to your site. It discards the request even before accessing your web site. The tool can be found Here.
the best way is to keep up with the patches and subscribe to security mailing lists for latest updates.
johnlaw
Live your life each day as if it was your last.
this is off topic even to the extremly off topic topic, but you can get your password back just by requesting it emailed to you (noticed your .sig).
"If you think education is expensive, try ignorance" - Derek Bok
So what? Real People don't worry about whether or not what they've been doing all along, has also been adopted by the mainstream. The fact is, Microsoft sucks. Anyone who studies computers, is enthusiastic about computers, uses computers, or plays with computers, knows this. So since the 80s we have bitched about Microsoft, as atrocity after atrocity piles up. Are we supposed to watch other people and pay attention to whether or not they bash Microsoft too? And then are we supposed to stop doing it, ince everyone else is doing it too? No, that would be trend-following. That would be letting other people control what you say and do.
Microsoft sucks! They have retarded the developement of personal computer technology and damaged the industry. They are anti-technology. They are anti-common sense. They are anti-passion and anti-hope. They are anti-intellect. They suck, suck, suck. Die, Microsoft, die!
Great, now the virus writers will have another tool for Dos attacks. And it's so bandwidth-efficient, even a modem connection can be used. I could be wrong. (I hope I am.)
How long would it use these techniques to make a tool to grab every connection on slashdot? (I'm not a TCP/IP jockey, that's a real question.)
(The email addr doesn't work anymore and slashcode won't let me change it.)
I'm just waiting for this make it in as a kernel option (iptables) so that I can trap all inbound connections to ports that aren't listening.
Using "M$" and "luser" only makes you look 15, and a PHP or VB script kiddie at that. Not impressed.
:)
On the other hand, I do agree that people that for instance run IIS on a home network and then get infected like this, and don't care either, should be shut off until they've learned, for instance, to run apache.
I'm probably running the most hacksafe webserver possible at home, for fun (not hosting anything really) - an Apache on a Windows 2000. Tell me when you find a virus or a hacker targetting That combination...
i actually remembered that old password. but all my comments since 1999 are on THIS account... and i am pretty psychotic about checking for replies to my posts :)
thanks though!
-sam
The REAL sam_at_caveman_dot_org is user ID 13833.
Does anyone know how LaBrea works on a DHCP network? I'd rather not have it screw around with my networkd when a system tries to renew its lease and finds that no IP addresses are available.
".. that grabs their computer's connection -- and doesn't release it". Ha ha ha .. very funny, belongs to the tabloid cover.
Wait, wait, here is a good part - ".. they are then forced to shut down their hacking program or computer to escape". Oh my, I guess their VB ActiveX object is not that good after all.
3.243F6A8885A308D313
Use whatever tool you use to detect incoming NIMDA attacks toward your servers. A simple way is to just put a dummy port 80 listener on a box that nobody has any reason to connect to, and assume all incoming port 80 connects are from worms or other attackers.
Whenever you get an attack, launch the following script:
net use \\%1 /user:guest
psshutdown -t 5 -m "This system is infected with NIMDA! Shutting down..." -f \\%1
net use \\%1 /d
%1 in the above should be the attacking IP.
This uses PSSHUTDOWN.EXE which you can download from System Internals. It could easily be adapted to use SHUTDOWN.EXE from the resource kit.
Yes, I realize this is probably illegal in most jurisdictions. Save your flames.
We need a better plan. I've heard the arguments
.1% of us setup
(legal, ethical, etc) against retaliation,
auto-patching worms, etc., but the same old
passive way of dealing with this aint working!
Here's a plan: How hard is it to set up
collaborative filtering? If
some software to report infected (and attacking)
machines to a central location. Then when we
get several reports on an IP we just need to
find the closest router to him that is
cooperating with us and black hole him. Okay,
maybe just for a few hours at a time.
For the time being, I'm sending URLs back to
the originator that might disable him, might
fix him, or might just notify him. Then I
black-hole him on my server. This seems to
be helpful because it's frequently a repeated
attack.
--tif
I admit, I didn't read the article, but...
:)
By the time the thing hits, me, it has come from some idiot whose machine is infected. This doesn't stop their machine, nor does it tarpit that machine.
My own machine is not vulnerable, so it's already not spreading the crap. So what good would installing this thing really do?
Ok..I'll go read the article now...
To avoid Nimda you didn't even have to be close to up-to-date on patches. People just don't try. The vulnerability that made Code Red possible had been patched over a month before the first outbreak and Microsoft heavily publicised both the bug and the patch, it got press coverage, and still people didn't apply it. To this day there are people running Outlook 98 and 2000 without the more than year old Outlook Security Update that stops all the mass-mailers and other problems.
Too many people out there are just too lazy or stupid.
You know, pretty soon, 99% of the internet traffic will be Worms and Virii trying to propagate to different machines. The other 1% will be a combination of Slashdotters and people looking for porn.
If it won't boot, Fsck it!
x.x.x.1 and/or x.x.x.254 as default addresses
x.x.x.2 and x.x.x.253 will now bet set aside for a tarpit.
I don't know of *any* kiddies/worms that start their scans in the middle of address space.
Of course, the next step is to extend the tarpit to unused ports across *all* IP address space using a security policy map... this would change the fundamental way in which this particular tarpit works, but I'm sure it could be done with the right switch in place.
I'm kind of courious how the tarpit's gratuitous arping will affect switch that have questionalbe code. There are plenty of utilities out there (one of the utilities in the dsniff suite and many others) to molest swtiches at various levels of the protocol stack.
It's in Alpha, but I am using a program to catch IP address inside our firewall that infected with Nimda. See below:
j pg )
z ip )
-----Original Message-----
From: John Thornton [mailto:jthornton@HACKERSDIGEST.COM]
Sent: Wednesday, September 19, 2001 4:43 AM
Subject: Worm Watch
I am releasing a tool that I have written that monitors port 80 loging
servers infected by Nimda. However the point of the tool is not just to log
infected servers but to look for variants. As we have seen in the past worms
being released in the wild then rereleased with new logic, Worm Watcher will
log changes made to http requests, number requested, the order they are
requested etc. This will spot a rereleased version of Nimda that we know
will be in the wild in a matter of time.
screen shot ( http://www.hackersdigest.com/wormwatch/wormwatch.
source code ( http://www.hackersdigest.com/wormwatch/wormwatch.
Kind thoughts do not change the world
(I know I'm not putting this well, I'm tired :P) is if there were some way to combine this set of redirect conditions (which is what I'm currently using on my server - I know the worm doesn't follow them but it keeps the size of my error log down :P):
/scripts/ http://127.0.0.1/
/_vti_bin/ http://127.0.0.1/
/_mem_bin/ http://127.0.0.1/
/c/winnt/ http://127.0.0.1/
/d/winnt/ http://127.0.0.1/
/msadc/ http://127.0.0.1/
/MSADC/ http://127.0.0.1/
/default.ida http://127.0.0.1/
/scrips/, /_vti_bin/, etc. would trigger the "tar baby" effect, but other HTTP requests would go through. That way we could have our Apache web servers and our Tar Pits too. I would LOVE to have one of those.
Redirect permanent
Redirect permanent
Redirect permanent
Redirect permanent
Redirect permanent
Redirect permanent
Redirect permanent
Redirect permanent
within Labrea in such a way that any GET to
--
Searching for Truth, Justice, and the Guy Who Boosted My Wallet a Few Weeks Back....
Searching for Truth, Justice, and the Guy Who Boosted My Wallet a Few Weeks Back....
There are several large sinks of IPs on the net. For example .edus... Do you really think MIT uses it's entire class A network? Just assume the MIT net admin installs LaBrea.
In my university (technion.ac.il) we have two class B networks. How much of that do you think we use. I have just advised our administrators to install LaBrea on our net.
Make even shorter URLs - 8LN.org
That script example shoulda had at the top:
#!/bin/sh
followed by a blank line, of course.
"with their freedom lost all virtue lose" - Milton
The three levels of the net:
Heaven- Internet2 (IPv6)
Earth- Internet (IPv4)
Hell- Lowernet (policy routed IPv4)
I propose that wide spread policy routing give the Internet (at the backbone level) the ability to cast wayward IPv4 Internet connected boxes into Lowernet, where all the compromised hosts can spend eternity scanning eachother. A well connected backbone provider could donate a large proxy from which all traffic to non-Lowernet hosts could be mitigated. This change would only required one entry into the global BGP routing tables and althogh the entry would probably grow quickly, it would provide administrators and service providers a global method by which they could understand the impact boxes connected on their networks are having on the internet in general. Additional administrative costs could be spun around by on-selling security, patching and rebuild services to those who wanted to get out of Lowernet. The provider of the Lowernet to Internet proxy can use frame based (a la security focus/portal) advertizing to recoupe their bandwidth and proxying costs. The overall impact that Lowernet would have on the Internet links it would ride could be mitigated by heavy bandwidth limiting on those tunneled connections. Federal agencies responsible for overseeing network security could admin and maintain Lowernet as an intelligence source. Tarpits, honeypots and IDS boxes could identifiy canidates for Lowernet status and those cast into Lowernet could eventually, through time be elevated back up to Internet status through route aggrigation expiration (preventing entire ppp dial-up pools from being cast into Lowernet for eternity).
...just an idea
I thought they've already done this where part of the security for a network was to create a dummy network with "servers" that appeared to have ports open and services running, along with "workstations" et al. Theoretically, the hackers would attack the fake network and get distracted running around there instead of getting to the good stuff. Wouldn't that work for something like Nimda?
Hey, I posted info about this more than a month ago... Here are the articles I linked to: Heise News Ticker and the posting at incidents.org in which Tom Liston first introduced his idea...
Animals that fell into tar "pits" were NOT "preserved in pristine condition". Their remains were reduced to bones with no soft tissue.
You're probably thinking of those "frozen" mammoths and other critters from Siberia and Alaska. And even they aren't "pristine" -- they had time to begin to decompose, then were both dried and frozen, becoming mummified (like the "Ice Man"). Read R. Dale Guthrie's "Frozen Fauna: the Story of Blue Babe" for the details.
Lyka, the compulsive armchair paleontologist
I wonder... could a similar approach work against SPAM? Perhaps scanning for well known stealth mailer signatures and then slowing the data flow to nearly a stop.
Anything like that out there already?
In order to attack site X, the worm penetrates into Slashdot servers and writes an article that links to X.
--
The Cap is nigh. Time to get a fresh new account.
$5 / month hosted VPS on linux = awesome!
To really help this situation out -- make a script that (some are controversial and could be debated):
0) Diverts log spamming by making an abuse.log or the likes;
1) Reports these attacks to databases that are interested in gathering statistics and also collaberative blacklists that can be used in the future;
1) Blocks further requests from the IP (netblock?).
2) Leaves a message on the effected machine -- that the machine has been infected;
2) Attempts to find the administrators of the network/domain that the machine resides on - Maybe like spamcop looks for the abuse email - and sends out a notification;
3) Slows down or stops the worm by exploiting it's automated scanning cycle (like this tool attempts to do);
4) Attempts to stop the worm by infecting it with a worm killing virus such as a small script that executes on the host crippling the propogation mechanism.
4) Shutsdown or freezes the machine if the administrator doesn't fix the problem with in a days time (other detected attacks from same network).
--- Delta0.. makes no difference.
It's VIRUSES, not virii. No such word as virii, no matter how cool you think you sound when you use it.
from the article:
"Up until now, the black hats were the Mick Jaggers of the Net..."
So they...
Have big lips?
Keep making womrs even though they're way past their prime?
Do lots of drugs?
Star in, and direct, lousy movies?
Okay, please don't flame this suggestion (in case I haven't thought it through).
Nimda is basically pissing me off because of the generated network traffic. A possible solution is to shut down (and clean) the infected IIS servers. From my understanding the worm has a number of phases but they basically allow programs to be run on the infected machine (to set up samba mounts etc). So how about this:
I'm not that familar with Windows so don't know how easy/feasible this is. It's a challenge and if I wasn't going on holidays in two days with shit load of things to do I'd make it my new short-term pet project.
Wil
--
http://bd4.amristar.com.au/
If you have a large network, you might very well be helping yourself far in excess of the bandwith used by the tarpit, certainly a win in my book.
A variant of this that stickied up ALL the ports rather than just port 80 might be interesting. Deply that on your net and anybody who tries to portscan the phantom machines might spend a LONG time trying to categorize them. B-)
Similarly, making some of the otherwise unused ports on a REAL machine sticky would also be a problem for portscanners - though somewhat impolite to people who are attempting to connect for legitimate reasons.
Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
OK. I have to admit that this tool is pretty neat. But here is a potential problem I see:
1: Computer running LaBrea picks up a request for 10.0.4.1, and adds it to the IP address list it monitors.
2: Computer "Atlantis" boots up and requests the ip address 10.0.4.1 from the DHCP server.
3: The DHCP has no record of any other computer using this IP address, so it issues this IP address.
4: "Atlantis" is now cur off from the network.
Does anyone know if this is a problem? I imagine it could be solved by making it dhcp aware and using rarp after seeing dhcp requests...
LedgerSMB: Open source Accounting/ERP
Prolly cause i'm a dumb ass... anyway
this is something that the w3 should really look into.. I cant really imagine implementing something like this as a 'standard', but it would kick ass for the whole net to be set up in such a way. its definately a good deterent to all these retarded m$ worms and the hordes of kidiots.
great software...
Tools like LaBrea are cool, but aren't more then hacks. By wasting the TCP timeout on these worms it just forces the next worm writer to create a multi-threaded worm which would instantly be immune to such a defense.
Multi-threaded. You mean it might spin up, maybe 100 or 300 threads and attack other machines? Oh wait! Code red did that!
Many wroms are multithreaded, and Labrea would show them down too. However, a very clever virus might initially take a performance hit but then recover and not hit known tarpits. That would, however, prevent the virus from being very...undetectible
LedgerSMB: Open source Accounting/ERP