PtokaX forum

Stuff => Offtopic => Topic started by: jiten on 27 November, 2004, 21:59:57

Title: IP hijack
Post by: jiten on 27 November, 2004, 21:59:57
Hi there.

Well, in the last few days, my hub has been a victim of IP hijacks.

They drop the hub server's connection and then hijack its IP, so that all user connections go temporarily to the hijacker's server who kicks/bans and redirects everyone.

We solved it by changing the IP adress in the no-ip account to another one.

Is there any way to prevent this kind of hijacks?

jiten
Title:
Post by: witch on 28 November, 2004, 00:09:38
i would also like to know it......had the same problem  :(
Title:
Post by: plop on 28 November, 2004, 16:35:48
sorry 2 say but this is only posible on crap isp's.
a good setup fw on linux/bsd solves this without any problem.
it's called spoofing.
windows is the weakest link here, it just let the other compie take the ip (it gives a bsod on 98).

plop
Title:
Post by: witch on 28 November, 2004, 18:59:32
thx plop 4 info, hope to find new linux host sOOn  :P
Title:
Post by: jiten on 28 November, 2004, 20:39:33
Isn't there any software/firewall for XP to prevent those kind of attacks?
Title:
Post by: bastya_elvtars on 28 November, 2004, 22:54:49
QuoteOriginally posted by jiten
Isn't there any software/firewall for XP to prevent those kind of attacks?

outpost can solve these problems, altho dunno if it can solve THIS.
Title:
Post by: Cypher on 28 November, 2004, 23:24:14
get a better firewall :P
Title:
Post by: witch on 28 November, 2004, 23:26:53
i use outpost but wasn't save from atack, firewall cousing cpu 100% during atack, couldn't even open it  :baby:
Title:
Post by: Cypher on 28 November, 2004, 23:30:10
lol, software firewalls are crap against attacks. try a cisco or sumit ;)
Title:
Post by: plop on 29 November, 2004, 01:22:11
the attack causes a problem on the tcp/ip stack.
the software firewall runs on top of that so it will never work.
on a hardware firewall or linux/bsd system the firewall is running inside the tcp/ip stack, and thus it can protect against it.
but it isn't the fw which does the real protecting, it just refuses 2 drop the ip on a conflict.
by the idea of "i had it 1st".

plop
Title:
Post by: bastya_elvtars on 29 November, 2004, 01:41:42
QuoteOriginally posted by witch
i use outpost but wasn't save from atack, firewall cousing cpu 100% during atack, couldn't even open it  :baby:

disable logging in outpost 2.5 then it wont eat 100% cpu nuttin more to offer lol
Title:
Post by: Psycho_Chihuahua on 29 November, 2004, 11:59:53
QuoteOriginally posted by jiten
Isn't there any software/firewall for XP to prevent those kind of attacks?

Since SP2 there is a Firewall integrated into Windoze XP, Windows 2003 is the other Vesion that already has a Firewall
Title:
Post by: plop on 29 November, 2004, 17:58:16
QuoteOriginally posted by Psycho_Chihuahua
QuoteOriginally posted by jiten
Isn't there any software/firewall for XP to prevent those kind of attacks?

Since SP2 there is a Firewall integrated into Windoze XP, Windows 2003 is the other Vesion that already has a Firewall
it been in 2003 and xp from the start and it's still as leaking as it was on the start.
and like i said before the problem can't be solved by a firewall, the problem is the tcp/ip stack of windows.
and the firewall from windows shouldn't ever be used in combination with dc.

plop
Title:
Post by: v??KM?k on 06 December, 2004, 01:21:49
there is a software wall that drops packets that r no good but you can still max out the chip.
V isthnetic
Title:
Post by: witch on 24 December, 2004, 00:35:47
...my hub attacked again :(  looks like time to get router/firewall.....any advice what to get?

thx & Merry Christmas  :))
Title:
Post by: n1ck on 24 December, 2004, 01:06:33
Dunno if this may help, but wouldnt it be better if you werent on no-ip and had your own domain?
Title:
Post by: [PT]CableGuy on 24 December, 2004, 07:50:44
Hi there:

It seems , that ZoneAlarm and Kerio firewalls prevent "ip spoofing". :]
The main problem is the "direct modem" connection...giving a public IP to the hub's PC.
This is a problem when the "attack" is some kind of DoS (Denial of Services).
DoS is "a flood" , so to speak , and when the PC reaches full consumption of "native processes"...
...it crashes , allowing the "alleged hacker" to spoof you're IP and "take control" of you're network.
My advice (like plop) is to use a linux router !!!
You'll only need a 200MHz PC with more than 128Mb of RAM....with IPCOP (http://www.ipcop.org/) !!!
IPCOP is a linux distribution and it's one of the best routers i've ever seen.
The ideia is to "place" a IPCOP machine between you're modem and you're local network.
This way....the attacked machine is allways the IPCOP machine.

btw: Having a router (hardware/software) prevents "local PCs" to be "seen" on the internet.
Title:
Post by: witch on 24 December, 2004, 11:02:40
Thx n1ck, but of cose i do use DNS service...

[PT]CableGuy thx 4 info man, i'll maybe try that too...

Merry Christmass every1  :D
Title:
Post by: plop on 24 December, 2004, 17:23:12
QuoteOriginally posted by n1ck
Dunno if this may help, but wouldnt it be better if you werent on no-ip and had your own domain?
this doesn't mather.
when you open a website your browser is gone send a request to the DNS servers, asking them 2 translate the given url into an IP.
your browser then trys 2 connect 2 that IP.
incase of an attack this would be the point where it starts.

plop
Title:
Post by: n1ck on 24 December, 2004, 18:29:24
I certainly know that sygate has mac spoofing detection (as i've been hit a few times). Also its damn good anyway lol
Title:
Post by: jiten on 25 December, 2004, 18:24:56
QuoteOriginally posted by plop

a good setup fw on linux/bsd solves this without any problem.

plop

which firewall would you recommend for linux? in my case, mandrake 10.1?

regards,

jiten
Title:
Post by: plop on 25 December, 2004, 22:49:15
QuoteOriginally posted by jiten which firewall would you recommend for linux? in my case, mandrake 10.1?
they say ipcop and thewall are really good on linux.
i'm a freebsd user myself, on that they use there own firewall.
freebsd 4.x and older uses ipfw and freebsd 5.x uses ipfw2.
2 activate these you can either load the kernel module, but better is 2 compile a new kernel with the firewall inside it.

plop
Title:
Post by: jiten on 29 December, 2004, 11:21:44
hi there.
well, i downloaded ipcop and thewall but, both of them delete all the existing partitions on disk for the installation.
isn't there other firewall for that prevents this kind of attacks and doesn't require deleting partitions or a old pc to run?

best regards,

jiten
Title:
Post by: plop on 29 December, 2004, 17:58:47
QuoteOriginally posted by jiten
hi there.
well, i downloaded ipcop and thewall but, both of them delete all the existing partitions on disk for the installation.
isn't there other firewall for that prevents this kind of attacks and doesn't require deleting partitions or a old pc to run?

best regards,

jiten
try freesco (//www.freesco.org).
it should be able 2 handle these attacks and it runs from a floppy.

plop