Comments (8)
👍
from ossec-hids.
This also results in "File deleted. Unable to retrieve checksum." alerts. I'm not sure if the inode of the file actually changed, resulting in this alert. I haven't looked into that.
from ossec-hids.
@mstarks01 this is inotify reason.
from ossec-hids.
How long of a delay would be necessary?
from ossec-hids.
@ddpbsd, probably just one second. Then again, I'm only postulating that this would even fix the problem.
from ossec-hids.
@mstarks01 It's worth trying. :)
from ossec-hids.
I have looked into the code for doing this and we need to put a lot more thought into then just a delay. I don't think that will be enough as it will push a fair amount of logic and state into root check/syscheck that it just does not have now.
I think the it needs to be redesigned so that everything is code like inotify event based queue system. And then for systems that dooes not have notations system we fake our own with timer and scan the file system.
This is fair amount of work and something I don't heart for right now, but someone could really take this one and make some killer code with.
from ossec-hids.
While @jrossi is probably right, this is what we have now.
https://github.com/ossec/ossec-hids/blob/master/src/syscheckd/run_realtime.c#L202
from ossec-hids.
Related Issues (20)
- Better error message for "ossec-testrule: currently_rule not set!" HOT 4
- Custom Rules HOT 1
- Null
- syscheck HOT 1
- incorect layout for debian bookworm and bullseye repos HOT 3
- ERROR: SSL read (unable to receive message) OSSEC HOT 1
- sslv3 alert handshake failure
- Missing repo data for Ubuntu Jammy HOT 1
- /var/ossec/etc/ossec.conf and Ansible community.general.xml
- [HELP]
- Problem with decoders HOT 1
- ossec-analysisd leaks memory.
- Journald read in 1001 seconds bursts HOT 8
- Link doesn't exists
- Missing security policy. Cannot report security bugs and vulnerabilities. HOT 5
- Support for ossec in AmazonLinux2023 HOT 2
- 3.7 don;t have new files alerts HOT 2
- [Request] Provide binaries for arm64 Debian Bookworm/Trixie/Sid HOT 4
- Building from source on a staging server. How to transfer the build package to a production server? HOT 1
- Monitoring logs of journald not working
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 ossec-hids.