def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\RpcPing.exe"),
                    event.deep_get("OriginalFileName", default="") == "\\RpcPing.exe",
                ]
            ),
            any(
                [
                    "-s" in event.deep_get("CommandLine", default=""),
                    "/s" in event.deep_get("CommandLine", default=""),
                    "–s" in event.deep_get("CommandLine", default=""),
                    "—s" in event.deep_get("CommandLine", default=""),
                    "―s" in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    all(
                        [
                            any(
                                [
                                    "-u" in event.deep_get("CommandLine", default=""),
                                    "/u" in event.deep_get("CommandLine", default=""),
                                    "–u" in event.deep_get("CommandLine", default=""),
                                    "—u" in event.deep_get("CommandLine", default=""),
                                    "―u" in event.deep_get("CommandLine", default=""),
                                ]
                            ),
                            "NTLM" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    "-t" in event.deep_get("CommandLine", default=""),
                                    "/t" in event.deep_get("CommandLine", default=""),
                                    "–t" in event.deep_get("CommandLine", default=""),
                                    "—t" in event.deep_get("CommandLine", default=""),
                                    "―t" in event.deep_get("CommandLine", default=""),
                                ]
                            ),
                            "ncacn_np" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
