PHP Classes
elePHPant
Icontem

Pareto Security: Filter requests to discard malicious values

Recommend this page to a friend!
  Info   View files View files (13)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2019-04-22 (2 months ago) RSS 2.0 feedStarStarStar 58%Total: 667 All time: 4,734 This week: 337Up
Version License PHP version Categories
pareto_security 2.3.4GNU General Publi...5.3.0PHP 5, Security
Description Author

This class can filter requests to recognise malicious values and either call a 403 access denied ( default ), or optionally add the offending IP address to the banned list in the root htaccess file of a website.

It processes the REQUEST_URI, QUERY_STRING, $_GET, $_POST, $_COOKIE to detect values with a blacklisted format.

The class can also block accesses of blacklisted user agents and request types that are not whitelisted.

The IP addresses of blocked requests can be optionally added to .htaccess deny list.

  Performance   Level  
Name: Te Taipo <contact>
Classes: 1 package by
Country: New Zealand New Zealand
Age: 50
All time rank: 281415 in New Zealand New Zealand
Week rank: 675 Up2 in New Zealand New Zealand Up

Details

=== Pareto Security === Contributors: @te_taipo Tags: wordpress security, hack, database security, xss, WAF, CRLF, CSRF, command injection, cross-site scripting, exploit, firewall security, hack, hacked, hacker, injection, authentication bypass, local file inclusion, malware, phishing, rfi, remote file inclusion, scrapers, secure, secure login, security, SQL Injection, vulnerability, WAF, website security, wordpress, security Donate link: https://hokioisecurity.com/donations/ Requires at least: 4.7.2 Tested up to: 5.1.1 Requires PHP: 5.3 Stable tag: 2.3.4 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html

WordPress Core Security: Secure your website with real security.

== Description ==

PARETO SECURITY FEATURES

Had enough of the security theatre presented by the raft of Wordpress security plugins? Time to put a stop to the attacks!

Firstly Wordpress and most other CMS\'s are built using PHP. PHP is a very insecure programming language, even worse in the hands of amateurs.

Wordpress has been plagued by plugins authored by amateurs that bring with them security vulnerabilities.

Security plugin designers mostly focus on cleaning up attacks rather than stopping them dead in their tracks.

Pareto Security class acts as a Central Security Hub checking all inputs from users, preventing bad requests from executing on your website.

  • Real Attack Prevention that can be achieved via a plugin
  • Automatic Blacklist Management
  • Easy-To-Use
  • No customisation needed
  • Works silently, you only get notified when you really want to be notified
  • Completely Free
  • and much more...

PARETO SECURITY PROTECTION

  • Pareto Security Protection identifies and blocks malicious traffic.
  • Pareto Security Protection dynamic IP Blacklist protects your site while reducing load.
  • Protects your site at the entry-point, disabling attack peneration of your WordPress site.
  • Extends Wordpress inbuilt security, defends your website against vulnerabilities added in via bad plugin coding.
  • Optionally prevent Tor users/bots from interacting with login forms and search functions of your site while still allowing them to view your site.
  • Optionally only allow standard web clients and trusted crawlers to access your website, discouraging others from doing so.

PARETO SECURITY TOOLS

  • Monitor blocked attack attempts
  • Optionally receive notifications of REAL attack attempts that Pareto Security has blocked

= A Word on Security: = By the very nature of plugins, no plugin should ever claim to be a Web Application Firewall.

No security plugin can save your website from really-really badly written site, theme and/or plugin code.

No security plugin can save your site from attacks that result from when administrators do not follow basic security practices.

Keeping any CMS as secure as possible is not easy. The very best thing you can do to prevent attacks is to always keep your website code, themes and plugins up to date, and remove any plugins and themes you are not using.

== Installation == * Automated Setup Steps

  1. Upload /pareto-security/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the \'Plugins\' menu in WordPress

== Frequently Asked Questions == = How does Pareto Security protect sites from attackers? =

The Pareto Security developers understand how PHP - the coding language in which Wordpress is written in, can be exploited. Pareto Security principles of protection stop these attacks at the entry point.

= How does the Pareto Security Protection work? =

  • Pareto Security Protection stops you from getting hacked by identifying malicious requests before they can access your website.
  • Unlike other very popular plugins, Pareto Security prevents malicious files from being uploaded into your Wordpress site
  • Optionally prevents vulnerability scanners like WPScan from probing your websites defenses.

= What checks does the Pareto Security Scanner perform? =

  • Scans all input requests (GET, POST, REQUEST, COOKIES) for malicious intent. If an input validation application does this well, there is no need to then scan files in your website file repository - They should never be there in the first place!

= What security monitoring features does Pareto Security include? =

  • A log of real attack attempts that were blocked by Pareto Security
  • An optional log of medium and low risk attack that were prevented from executing on your Wordpress site

= How will I be alerted if my site has a security problem? =

Pareto Security sends attack alerts via email. Once you install Pareto Security you can enabled email notifications. You will never be flooded with notifications as Pareto Security only sends notifications of high risk attacks that have been blocked.

= Do I need other security plugins or cloud based firewalls? =

Pareto Security provides true entry-point security for your WordPress website. Pareto Security does not prevent or have conflict with other webserver security addons and hardware web application firewalls.

= What blocking features does Pareto Security include? =

  • Real-time blocking of attackers and repeat attackers.
  • Prevents vulnerability scanners from scanning your wordpress website

= What differentiates Pareto Security from other WordPress Security plugins? =

  • Pareto Security provides real security minus the scare-ware techniques used by other plugins
  • Pareto Security picks up security where Wordpress developers draw their line
  • Pareto Security prevents attackers making changes to website code by securing all inputs from the start.
  • Using the principle of \"Artificial Ignorance\" with blacklists rather than relying solely on arbitrary blacklists, Pareto Security method ignores requests it knows aren\'t interesting and processes the remaining requests that must then be of interest.
  • Pareto Security fully supports WordPress Multi-Site

= How can I contribute to the cause =

Donations via: Go to https://hokioisecurity.com/donations/

= Do you have an email contact? =

Email me at pareto-security@hokioisecurity.com

Other contacts: https://taipo.github.io/contact/

== Changelog ==

= 2.3.4 = * Proxy attempts now medium risk * Option to restrict Tor users access preventing admin, logging in, and search functions

= 2.3.3 = * Attempts to proxy through Server IP are now banned. * More work on addressing HTACCESS bugs

= 2.3.2 = * Removed the Safe reference to whitelisted ip addresses * Repair bug in code that can corrupt the htaccess file

= 2.3.1 = * Fixed bug in email report

  Files folder image Files  
File Role Description
Files folder imagecss (1 file)
Files folder imageicon (1 file)
Files folder imageimg (2 files)
Files folder imagejs (1 file)
Files folder imagexml (3 files)
Accessible without login Plain text file readme.txt Doc. Readme for Wordpress
Accessible without login Plain text file uninstall.php Aux. Use with Wordpress
Plain text file pareto-settings.php Class Use with Wordpress
Plain text file pareto_security.php Class Security script
Plain text file pareto_functions.php Class Use with Wordpress

  Files folder image Files  /  css  
File Role Description
  Accessible without login Plain text file style.css Data CSS

  Files folder image Files  /  icon  
File Role Description
  Accessible without login Image file icon16bw.png Icon BW small icon

  Files folder image Files  /  img  
File Role Description
  Accessible without login Image file icon.png Icon icon
  Accessible without login Image file icon16.png Icon Small Icon

  Files folder image Files  /  js  
File Role Description
  Accessible without login HTML file hokioi.js Aux. JS

  Files folder image Files  /  xml  
File Role Description
  Accessible without login HTML file .htaccess Aux. HTACCESS
  Accessible without login HTML file injectors.xml Aux. Injectors
  Accessible without login HTML file lists.xml Aux. Lists

 Version Control Unique User Downloads Download Rankings  
 0%
Total:667
This week:0
All time:4,734
This week:337Up
User Ratings User Comments (1)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1515
 
Thanks for this code.
5 years ago (Alfredito)
70%StarStarStarStar