I am trying to use pytbull ids testing framework to test my security onion implementation, I found some problems with it, I was wondering if anyone tried it before and can help me with it.
Thank you in advance
Dear Mr.Burks,
Thank you so much for your fast response, I am using pytbull instead of tcpreplay because I think I had more realistic attack simulation and final reports organized for research analysis, I had some issues with ftp and other bugs but I managed to solve them through troubleshooting and searching.
Now I am having a connection error each time I run pytbull code, and the attacker machine and security onion can't ping each other for about 5 minutes, then the connection is returned again but when I run the code again the same problem happens!
Is there a rule or something in security onion that prevents the connection when malicious activity happens? I thought it was a firewall problem ; therefore I switched off the ufw firewall but the same problem remained.
I attached the error message screenshot.
Mohammed Ammar,
Mohammed,
You may want to try taking a look at the following:
https://github.com/Security-Onion-Solutions/security-onion/wiki/OSSEC#active-response
https://groups.google.com/d/msg/security-onion/Wg7Xu6ecSR0/2Mb3BREcBAAJ
You are likely triggering OSSEC's active response capability.
Try the above steps and see if it helps.
Thanks,
Wes
Wes,
It worked thanks a lot, you were right it was OSSEC's active response.
If I may ask, I also had another problem with alert files pulling via ftp, I don't know what is the specific path of alerts in security onion, I tried "/var/log/nsm/mohammed-virtual-machine-eth1/snortu_agent-1.log" but it didn't work out, I also tried "/var/log/nsm/mohammed-virtual-machine-eth1/snortu_agent-1.log/snort-1.stats" also without response.
Thank you,
Mohammed