Difference between revisions of "ModSecurity: Core Rule Set"

From OnnoWiki
Jump to navigation Jump to search
(Created page with "sumber: http://modsecurity.org/crs/ OWASP ModSecurity Core Rule Set (CRS) The 1st Line of Defense Against Web Application Attacks Download this project as a .zip file Dow...")
 
 
(7 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
  
 +
OWASP ModSecurity Core Rule Set (CRS) adalah sekumpulan generic attack detection rules untuk digunakan dengan ModSecurity atau compatible web application firewall. CRS bertujuan untuk protect web application dari berbagai serangan, termasuk OWASP Top Ten, dengan minimum false alert.
  
 +
OWASP ModSecurity Core Rule Set (CRS) memungkinkan proteksi terhadap banyak kategori serangan yang umum, termasuk,
  
 +
* SQL Injection (SQLi)
 +
* Cross Site Scripting (XSS)
 +
* Local File Inclusion (LFI)
 +
* Remote File Inclusion (RFI)
 +
* Remote Code Execution (RCE)
 +
* PHP Code Injection
 +
* HTTP Protocol Violations
 +
* HTTPoxy
 +
* Shellshock
 +
* Session Fixation
 +
* Scanner Detection
 +
* Metadata/Error Leakages
 +
* Project Honey Pot Blacklist
 +
* GeoIP Country Blocking
  
OWASP ModSecurity Core Rule Set (CRS)
+
OWASP ModSecurity Core Rule Set adalah free software, yang di distribusikan menggunakan Apache Software License version 2.
The 1st Line of Defense Against Web Application Attacks
 
Download this project as a .zip file
 
Download this project using Git
 
  
The OWASP ModSecurity Core Rule Set (CRS) is a set of generic attack detection rules for use with ModSecurity or compatible web application firewalls. The CRS aims to protect web applications from a wide range of attacks, including the OWASP Top Ten, with a minimum of false alerts.
+
==New Features in CRS 3==
  
The Core Rule Set provides protection against many common attack categories, including:
+
CRS 3 includes many coverage improvements, plus the following new features:
  
  SQL Injection (SQLi)
+
  Over 90% reduction of false alerts in a default install
  Cross Site Scripting (XSS)
+
  A user-defined Paranoia Level to enable additional strict checks
  Local File Inclusion (LFI)
+
  Application-specific exclusions for WordPress Core and Drupal
  Remote File Inclusion (RFI)
+
  Sampling mode runs the CRS on a user-defined percentage of traffic
  Remote Code Execution (RCE)
+
  SQLi/XSS parsing using libinjection embedded in ModSecurity
PHP Code Injection
 
HTTP Protocol Violations HTTPoxy
 
Shellshock
 
Session Fixation
 
Scanner Detection
 
Metadata/Error Leakages
 
Project Honey Pot Blacklist
 
GeoIP Country Blocking
 
  
The Core Rule Set is free software, distributed under Apache Software License version 2.
+
For a full list of changes in this release, see the CHANGES document.
New Features in CRS 3
 
[View the CRS3 poster!] CRS 3 includes many coverage improvements, plus the following new features:
 
 
 
    Over 90% reduction of false alerts in a default install
 
    A user-defined Paranoia Level to enable additional strict checks
 
    Application-specific exclusions for WordPress Core and Drupal
 
    Sampling mode runs the CRS on a user-defined percentage of traffic
 
    SQLi/XSS parsing using libinjection embedded in ModSecurity
 
  
For a full list of changes in this release, see the CHANGES document.
+
==Installation==
Installation
 
  
CRS 3 requires an Apache/IIS/Nginx web server with ModSecurity 2.8.0 or higher.
+
Instalasi OWASP ModSecurity Core Rule Set CRS 3 membutuhkan Apache/IIS/Nginx web server dengan ModSecurity 2.8.0 atau yang lebih tinggi.
  
Our GitHub repository is the preferred way to download and update CRS.
+
GitHub repository adalah cara yang lebih disukai untuk download dan update CRS.
  
 
  HTTPS git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git
 
  HTTPS git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git
 
  SSH git clone git@github.com:SpiderLabs/owasp-modsecurity-crs.git
 
  SSH git clone git@github.com:SpiderLabs/owasp-modsecurity-crs.git
  
After download, copy crs-setup.conf.example to crs-setup.conf. Optionally edit this file to configure your CRS settings. Then include the files in your webserver configuration:
+
Setelah download, copy crs-setup.conf.example ke crs-setup.conf. Atau edit file tersebut untuk mengkonfigurasi setting CRS. Kemudian masukan file tersebut ke konfigurasi web server, melalui,
  
 
  Include /.../crs-setup.conf
 
  Include /.../crs-setup.conf
Line 56: Line 52:
  
 
You can update the rule set using the included script util/upgrade.py.
 
You can update the rule set using the included script util/upgrade.py.
Handling False Positives and Advanced Features
+
 
 +
==Handling False Positives and Advanced Features==
  
 
Advanced features are explained in the crs-setup.conf and the rule files themselves. The crs-setup.conf file is generally a very good entry point to explore the features of the CRS.
 
Advanced features are explained in the crs-setup.conf and the rule files themselves. The crs-setup.conf file is generally a very good entry point to explore the features of the CRS.
Line 63: Line 60:
  
 
Christian Folini's tutorials on installing ModSecurity, configuring the CRS and handling false positives provide in-depth information on these topics.
 
Christian Folini's tutorials on installing ModSecurity, configuring the CRS and handling false positives provide in-depth information on these topics.
Community
+
 
 +
==Community==
  
 
We strive to make the OWASP ModSecurity CRS accessible to a wide audience of beginner and experienced users. We are interested in hearing any bug reports, false positive alert reports, evasions, usability issues, and suggestions for new detections.
 
We strive to make the OWASP ModSecurity CRS accessible to a wide audience of beginner and experienced users. We are interested in hearing any bug reports, false positive alert reports, evasions, usability issues, and suggestions for new detections.
Line 72: Line 70:
  
 
Join the #modsecurity channel on Freenode IRC to chat about the CRS.
 
Join the #modsecurity channel on Freenode IRC to chat about the CRS.
 +
 +
==Core Team==
 +
 +
Chaim Sanders (csanders-git) - Project Lead
 +
Walter Hop (lifeforms) - Core Developer
 +
Christian Folini (Twitter: @ChrFolini, GitHub: dune73) - Core Developer
 +
  
  

Latest revision as of 11:57, 28 March 2020

sumber: http://modsecurity.org/crs/


OWASP ModSecurity Core Rule Set (CRS) adalah sekumpulan generic attack detection rules untuk digunakan dengan ModSecurity atau compatible web application firewall. CRS bertujuan untuk protect web application dari berbagai serangan, termasuk OWASP Top Ten, dengan minimum false alert.

OWASP ModSecurity Core Rule Set (CRS) memungkinkan proteksi terhadap banyak kategori serangan yang umum, termasuk,

  • SQL Injection (SQLi)
  • Cross Site Scripting (XSS)
  • Local File Inclusion (LFI)
  • Remote File Inclusion (RFI)
  • Remote Code Execution (RCE)
  • PHP Code Injection
  • HTTP Protocol Violations
  • HTTPoxy
  • Shellshock
  • Session Fixation
  • Scanner Detection
  • Metadata/Error Leakages
  • Project Honey Pot Blacklist
  • GeoIP Country Blocking

OWASP ModSecurity Core Rule Set adalah free software, yang di distribusikan menggunakan Apache Software License version 2.

New Features in CRS 3

CRS 3 includes many coverage improvements, plus the following new features:

Over 90% reduction of false alerts in a default install
A user-defined Paranoia Level to enable additional strict checks
Application-specific exclusions for WordPress Core and Drupal
Sampling mode runs the CRS on a user-defined percentage of traffic
SQLi/XSS parsing using libinjection embedded in ModSecurity

For a full list of changes in this release, see the CHANGES document.

Installation

Instalasi OWASP ModSecurity Core Rule Set CRS 3 membutuhkan Apache/IIS/Nginx web server dengan ModSecurity 2.8.0 atau yang lebih tinggi.

GitHub repository adalah cara yang lebih disukai untuk download dan update CRS.

HTTPS	git clone https://github.com/SpiderLabs/owasp-modsecurity-crs.git
SSH	git clone git@github.com:SpiderLabs/owasp-modsecurity-crs.git

Setelah download, copy crs-setup.conf.example ke crs-setup.conf. Atau edit file tersebut untuk mengkonfigurasi setting CRS. Kemudian masukan file tersebut ke konfigurasi web server, melalui,

Include /.../crs-setup.conf
Include /.../rules/*.conf

For detailed installation instructions, see the INSTALL document. Also review the CHANGES and KNOWN_BUGS documents.

You can update the rule set using the included script util/upgrade.py.

Handling False Positives and Advanced Features

Advanced features are explained in the crs-setup.conf and the rule files themselves. The crs-setup.conf file is generally a very good entry point to explore the features of the CRS.

We are trying hard to reduce the number of false positives (false alerts) in the default installation. But sooner or later, you may encounter false positives nevertheless.

Christian Folini's tutorials on installing ModSecurity, configuring the CRS and handling false positives provide in-depth information on these topics.

Community

We strive to make the OWASP ModSecurity CRS accessible to a wide audience of beginner and experienced users. We are interested in hearing any bug reports, false positive alert reports, evasions, usability issues, and suggestions for new detections.

Create an issue on GitHub to report a false positive or false negative (evasion). Please include your installed version and the relevant portions of your ModSecurity audit log.

Sign up for the mailing list to ask general usage questions and participate in discussions on the CRS.

Join the #modsecurity channel on Freenode IRC to chat about the CRS.

Core Team

Chaim Sanders (csanders-git) - Project Lead
Walter Hop (lifeforms) - Core Developer
Christian Folini (Twitter: @ChrFolini, GitHub: dune73) - Core Developer



Referensi