Tampilkan postingan dengan label firewall. Tampilkan semua postingan
Tampilkan postingan dengan label firewall. Tampilkan semua postingan

Kamis, 05 Desember 2013

Smart Security Tools (Utilities)

Plugin Home Page
Support Forums
Follow on Twitter
Video on Youtube

Plugin Information


Smart Security Tools is a powerful plugin for improving security of your WordPress powered website. Plugin contains collection of tweaks and tools for extra security protection along with Security Advisor that can help you determine what needs to be done. Plugin includes integration of Sucuri Free Security Scanner (shows malware on the website and blacklisting status on major security related websites). Plugin includes database based Security Log that can log different event types you can use to detemerime problems, potential attacks and exploits, IP’s used for access, referers, user agents… You can ban IP’s from Security Log.


Security Advisor will help you get started


Security Advisor will help you get started
Plugin offers tips on what you need to improve on your website. Based on the status of tips on this panel, plugin will calculate security percentage. It is important to follow all recommended tips and as much as you need optional tips.

Collection of easy to use security tweaks


Collection of easy to use security tweaks
General tweaks are easy to set up, and you can solve many security issues directly with these. Some of these tweaks, if active will also log security events into database.
List of general tweaks


  • Prevent SQL injections

  • Prevent too long URL’s

  • Simple registration honeypot

  • Remove errors from login screen

  • Restrict username length

  • Remove username from comments CSS classes

  • Remove WordPress version

  • Remove RSD link

  • Remove WLW manifest link

  • Disable XML-RPC



Collection of powerful .htaccess enhancements


Collection of powerful .htaccess enhancements
Most important security features are implemented using .htaccess file in the WordPress root directory. This is available only for Apache (and LiteSpeed) based web servers.
List of .htaccess tweaks


  • Prevent WordPress installation directory browsing

  • Disable the Server Signature on server error pages

  • Deny all comments requests with no valid referer

  • Prevent access to WordPress root system files

  • Ban access to IP’s banned in Security Log

  • Ban access to additional listed IP’s

  • Limit body size of a single request and file upload size

  • Prevent access to XML-RPC due to Pingback Vulnerability

  • Disable Trace and Track request methods

  • Blacklist Query Strings using listed rules

  • Blacklist Request Strings using listed rules

  • Blacklist User Agents using listed rules




Security Logs to track security related events
Security Log adds two database tables to log all sorts of security related events. For each event you will get information about user (or visitor), IP, user agent, referer and other information depending on event that can help you track sources of new security probes or attacks. You can ban IP addresses through the security log panel.
List of events types logged by plugin


  • Login

  • Logout

  • Login Error

  • Error 404

  • Registration

  • Registration Honeypot

  • SQL Injection URL

  • Too Long URL



Other Plugin Features Included



  • Change ‘admin’ username if exists

  • Change any username

  • Export and Import settings

  • Support for Multisite WordPress mode



System and WordPress Requirements



  • WordPress 3.2 or newer

  • PHP 5.2.4 or newer

  • Apache Web Server (for .htaccess based tweaks and tools)

  • Access to .htaccess file (if not, you need to manually add changes to it)



Disclaimers



  • For .htaccess based tweaks and tools plugin supports only Apache (and LiteSpeed) web servers. If you use some other web server, you can only use other plugin features.

  • Make sure you read plugin documentation and all the information provided by the plugin for each tweak and tool.

  • If you make changes to blacklist .htaccess tweaks, or list of IP’s to ban, be careful with those changes, or you can even lock yourself out of the website.

  • You are using Smart Security Tools for WordPress at your own risk.



Changelog


Version 1.0 / 2013.11.22.


  • First version

Smart Security Tools (Utilities)

Plugin Home Page
Support Forums
Follow on Twitter
Video on Youtube

Plugin Information


Smart Security Tools is a powerful plugin for improving security of your WordPress powered website. Plugin contains collection of tweaks and tools for extra security protection along with Security Advisor that can help you determine what needs to be done. Plugin includes integration of Sucuri Free Security Scanner (shows malware on the website and blacklisting status on major security related websites). Plugin includes database based Security Log that can log different event types you can use to detemerime problems, potential attacks and exploits, IP’s used for access, referers, user agents… You can ban IP’s from Security Log.


Security Advisor will help you get started


Security Advisor will help you get started
Plugin offers tips on what you need to improve on your website. Based on the status of tips on this panel, plugin will calculate security percentage. It is important to follow all recommended tips and as much as you need optional tips.

Collection of easy to use security tweaks


Collection of easy to use security tweaks
General tweaks are easy to set up, and you can solve many security issues directly with these. Some of these tweaks, if active will also log security events into database.
List of general tweaks


  • Prevent SQL injections

  • Prevent too long URL’s

  • Simple registration honeypot

  • Remove errors from login screen

  • Restrict username length

  • Remove username from comments CSS classes

  • Remove WordPress version

  • Remove RSD link

  • Remove WLW manifest link

  • Disable XML-RPC



Collection of powerful .htaccess enhancements


Collection of powerful .htaccess enhancements
Most important security features are implemented using .htaccess file in the WordPress root directory. This is available only for Apache (and LiteSpeed) based web servers.
List of .htaccess tweaks


  • Prevent WordPress installation directory browsing

  • Disable the Server Signature on server error pages

  • Deny all comments requests with no valid referer

  • Prevent access to WordPress root system files

  • Ban access to IP’s banned in Security Log

  • Ban access to additional listed IP’s

  • Limit body size of a single request and file upload size

  • Prevent access to XML-RPC due to Pingback Vulnerability

  • Disable Trace and Track request methods

  • Blacklist Query Strings using listed rules

  • Blacklist Request Strings using listed rules

  • Blacklist User Agents using listed rules




Security Logs to track security related events
Security Log adds two database tables to log all sorts of security related events. For each event you will get information about user (or visitor), IP, user agent, referer and other information depending on event that can help you track sources of new security probes or attacks. You can ban IP addresses through the security log panel.
List of events types logged by plugin


  • Login

  • Logout

  • Login Error

  • Error 404

  • Registration

  • Registration Honeypot

  • SQL Injection URL

  • Too Long URL



Other Plugin Features Included



  • Change ‘admin’ username if exists

  • Change any username

  • Export and Import settings

  • Support for Multisite WordPress mode



System and WordPress Requirements



  • WordPress 3.2 or newer

  • PHP 5.2.4 or newer

  • Apache Web Server (for .htaccess based tweaks and tools)

  • Access to .htaccess file (if not, you need to manually add changes to it)



Disclaimers



  • For .htaccess based tweaks and tools plugin supports only Apache (and LiteSpeed) web servers. If you use some other web server, you can only use other plugin features.

  • Make sure you read plugin documentation and all the information provided by the plugin for each tweak and tool.

  • If you make changes to blacklist .htaccess tweaks, or list of IP’s to ban, be careful with those changes, or you can even lock yourself out of the website.

  • You are using Smart Security Tools for WordPress at your own risk.



Changelog


Version 1.0 / 2013.11.22.


  • First version

Rabu, 04 Desember 2013

PHP DosDetector Class (Add-ons)

PHP DosDetector Class Documentation



Version: 1.1


Release: June 2013


Keyword: security, php, class, firewall, DoS Attack, IDS/IPS





1. What is this class?


This PHP Class used for preventing Denial of Service (DoS) attack to your web server written by PHP. Running this script will monitoring all requests from an IP address and logged it into memory cache (PHP APC Caching). If an IP address sends too much request to your server, it will trigger the Intrustion Preventing System (IPS) and auto-ban this IP Address.





2. System Requirement








3. Installation


- First, copy class.dosdetector.php file to your project, such as ./classes/ directory on your project.


- Next, including class.docsdetector.php file.


- Now, just create an object from this class and call run method before the first line of your project (usally in bootstrap, start up or index file) to start monitoring. You can pass an URL to run method in case banned IP will be redirect to passed URL. If you do not pass this parameter, banned IP will see a default message on screen.


- Example code:



//Put this in the beginning of your all page
include_once('./classes/class.dosdetector.php');
$myDosDetector = new DosDetector();

//Default Running
$myDosDetector->run();

//Default Running with Custom Landing Page for Banned IP Access
//$myDosDetector->run('http://url/to/your/landing/page');

//////////////////////////////
// YOUR SITE SOURCE CODE HERE
//....






4. Editable Properties & Constants



  • $ignoreIpAddress: IP Address in this array will be ignored by this detector. Usually your Company IP…

  • PHPIDS_QUOTA_IDS_TRIGGER: if in a second, an IP Address request more than this value will be trigger method idsWorker() in this class. You can implement you code for this function (line 161 in class.dosdetector.php) to get the notification.

  • PHPIDS_DURATION_IPS_TRIGGER: The number of second to check for IPS (auto-banning) trigger.

  • PHPIDS_QUOTA_IPS_TRIGGER: if in PHPIDS_DURATION_IPS_TRIGGER seconds, same IP have more request than this value will be auto-banned by system.




5. Monitoring


- This package came with a standalone script to monitor the traffic (logged by DosDtector class). You can put this script anywhere on your web server (with PHP read permission), and run this script from browser to access monitor tool. Example: http://yoursite.com/monitor.php.


- This page will show all the request (with IP Address, Time, User-Agent, Cookie status, Request URI, Referer URL) logged by DosDetector. Logged Accesses will be cached for 2 hours for performance.


- This page will show you banned IP address (from auto-ban or manual-ban IP Address). You can manual-ban an IP Address if you see that IP request too much and have weird access. Banned IP addresses will not be clear automatically. This banned list only clear by you or by clear from APC cache.


- You can detect whether a request have cookie or not, because a request without cookie is usually a search engine robot (Googlebot,..) or an automatic script crawling/flooding your website.






Thank you!

SafeGuard - Protect your website from threats (Miscellaneous)

Get in touch with us







SafeGuard


With SafeGuard you can protect your website from many threats.

If you want you can also log this threats and review them in the admin panel.


You can redirect blocked threats to a custom page for example a access denied page.

Protection against



  • Proxys

  • VPNs

  • Spammers

  • DDos (Mass requests)

  • SQL Injections



Other features



  • Admin panel

  • Enable logging for the desired threats

  • Redirect blocked threats to a custom page

  • Very easy to use

  • Well documented



Changelog


v.1.01 – 14.11.2013
v.1.00 – 13.11.2013