# US 2025/0097037 A1 · Sip server defence against denial of service

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0097037 A1
- Document ID: US20250097037A1
- Status: Published application
- Kind: A1
- Application number: 18/513,479
- Filed: 2023-11-17
- Published: 2025-03-20
- Earliest claimed: 2023-09-18
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Timothy James PIERREPONT; Thomas Eric BULL
- Web page: https://patentgrep.com/patent/US20250097037A1

## CPC

- H04L 9/3213: {using tickets or tokens, e.g. Kerberos (network architectures or network communication protocols for entities authentication using tickets in a packet data network H04L63/0807)}
- H04L 9/3271: {using challenge-response}
- H04L 63/1458: {Denial of Service}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A session initiation protocol (SIP) server contributes to defending against denial of service attacks. It receives, from a sending SIP endpoint in a communications network, such as a 5G communications network, a request to establish a communications session with a destination SIP endpoint in the communications network; computes a token from a cryptographic secret and a property of the request; drops the request and forms a challenge message comprising the token. The SIP server sends the challenge message to the sender to trigger a second request from the sender comprising the token.

## Claims

### Claim 1

A computer-implemented method performed by a session initiation protocol (SIP) server in a communications network, the method comprising:
storing a cryptographic secret;
receiving, from a sending SIP endpoint in the communications network, a request to establish a communications session with a destination SIP endpoint in the communications network;
dropping the request;
computing a token from the cryptographic secret and a property of the request;
forming a challenge message comprising the token;
sending the challenge message to the sending SIP endpoint to trigger a second request from the sending SIP endpoint, the second request being to establish the communications session and comprising the token;
in response to receipt of the second request, checking the second request comprises the token; and
only in response to success of the checking, forwarding the second request towards a core of the communications network.

### Claim 2 (depends on 1)

The method of claim 1 wherein checking the second request comprises the token comprises checking the response comprises the cryptographic secret.

### Claim 3 (depends on 1)

The method of claim 1 wherein checking the second request comprises the token comprises computing a second token from the cryptographic secret and a property of the second request and comparing the second token with the token.

### Claim 4 (depends on 1)

The method of claim 1 wherein checking the second request comprises the token comprises retrieving a copy of the token from a cache and comparing the copy of the token with the token.

### Claim 5 (depends on 1)

The method of claim 1 wherein checking the second request comprises the token is achieved in a stateless manner.

### Claim 6 (depends on 1)

The method of claim 1 wherein the communications network is a 5G communications network and wherein checking the second request comprises the token is performed at an edge of the 5G communications network optionally without accessing state comprising credentials of a user associated with the sending SIP endpoint from a core of the communications network.

### Claim 7 (depends on 1)

The method of claim 1 wherein computing the token from the cryptographic secret and a property of the request comprises computing a hash of a property of the request and compositing the hash and the cryptographic secret.

### Claim 8 (depends on 1)

The method of claim 1 wherein forming the challenge message comprises forming a SIP message comprising the token.

### Claim 9 (depends on 1)

The method of claim 1 wherein forming the challenge message comprises forming a SIP redirection response or a SIP client failure response.

### Claim 10 (depends on 1)

The method of claim 1 wherein forming the challenge message comprises forming a SIP 302 message.

### Claim 11 (depends on 1)

The method of claim 1 wherein forming the challenge message comprises forming a SIP 401 message.

### Claim 12 (depends on 1)

The method of claim 1, further comprising, in response to success of the checking, forwarding the second request towards a core of the communications network and into another layer of checking where credentials of a user associated with the sending SIP endpoint is accessed.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
prior to computing the token, filtering the request; and
verifying that the request passes the filtering.

### Claim 14 (depends on 1)

The method of claim 1, further comprising, in response to receiving more than a threshold number of requests to establish a communications session, triggering instantiation of a second SIP server in the communications network, and wherein forming the challenge message comprises forming a SIP message comprising the token.

### Claim 15

An apparatus comprising:
a processor;
a memory storing instructions that, when executed by the processor, perform a method comprising:
storing a cryptographic secret;
receiving, from a sending SIP endpoint in a communications network a request to establish a communications session with a destination SIP endpoint in the communications network;
computing a token from the cryptographic secret and a property of the request;
dropping the request;
forming a challenge message comprising the token; and
sending the challenge message to the sending SIP endpoint to trigger a second request from the sending SIP endpoint, the second request being to establish the communications session and comprising the token.

### Claim 16

A communications network comprising:
a plurality of session initiation protocol (SIP) servers;
each of the SIP servers comprising:
a processor;
a memory storing instructions that, when executed by the processor, perform a method comprising:
storing a cryptographic secret;
receiving, from a sending SIP endpoint in a communications network a request to establish a communications session with a destination SIP endpoint in the communications network;
computing a token from the cryptographic secret and a property of the request;
dropping the request;
forming a challenge message comprising the token; and
sending the challenge message to the sending SIP endpoint to trigger a second request from the sending SIP endpoint, the second request being to establish the communications session and comprising the token.

### Claim 17 (depends on 16)

The communications network of claim 16 wherein the SIP servers are at an edge of the communications network.

### Claim 18 (depends on 16)

The communications network of claim 16 wherein in response to receipt of the second request at any of the SIP servers, checking the second request comprises the token and in response to failure of the checking taking no action.

### Claim 19 (depends on 18)

The communications network of claim 18 wherein in response to success of the checking, forwarding the second request towards a core of the communications network.

### Claim 20 (depends on 16)

The communications network of claim 16 wherein the challenge message is a SIP 302 message.
