Yamato-Security / hayabusa

Hayabusa (隼) is a sigma-based threat hunting and fast forensics timeline generator for Windows event logs.
GNU Affero General Public License v3.0
2.32k stars 203 forks source link

Support `fieldref` modifier #1409

Closed YamatoSecurity closed 2 months ago

YamatoSecurity commented 2 months ago

The fieldref modifier in Sigma v2 is the same as our equalsfield modifier. If we change this modifier name in the next version and update our rule that uses equalsfield to instead use fieldref then users of 2.17.0 will get a parsing error when they update rules. In order to avoid this, I want to add in |fieldref: modifier support that does the same thing as |equalsfield: but still keep the ability to use the old |equalsfield: modifier. Then we can update the Hayabusa rule to use fieldref instead about a month after releasing the new version to allow users time to update.