Hello, I am trying to create a modify.conf file to change some rules,
but when I run suricata-update, it says Modified 0 rules.
I am trying to change all rules from ETN to disable alert only for dns
here is my modify.conf file
# ETN rules not DNS
5000 "\] any " "\] !53 "
5001 "\] any " "\] !53 "
5002 "\] any " "\] !53 "
5003 "\] any " "\] !53 "
5004 "\] any " "\] !53 "
5005 "\] any " "\] !53 "
5006 "\] any " "\] !53 "
5007 "\] any " "\] !53 "
5008 "\] any " "\] !53 "
5009 "\] any " "\] !53 "
5010 "\] any " "\] !53 "
5011 "\] any " "\] !53 "
5012 "\] any " "\] !53 "
5013 "\] any " "\] !53 "
5014 "\] any " "\] !53 "
5015 "\] any " "\] !53 "
here is the log from suricata-update:
root@ids-lan:/etc/suricata# suricata-update
10/9/2020 -- 10:16:40 - <Info> -- Loading /etc/suricata/update.yaml
10/9/2020 -- 10:16:40 - <Info> -- Using data-directory /var/lib/suricata.
10/9/2020 -- 10:16:40 - <Info> -- Using Suricata configuration /etc/suricata/suricata.yaml
10/9/2020 -- 10:16:40 - <Info> -- Using /usr/share/suricata/rules for Suricata provided rules.
10/9/2020 -- 10:16:40 - <Info> -- Found Suricata version 5.0.3 at /usr/bin/suricata.
10/9/2020 -- 10:16:40 - <Info> -- Loading /etc/suricata/disable.conf.
10/9/2020 -- 10:16:40 - <Info> -- Loading /etc/suricata/modify.conf.
10/9/2020 -- 10:16:40 - <Info> -- Loading /etc/suricata/suricata.yaml
10/9/2020 -- 10:16:40 - <Info> -- Fetching https://urlhaus.abuse.ch/downloads/urlhaus_suricata.tar.gz.
100% - 905830/905830
10/9/2020 -- 10:16:41 - <Info> -- Done.
10/9/2020 -- 10:16:41 - <Info> -- Last download less than 15 minutes ago. Not downloading https://rules.emergingthreats.net/open/suricata-5.0.3/emerging.rules.tar.gz.
10/9/2020 -- 10:16:41 - <Info> -- Fetching https://security.etnetera.cz/feeds/etn_aggressive.rules.
100% - 39286/39286
10/9/2020 -- 10:16:41 - <Info> -- Done.
10/9/2020 -- 10:16:41 - <Info> -- Fetching https://raw.githubusercontent.com/ptresearch/AttackDetection/master/pt.rules.tar.gz.
100% - 27731/27731
10/9/2020 -- 10:16:41 - <Info> -- Done.
10/9/2020 -- 10:16:41 - <Info> -- Fetching https://raw.githubusercontent.com/travisbgreen/hunting-rules/master/hunting.rules.
100% - 57001/57001
10/9/2020 -- 10:16:42 - <Info> -- Done.
10/9/2020 -- 10:16:42 - <Info> -- Loading local file /usr/share/suricata/rules/ipsec-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading local file /usr/share/suricata/rules/http-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading local file /usr/share/suricata/rules/custom.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading local file /usr/share/suricata/rules/dhcp-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading local file /usr/share/suricata/rules/smtp-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading local file /usr/share/suricata/rules/decoder-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/decoder-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/http-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/ipsec-events.rules
10/9/2020 -- 10:16:42 - <Info> -- Loading distribution rule file /usr/share/suricata/rules/smtp-events.rules
10/9/2020 -- 10:16:49 - <Info> -- Loaded 62786 rules.
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown dest address var and will be disabled: DC_SERVERS: [1:10002228] ATTACK [PTsecurity] Overpass the hash. Encryption downgrade activity to ARCFOUR-HMAC-MD5
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown source address var and will be disabled: DC_SERVERS: # [1:10002557] ATTACK AD [PTsecurity] DCShadow Replication Attempt
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown dest address var and will be disabled: DC_SERVERS: # [1:10002557] ATTACK AD [PTsecurity] DCShadow Replication Attempt
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown source address var and will be disabled: DC_SERVERS: # [1:10002558] ATTACK AD [PTsecurity] DCShadow Replication Attempt - DRSUAPI_REPLICA_ADD from non-DC
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown dest address var and will be disabled: DC_SERVERS: # [1:10002558] ATTACK AD [PTsecurity] DCShadow Replication Attempt - DRSUAPI_REPLICA_ADD from non-DC
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown source address var and will be disabled: DC_SERVERS: # [1:10002559] ATTACK [PTsecurity] DCShadow: Fake DC Creation
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown dest address var and will be disabled: DC_SERVERS: # [1:10002559] ATTACK [PTsecurity] DCShadow: Fake DC Creation
10/9/2020 -- 10:17:22 - <Warning> -- Rule has unknown dest address var and will be disabled: DC_SERVERS: [1:10004153] ATTACK AD [PTsecurity] Possible MS-RPRN abuse. Hash or Ticket theft
10/9/2020 -- 10:17:22 - <Info> -- Disabled 1051 rules.
10/9/2020 -- 10:17:22 - <Info> -- Enabled 0 rules.
10/9/2020 -- 10:17:22 - <Info> -- Modified 0 rules.
10/9/2020 -- 10:17:22 - <Info> -- Dropped 0 rules.
10/9/2020 -- 10:17:23 - <Info> -- Enabled 286 rules for flowbit dependencies.
10/9/2020 -- 10:17:23 - <Info> -- Backing up current rules.
10/9/2020 -- 10:17:27 - <Info> -- Writing rules to /var/lib/suricata/rules/suricata.rules: total: 62786; enabled: 51938; added: 31924; removed 0; modified: 8
10/9/2020 -- 10:17:28 - <Info> -- Testing with suricata -T.