Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Somekind of attack
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
petkouzunski
n00b
n00b


Joined: 26 Dec 2004
Posts: 26
Location: Bulgaria

PostPosted: Tue Aug 23, 2005 12:13 pm    Post subject: Somekind of attack Reply with quote

Yesterday a guy from my network showed me what I'd written in IRC. We talked for a while and he said he had stolen a big ammount of unencrypted passwords. I had no static arp entries so I thought he had made an ARP spoof attack (man-in-the-middle). I made static entries in /etc/ethers and thought I'm secured. This morning I installed arpstar, loaded it and asked him to try to attack me and he did. BUT (there is always one "but") I couldn't log his attacks (neither by arpstar, neither by tcpdump, ethereal or whatever you can imagine). The arpstar module works (we tried it with a friend and it logged him). So my questions are:

1. How to protect myself from being attacked?
2. How to log any other attempts?


P.S. I'm not 100% sure the attack is an ARP spoof attack!

Thanks in advance!
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Tue Aug 23, 2005 12:44 pm    Post subject: Reply with quote

well, IRC,AIM, etc all just go over the line as text, so if he's sitting at a router, he can just tcpdump it.

It sounds like the real problem is that your network has a lot of unencrypted data (including passwords???).
Back to top
View user's profile Send private message
atmat
n00b
n00b


Joined: 23 Aug 2005
Posts: 7

PostPosted: Tue Aug 23, 2005 12:57 pm    Post subject: Re: Somekind of attack Reply with quote

petkouzunski wrote:
Yesterday a guy from my network showed me what I'd written in IRC. We talked for a while and he said he had stolen a big ammount of unencrypted passwords. I had no static arp entries so I thought he had made an ARP spoof attack (man-in-the-middle). I made static entries in /etc/ethers and thought I'm secured. This morning I installed arpstar, loaded it and asked him to try to attack me and he did. BUT (there is always one "but") I couldn't log his attacks (neither by arpstar, neither by tcpdump, ethereal or whatever you can imagine). The arpstar module works (we tried it with a friend and it logged him). So my questions are:

1. How to protect myself from being attacked?
2. How to log any other attempts?


P.S. I'm not 100% sure the attack is an ARP spoof attack!

Thanks in advance!


The only "real" way to secure your host fom arp MITM attacks is this this. Setting static arp will do the job but if your network is large then it's not always possible. Then again what if someone send an arp pkg with spoofed src? Think about it, if your computer replies it could turn your host into a zombie and use it to DOS the original machine.
To log arp packet's use these:

Quote:

* net-analyzer/arpwatch
Latest version available: 2.1.11-r1
Latest version installed: [ Not Installed ]
Size of downloaded files: 123 kB
Homepage: http://www-nrg.ee.lbl.gov/
Description: An ethernet monitor program that keeps track of ethernet/ip address pairings
License: BSD

* sec-policy/selinux-arpwatch
Latest version available: 20050408
Latest version installed: [ Not Installed ]
Size of downloaded files: 0 kB
Homepage: http://www.gentoo.org/proj/en/hardened/selinux/
Description: SELinux policy for arpwatch
License: GPL-2


let us know :-)

ps. Was your friend able to trace ssl connections as well? ;)
Back to top
View user's profile Send private message
petkouzunski
n00b
n00b


Joined: 26 Dec 2004
Posts: 26
Location: Bulgaria

PostPosted: Tue Aug 23, 2005 3:14 pm    Post subject: Reply with quote

The network isn't very big (less than 500 machines). I have a static ARP entry for the gateway and a free file server (SAMBA share) on the network. But when he attacks me I can't access the file server (I DO have a static entry for it too). The boy sits behind his PC. He can't listen the traffic and get passwords as clear text mainly because my ISP uses switches. If it is an ARP attack he can listen SSL connections, I think, because he makes all PCs transfer their packets to him and he routes him. But I can't realize how he does it! I tried to listen with ETHEREAL but I get only 3 packets for 5 minutes and they aren't suspicious. I'll make a log and post it here but it'll be later.

Quote:
Then again what if someone send an arp pkg with spoofed src? Think about it, if your computer replies it could turn your host into a zombie and use it to DOS the original machine.

No idea ... I think he can't do that mainly because he doesn't know how to do it ....

BTW - arpwatch and selinux-arpwatch are compiled successfully now ...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot 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