def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\CustomShellHost.exe"),
            not event.deep_get("Image", default="") == "C:\\Windows\\explorer.exe",
        ]
    ):
        return True
    return False
