def rule(event):
    if all(
        [
            event.deep_get("Provider_Name", default="") == "Service Control Manager",
            event.deep_get("EventID", default="") == 7045,
            any(
                [
                    "\\NetSupport Manager\\client32.exe" in event.deep_get("ImagePath", default=""),
                    event.deep_get("ServiceName", default="") == "Client32",
                ]
            ),
        ]
    ):
        return True
    return False
