Before reading this article, I would like to briefly understand what ModSecurity is, And ModSecurity is an engine for intrusion detection and prevention. It is mainly used for Web applications, so it can also be called Web application firewall. I believe many commercial WAF signature developers have also referred to the ModSecurity rules.
Background:
Last week, t
1. install LAMP and the compiling environment # Apache 2.2.5 # Mysql 5.1.6 # install apache + php + mysql # yum-y install httpd php mysql-server php-mysql environment # yum install gcc make # yum install libxml2 libxml2-devel httpd-devel pcre-devel curl-devel start service test # service httpd start # service mysqld start note: iptables is required to allow all IP addresses to access port 80. 2. Install mod_security to download the source code from the official website, compile and install mod_s
Install modsecurity:
sudo apt-get install libxml2 libxml2-dev libxml2-utils libaprutil1 libaprutil1-dev libapache-mod-security
If your Ubuntu is 64bit, you need to fix a bug:
sudo ln -s /usr/lib/x86_64-linux-gnu/libxml2.so.2/usr/lib/libxml2.so.2
Configure modsecurity:
sudo mv /etc/modsecurity/modsecurity.con
ModSecurity is a free and open-source Apache module that can act as WAF ). It has rich features, powerful communities, and business support options. Therefore, it is essential for any production Apache Web server that provides non-static content and needs to be reviewed.
The main function of ModSecurity is to provide reliable protection and stay away from various online threats. It does not shift the focus
platform: Ubuntu 14.04First step: Install ApacheI recommend installing Apache with Apt-get installation, so you can have a lot less library support!!!! If it's not too much trouble, you can install it by source.Input Apt-get Install Apache2If you are prompted to update the package without this package apt-get install updateThis step is installed after the Apache will be able to provide services, enter 127.0.0.1 can access the local siteStep Two: Install ModsecurityThis is also the same as the to
Install Apache + ModSecurity in Ubuntu 14.04
Platform: Ubuntu 14.04
Step 1: install apache
It is recommended that you use apt-get to install Apache, so that many libraries are supported !!!! If it is not too troublesome, you can use the source code for installation.
Enter apt-get install apache2
Update the apt-get install update package if you are prompted that this package does not exist.
After this step is installed, apache can provide services. Inp
Platform: Ubuntu14.04 Step 1: install apache. I suggest you install Apache with apt-get. This will reduce the number of libraries !!!! If it is not too troublesome, you can use the source code to install the input apt-getinstallapache2 if the prompt does not have this software package, update the software package apt-getinstallupdate. After this step is installed, apache can provide services, enter 127.0.0.1 to access this
Platform: Ubuntu 14.04
Step 1: install apache
It is recommended that you
ModSecurity is an engine for intrusion detection and prevention. It is mainly used for Web applications and can also be called Web application firewall. it can be run as a module or a separate application of the Apache Web server. ModSecurity aims to enhance the security of Web applications and protect Web applications from known and unknown attacks. This article mainly introduces the idea of an open source
Modsecurity is an intrusion detection and blocking engine that is primarily used for Web applications so it can also be called a Web application firewall. It can be run as a module of the Apache Web server or as a separate application. The purpose of modsecurity is to enhance the security of Web applications and protect Web applications from known and unknown attacks. This paper mainly introduces the idea o
Example of modsecurity rule syntaxSecrule is a modsecurity the primary directive, which is used to create security rules. The basic syntax is as follows:Secrule VARIABLES OPERATOR [ACTIONS]
VARIABLESRepresentative HTTP The identity item in the package that specifies the object that the security rule targets. Common variables include:ARGS(all request parameters),files(all file names), and so on.
OPERA
It is best to install under the root account, Baidu ubuntu14.04 root can see a tutorial, written in very detailed, very convenientInstalling Apache2This installation uses Apt-get installationApt-get Install Apache2When the last face appears* Starting Web server Apache2 AH00558:apache2:Could not reliably determine the server ' s fully qualified domain name, USI Ng 127.0.1.1. Set the ' ServerName ' directive globally to suppress this message*Processing triggers for Libc-bin (2.19-0UBUNTU6) ...Proc
Release date:Updated on:
Affected Systems:Modsecurity Description:--------------------------------------------------------------------------------CVE (CAN) ID: CVE-2013-5705ModSecurity is a Web application server.ModSecurity versions earlier than 2.7.6 are available in the "modsecurity_tx_init ()" function (apache2/modsecurity. c) there is an error in implementation. Malicious users can exploit this vulnerability to bypass HTTP request processing by
Release date:Updated on:
Affected Systems:Sourceforge mod-security 2.xDescription:--------------------------------------------------------------------------------ModSecurity for Apache is a plug-in for the Apache Web server platform.
A security vulnerability exists in versions earlier than ModSecurity 2.70. when parsing multiple requests, malicious users can bypass certain filter rules.
Link: http://secu
The ModSecurity development team has fixed the DoS vulnerability, which can cause attackers to crash the firewall and execute forceRequestBodyVariable and an unknown content type by attacking HTTP requests, resulting in a null pointer reference.
This issue can be fixed by upgrading the program to version 2.7.4. This version also fixes some minor bugs and libinjection to identify SQL injection attacks, at the same time, the development team also annou
rulesMODSECURITY_CRS_50_OUTBOUND.CONF detects error messages, warning messages, and column directory information in Response_bodyMODSECURITY_CRS_59_OUTBOUND_BLOCKING.CONF Cooperative Defense related rulesMODSECURITY_CRS_60_CORRELATION.CONF Cooperative Defense related rulesPart II: SLR rule setFrom the determination of the app's POC, will not be false, the detection method is to check whether the current request file path appears in the data file, if there is another next test, otherwise skip th
auxiliary (wordpress_xmlrpc_dos)> set TARGETURI/TARGETURI =>/wordpress/Msf auxiliary (wordpress_xmlrpc_dos)> run(The emphasis is not on Metasploit. Only when you understand the attack can you provide corresponding defense measures)III. wordpress protection-use ModSecurity for protectionFor more information about installation and rule writing, see [Popular Scienc
As my PHP website has more and more visits to blog development and more comments, Wordpress has more and more visits to blog development and comments as Wordpress does not have the filtering function, wordpress spam comments are getting more and more spam comments because Wordpress messages do not have the filtering fu
Original address: http://www.eastdesign.net/wordpress-seo/
The latest news, the Oriental Design Institute WordPress SEO series of video tutorials are continuing to update the current, in order not to let the video spread too much, set the login permissions, interested users can simply fill out a form to request test account, submit a form to us, We will reply to the test account login password
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.