Hey, I am starting out with suricata and installed the latest version 7.0.5 on ubuntu.
I have enabled a few rule sets with suricata-update.
However running sudo suricata-update
ended up in an error.
4/4/2024 -- 08:12:51 - <Info> -- Testing with suricata -T.
24/4/2024 -- 08:12:52 - <Error> -- unknown rule keyword 'flow.bytes_toserver'.
24/4/2024 -- 08:12:52 - <Error> -- error parsing signature "alert ssh any any -> $EXTERNAL_NET any (msg:"๐พ - ๐จ Over 10MB uploaded via SSH / SFTP to public IP address - Possible data exflitration ๐ฑ"; flow:to_server, established; threshold: type limit, track by_src,count 1, seconds 60; flow.bytes_toserver:>=10000000; metadata:created_at 2024_02_18, updated_at 2024_02_18; sid:3301136; rev:2; classtype:policy-violation;)" from file /var/lib/suricata/rules/suricata.rules at line 8967
24/4/2024 -- 08:12:52 - <Error> -- unknown rule keyword 'flow.bytes_toserver'.
24/4/2024 -- 08:12:52 - <Error> -- error parsing signature "alert ssh any any -> $EXTERNAL_NET any (msg:"๐พ - ๐จ Over 100MB uploaded via SSH / SFTP to public IP address - Possible data exflitration ๐ฑ"; flow:to_server, established; threshold: type limit, track by_src,count 1, seconds 60; flow.bytes_toserver:>=100000000; metadata:created_at 2024_02_18, updated_at 2024_02_18; sid:3301137; rev:1; classtype:policy-violation;)" from file /var/lib/suricata/rules/suricata.rules at line 8968
24/4/2024 -- 08:12:52 - <Error> -- unknown rule keyword 'flow.bytes_toserver'.
24/4/2024 -- 08:12:52 - <Error> -- error parsing signature "alert ssh any any -> $EXTERNAL_NET any (msg:"๐พ - ๐จ Over 50MB uploaded via SSH / SFTP to public IP address - Possible data exflitration ๐ฑ"; flow:to_server, established; threshold: type limit, track by_src,count 1, seconds 60; flow.bytes_toserver:>=50000000; metadata:created_at 2024_02_18, updated_at 2024_02_18; sid:3301138; rev:1; classtype:policy-violation;)" from file /var/lib/suricata/rules/suricata.rules at line 8969
24/4/2024 -- 08:13:10 - <Error> -- Loading signatures failed.
24/4/2024 -- 08:13:10 - <Error> -- Suricata test failed, aborting.
24/4/2024 -- 08:13:10 - <Error> -- Restoring previous rules.
I think this is related to the pawpatrules
source.
Reproduction:
sudo suricata-update update-sources
sudo suricata-update enable-source pawpatrules
sudo suricata-update