Comments (3)
Sorry I made a mistake, the string "whitelists:" got on the same line as the comment above it in teler.example.yaml so obviously what I did under excludes would not work.
But I still cannot get IP to match. The favicon.ico excludes are working.
rules:
cache: true
threat:
whitelists:
- "185\\.100\\.86\\.128"
- "^/favicon\\.ico"
[01/Mar/2021:00:37:34 +0100] [185.100.86.128] [Common Web Attack: Detects basic directory traversal]
/wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php
Original log line (lighttpd, log_format is in my original report):
185.100.86.128 example.org - [01/Mar/2021:00:37:34 +0100] "GET /wp-admin/admin-ajax.php?action=revslider_show_image&img=../wp-config.php HTTP/1.1" 301 0 "https://www.google.com/search" "Mozlila/5.0 (Linux; Android 7.0; SM-G892A Bulid/NRD90M; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/60.0.3112.107 Moblie Safari/537.36"
from teler.
Thank you for raising a issue to us so promptly. Please make sure you have given us as much context as possible.
We will try and get back to you as soon as possible.
from teler.
Hei, @anrxc. We whitelist in their respective sections & patterns DO NOT apply as a whole. This means that if you whitelist an IP (pattern) and activate Bad IP Address detection, then the whitelist is valid - if Bad IP Address matches the given IP whitelist. But if your intention is to whitelist the IP from all types of threats - it won't!
What I get from your point is, you want to whitelisting the IPs from Common Web Attack threat, of course that doesn't apply - because it's not part of it. The workaroung is if you want to whitelist the detection of Common Web Attack threat - you must use a pattern for request URL/path, because we detected the Common Web Attack threat as coming from there.
Since this isn't explained yet - I've updated the documentation about this configuration.
from teler.
Related Issues (20)
- [FEATURE] metrics for custom threat rules HOT 1
- [FEATURE] Live dashboard
- [FEATURE] Deprecating non-webhook alert :(
- [FEATURE] Configurable message format alert
- I dont have -o --output in my teler
- [DOCS] Docker volume and port missing HOT 4
- [BUG] Unable to get teler to see log input HOT 4
- [FEATURE] Daemonize teler HOT 6
- [FEATURE] Follow/stream input logs HOT 1
- [BUG] Error! open internal/alert/template/telegram.tmpl: no such file or directory HOT 1
- [BUG] Not send any alerts to discord HOT 2
- [BUG] docker run --input /path/to/access.log doesn't analyze log, but buffer does
- [BUG]
- This is the situation with every OS I use HOT 1
- Seeking Guidance on Running Teler Application with Systemd HOT 1
- [BUG] cannot detect the attack HOT 1
- [DOCS] Protect Your Web App returns 404
- [BUG] log parser space issue
- [BUG] wrong classification
- [BUG] cannot disable dashboard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teler.