def rule(event):
    if all(
        [
            "qlogin" in event.deep_get("CommandLine", default=""),
            " -cs " in event.deep_get("CommandLine", default=""),
            " -localadmin" in event.deep_get("CommandLine", default=""),
            " -clp " in event.deep_get("CommandLine", default=""),
            "_localadmin__" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
