मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7876

detecting-sql-injection-via-waf-logs

यह क्या करती है

यह टूल आपकी वेबसाइट के सुरक्षा लॉग (WAF) का विश्लेषण करता है और SQL injection हमले की कोशिशें ढूंढता है। यह आम हमले के पैटर्न पहचानता है और बताता है कि हमलावर कौन है और कैसे हमला कर रहा है।

कब इस्तेमाल करें

  • ✓जब आपको शक हो कि आपकी वेबसाइट पर हमला हुआ है।
  • ✓यह जांचने के लिए कि आपकी सुरक्षा व्यवस्था सही काम कर रही है या नहीं।
  • ✓सुरक्षा घटना की जांच करते समय।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-sql-injection-via-waf-logs/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-sql-injection-via-waf-logs/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे WAF लॉग में SQL injection हमलों का विश्लेषण करो।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

टूल WAF लॉग पढ़ता है, जाने-पहचाने हमले के कोड (जैसे 'UNION SELECT' या 'OR 1=1') खोजता है, और एक ही स्रोत से आने वाले हमलों को एक साथ समूह में रखता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Detecting SQL Injection via WAF Logs

When to Use

  • When investigating security incidents that require detecting sql injection via waf logs
  • When building detection rules or threat hunting queries for this domain
  • When SOC analysts need structured procedures for this analysis type
  • When validating security monitoring coverage for related attack techniques

Prerequisites

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

  1. Install dependencies: pip install requests
  2. Collect WAF logs (ModSecurity audit log, AWS WAF JSON logs, or Cloudflare firewall events).
  3. Run the agent to parse and analyze:
    • Detect SQLi payloads via 15+ regex patterns
    • Classify attacks by OWASP injection type (classic, blind, time-based, UNION-based)
    • Identify persistent attackers by IP clustering
    • Correlate multi-request injection campaigns
    • Calculate attack success probability based on response codes
python scripts/agent.py --log-file /var/log/modsec_audit.log --format modsecurity --output sqli_report.json

Examples

ModSecurity SQLi Detection

Rule 942100 triggered: SQL Injection Attack Detected via libinjection
URI: /api/users?id=1' UNION SELECT username,password FROM users--
Source IP: 203.0.113.42 (47 requests in 5 minutes)
Classification: UNION-based SQLi campaign
अक्सर पूछे जाने वाले सवाल

WAF लॉग क्या होते हैं?

ये रिकॉर्ड होते हैं जो दिखाते हैं कि किसने आपकी वेबसाइट तक पहुंचने की कोशिश की और उसने क्या किया, जैसे हमले की कोशिशें।

SQL injection क्या है?

यह एक तरह का हमला है जिसमें हमलावर वेबसाइट के इनपुट फ़ील्ड के ज़रिए आपके डेटाबेस में खतरनाक कमांड डालने की कोशिश करता है।

OWASP क्या है?

यह एक संगठन है जो वेब एप्लिकेशन के लिए सुरक्षा मानक तय करता है, जिसमें हमलों को वर्गीकृत करने का तरीका भी शामिल है।

जानकारी

लेखक का मूल विवरण

Analyze WAF (ModSecurity/AWS WAF/Cloudflare) logs to detect SQL injection attack campaigns. Parses ModSecurity audit logs and JSON WAF event logs to identify SQLi patterns (UNION SELECT, OR 1=1, SLEEP(), BENCHMARK()), tracks attack sources, correlates multi-stage injection attempts, and generates incident reports with OWASP classification.

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#7876
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

मिलती-जुलती skills