Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sid 5300 incorrectly alerts on OS X #604

Closed
mikedowney01 opened this issue Apr 30, 2015 · 4 comments
Closed

sid 5300 incorrectly alerts on OS X #604

mikedowney01 opened this issue Apr 30, 2015 · 4 comments

Comments

@mikedowney01
Copy link
Contributor

I've noticed sid 5300 alerting for successful authentication when the "Open Directory - Membership cache TTL..." log is generated. This is being triggered due to " - " being matched in the rule.

@ddpbsd
Copy link
Member

ddpbsd commented Apr 30, 2015

Can you provide a log sample?

@mikedowney01
Copy link
Contributor Author

Sure.
The following logs are generated:

su[734]: in pam_sm_authenticate(): authentication succeeded
su[734]: in pam_sm_acct_mgmt(): The root_only option means root only.
su[734]: in pam_sm_acct_mgmt(): OpenDirectory - Membership cache TTL set to 1800.
AccountPolicyHelper[256]: (73.22) AuthenticationAllowed completed: record “test”, result: Success (0).

Which in turn generates the following alert:

Rule: 5301 fired (level 5) -> "User missed the password to change UID (user id)."
Portion of the log(s):

Apr 30 11:19:09 test-mac su[734]: in pam_sm_acct_mgmt(): OpenDirectory - Membership cache TTL set to 1800.

ddpbsd added a commit to ddpbsd/ossec-hids that referenced this issue May 8, 2015
…elated

OS X log messages. I don't see a log sample that this might be
correctly used for, so remove it.
@mikedowney01
Copy link
Contributor Author

Thanks for the correction. I was hesitant to submit a pull request in case "-" was alerting for logs on older systems.

@ddpbsd
Copy link
Member

ddpbsd commented May 8, 2015

It could be, but I don't have any evidence that it does. I can only work
with the information I have. :-)

On Fri, May 8, 2015 at 12:04 PM, Mike Downey [email protected]
wrote:

Thanks for the correction. I was hesitant to submit a pull request in case
"-" was alerting for logs on older systems.

Reply to this email directly or view it on GitHub
#604 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants