Skip to content

The Authelia parser (v0.9) doesn't classify Unsuccessful 1FA authentication attempt by user '' #2001

Open

Description

@Pamalosebi

The Authelia parser (v0.9) doesn't classify Unsuccessful 1FA authentication attempt by user '' as auth_failed, so the brute-force scenarios don't pick it up.

Looks related to #1268, but with a different log message.


AI wrote me this small workaround:
/etc/crowdsec/parsers/s02-enrich/authelia-empty-user.yaml

name: local/authelia-empty-user
description: "Classify Authelia failed authentication with empty username"

filter: >-
  evt.Meta.service == "authelia" &&
  evt.Unmarshaled.authelia.msg == "Unsuccessful 1FA authentication attempt by user ''"

statics:
  - meta: log_type
    value: auth_failed

With that it did find empty user login attempts too.

Could this case be handled upstream as well?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions