def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\svchost.exe"),
            not any(
                [
                    any(
                        [
                            event.deep_get("ParentImage", default="").endswith("\\Mrt.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\MsMpEng.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\ngen.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\rpcnet.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\services.exe"),
                            event.deep_get("ParentImage", default="").endswith("\\TiWorker.exe"),
                        ]
                    ),
                    event.deep_get("ParentImage", default="") == "",
                    event.deep_get("ParentImage", default="") in ["-", ""],
                ]
            ),
        ]
    ):
        return True
    return False
