|
Donation/Premium |
|
 |
|
|
|
|
|
|
|
 |
 |
| View previous topic :: View next topic |
| Author |
Message |
YounGun
1st Responder Site Moderator
 Joined: Dec 11, 2004 Posts: 4330
|
Posted: Sat Sep 08, 2007 4:57 pm Post subject: Denial of Service - Overview |
|
|
Denial of Service is exactly what it sounds : a type of attack that disrupts normal service functions, making it deny requests from legitimate clients. For an easier understanding, we'll just take an example the castlecops.com webpage. It is ran by a UNIX service called a "daemon" - think of it as an always-on, server-side program that makes the web page available when you visit it. This service is designed to support a certain number of connections and a certain quantity of traffic. If at any given time, the service would get 100.000 requests to display the main page in a second, the service wouldn't be able to fulfill any other requests, because of the overflow of incoming and outgoing traffic that the 100.000 requests have generated.
There are 3 types of Denial of Service attacks:
1. Denial of Service (DoS) - this type of attack implies a single attacker that sends packets directly to the targeted system so we have a single attacker and a single target.
2. Distributed Denial of Service (DDoS) - In this case scenario we have multiple infected computers (called zombies) that are being remotely controlled by the attacker, thus we have multiple attacks, coming from multiple attackers.
3. Distributed Reflective Denial of Service (DRDos) - In this type of attack the attacker uses an "Amplification Network". It sends an ICMP or UDP packet to the Amplification Network spoofing the "Source" and "Destination" of the packet with the victim's address. Thus, every system from the Amplification Network will reply with an echo packet to the victim.
Here are some of the most popular forms of DOS attacks:
Ping Flood - ICMP packets sent directly to the victim system (rather old tehnique)
Smurf - a type of DrDos attack (using an Amplification network) with ICMP packets - described above at 3
Fraggle - similar to Smurf, but uses UDP packets towards port 7 and 19
SYN Flood - Exploits the TCP three-way handshake - The attacker sends an initial SYN packet, and the victim system replies with a SYN ACK packet. The attacker doesn't reply with the ACK packet to complete the 3-way handshake, but leaves the victim for a response.
Land - Spoofed SYN packets with the source and destination addresses identified as the victim site. This causes the system to crash as it attempts to respond to its own packet.
Teardrop - this attack is made out of fragmented UDP packets that, when received by the victim system, and rebuilding them, and invalid UDP packet is created, causing a system error, crash or reboot.
Links and reference:
http://www.cert.org/tech_tips/denial_of_service.html
http://www.denialinfo.com/dos.html
http://tools.ietf.org/html/rfc4732
http://www.linuxsecurity.com/content/view/121960/49/ _________________ IT Stuff
|
|
| Back to top |
|
 |
ChrisRLG
Security Expert Microsoft MVP
 Joined: Apr 14, 2004 Posts: 515 Location: UK
|
Posted: Sat Sep 08, 2007 9:35 pm Post subject: |
|
|
We are also seeing attacks to the SMPT port - similar to the SYN Flood ones - they start a connection and leave things hanging.
They at DDoS too not DoS. _________________ MS MVP member since 2005
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
|
|
| Back to top |
|
 |
Paul
CastleCops Founder
 Joined: Feb 22, 2002 Posts: 27351
|
|
| Back to top |
|
 |
ChrisRLG
Security Expert Microsoft MVP
 Joined: Apr 14, 2004 Posts: 515 Location: UK
|
Posted: Sat Sep 08, 2007 10:08 pm Post subject: |
|
|
Not in public Paul - as they may not all be my own domains.
Also my team/methods, being very proactive, have keep them 'at bay' for the moment. _________________ MS MVP member since 2005
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
|
|
| Back to top |
|
 |
ChrisRLG
Security Expert Microsoft MVP
 Joined: Apr 14, 2004 Posts: 515 Location: UK
|
Posted: Sat Sep 08, 2007 10:12 pm Post subject: |
|
|
another type - very hard to notice.
Multi get requests from the same IP for the same file, offen linked with others to a DDoS via that method.
Sometimes the file will not even exist.
Can should be taken with this, as moved files can show up, where a link is still in place elsewhere on the web, linking to the removed file. _________________ MS MVP member since 2005
Matthew 7:7"Ask and it will be given to you; seek and you will find; knock and a door will be opened to you."
|
|
| Back to top |
|
 |
suziecue
Trooper

 Joined: Sep 07, 2007 Posts: 21 Location: USA
|
Posted: Sat Sep 08, 2007 10:29 pm Post subject: |
|
|
| ChrisRLG wrote: | | Multi get requests from the same IP for the same file, offen linked with others to a DDoS via that method. |
aa419.org was seeing this in combination with SYN flooding, during the last week.
|
|
| Back to top |
|
 |
s0tet
PIRT Handler
 Joined: May 21, 2005 Posts: 2945
|
Posted: Sat Sep 08, 2007 10:40 pm Post subject: |
|
|
Good write-up, YG.
I wanted to add this: Sadly then, depending on the severity of the attack, hosts have to take the attacked servers off line by null-routing IPs, otherwise, the attacks can bring down its entire data center.
If a server is engaged in an outbound DOS attack (due to its being compromised) same deal, depending on its severity, it, too, is taken offline. High bandwidth charges often follow. The host or the its customer has to pay for the overages. Upstream providers often get involved in the larger attacks.

|
|
| Back to top |
|
 |
AlphaCentauri
SIRT Handler Premium Member
 Joined: Nov 20, 2003 Posts: 2859
|
Posted: Sun Sep 09, 2007 2:23 pm Post subject: |
|
|
When Ironport first took over Spamcop, people wondered how they would make it profitable. Since botnets have spread the spam sources so widely that most never make it onto the Spamcop blocklist, that would seem even more of a question today. But if they are constantly under DDoS, they must have amassed a pretty marketable list of IP addresses. Do we know if they are offering DDoS mitigation services or selling data to companies like Prolexic?
|
|
| Back to top |
|
 |
hendomatic
PIRT Handler Premium Member
 Joined: Jan 27, 2007 Posts: 260
|
Posted: Sun Sep 09, 2007 4:33 pm Post subject: |
|
|
Just to add a little bit of detail and commentary...
| Quote: | Ping Flood - ICMP packets sent directly to the victim system (rather old tehnique)
Smurf - a type of DrDos attack (using an Amplification network) with ICMP packets - described above at 3
Fraggle - similar to Smurf, but uses UDP packets towards port 7 and 19
SYN Flood - Exploits the TCP three-way handshake - The attacker sends an initial SYN packet, and the victim system replies with a SYN ACK packet. The attacker doesn't reply with the ACK packet to complete the 3-way handshake, but leaves the victim for a response.
Land - Spoofed SYN packets with the source and destination addresses identified as the victim site. This causes the system to crash as it attempts to respond to its own packet.
Teardrop - this attack is made out of fragmented UDP packets that, when received by the victim system, and rebuilding them, and invalid UDP packet is created, causing a system error, crash or reboot.
|
Everyone of these techniques can be mitigated with proper ingress filtering and synflood control. Most modern routers and firewalls have syn flood protection and rate limiting.
Anyone that gets whacked by Teardrop or Land deserves it
Amplification attacks like smurf and fraggle are when spoofed source address packets like icmp or udp are sent to the broadcast address of large netblocks and all hosts on that network respond to the packet. Once again proper ingress antispoofing filtering and denial of directed broadcast packets make these attacks less effective.
Why ISP's dont do this is simple. There is no incentive for them to do so.
|
|
| Back to top |
|
 |
Lord_Vader
Corporal

 Joined: Sep 08, 2007 Posts: 58 Location: Germany
|
Posted: Sun Sep 16, 2007 9:54 am Post subject: |
|
|
| Quote: | | Anyone that gets whacked by Teardrop or Land deserves it |
Storm is allegedly able to pound out 1Gbps, which is exactly the incoming traffic we were seeing at the height of the attack. The network segment our server was on was able to handle 100MBit only, so we had incoming traffic that was 10 times what we were physically able to handle and of course it impaired our "neighbors" as well and thus our provider had no other choice but to make our IP unavailable.
What I am trying to say is that what you are saying might be true for large ISPs, but the owners of an attacked server can have an excellent firewall all they like, if they physically aren't able to handle the amount of incoming packets they are screwed. In this case it was our provider who pulled the plug as an emergency measure. We had no influence on it.
|
|
| Back to top |
|
 |
tembow
Blue Angel Premium Member
 Joined: Oct 10, 2005 Posts: 2933
|
Posted: Thu Mar 27, 2008 8:02 pm Post subject: |
|
|
Your posting back in September has not received a reply. I know that it is a long time, but ere is my belated response.
Let's say a small ISP is under DDOS attack, flogging its bandwidth or killing its resources. You state | Quote: | | what you are saying might be true for large ISPs, but the owners of an attacked server can have an excellent firewall all they like, if they physically aren't able to handle the amount of incoming packets they are screwed |
Every individual system has one or more Internet links. The target system here will most likely be causing grief to any other systems sharing that/those links. The knee-jerk reaction is to shut down the targt to protect the neighboring victims.
But if you take another step upstream, you are most likely looking at one or more larger ISPs, who are also seeing a bandwidth surge. One step upstream, and you find another set of ISPs, probably larger still. By now you are seeing an inverted pyramid of pipes all converging on the one DDOS target.
Now, in the real world of the Internet, it is in the interests of all the nearest ISPs to invoke their ingress protection measures to mitigate the attack.
| Quote: | | In this case it was our provider who pulled the plug as an emergency measure. We had no influence on it. |
An emergency measure such as "pulling the plug" on the victim should be just that - a temporary fix - until mitigation measures are put in place by the nearest upstream neighbors. That's where ISPs need to work in concert. It needs to be in their back-to-back interconnection agreements, and many of them have just that.
It is up to you, before selecting your bandwidth provider, to find out what your provider offers, and make your decision accordingly.
|
|
| Back to top |
|
 |
|
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001 phpBB Group
|