def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\cloudflared.exe"),
            not any(
                [
                    ":\\Program Files (x86)\\cloudflared\\" in event.deep_get("Image", default=""),
                    ":\\Program Files\\cloudflared\\" in event.deep_get("Image", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
