Bad entity mapping in "Multiple Password Reset by User"
Describe the bug Analytic Rule "multiple password reset by user" may have issues with Host entity when a match is found in SigninLogs.
To Reproduce
Steps to reproduce the behavior:
Make this rule trigger for SigninLogs and you will find this in the entities:


This is because of the wrong entity mapping is done in line 68 of the template here.
and then this field (Comptuter) is converted to string and mapped to Host entity.
Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.
tagging @shainw and @petebryan
Yea, this has been a problem for quite some time now. This problem occurs in our environment, because of requests going through to multiple DC's.
I don't believe that Sentinel's mapping algorithm is capable of mapping sets as individual results as of yet. (Not a fact)
You could rename Total to GrandTotal and do
| extend ResetPivot = "TotalUserReset")
)
| mv-expand Computer
| extend timestamp = StartTimeUtc, AccountCustomEntity = Account, HostCustomEntity = tostring(Computer)
at the second to last line - this will fix the mapping for Computer, but the total won't be accurate to one Computer and it will cause duplicate events for every Computer
Unfortunately this same problem will occur for an Account if the TotalUserReset pivot is exceeded.
Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.
Thanks @ashwin-patil !
Are there any plans for fixing this alert rule? I don't think a rule this broken should be published as a template rule :-(
@ashwin-patil do we have any update on this ?
Sorry for the delay on this fix. We have added fix for entity parsing for now in PR #1834 . we are also working on improving the logic of this detection to be less noisy , will raise separate PR for that change.
Thank you for submitting an Issue to the Azure Sentinel GitHub repo! You should expect an initial response to your Issue from the team within 5 business days. Note that this response may be delayed during holiday periods. For urgent, production-affecting issues please raise a support ticket via the Azure Portal.
Sorry for the delay on this fix. We have added fix for entity parsing for now in PR #1834 . we are also working on improving the logic of this detection to be less noisy , will raise separate PR for that change.
@ashwin-patil How far is this fix deployed in the Azure Sentinel already since Jun 21, 2021?
I am still observing the same issue "Multiple password reset by User not mapping correctly" in my Azure Sentinel.
The host entry is neither IP nor FQDN, but ["[email protected]", ""], which is still not correct.
Thank you for your feedback