- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Promiscue mode on ethernet interfaces
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:24 AM
02-25-2004 02:24 AM
Do you know any method to check if a network interface is in promiscue mode (on HP-UX, of course)?
A security auditor claims that this must be done on a regular basis as part of a good security policy.
Any response on this matter will be highly appreciated,
Virgil
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:34 AM
02-25-2004 02:34 AM
Re: Promiscue mode on ethernet interfaces
Promiscuous mode is not generally set on HP-UX and requires some effort to do so. Refer to the following thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=96045
Here are a few of the references found on docs.hp.com:
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/T1453-90001/T1453-90001_top.html&con=/hpux/onlinedocs/T1453-90001/00/00/18-con.html&toc=/hpux/onlinedocs/T1453-90001/00/00/18-toc.html&searchterms=promiscuous%20mode&queryid=20040225-083148
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90139/B2355-90139_top.html&con=/hpux/onlinedocs/B2355-90139/00/00/8-con.html&toc=/hpux/onlinedocs/B2355-90139/00/00/8-toc.html&searchterms=promiscuous%20mode&queryid=20040225-083148
http://www.docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/J5683-90010/J5683-90010_top.html&con=/hpux/onlinedocs/J5683-90010/00/00/15-con.html&toc=/hpux/onlinedocs/J5683-90010/00/00/15-toc.html&searchterms=promiscuous%20mode&queryid=20040225-083148
Hope this helps,
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:34 AM
02-25-2004 02:34 AM
Re: Promiscue mode on ethernet interfaces
You can use the command nettl to set a lan card in promiscue mode and log to a file and you can use netfmt to search trough that file ( can become a big file).
If your network is switched you only can see traffic in you vlan.
Ask the autitor for a plan. This will generate a lot of data and you must have a plan/traget before you can do anything usefull with it, just collecting data is a waste of time/space.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:35 AM
02-25-2004 02:35 AM
Solutionit is important to check your ethernet card regularly to make sure it is not in promiscuous mode. Incidentally, if someone has put your card in promiscuous mode, your machine has had a root compromise. Hence, a simple cron job can give you early warning of any problems. It is possible that a hacker may remove your cronjob, and a good one will. However, a suprising number of break-ins can be caught by running a promiscuous mode detection program.
We recommend ifstatus2.1. The nice thing about ifstatus is it will walk the device list and manually check ethernet cards for promiscuous mode. (If you don't know why this is a good thing, the reason is Solaris doesn't keep track of cards in promiscuous mode..you have to query them directly. Not an easy thing sometimes.)
Ifstatus is available in source and binary form for most operating systems. Solaris is an exception. For ifstatus to work on Solaris certain proprietary header files are needed. Again, running it out of crontab is the best idea. It's easy and will be non-intrusive in day to day operations.
Source Form: ifstatus2.1.tar.gz
http://www.stanford.edu/group/itss-ccs/security/unix/promisc.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:53 AM
02-25-2004 02:53 AM
Re: Promiscue mode on ethernet interfaces
Best regards,
Virgil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 02:58 AM
02-25-2004 02:58 AM
Re: Promiscue mode on ethernet interfaces
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2004 03:00 AM
02-25-2004 03:00 AM
Re: Promiscue mode on ethernet interfaces
ifstatus will report when an ethernet card is in promiscuous mode. Since it only generates output when a card is in promiscuous mode it is ideal for running out of crontab, say every hour. Simply add:
30 * * * * /usr/pubsw/sbin/ifstatus
to run ifstatus at half past every hour.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2004 05:22 AM
02-26-2004 05:22 AM
Re: Promiscue mode on ethernet interfaces
A NIC may go into "multicast promiscuous" mode if enough multicast IPs are logged to get the number of multicast MAC addresses bound above the limits of the NIC to filter itself. I do not know if that will be visible to the checking tool or not.
Still, be ready for "false positives"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 09:26 PM
03-01-2004 09:26 PM
Re: Promiscue mode on ethernet interfaces
Anyone, did someone succeeded to succesfully build ifstatus on HPUX 11i?
It seems to be done to work on Solaris rather than anything else.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 10:29 PM
03-01-2004 10:29 PM
Re: Promiscue mode on ethernet interfaces
set in Makefile;
OSNAME = HPUX
comment out;
#LIBS = -lkvm -lelf -lnsl -lsocket
and the run make. It errors on file compile, run it manually;
cc -o ifstatus ifstatus.o if-generic.o if-solaris.o
Note, when you run ifstatus now it will only produce output if a lancard is in promiscious mode or if you run it with the -v flag. Run it cron every hour or so as a security check.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2004 10:42 PM
03-01-2004 10:42 PM
Re: Promiscue mode on ethernet interfaces
It's my fault; I've red the instructions few days ago but when I started to compile it I forgot what I red.
So please excuse my laziness,
Virgil