Suspicious link sharing pattern
Description
'Alerts in links that have been shared across multiple Zoom chat channels by the same user in a short space if time. Adjust the threshold figure to change the number of channels a message needs to be posted in before an alert is raised.'
Query · kql
let threshold = 3; ZoomLogs | where Event =~ "chat_message.sent" | extend Channel = tostring(parse_json(ChatEvents).Channel) | extend Message = tostring(parse_json(ChatEvents).Message) | where Message matches regex "http(s?):\\/\\/" | summarize Channels = makeset(Channel), StartTime = min(TimeGenerated), EndTime = max(TimeGenerated) by Message, User, UserId | extend ChannelCount = arraylength(Channels) | where ChannelCount > threshold | extend AccountName = tostring(split(User, "@")[0]), AccountUPNSuffix = tostring(split(User, "@")[1])