Skip to content

krabelize/zscaler-sentinel-phishing-attack

Repository files navigation

Zscaler Internet Access (ZIA) Microsoft Sentinel SIEM KQL Threat Hunting for a Phishing Attack

Possible Phishing Attack detection: This use-case is helpful in case Microsoft Defender for 365 does not detect or quarantine a malicious phishing e-mail. Zscaler can see possible malicious phishing URLs based on website category and other metrics. By leveraging this information and a count of users visiting a flagged URL within a one hour timeframe, we can identify a possible undetected phishing campaign.

Use-case:

Let's say your organization is a target of a targeted phishing campaign. This means multiple users can receive phishing mails if the malicious e-mails are not quarentined. The picture below is an example of a malicious phishing e-mail. The "review recent activity" button does not direct you to a Microsoft page, but to a malicious website through https://bit.ly URL shortening services. In this case, Microsoft Defender M365 did not flag or quarantine this malicious mail:

Example phishing e-mail

If the Zscaler ZIA endpoint agent is active on a system, it can keep track of all visited URLs. This way, we can create a KQL query to keep track of all links, which could be a security risk. In this case, when three or more employees click on the phishing bit.ly link - Sentinel will create an alert:

ZIA phishing Sentinel SIEM

KQL query: https://github.com/krabelize/zscaler-sentinel-siem/blob/main/detect-phishing-attack.kql

Next, an incident response investigation can be started by the SOC team, depending on the nature of the attack and possible victims.

GAP: users who clicked on the phishing link on their smartphones or tablets. Furthermore, targetted phishing attacks might not fall under the threshhold count within the KQL query. Moreover, newely registered domains, or subdomains and FDQNs of trusted domains are not in queried in this use-case.

Goal: detect phishing campaigns which did not get blocked or detected by Microsoft 365 or Google Workspace.

Read more: https://cryptsus.com/blog/phishing-attack-zscaler-sentinel-siem.html

License

Berkeley Software Distribution (BSD)

Author

Jeroen van Kessel | cryptsus.com - we craft cyber security solutions

About

Zscaler ZIA Sentinel SIEM KQL Threat Hunting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published