def rule(event):
    if any(
        [
            "Invoke-SMBAutoBrute" in event.deep_get("ScriptBlockText", default=""),
            "Invoke-GPOLinks" in event.deep_get("ScriptBlockText", default=""),
            "Invoke-Potato" in event.deep_get("ScriptBlockText", default=""),
        ]
    ):
        return True
    return False
