Snowflake security policies for Disabled MFA, New Privileged Access, and Terminated Employees
This article will walk you through defining policies for common conditions that will leave your Snowflake environment open to potential exploits from threat actors.
Disabled MFA for Active Service Accounts
This policy will allow you to identify cases that may expose you to someone logging in to a service account.
In order to configure this perform the following:
Navigate to Security > Policies
Select the category MFA, and next select Create Policy
Name the policy as “Disabled MFA for Active Service Accounts” or a preferred alternative and adjust the Severity, Description and Tags to your liking
Configure Rule as the following:
Applications
Display Name is Snowflake
Accounts
Account Type in Service
Account Status in Active
MFA Status not in Enabled
Once above is configured click next and continue to saving and enable the policy
Optionally, add additional custom actions to enable additional automation to occur when the policy is triggered.
New Privileged Access
This policy will allow you to identify cases where new privileged access was created to Snowflake.
In order to configure this perform the following:
Navigate to Security > Policies
Select the category New Access, and next select Create Policy
Name the policy as “New Privileged Access” or a preferred alternative and adjust the Severity, Description and Tags to your liking
Configure Rule as the following:
Applications
Display Name is Snowflake
Accounts
Privileged is Yes
Once above is configured click next and continue to saving and enable the policy
Optionally, add additional custom actions to enable additional automation to occur when the policy is triggered.
Terminated Employees
This policy will allow you to quickly action Snowflake accounts that are active, however the user account has been terminated.
In order to configure this perform the following:
Navigate to Security > Policies
Select the category Terminations, and next select Create Policy
Name the policy as “Terminated Employees with Access to Snowflake” or a preferred alternative and adjust the Severity, Description and Tags to your liking
Configure Rule as the following:
Applications
Display Name is Snowflake
Accounts
Account Status in Active
Once above is configured click next and continue to saving and enable the policy
Optionally, add additional custom actions to enable additional automation to occur when the policy is triggered.
Creating Saved Searches
You can also Search and save the search for accounts that meet the conditions of a risk.
To search perform the following:
Navigate to Applications > Snowflake
Select the tab for Accounts and click Show for Filters
Adjust the filters as required for each of the following desired conditions
Service Accounts with MFA Disabled
Account Status: Active
Application: Snowflake
Account Type: Service
MFA Status: Disabled
Active Accounts for Terminated Employees
Account Status: Active
Application: Snowflake
User Status: Inactive,Deleted
New Privileged Accounts
Account Status: Active
Application: Snowflake
Privileged: Yes
Discovery Date: Last 7 Days