WAF Betrieb — Application Gateway (CCA-Online)
🤖 Generated with Claude Code
⚠️ Not yet reviewed
Co-Authored-By: Claude (noreply@anthropic.com)
Betriebsdokumentation für die Web Application Firewall vor der CCA-Online SaaS.
| Application Gateway | TIS-PROD-CCA_Weblight-AppGw (RG TIS-PROD-CCA_WEBLIGHT-WE-RG) |
| Ruleset | OWASP CRS 3.2 |
| Modus | Detection (Detect-Only — es wird nichts geblockt) |
| Config-Typ | Inline WAF-Config am Gateway (noch kein WAF-Policy-Objekt) |
| Logs | Log Analytics defaultworkspace-…-weu, Tabelle AzureDiagnostics, Category ApplicationGatewayFirewallLog |
| Geschützte Hosts | *.my.cca.online (Tenants), *.cca.online, trustcenter.togethercca.com |
Inhalt
| Dokument | Inhalt |
|---|---|
| rules-reference.md | Source of Truth — alle Exclusions/Disabled Rules (Live-Stand) + geplante Migration |
| monitoring.md | Azure Monitor Workbook / Dashboard für Findings |
Ausgangslage (Analyse)
Über ~7 Tage: ~160.000 Firewall-Events, ~315 Quell-IPs, ~195 Hosts. Davon erreichten
~53.500 Requests den Anomaly-Block-Schwellwert (Regel 949110, würde in Prevention geblockt):
- ~73 % gegen Tenant-Hosts (
*.my.cca.online) → überwiegend False Positives aus legitimem App-Traffic - ~27 % gegen Scan-/andere Hosts → überwiegend echtes Scanning (Bots)
Hauptursachen der False Positives
- OData-Query-Parameter (
$filter,$select,$apply…) triggern SQLi-Regeln (942xxx) - ASP.NET(Core)-Cookies (
.AspNetCore.*,.AspNet.ExternalCookie,OpenIdConnect.nonce) enthalten--/0x→ 942440/942450 - Fehlende
User-Agent/Accept-Header bei API-/SCEP-Clients → 920320/920300 - Legitime Off-Domain-URLs (
ewsUrl→ outlook.office365.com,outlookPluginReturnUrl) → 931130 - SCEP-Zertifikats-Enrollment (
trustcenter.togethercca.com, base64-PKCS#7) → diverse
Echte Angriffe (bewusst nicht ausgeschlossen)
- Quell-IP
34.145.202.189(GCP):.env-/Secret-Scanning über 88 Hosts, Vite-LFI, Unix-Shell-RCE - Host-Header-Scanning über hunderte gefälschte Subdomains
Status
- Runde 1 angewendet & verifiziert — 920320/920300 sowie
$filter/$apply-Wert-Treffer = 0 - Runde 2 angewendet (Cookie-/Arg-Exclusions, disable
920420) — siehe rules-reference.md - Migration auf WAF-Policy → geplant 2026-10-13 (Wartungsfenster CCA-Host-It)
RequestArgKeys-Exclusion für942360($selectauf Argument-Namen)- Custom Rule: Block
34.145.202.189(+ Rate-Limit) - anschließend Umstellung auf Prevention (pro Host, beginnend mit Low-Traffic-Tenant)
Verwandte Doku
- Infrastruktur: ../../infrastructure.md (Network Security)
- Entscheidung: ../../decisions/adr-004-waf-strategy.md
- IaC/Deployment (Workbook, spätere WAF-Policy): Code-Repo
cca.ccaonline→docs/waf/