Demystifying Network Attacks DDoS - DoS Edition - by Xyr0x
Demystifying Network Attacks DDoS - DoS Edition - by Xyr0x
Author: xyr0x
Date: Saturday, September 23rd, 2006 - 9:04pm
Security Focus: Identifying the DDoS/DoS Attacker Source
Copyright: xyr0x security 2006
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
Table of Context
0: Shouts
1: Overview
2: What to look for
3: Idenfitying the attacker(s)
4: Identifying the user(s)
5: About Author
6: Other References
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
0: Shouts:
I'd like to give thanks to firey for encouraging me to write this paper. Murder mouse,
halla, Dark_Benkin, Pal, infektid, n00b, MurderSkillz(g00ns.net), NabZ, 7Sean, all the
members of DarkDevelopments.com, and their twin site, informationleak.net, members
of the Chaostheoryradio.com network, and the recent discovery of the Guinea pig videos.
Get gruesome YO!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
1: Overview:
This is a short little "security paper" that I'm about to write for those uninformed
webmasters out there, on how to identify the culprit for the innocent. What we're doing
here is we're using comparisons, and already known HTTP 1.1 status code definitions.
For example: 404 = not found, catch my drift? Well anything over 5xx, means that there's
something wrong with the processing of connections, by somebody remotelly. Either
your site's not appropriatelly assigned by it's database, e.g you've disallowed a user to
visit that part of your site, or you're under an attack. I'm a big fan of privacy and whatnot,
but I'm now going to give a slightly modified visual demonstration in text that is, from
the Darkdevelopments packet dump which I recieved from Firey. Thanks firey, glad that
I could be of help for DarkDevelopments. We rock, and the scumfucks that attack us is a
futile move on their behalf. =P
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
Here's probably the best trick in my book, "Time Instances between connections"
Normally, a user doesn't connect to a website, 04/Sep/2006, at 20:03:39 "8:03pm" and
then "Reconnect" 10 times more, within the same time limit, unless you're a robot. A user
doesn't goto a website over and over again, just to view the banner. And there are alot of
other descrepancies which may reserve warrent of that it not being accessed by a actual
user.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
[Attacker]
65.78.77.182 - - [03/Sep/2006:20:41:00 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 200 73947 "-" "-"
This is the schematic of what it would look like if you have an attacker, using a
DDoS/DoS program. Notice the directory and file it's trying to pull up? Normally a user
already see's it on the main interface of the website, so the need to dig the image folder,
and pull it up? it's not going to perform much of any usefullness, except maybe to rip,
cause you're a stupid scumbag. Anyway, it's returning an HTTP/1.0" 200 status, which
means the server is Successful, and OK, on returning the website's content to the current
surfer at that time, also meaning that it hasn't been DDoS/DoS'd yet however this can be
confusing, but the attributes should be a dead give away. e.g accessing images/header.jpg
Who care's? You see it when you enter the site., And, it's not returning any OS or
Browser feedback. So we obviously know that this is the attacker. Not some user who's
there to learn. Respectivelly,
Other identifications with proper synapsis implemented by me, explaining what it all
means, for you newbs.
[This is an Attacker. Unfortunetally, he's using AOL. notice the time frame, and it not
getting anything except the header.jpg]
172.131.150.225 - - [04/Sep/2006:14:15:30 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:15:30 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:15:30 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:15:30 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:16:37 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:16:37 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:16:37 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:16:37 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
172.131.150.225 - - [04/Sep/2006:14:16:37 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
[Another attacker, notice the time frame, and it not getting anything except the
header.jpg]
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:38 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:39 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
69.105.20.217 - - [04/Sep/2006:20:03:40 -0400] "GET
http://www.darkdevelopments.com/images/header.jpg HTTP/1.0" 500 - "-" "-"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
This is the schematic of what it would look like if you have an user(s) browsing your site,
or viewing a page. Now depending on the end users OS, browser, and whatnot, it may
appear different. However this user's using Mozilla Firefox version 5.0 (Above info), and
what does that tell you? That's telling you, that, that user's using a browser to access your
site. As the attacker format, is entirelly different, and doesn't imply a browser, OS, or
anything. It reads out a null/unidentified charactor formulation of "-" "-" Which is where
the "Browser/OS/etc" would be exhibited, if you look closely to them both.
Other user identifications, with proper synapsis implemented by me, explaining what it
all means, for you newbs.
[This looks like an attacker, or could be a user trying to snoop the robots.txt]
65.214.44.31 - - [04/Sep/2006:13:58:52 -0400] "GET /robots.txt HTTP/1.0" 500 - "-"
"Mozilla/2.0 (compatible; Ask Jeeves/Teoma;
+http://about.ask.com/en/docs/about/webmasters.shtml)"
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
5: About Author
This is the about me part, w00t. I'm 23, male, and I live in the U.S.A, I concider myself
an essentric hacker/programmer, or if appropriatly put, Security Enthusiast, and a real
good friend, for those who share equal respect for me, the scene and my favorite
hangouts. Obviously, you know my handle's xyr0x already... uhm, that's about all I have
to say, and if you want to contact me, you may do so, by using the following methods.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%% %%%%%%%
6: Other References
Below are some references which furthermore explain about HTTP and DDoS/DoS
Protection, and whatnot, since all my paper does, is tell you how to identify, and possibly
Ban the IP's on your part. I Hope you like what I selected for you. =]