diff --git a/roles/debian/wazuh/files/custom_wazuh_rules.xml b/roles/debian/wazuh/files/custom_wazuh_rules.xml
index 8248f3013..f9f84cb2c 100644
--- a/roles/debian/wazuh/files/custom_wazuh_rules.xml
+++ b/roles/debian/wazuh/files/custom_wazuh_rules.xml
@@ -1,18 +1,31 @@
-
- 31101
+
+
+ Disabled to prevent false positives.
+
+
+
+
+ 31151
+ ^\S+\s+-\s+(?!-)\S+\s+\[.*?\]\s+".*?"\s+401\s
+ HTTP 401 Unauthorized response
+ web,accesslog
+
+
+
+
+ 41101
- Multiple web server 400 error codes
- from the same source IP.
+ Multiple 401 Unauthorized responses from the same source IP
T1595.002
- web_scan,recon,pci_dss_6.5,pci_dss_11.4,gdpr_IV_35.7.d,nist_800_53_SA.11,nist_800_53_SI.4,tsc_CC6.6,tsc_CC7.1,tsc_CC8.1,tsc_CC6.1,tsc_CC6.8,tsc_CC7.2,tsc_CC7.3,
+ web_scan,recon
-
+
521
scantem