Elastic Defend high stable eql
Python Initial Access via Google Drive
Detects the execution of Python followed by a network connection by Python to a Google Drive domain and ultimately the creation of a Python script or executable. Nation State actors have been observed engaged in several initial access campaigns using Python coding lures that retrieve and execute secondary and even tertiary Python scripts that eventually lead to a payload that establishes command and control.
Detection Logic
sequence by process.entity_id with maxspan=15s
[process where event.type == "start" and event.action == "exec" and process.name like~ "Python*" and
not process.parent.executable == "/Library/Developer/CommandLineTools/usr/bin/make"]
[network where event.type == "start" and process.name like~ "Python*" and destination.domain in ("drive.usercontent.google.com", "drive.usercontent.google.com.", "drive.google.com", "drive.google.com.", "script.google.com", "script.google.com.")] Field Validations
Loading…
Comments (0)
Loading comments...