OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Wazuh Agent integration - call for tests
« previous next »
  • Print
Pages: [1] 2

Author Topic: Wazuh Agent integration - call for tests  (Read 13868 times)

juliocbc

  • Sr. Member
  • ****
  • Posts: 336
  • Karma: 12
    • View Profile
    • Cloudfence
Wazuh Agent integration - call for tests
« on: May 21, 2019, 11:32:05 pm »
Hi!

I've created this small script to put wazuh-agent to work together with OPNsense. It's working well in one of our environments, till now ;-)

Script:
https://github.com/cloudfence/opnsense-wazuh/blob/master/opnsense-ban.sh

The main idea is to ban an offensor IP address that is often is catch by the wazuh's active response feature.

If you are using OPNsense with Wazuh, I invite you to make some tests and let me know if it will work well for you too!

Installation instructions here: https://github.com/cloudfence/opnsense-wazuh/blob/master/README.md

« Last Edit: May 22, 2019, 02:08:48 pm by juliocbc »
Logged
Cloudfence Open Source Team

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Wazuh Agent integration - call for testing
« Reply #1 on: May 22, 2019, 05:53:37 am »
Good addition! First I have to build an official port but the wazuh guys doing some unacceptable things in their install.sh
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

juliocbc

  • Sr. Member
  • ****
  • Posts: 336
  • Karma: 12
    • View Profile
    • Cloudfence
Re: Wazuh Agent integration - call for testing
« Reply #2 on: May 22, 2019, 01:04:21 pm »
Michael,

Great!!! Just waiting your wazuh port.

About the plugin, what about if we work together in it?



Logged
Cloudfence Open Source Team

lfirewall1243

  • Hero Member
  • *****
  • Posts: 1386
  • Karma: 45
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #3 on: August 02, 2021, 11:05:06 am »
Any news for a Wazuh Port?
Would be an amazing plugin for OPNsense I think.
Logged
(Unoffial Community) OPNsense Telegram Group: https://t.me/joinchat/0o9JuLUXRFpiNmJk

PM for paid support

peterwkc

  • Full Member
  • ***
  • Posts: 115
  • Karma: 0
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #4 on: August 08, 2023, 08:55:23 am »
How to install?
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #5 on: August 08, 2023, 02:26:13 pm »
We may be working on a Wazuh plugin for the community.  ;)


Cheers,
Franco
Logged

thwien

  • Newbie
  • *
  • Posts: 3
  • Karma: 1
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #6 on: August 25, 2023, 10:53:31 am »
Thanks a lot for integrating Wazuh agent as an OPNsense plugin at version 23.7.2. I am using Wazuh as SIEM and installed wazuh-agent via CLI, configured Syslog-ng to produce the old standard log format and it works perfectly. Due to this plugin it will be easier to use Wazuh agent on new installed OPNsense firewalls. This saves time. Keep up your good work.
Logged

peterwkc

  • Full Member
  • ***
  • Posts: 115
  • Karma: 0
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #7 on: March 17, 2024, 04:39:56 am »
How to install Wazuh plugin?
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #8 on: March 18, 2024, 09:26:41 am »
You need to be on a later version and search for the plugin. Which version do you have installed?
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

_tribal_

  • Newbie
  • *
  • Posts: 33
  • Karma: 1
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #9 on: March 21, 2024, 09:48:49 pm »
Is any sudgestions for this issue?
https://forum.opnsense.org/index.php?topic=39222.msg192088

On latests version all the same  :'(

os-wazuh-agent 1.0_1

OPNsense 24.1.4-amd64
FreeBSD 13.2-RELEASE-p10
OpenSSL 3.0.13
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #10 on: March 21, 2024, 10:21:45 pm »
See other post
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

squarepantsii

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #11 on: May 17, 2024, 05:23:00 pm »
Hi,

First of all, thank you for developing the plugin for OPNsense. It makes the integration of wazuh agent extremely easy.

I am, however, trying to run a older version of Wazuh Agent due to our manager running version 4.6.0.
As my OPNsense is the latest version (24.1.6) on FreeBSD 13.2-RELEASE-p11, I am finding that the installing using Plugin or using 'pkg' from CLI only has wazuh-agent 4.7.4 available.

To remedy this, I am trying to compile from the OPNsense ports
Code: [Select]
# opnsense-code ports
# cd /usr/ports/security/wazuh-agent
# git restore --source <hash> *
# make
# make install

I am currently stuck - do I run any post-install scripts? For example, add_localfiles.sh or gen_ossec.sh?

Furthermore, am I even on the right track?
Is this entire endeavour going to work?
Most instructions online call for the use of install.sh, but that's not included in the OPNsense port.

Any advice very much welcomed.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #12 on: May 17, 2024, 11:06:02 pm »
Why not updating wazuh manager? Peace of cake ... :)
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

squarepantsii

  • Newbie
  • *
  • Posts: 8
  • Karma: 0
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #13 on: May 18, 2024, 01:48:19 am »
I know, right?
Unfortunately, it's in production and the upgrade would be very disruptive, for now.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17703
  • Karma: 1616
    • View Profile
Re: Wazuh Agent integration - call for tests
« Reply #14 on: May 31, 2024, 09:38:16 am »
I think upstream needs better release management... like Zabbix which I personally do not like in approach of too. The same question still arise... when why is release XYZ but mine says ABC what can I do?

As far as version compatibility goes these systems tend to be a bit naive that they can get away without it.


Cheers,
Franco
Logged

  • Print
Pages: [1] 2
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Wazuh Agent integration - call for tests
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2