1 Jan 16:01
Permitting access nolog for Yahoo! MyBlog API
Albert E. Whale <aewhale <at> ABS-CompTech.com>
2009-01-01 15:01:39 GMT
2009-01-01 15:01:39 GMT
I recently started to see the following connection attempt for rule 990011:
SecRule REQUEST_HEADERS:User-Agent "(?:\b(?:(?:indy
librar|snoop)y|microsoft url control|lynx)\b|mozilla\/2\.0 \(compatible;
newt activex; win32\)|w(?:3mirror|get)|download
demon|l(?:ibwww|wp)|p(?:avuk|erl)|big
brother|autohttp|netants|eCatch|curl)" \
"chain,phase:2,t:none,t:lowercase,log,auditlog,msg:'Request
Indicates an automated program explored the
site',id:'990011',tag:'AUTOMATION/MISC',severity:'5'"
I want to modify this rule to not log for:
User-Agent: Yahoo! MyBlogLog API Client (curl) 5.2.5
Is this the correct syntax for the customized rule:
SecRule REQUEST_HEADERS:User-Agent '/Yahoo$/'
"phase:1,t:none,nolog,pass,ctl:ruleRemoveById=990011"
Is there a guide to assist in creating these rules?
Thank you.
--
--
Albert E. Whale, CHS CISA CISSP
Sr. Security, Network and Systems Consultant
------------------------------------------------------------------------
ABS Computer Technology, Inc. <http://www.ABS-CompTech.com> - Email,
Internet and Security Consultants
(Continue reading)
>> Using your rule in that way, everybody can switch off rule-processing
>> by simply adding a cookie to his request with name that matches one
>> of
>> your rules.
> Is this to mean that I should employ this rule, instead?
>
> # Guestbook authenticated login.
> SecRule &REQUEST_COOKIES_NAMES:'/commenter_name$/' "@ge 1"
> "phase:3,t:none,nolog,pass,ctl:ruleEngine=Off"
>
> And work with phase:3 instead of phase:1??
No.
RSS Feed