I'm trying to install a new Security Onion on a laptop here at the office for testing purposes. I think that it won't have to handle lots of traffic so I think that the hardware would be sufficient.
I'm using a Lenovo ThinkPad X1 Carbon with a NIC that is connected via USB (the internal one needs an extension cable that I don't have) and right after the installation and configuration I noticed few peculiar things:
1. When I run sostat -H I always see that suricata has failed to start. When I looked at the log file, I saw a line that reads "pf_ring open error" which to me it seemed weird since that from what I read in the documentation, I understood that Security Onion now uses AF-PACKET instead...
2. When I load Kibana I see no data from snort/suricata/bro-* which is also weird since that in sostat -H it seems that bro is running...
3. When I decided to test if everything was OK, I started Wireshark and noticed that if I set a capture filter (for example "icmp" or "tcp") it captures no packets at all but if I don't set a capture filter at all and instead use a display filter like "icmp" or "tcp" or "http" it works. If I try to capture packets using tcpdump -nnvvXX on the capturing interface I see only (or perhaps almost only) UDP packets... what is happening here?
I attached the following files to help you help me:
1. lsusb.log (the output of lsusb)
2. modprobe.log (the output of sudo modprobe pf_ring -v)
3. sostat-H.log (the output of sostat -H)
4. suricata.log (the logfile from /var/log/nsm/onion-<nic_name (starts with enx)>/suricata.log)
Any ideas what is happening?
Thanks,
Yuval.
--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
To view this discussion on the web visit https://groups.google.com/d/msgid/security-onion/3ae59892-c60a-40c4-bb20-039e32d36558%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Attached.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To post to this group, send email to securit...@googlegroups.com.
Visit this group at https://groups.google.com/group/security-onion.
To view this discussion on the web visit https://groups.google.com/d/msgid/security-onion/de98c9f3-3885-46b5-be79-d93824036ccb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hi again,
Thanks a lot for the quick reply. I'll test it now and report back...
As per your request - I have attached the bro info.
Do you have any ideas regarding the issue I mentioned with Wireshark/tcpdump in my original question?
Yuval.
Hi,
I tried the configuration you recommended for suricata and it seems that it's still not working properly.
I attached the following files:
1. A fresh sostat -H
2. /etc/nsm/onion-enx00e04c680a22/sensor.conf
3. /opt/bro/etc/node.cfg
4. /etc/nsm/securityonion.conf
Tnx,
Yuval
Hi everyone...
A quick update, since that I couldn't find a way to resolve this, I decided to take a different approach to this problem and format the entire system and install a new Ubuntu Gnome 16.04 on the machine and then install VirtualBox and run SecurityOnion within a VirtualBox VM and I think that it did solve some of the problems I had but not all of them...
Here's an updated status:
1. Snort now starts automatically without any problem (or at least so it seems)
2. I still see no data from snort/bro-* in Kibana even though that now everything seems to be running smoothly in sostat-H (at least to me...)
3. The same happens again - When I use Wireshark to capture traffic I'm able to filter it ONLY by using display filters, every BPF filter (even the simple ones like "tcp") that I use results in no packets at all.
I have attached to this message the following files:
1. A sostat-H ouptut
2. The securityonion.conf file
3. The sensor config file (for both interfaces)
4. Bro's node.cfg file
5. A sample of packets collected using tcpdump -w