def rule(event):
    if any(
        [
            any(
                [
                    "lockoutduration" in event.deep_get("CommandLine", default=""),
                    "lockoutthreshold" in event.deep_get("CommandLine", default=""),
                    "lockoutobservationwindow" in event.deep_get("CommandLine", default=""),
                    "maxpwdage" in event.deep_get("CommandLine", default=""),
                    "minpwdage" in event.deep_get("CommandLine", default=""),
                    "minpwdlength" in event.deep_get("CommandLine", default=""),
                    "pwdhistorylength" in event.deep_get("CommandLine", default=""),
                    "pwdproperties" in event.deep_get("CommandLine", default=""),
                ]
            ),
            "-sc admincountdmp" in event.deep_get("CommandLine", default=""),
            "-sc exchaddresses" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
