# US 2012/0255022 A1 · Systems and methods for determining vulnerability to session stealing

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

- Number: US 2012/0255022 A1
- Document ID: US20120255022A1
- Status: Published application
- Kind: A1
- Application number: 13/436,818
- Filed: 2012-03-30
- Published: 2012-10-04
- Earliest claimed: 2011-03-30
- Assignees: Trustwave Holdings, Inc.
- Inventors: Steven R. Ocepek; Wendel Guglielmetti Henrique
- Web page: https://patentgrep.com/patent/US20120255022A1

## CPC

- G06F 21/552: {involving long-term monitoring or reporting}
- H04L 63/1433: {Vulnerability analysis}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Systems and methods for determining vulnerability to session stealing are disclosed. An example method includes intercepting, at a first computing device, an intercepted packet sent from a client to a second computing device different than the first computing device, the intercepted packet including a first instruction in a first portion of the intercepted packet, determining, using a template, a second portion of the intercepted packet that is a value that is changed by a calculated amount each time that the client sends a packet, changing the value by the calculated amount to determine a next value for a next packet, replacing the second portion of the intercepted packet with the next value to generate a modified packet, replacing the first portion of the modified packet with a second instruction, and transmitting the modified packet to the second computing device.

## Claims

### Claim 1

A method comprising:
intercepting, at a first computing device, an intercepted packet sent from a client to a second computing device different than the first computing device, the intercepted packet including a first instruction in a first portion of the intercepted packet;
determining, using a template, a second portion of the intercepted packet that is a value that is changed by a calculated amount each time that the client sends a packet;
changing the value by the calculated amount to determine a next value for a next packet;
replacing the second portion of the intercepted packet with the next value to generate a modified packet;
replacing the first portion of the modified packet with a second instruction; and
transmitting the modified packet to the second computing device.

### Claim 2 (depends on 1)

A method as defined in claim 1, further comprising determining if the second computing device accepts the modified packet.

### Claim 3 (depends on 1)

A method as defined in claim 1, further comprising determining if the second computing device executes the second instruction.

### Claim 4 (depends on 3)

A method as defined in claim 3, further comprising generating a report indicating whether or not the second computing device executes the second instruction.

### Claim 5 (depends on 3)

A method as defined in claim 3, further comprising notifying an entity associated with the second computing device in response to determining that the second computing device executed the second instruction.

### Claim 6 (depends on 1)

A method as defined in claim 1, wherein the calculated amount is identified in the template.

### Claim 7 (depends on 31)

A method as defined in claim 31, wherein the calculated amount is an integer by which the value is incremented.

### Claim 8 (depends on 1)

A method as defined in claim 1, further comprising determining, using the template, that the first portion of the intercepted packet includes the first instruction.

### Claim 9 (depends on 1)

A method as defined in claim 1, wherein the template identifies a byte offset of at least one of the first portion or the second portion.

### Claim 10 (depends on 1)

A method as defined in claim 1, wherein the first packet is associated with an existing communication session between the client and the second computing device.

### Claim 11 (depends on 10)

A method as defined in claim 10, further comprising instructing the client to terminate the session after receiving the intercepted packet at the first computing device.

### Claim 12 (depends on 10)

A method as defined in claim 10, wherein the modified packet is associated with the session.

### Claim 13 (depends on 1)

A method as defined in claim 1, further comprising at least one of:
instructing an address resolution protocol system to replace an address of the second computing device with an address of the first computing device;
instructing a domain name system to replace an address of the second computing device with an address of the first computing device; and
changing a network address of the second computing device from a first address to a second address and changing a network address of the first computing device to the first address.

### Claim 14 (depends on 1)

A method as defined in claim 1, further comprising:
receiving a plurality of packets including the intercepted packet at the first computing device from the client;
determining a number of times that the first instruction is included in the plurality of packets; and
selecting the intercepted packet for modification when the number of times meets a threshold.

### Claim 15 (depends on 1)

A method as defined in claim 1, further comprising:
determining a number of parameters in the first instruction; and
selecting the intercepted packet for modification when the number of parameters meets a threshold.

### Claim 16 (depends on 1)

A method as defined in claim 1, further comprising storing the next value to be used in determining a value for a second modified packet.

### Claim 17

A tangible computer readable storage medium storing instructions that, when executed, cause a machine to at least:
intercept, at a first computing device, an intercepted packet sent from a client to a second computing device different than the first computing device, the intercepted packet including a first instruction in a first portion of the intercepted packet;
determine, using a template, a second portion of the intercepted packet that is a value that is changed by a calculated amount each time that the client sends a packet;
change the value by the calculated amount to determine a next value for a next packet;
replace the second portion of the intercepted packet with the next value to generate a modified packet;
replace the first portion of the modified packet with a second instruction; and
transmit the modified packet to the second computing device.

### Claim 18 (depends on 17)

A tangible computer readable storage medium as defined in claim 17, wherein the instructions, when executed further cause the machine to determine if the second computing device accepts the modified packet.

### Claim 19 (depends on 17)

A tangible computer readable storage medium as defined in claim 17, wherein the instructions, when executed further cause the machine to determine if the second computing device executes the second instruction.

### Claim at position 20

20-32. (canceled)

### Claim 33

An apparatus comprising:
a session tracking module to intercept, at a first computing device, an intercepted packet sent from a client to a second computing device different than the first computing device, the intercepted packet including a first instruction in a first portion of the intercepted packet and to determine, using a template, a second portion of the intercepted packet that is a value that is changed by a calculated amount each time that the client sends a packet;
a data modification module to change the value by the calculated amount to determine a next value for a next packet and to replace the second portion of the intercepted packet with the next value to generate a modified packet, and to replace the first portion of the modified packet with a second instruction; and
a finalization module to transmit the modified packet to the second computing device.

### Claim at position 22

34-63. (canceled)
