def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\dsacls.exe"),
                    event.deep_get("OriginalFileName", default="") == "DSACLS.EXE",
                ]
            ),
            " /G " in event.deep_get("CommandLine", default=""),
            any(
                [
                    "GR" in event.deep_get("CommandLine", default=""),
                    "GE" in event.deep_get("CommandLine", default=""),
                    "GW" in event.deep_get("CommandLine", default=""),
                    "GA" in event.deep_get("CommandLine", default=""),
                    "WP" in event.deep_get("CommandLine", default=""),
                    "WD" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
