Showing results for 
Show  only  | Search instead for 
Did you mean: 

Logging Failed Authentication Attempts


How can we perform logging of failed authentication attempts? We're experiencing situations where users might get locked out and it's difficult to troubleshoot without information.

A very similar article is Solved: McAfee Enterprise Support Community - Re: MWG6.8.7 - 8378: Logging failed authentication... ...

I've created a rule similar to that, just made it so it logs onto the MWG itself rather than utilize an SNMP trap.



I'm just not sure where exactly this rule needs to be placed for Authentication.Failed to actually be evaluated.
There's also the parameter "Authentication.RawCredentials" that piqued my interest, would adding this to the log reveal which username was pushed during the failed authentication attempt?

That would drastically improve our workflow in these cases, otherwise it'd still require us to plug the IP into tcpdump, packet trace then filter down with Wireshark.

Best regards

2 Replies
Report Inappropriate Content
Message 2 of 3

Re: Logging Failed Authentication Attempts

Hello @luka_hajnrihar,

I have not read the other guide now but the rule itself is a logging rule where a string logline is generated which is then written into the access log.

Such rules are located under "Policy" > "Rule sets" (upper left tab) > "Log Handler" (below left side).

Let us know if you have further questions.

Marcel Kutrieba
Technical Support Engineer

If you find this post useful, Please give it a Kudos! Also, Please don't forget to select "Accept as a solution" if this reply resolves your query!

Re: Logging Failed Authentication Attempts

Hi, I appreciate the feedback.
Regarding the case we were dealing with, we've managed to come up with a different (better) approach.

Though I have a question regarding the log handler; when exactly are the rules in there evaluated? Can I use the same condition as the rule I've posted in the original post? Because otherwise I use a similar type of rule to handle logging for our 3rd party ICAP sandbox & it works just fine within the context of a regular ruleset (not log handler rules).

You Deserve an Award
Don't forget, when your helpful posts earn a kudos or get accepted as a solution you can unlock perks and badges. Those aren't the only badges, either. How many can you collect? Click here to learn more.

Community Help Hub

    New to the forums or need help finding your way around the forums? There's a whole hub of community resources to help you.

  • Find Forum FAQs
  • Learn How to Earn Badges
  • Ask for Help
Go to Community Help

Join the Community

    Thousands of customers use our Community for peer-to-peer and expert product support. Enjoy these benefits with a free membership:

  • Get helpful solutions from product experts.
  • Stay connected to product conversations that matter to you.
  • Participate in product groups led by employees.
Join the Community
Join the Community