def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\svchost.exe"),
            not any(
                [
                    event.deep_get("Image", default="")
                    in ["C:\\Windows\\System32\\svchost.exe", "C:\\Windows\\SysWOW64\\svchost.exe"],
                    event.deep_get("OriginalFileName", default="") == "svchost.exe",
                ]
            ),
        ]
    ):
        return True
    return False
