1. 程式人生 > >web application firewalld (WAF) 功能

web application firewalld (WAF) 功能

oca height abs .org 當下 分析 reat 不足 規則

1、應用服務級別的安全考慮 引入web安全中的十大安全方向: OWASP: 開源web應用安全項目。Open Web Application Security Project 十大安全問題: SQL 註入、失效的身份認證和會話管理、跨站腳本(xss)、失效的訪問控制、安全配置錯誤、 敏感信息泄露、攻擊檢測與防護不足、跨站請求偽造(CSRF)、使用含有已知漏洞的組件、未受保護的API 2、應用級別安全選擇 對比分析當下主流安全插件 naxsi、modlibsecurity 3、測試應用 4、數據分析 5、功能性用途: 為了解決 top 10 問題 6、加載規則 ModSecurity的企業贊助商TrustWave Spiderlabs提供的推薦的ModSecurity配置
https://docs.nginx.com/nginx-waf/admin-guide/nginx-plus-modsecurity-waf-owasp-crs/ Add Include directives in the main NGINX WAF configuration file (/etc/nginx/modsec/main.conf, created in Step 4 of Protecting the Demo Web Application) to read in the CRS configuration and rules. Comment out any other rules that might already exist in the file, such as the sample SecRule directive created in that section.
# Include the recommended configuration Include /etc/nginx/modsec/modsecurity.conf # OWASP CRS v3 rules Include /usr/local/owasp-modsecurity-crs-3.0.2/crs-setup.conf Include /usr/local/owasp-modsecurity-crs-3.0.2/rules/REQUEST-900-EXCLUSION-RULES-BEFORE-CRS.conf Include /usr/local/owasp-modsecurity-crs-3.0.2/rules/REQUEST-901-INITIALIZATION.conf
https://github.com/SpiderLabs/ModSecurity-nginx#usage https://github.com/SpiderLabs/ModSecurity/wiki#secremoterulesfailaction 官方網站的解釋: https://modsecurity.org/crs/ 技術分享圖片

web application firewalld (WAF) 功能