Zyxel Switch with Wazuh SIEM

Hi guys, I need to make wazuh able to integrate with Zyxel switches. Is there already any guide/discussion about this?

All Replies

  • monkeynia
    monkeynia Posts: 25  Freshman Member
    First Anniversary 10 Comments Friend Collector
    Hi @Teooo43,

    Do you mean the Wazuh SIEM setup guide or its user guide?
    I think you can find it on its forum or you can find these information on google.
  • There's nothing in the setup guide or google... The community told me that I have to create decorders and rules for the Zyxel's log using regex but I don't know the structure of the logs
  • monkeynia
    monkeynia Posts: 25  Freshman Member
    First Anniversary 10 Comments Friend Collector
    Teooo43 said:
    There's nothing in the setup guide or google... The community told me that I have to create decorders and rules for the Zyxel's log using regex but I don't know the structure of the logs
    I found this installation guide, have you try this before?
     https://documentation.wazuh.com/current/installation-guide/index.html
  • Zyxel_Melen
    Zyxel_Melen Posts: 1,590  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    Hi @Teooo43,

    Could you share what model are you using?
    Also, could you share some screenshots of what setting you are stuck on?

    Zyxel Melen

  • zyman2008
    zyman2008 Posts: 197  Master Member
    First Anniversary 10 Comments Friend Collector First Answer
    Hi @Teooo43,
    First, you need to make sure the switch model you get support send syslog to your Wazuh SIEM server.

    Then, you can go to GUI of the switch to check log message that your want to monitor.
    Copy log message from switch GUI and paste it to the wazuh-logtest to go through the default decoder. 
    https://documentation.wazuh.com/current/user-manual/ruleset/ruleset-xml-syntax/decoders.html

    Then, Add/Edit your custom ruleset and decoder on Wazuh server if needs.
    https://documentation.wazuh.com/current/user-manual/ruleset/custom.html

    After you finish the decoder/rulesets, 
    Configure the log category and log facility on the switch to send that would like to send to SIEM server.
    Usually, system & AAA category could be the basic set you need.
    To monitor system hardware events, configuration change activities, admin login activities.
    Here a forum post that you can reference, 
    https://community.zyxel.com/en/discussion/787/gs2210-24-syslog-server

    Most of people thinks, open source is cost free. 
    But I would say, it's most expensive that you need to DIY.

    I don't think Zyxel has strong community members with good programing skill and can contribute templates of popular open source packages, compare to community of Mikrotik/Ubiquiti.
    So you might need to study the Wazuh guide to add the custom decoder/ruleset.

  • Zyxel_Melen
    Zyxel_Melen Posts: 1,590  Zyxel Employee
    First Anniversary 10 Comments Friend Collector First Answer
    edited January 2023
    Hi @zyman2008,

    Thanks for sharing great information with us!

    Hi @Teooo43,

    Looks like zyman2008 provide the solution for you, is there any other problem?
    If yes, free feel to ask here.

    Zyxel Melen