def rule(event):
    if any(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\SharpLDAPmonitor.exe"),
                    event.deep_get("OriginalFileName", default="") == "SharpLDAPmonitor.exe",
                ]
            ),
            all(
                [
                    "/user:" in event.deep_get("CommandLine", default=""),
                    "/pass:" in event.deep_get("CommandLine", default=""),
                    "/dcip:" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
