IDS mailing list archives
Re: SNORT: MAC Address Alert
From: Jordan Wiens <jwiens () nersp nerdc ufl edu>
Date: Fri, 19 Sep 2003 14:53:42 -0400 (EDT)
Sorry couple of typos in that line the first time. Corrected below. Should be: tcpdump -i wlan0 -c 1 -l '(ether host BA:DC:AB:BE:DE:AD) or (ether host BA:DC:AB:BE:22:22)' | mail -s "MAC alert" myphone () mycarrier com Of course, that's more of a one-off notification. If you want to keep a constant watch, the other suggest of dumping the data to a file and having another script monitor the file for changes is more effective in the long term, but this is simpler for a quickie. -- Jordan Wiens, CISSP UF Network Incident Response Team (352)392-2061 On Thu, 18 Sep 2003, Jordan Wiens wrote:
You could do that with snort, or you could more simply use tcpdump. If you have a machine with a wireless card and a network card, simply use tcpdump and have it log all packets from those MACs and send the output to a script that mails your phone. Assuming wlan0 is the wireless interface, tcpdump -i wlan0 -c 2-l '(ether host BA:DC:AB:BE:DE:AD) or (ether host BA:DC:AB:BE:22:22)' | mail -s They are back myphone () mycarrier com
--------------------------------------------------------------------------- Captus Networks IPS 4000 Intrusion Prevention and Traffic Shaping Technology to: - Instantly Stop DoS/DDoS Attacks, Worms & Port Scans - Automatically Control P2P, IM and Spam Traffic - Precisely Define and Implement Network Security & Performance Policies FREE Vulnerability Assessment Toolkit - WhitePapers - Live Demo http://www.securityfocus.com/sponsor/CaptusNetworks_focus-ids_000101 ---------------------------------------------------------------------------
Current thread:
- SNORT: MAC Address Alert James Williams (Sep 18)
- Re: SNORT: MAC Address Alert Jordan Wiens (Sep 19)
- Re: SNORT: MAC Address Alert Jordan Wiens (Sep 22)
- Re: SNORT: MAC Address Alert Mark Coleman (Sep 19)
- Re: SNORT: MAC Address Alert noconflic (Sep 19)
- Re: SNORT: MAC Address Alert Florin Andrei (Sep 19)
- Re: SNORT: MAC Address Alert Brad McGary (Sep 19)
- Re: SNORT: MAC Address Alert noconflic (Sep 22)
- Re: SNORT: MAC Address Alert Maxime Ducharme (Sep 22)
- Re: SNORT: MAC Address Alert noconflic (Sep 22)
- <Possible follow-ups>
- RE: SNORT: MAC Address Alert Jorge Coll (Sep 22)
- Re: SNORT: MAC Address Alert Jordan Wiens (Sep 19)