Login attempts using Password Hash Sync

DutchIvan 31 Reputation points
2022-12-21T14:55:29.197+00:00

First of all legacy auth is blocked, all other countries are blocked, MFA is enforced for everyone, and other risk factors block access.

The issue is Password Hash Sync that's used to support Hybrid Azure AD doesn't trigger any conditional access policies. So I have thousands of malicious logins all over the globe trying to login to users accounts with Password Hash Sync. This triggers smart lock out which does it's thing and locks people out for a brief time and blocks the IP eventually but is annoying. Is there really no method for blocking these?

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} vote

2 answers

Sort by: Most helpful
  1. Akshay-MSFT 18,011 Reputation points Microsoft Employee Moderator
    2022-12-22T07:44:12.767+00:00

    Hello @DutchIvan ,

    I would suggest to use the trusted location IP address ranges. Make a policy to block access for location and exclude the trusted IP named location from the same.

    This would block any request from non-trusted IP ranges.

    273184-image.png

    Named locations defined by IPv4/IPv6 address ranges are subject to the following limitations:

    • Configure up to 195 named locations
    • Configure up to 2000 IP ranges per named location
    • Both IPv4 and IPv6 ranges are supported
    • Private IP ranges can't be configured
    • The number of IP addresses contained in a range is limited. Only CIDR masks greater than /8 are allowed when defining an IP range.

    Apart from this if the devices are hybrid AD joined you could use Require Hybrid Azure AD joined device and for mobile devices you could use Require device to be marked as compliant if you are using MEM( Intune). This would immediately block access from devices not meeting the criteria.

    273185-image.png

    Please do let me know if you have any queries in the comments section.

    Thanks,
    Akshay Kaushik

    Please "Accept the answer", "Upvote" and rate your experience if the suggestion works as per your business need. This will help us and others in the community as well.


  2. Mike Akam 0 Reputation points
    2023-07-03T08:35:58.74+00:00

    We have the same problem, and configured in the same way where we only alow trusted IP's. Did you get and answer in the end?Microsoft can you help here?

    Thanks,

    Mike


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.