def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\reg.exe"),
            "query" in event.deep_get("CommandLine", default=""),
            "\\software\\" in event.deep_get("CommandLine", default=""),
            "/v" in event.deep_get("CommandLine", default=""),
            "svcversion" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
