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