Panther medium experimental python
Snowflake Brute Force Attacks by IP
Detect brute force attacks by monitoring for failed logins from the same IP address
Detection Logic
def rule(_):
return True
def title(event):
return (
f"Snowflake: {event.get('count_by_ip', 'many')} failed login attempts from IP "
f"[{event.get('client_ip','<UNKNOWN_USER>')}]"
)
def severity(event):
# If the error appears to be caused by an automation issue, downgrade to INFO
common_errors = {"JWT_TOKEN_INVALID_PUBLIC_KEY_FINGERPRINT_MISMATCH"}
if event.get("ERROR_MESSAGE") in common_errors:
return "INFO"
return "DEFAULT"
def dedup(event):
# Dedup on title and severity
return f"[{severity(event)}] {title(event)}" Field Validations
Loading…
Comments (0)
Loading comments...