View previous topic :: View next topic |
Author |
Message |
petkouzunski n00b


Joined: 26 Dec 2004 Posts: 26 Location: Bulgaria
|
Posted: Tue Aug 23, 2005 12:13 pm Post subject: Somekind of attack |
|
|
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 |
|
 |
adsmith Veteran

Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Tue Aug 23, 2005 12:44 pm Post subject: |
|
|
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 |
|
 |
atmat n00b

Joined: 23 Aug 2005 Posts: 7
|
Posted: Tue Aug 23, 2005 12:57 pm Post subject: Re: Somekind of attack |
|
|
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 |
|
 |
petkouzunski n00b


Joined: 26 Dec 2004 Posts: 26 Location: Bulgaria
|
Posted: Tue Aug 23, 2005 3:14 pm Post subject: |
|
|
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 |
|
 |
|