The Packet Fragmentation Attack
Packet fragmentation can be utilized to get around blocking rules on some firewalls.
This is done by cheating with the value of the Fragment Offset. The trick is to set the value of the Fragment Offset on the second packet so low that instead of appending the second packet to the first packet, it actually overwrites the data and part of the TCP header of the first packet.
Let's say you want to `telnet` into a network where TCP port 23 is blocked by a packet filtering firewall. However, SMTP port 25 is allowed into that network.
What you would do is to send two packets:
The first packet would:
• Have a Fragmentation Offset of 0.
• Have the DF bit equal to 0 to mean "May Fragment" and the MF bit equal to 1 to mean "More Fragments."
• Have a Destination Port in the TCP header of 25. TCP port 25 is allowed, so the firewall would allow that packet to enter the network.
The second packet would:
• Have a Fragmentation Offset of 1. This means that the second packet would actually overwrite everything but the first 8 bits of the first packet.
• Have the DF bit equal to 0 to mean "May Fragment" and the MF bit equal to 0 to mean "Last Fragment."
• Have a Destination Port in the TCP header of 23. This would normally be blocked, but will not be in this case!
The packet filtering firewall will see that the Fragment Offset is greater than zero on the second packet. From this data, it will deduce that the second packet is a fragment of another packet and it will not check the second packet against the rule set.
When the two packets arrive at the target host, they will be reassembled. The second packet will overwrite most of the first packet and the contents of the combined packet will go to port 23.
PACKET ATTACK
Subscribe to:
Post Comments (Atom)
CONTENTS
-
▼
09
(57)
-
▼
2
(57)
- IE SECURITY THREAT
- NETWORK SECURITY
- MALWARE
- WHAT EXACTLY IS A VIRUS? IS A “WORM” ALSO A VIRUS?...
- PREVENT A VIRUS FROM INFECTING MY COMPUTER.
- ANTIVIRUS SOFTWARE
- COOKIES
- FIREWALL:
- PACKET FILTER:
- IP SPOOFING ATTACKS: DESCRIPTION
- SVRCHOST.EXE
- WINDOWS VISTA PROTECTION
- KEYLOGGER
- AUTORUN.INF
- NUWAR OL WORM
- VALENTIN E WORM
- PREVENTING WORM INFECTIONS
- XPLORER.EXE
- REGSVR VIRUS
- COMMON THREATS
- TYPES OF VIRUS
- GOOD VIRUSES
- FIRST VIRUS IN LINUX
- SECURITY IN WIRELESS NETWORK
- FAKERY
- FEW TIPS
- MALWARE IN MUSIC OR VIDEO FILES
- FAKE EMAILS
- EMAIL ATTACHMENTS
- DOWNLOADING SAFELY
- HACKERS
- POP UP MALWARE
- DOS ATTACKS
- TCP ATTACKS
- PACKET ATTACK
- LATEST THREATS
- MOST ACTIVE VIRUSES
- SPYWARE
- PICTURES
- INSIDE THREATS
- W32 THREATS
- HOAXES
- KHATRA.EXE
- ATTACKS IN LINUX
- HACKING IN LINUX
- GAME.EXE
- TROJAN HORSES
- SPAM
- PHISHING
- PACKET SNIFFERS
- MALICIOUSLY CODED WEB SITES
- PASSWORD ATTACKS
- HARDWARE LOSS AND RESIDUAL DATA FRAGMENTS
- SHARED COMPUTERS
- ZOMBIE COMPUTERS AND BOTNETS
- PRESENT SITUATION
- GHOST ADWARE
-
▼
2
(57)


0 comments:
Post a Comment