Coder Social home page Coder Social logo

sigwah's People

Contributors

sanwieb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sigwah's Issues

Massive expansion of ruleset size due to <if_group>windows</if_group>

Hi,

I really like your work on this and have already started putting it to fruitful use. I did find that when I bolt these rules onto the stock Wazuh ruleset, that the internal rule count sky rockets to over 200,000 rules, about 50 times bigger than normal. This pushes Wazuh's memory requirements for analysisd (which loads the ruleset) up to over 2GB and makes ruleset load time go from very quick to around 10 seconds, delaying ossec-logtest and wazuh-manager service restarts. Other than the memory demands and the slow ruleset loading, it seems to be working fine. I was discussing this with Wazuh's head developer this morning and he discourages heavy use of <if_group> because

<if_group> is a shortcut to create N rules with <if_sid> for each existing rule belonging that group.

This issue is amplified with <if_group>windows</if_group> specifically because there are so very many rules in the windows group. It would be ideal if these Sigma-related Wazuh rules could be hung off of the specific Wazuh parent rules relevant to them using the <if_sid> construct instead of <if_group> but that may make automatic generation of Wazuh rules based off of the Sigma ruleset much more difficult. Still, it would give vastly more than an order of magnitude analysisd memory reduction and Wazuh ruleset load speed.

What do you think?
Kevin

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.