I’ve done a fresh install of Suricata, I was able to add sources and then I ran suricata-update and got this output:
suricata-update
14/5/2022 -- 20:17:57 - <Info> -- Using data-directory /var/lib/suricata.
14/5/2022 -- 20:17:57 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
14/5/2022 -- 20:17:57 - <Info> -- Using /etc/suricata/rules for Suricata provided rules.
14/5/2022 -- 20:17:57 - <Info> -- Found Suricata version 6.0.5 at /usr/bin/suricata.
14/5/2022 -- 20:17:57 - <Info> -- Loading /etc/suricata/suricata.yaml
14/5/2022 -- 20:17:57 - <Info> -- Disabling rules for protocol http2
14/5/2022 -- 20:17:57 - <Info> -- Disabling rules for protocol modbus
14/5/2022 -- 20:17:57 - <Info> -- Disabling rules for protocol dnp3
14/5/2022 -- 20:17:57 - <Info> -- Disabling rules for protocol enip
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://rules.emergingthreats.net/open/suricata-6.0.5/emerging.rules.tar.gz.
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://sslbl.abuse.ch/blacklist/ja3_fingerprints.rules.
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://openinfosecfoundation.org/rules/trafficid/trafficid.rules.
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://sslbl.abuse.ch/blacklist/sslblacklist.rules.
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://malsilo.gitlab.io/feeds/dumps/malsilo.rules.tar.gz.
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://security.etnetera.cz/feeds/etn_aggressive.rules.
14/5/2022 -- 20:17:57 - <Info> -- Last download less than 15 minutes ago. Not downloading https://raw.githubusercontent.com/travisbgreen/hunting-rules/master/hunting.rules.
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/app-layer-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/decoder-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/dhcp-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/dnp3-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/dns-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/files.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/http-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/ipsec-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/kerberos-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/modbus-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/nfs-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/ntp-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/smb-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/smtp-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/stream-events.rules
14/5/2022 -- 20:17:57 - <Info> -- Loading distribution rule file /etc/suricata/rules/tls-events.rules
14/5/2022 -- 20:17:58 - <Info> -- Ignoring file rules/emerging-deleted.rules
14/5/2022 -- 20:18:00 - <Info> -- Loaded 39573 rules.
14/5/2022 -- 20:18:01 - <Info> -- Disabled 14 rules.
14/5/2022 -- 20:18:01 - <Info> -- Enabled 0 rules.
14/5/2022 -- 20:18:01 - <Info> -- Modified 0 rules.
14/5/2022 -- 20:18:01 - <Info> -- Dropped 0 rules.
14/5/2022 -- 20:18:01 - <Info> -- Enabled 131 rules for flowbit dependencies.
14/5/2022 -- 20:18:01 - <Info> -- Backing up current rules.
14/5/2022 -- 20:18:04 - <Info> -- Writing rules to /var/lib/suricata/rules/suricata.rules: total: 39235; enabled: 31772; added: 5855; removed 2; modified: 1250
14/5/2022 -- 20:18:04 - <Info> -- Writing /var/lib/suricata/rules/classification.config
14/5/2022 -- 20:18:04 - <Info> -- Testing with suricata -T.
14/5/2022 -- 20:18:04 - <Warning> -- [ERRCODE: SC_ERR_CONF_YAML_ERROR(242)] - App-Layer protocol sip enable status not set, so enabling by default. This behavior will change in Suricata 7, so please update your config. See ticket #4744 for more details.
14/5/2022 -- 20:18:04 - <Warning> -- [ERRCODE: SC_ERR_CONF_YAML_ERROR(242)] - App-Layer protocol mqtt enable status not set, so enabling by default. This behavior will change in Suricata 7, so please update your config. See ticket #4744 for more details.
14/5/2022 -- 20:18:04 - <Warning> -- [ERRCODE: SC_ERR_CONF_YAML_ERROR(242)] - App-Layer protocol rdp enable status not set, so enabling by default. This behavior will change in Suricata 7, so please update your config. See ticket #4744 for more details.
14/5/2022 -- 20:18:05 - <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - Complete IP space negated. Rule address range is NIL. Probably have a !any or an address range that supplies a NULL address range
14/5/2022 -- 20:18:05 - <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - error parsing signature "alert udp ![$SMTP_SERVERS,$DNS_SERVERS] any -> $DNS_SERVERS 53 (msg:"ET DNS DNS Lookup for localhost.DOMAIN.TLD"; content:"|01|"; offset:2; depth:1; content:"|00 01 00 00 00 00 00|"; distance:1; within:7; content:"|09|localhost"; fast_pattern; nocase; classtype:bad-unknown; sid:2011802; rev:6; metadata:created_at 2010_10_13, updated_at 2019_09_03;)" from file /var/lib/suricata/rules/suricata.rules at line 3804
14/5/2022 -- 20:18:10 - <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - Complete IP space negated. Rule address range is NIL. Probably have a !any or an address range that supplies a NULL address range
14/5/2022 -- 20:18:10 - <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - error parsing signature "alert tcp !$SMTP_SERVERS any -> !$HOME_NET 25 (msg:"ET POLICY Outbound Multiple Non-SMTP Server Emails"; flow:established; content:"mail from|3a|"; nocase; threshold: type threshold, track by_src, count 10, seconds 120; reference:url,doc.emergingthreats.net/2000328; classtype:misc-activity; sid:2000328; rev:12; metadata:created_at 2010_07_30, updated_at 2010_07_30;)" from file /var/lib/suricata/rules/suricata.rules at line 23612
14/5/2022 -- 20:18:10 - <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - Complete IP space negated. Rule address range is NIL. Probably have a !any or an address range that supplies a NULL address range
14/5/2022 -- 20:18:10 - <Error> -- [ERRCODE: SC_ERR_INVALID_SIGNATURE(39)] - error parsing signature "alert tcp !$HOME_NET any -> $HOME_NET 25 (msg:"ET POLICY Inbound Frequent Emails - Possible Spambot Inbound"; flow:established; content:"mail from|3a|"; nocase; threshold: type threshold, track by_src, count 10, seconds 60; reference:url,doc.emergingthreats.net/2002087; classtype:misc-activity; sid:2002087; rev:10; metadata:created_at 2010_07_30, updated_at 2010_07_30;)" from file /var/lib/suricata/rules/suricata.rules at line 23613
14/5/2022 -- 20:18:14 - <Error> -- [ERRCODE: SC_ERR_NO_RULES_LOADED(43)] - Loading signatures failed.
14/5/2022 -- 20:18:14 - <Error> -- Suricata test failed, aborting.
14/5/2022 -- 20:18:14 - <Error> -- Restoring previous rules.
I’m on Debian Bookworm with Kernel 5.17.0-1-rt-amd64
Neofetch says I have this:
$ neofetch
_,met$$$$$gg. tmick@DebianTim
,g$$$$$$$$$$$$$$$P. ---------------
,g$$P" """Y$$.". OS: Debian GNU/Linux bookworm/sid x86_64
,$$P' `$$$. Host: MS-7721 9.0
',$$P ,ggs. `$$b: Kernel: 5.17.0-1-rt-amd64
`d$$' ,$P"' . $$$ Uptime: 53 mins
$$P d$' , $$P Packages: 5101 (dpkg)
$$: $$. - ,d$$' Shell: bash 5.1.16
$$; Y$b._ _,d$P' Resolution: 1366x768
Y$$. `.`"Y$$$$P"' DE: GNOME 42.0
`$$b "-.__ WM: Mutter
`Y$$ WM Theme: Adwaita
`Y$$. Theme: Adwaita [GTK2/3]
`$$b. Icons: Adwaita [GTK2/3]
`Y$$b. Terminal: kgx
`"Y$b._ CPU: AMD A6-7400K Radeon R5 2C+4G (2) @ 4.092GHz
`""" GPU: AMD ATI Radeon R5 Graphics
Memory: 2759MiB / 6972MiB
I could use some advice on how to fix the output of the update command.
Thanks in advance.