Panther critical experimental python
Slack Potentially Malicious File Shared
Detects when Slack's automated security scanning identifies malicious files uploaded to the workspace, indicating malware delivery or phishing attempts. Slack scans for executable malware, ransomware, phishing documents, malicious scripts, and files matching threat actor signatures. This detection indicates compromised accounts, insider threats, or successful phishing attacks where users uploaded infected files.
Detection Logic
from panther_slack_helpers import slack_alert_context
def rule(event):
return event.get("action") == "file_malicious_content_detected"
def title(event):
uploader = event.deep_get("actor", "user", "email", default="<UNKNOWN_USER>")
workspace = event.deep_get("context", "location", "domain", default="<UNKNOWN_WORKSPACE>")
return (
f"Slack: Malicious file detected in Slack workspace [{workspace}] "
f"uploaded by [{uploader}] - Potential malware or phishing attack"
)
def alert_context(event):
return slack_alert_context(event) Field Validations
Loading…
Comments (0)
Loading comments...