LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 03-25-2004, 07:11 AM   #1
prinski
LQ Newbie
 
Registered: Jul 2002
Posts: 7

Rep: Reputation: 0
IP spoofing


Hi,
I want to ask a question about IP spoofing.
I read some papers on it thoroughly, like the papers on IP spoofing on SANS and Phrack magazine (for the links, see lower).

These papers are quite aged (1996, 2000) and tell me about the 64K rule and time-based sequence number increasings. I suppose that, because this TCP vulnerability are widely known for a long time, new operating systems have accurate prevention mechanisms (like better random numbers generators and other things)

Now my question is, in what extent are IP spoofing attacks possible in the current operating systems? What has changed and áre the attacks still possible?

can someone answer this?

greets,
prinski

the papers i read:
* IP Spoofing Explained - From Phrack Magaizine by daemon9 / route / infinity
* A short overview of IP spoofing: PART I by Brecht Claerhout
* A short overview of IP spoofing: PART II by Brecht Claerhout
* Very simple explanation of IP spoofing by Victor Velasco
 
Old 03-25-2004, 11:39 AM   #2
benjithegreat98
Senior Member
 
Registered: Dec 2003
Location: Shelbyville, TN, USA
Distribution: Fedora Core, CentOS
Posts: 1,019

Rep: Reputation: 45
I don't think your links have shown up because you don't have enough posts to post a link yet...

But yes it is still possible. They are not easy, which I'm sure the article would've pointed out. I look throught my firewall logs at both home and work and see it all the time where people have tried to get a response by using a spoofed "internal IP address"
 
Old 03-25-2004, 12:27 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Well it depends how completely you want to spoof. The UDP transport, for instance, has not "connection" state, so there are no sequence numbers to maintain. For that reason anyone can send a UDP datagram with a spoofed source--same with ICMP. For TCP there are sequence numbers, but as mentioned above some times they're predictable. Many operating systems have taken steps to correct that, so for instance the *BSD family, Linux, and Windows have all changed their TCP sequence generation, and even changed the way they fill some unused flags in the TCP headers.

What this doesn't eliminate is a MitM (Man in the Middle) attack. If you're sitting on a network device between the two parties on a TCP connection, you can intercept the datagrams from each end and forward specially crafted datagrams in their place. Neither end would be the wiser, since the sequence numbers and checksums would agree.

Various countermeasures have been designed to prevent MitM attacks, such as SSL/TLS, IPsec, and IPv6.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
E-mail spoofing watashiwaotaku7 General 1 02-26-2005 12:55 AM
Ip spoofing !! freelinuxcpp Linux - Networking 4 03-01-2004 01:08 PM
IP spoofing tied2 Linux - Security 4 07-30-2002 07:55 AM
IP Spoofing robeb Linux - Security 2 06-25-2002 12:08 AM
IP spoofing in Linux zLinuxz Linux - Security 1 04-19-2002 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration