Page 1 of 1

WordPress Failed Logon

Posted: Wed Nov 12, 2014 5:51 am
by innovot
Hello:

we have the purchased rule set and attempting to configure with LiteSpeed. We have installed WPsyslog2 onto one of our sites and made a bad logon attempt. It was correctly written to syslog with the following

Code: Select all

Nov 12 09:20:52 ws1 core[8661]: [XXX.XXX.XXX.XXX na] http://www.somesite.com Info: User authentication failed. User name: badperson
but no OSSEC rule triggered. We have looked at the decoder 50-asl-wordpress-decoder.xml but that suggests each line should start with a program name of WPsyslog

Code: Select all

<decoder name="wordpress">
  <program_name>^WPsyslog</program_name>
  <prematch>^[</prematch>
  <regex offset="after_prematch">^(\d+.\d+.\d+.\d+) </regex>
  <order>srcip</order>
</decoder>
What are we doing wrong please ?

Re: WordPress Failed Logon

Posted: Fri Nov 14, 2014 5:14 pm
by mikeshinn
Brute force detection and shunning isnt accomplished using that plugin. Its done with modsecurity. Unfortunately litespeed doesnt support the brute force detection rules, because they dont do output detection. If you use ASL however, you can protect Litespeed with our WAF and brute force detection will work just fine.

Otherwise, we recommend you open a case with litespeed about supporting output scanning in their modsecurity like implementation.

Re: WordPress Failed Logon

Posted: Sun Nov 16, 2014 9:35 am
by innovot
Thanks Mike. I believe we shall switch back to Apache 2.4 if we cannot use those features.

Re: WordPress Failed Logon

Posted: Sun Nov 16, 2014 3:30 pm
by mikeshinn
Just enable a local WAF in ASL on ports 80 and 443, this puts a fully functional WAF in front of Litespeed. Then you can use output rules with litespeed (or any webserver or HTTP/HTTPS based service for that matter) to your hearts content.

https://www.atomicorp.com/wiki/index.php/ASL_WAF#local

Re: WordPress Failed Logon

Posted: Mon Nov 17, 2014 4:21 am
by innovot
Mike: does ASL have a single GUI with distributed agents when installed on multiple servers ? or does each have its own GUI.

Re: WordPress Failed Logon

Posted: Mon Nov 17, 2014 12:21 pm
by mikeshinn
Thank you for the question. ASL is designed like cpanel, Plesk and other control panels so there is a control panel for each server.

If you want to put a single ASL instance in front of a bunch of servers, we also off a traditional WAF appliance version of ASL for this purpose.

Re: WordPress Failed Logon

Posted: Sun Dec 28, 2014 9:33 am
by innovot
Mike:

would you be able to PM details of your WAF solutions please.

Thank you.