1000/1000

Hot
Most Recent

Submitted Successfully!

To reward your contribution, here is a gift for you: A free trial for our video production service.

Thank you for your contribution! You can also upload a video entry or images related to this topic.

Do you have a full video?

Are you sure to Delete?

Cite

If you have any further questions, please contact Encyclopedia Editorial Office.

HandWiki. Crowds. Encyclopedia. Available online: https://encyclopedia.pub/entry/33479 (accessed on 06 August 2024).

HandWiki. Crowds. Encyclopedia. Available at: https://encyclopedia.pub/entry/33479. Accessed August 06, 2024.

HandWiki. "Crowds" *Encyclopedia*, https://encyclopedia.pub/entry/33479 (accessed August 06, 2024).

HandWiki. (2022, November 08). Crowds. In *Encyclopedia*. https://encyclopedia.pub/entry/33479

HandWiki. "Crowds." *Encyclopedia*. Web. 08 November, 2022.

Copy Citation

Crowds is a proposed anonymity network for anonymous web browsing. The main idea behind Crowds anonymity protocol is to hide each user's communications by routing them randomly within a group of similar users. Neither the collaborating group members nor the end receiver can therefore be sure where in the group the packet originated. Crowds was designed by Michael K. Reiter and Aviel D. Rubin. It defends against internal attackers and a corrupt receiver, but provides no anonymity against a global attacker or a local eavesdropper (see "Crowds: Anonymity For Web Transactions"). Crowds is vulnerable to the predecessor attack; this was discussed in Reiter and Rubin's paper and further expanded in "The Predecessor Attack: An Analysis of a Threat to Anonymous Communications Systems" by Matthew K. Wright, Micah Adler, And Brian Neil Levine. Crowds introduced the concept of users blending into a crowd of computers.

anonymity network
local eavesdropper
a global attacker

- Each user joins a crowd of other users by registering himself at the blender which is a single server responsible for membership management. When a user registers, all the other members in the crowd are notified. The blender is also responsible for key distribution, as it distributes symmetric keys to individual pairs of jondos, used for encryption and decryption, respectively of packets routed along the virtual paths.
- Each user is represented by a jondo on her machine which is an application that runs on a user’s computer.
- Each jondo either submits a request to the end server or forwards it to a randomly chosen jondo (possibly itself). Other jondo tasks are to strip out any personal information such as cookies, identifying header fields.
- A jondo cannot tell if a request is initiated by the previous jondo or one before it.
- Request and reply follow the same virtual paths which are constructed using an algorithm involving probabilities. The virtual paths are torn down and reconstructed on a regular basis to allow anonymity for newly added members.

Crowds uses and defines the following terms:

- Sender
- The initiator of a message
- Receiver
- The final recipient of a message
- Probable Innocence
- The attacker is unable to have greater than 50% confidence that any node initiated the message (a node appears equally likely to have initiated the message as to not have - each user is more likely innocent than not.)
- Local Eavesdropper
- An attacker that can observe all incoming and outgoing messages for any propersubset of the nodes
- Corrupt Node
- A node is corrupt if it uses information obtained from forwarding the message to determine the sender
- [math]\displaystyle{ C }[/math]
- The number of corrupt nodes
- [math]\displaystyle{ N }[/math]
- The number of nodes ([math]\displaystyle{ N - C }[/math] is the number of good nodes)
- [math]\displaystyle{ p_f }[/math]
- The probability of forwarding

Crowds works by making each node seem equally likely to be the initiator of the message. As we said each node joins the network by starting a *jondo* (from "John Doe"), which is a small process that will forward and receive requests from other users. When the jondo is started all nodes in the network are informed of the new node's entrance, and will begin to select him as a forwarder. To actually send a message a node chooses randomly (with uniform probability) from all nodes in the network and forwards the message to them. Upon receiving the message the node flips a biased coin (with probability [math]\displaystyle{ p_f \gt \frac{1}{2} }[/math]) and if it lands heads forwards it to another random node, otherwise it forwards it to the final destination. Each node when forwarding to another node records the predecessor and in this way a tunnel is built, this is used for the communication between the sender and the receiver.

OnReceive(Node P, Message M) # Flip biased coin (<math>\Pr(Heads) = p_f</math>) ## ''If'' Heads ''Then'' Select a uniformly random node and forward to them ## ''Else'' Forward to destination # Record P so that a tunnel can be built

We consider the question of what information an attacker can learn about the senders and receivers of web transactions, given the mechanisms of Crowds we described.

Recall that every message forwarded on a path, except for the final request to the end server, is encrypted. Thus, while the eavesdropper is able to view any message emanating from the user's computer, it only views a message submitted to the end server if the user's jondo ultimately submits the user's request itself. Since the probability that the user's jondo ultimately submits the request is 1/n where n is the size of the crowd when the path was created. Thus we learn that the probability that the eavesdropper learns the identity of the receiver decreases as a function of crowd size. Moreover, when the user's jondo does not ultimately submit the request, the local eavesdropper sees only the encrypted address of the end server, which we suggest yields receiver anonymity that is (informally) beyond suspicion. (beyond suspicion - no user is more suspicious than other).

Consider a set of collaborating corrupted jondos in the crowd. Because each jondo can observe plaintext traffic on a path routed through it, any such traffic, including the address of the end server is exposed to this attacker. The question we consider here is if the attacker can determine who initiated the path. The goal of the collaborators is to determine the member that initiated the path. We now analyze how confident the collaborators can be that their immediate predecessor is in fact the path initiator:

- Let
**H**, k >= 1, denote the event that the first collaborator on the path occupies the kth position on the path, where the initiator itself occupies the 0th position (and possibly others)._{k} - Let define
**H**=_{k+}**H**or_{k}**H**or_{k+1}**H**or . . . ._{k+2} - Let
**I**denote the event that the first collaborator on the path is immediately preceded on the path by the path initiator.

Note that **H _{1} => I**, but the converse

- initiator jondo(0 - position) ----> jondo(1 - position) ---->
- initiator jondo(2 - position) ----> Collaborating jondo(3 - position)

Note that the first collaborator on the path is in the third position.

- 4.Given this notation, the collaborators now hope to determine:

**P(I|H _{1+})** - given that a collaborator is on the path, what is the probability that the path initiator is the first collaborator's immediate predecessor?

**Definition:** **The path initiator has probable innocence if P(I|H _{1+})<=1\2.**

In order to yield probable innocence for the path initiator, certain conditions must be met in our system. In particular,let **pf > 1/2** (the probability of forwarding in the system.)

(**c** - number of collaborators in the crowd)

(**n** - total number of crowd members when the path is formed)

The theorem below gives a sufficient condition on pf, c, and n to ensure probable innocence for the path initiator.

**Theorem:** **The path initiator has probable innocence against c collaborators in case**

[math]\displaystyle{ n \geq \frac{p_f}{p_f - \frac{1}{2}}\left( c + 1\right) }[/math]

**Proof:** we want to show that **pf > 1/2 if [math]\displaystyle{ n \geq \frac{p_f}{p_f - \frac{1}{2}}\left( c + 1\right) }[/math]**

note that:

P(H_{i}) = [math]\displaystyle{ (p_f\frac{n-c}{n})^{i-1} (\frac{c}{n}) }[/math]

in order for the first collaborator to be in the **ith** position on the path, the path must first wander to **i-1** noncollaborators each time with probability of [math]\displaystyle{ \frac{n-c}{n} }[/math],each of which chooses to forward the path with probability **pf**, and then to a collaborator with probability [math]\displaystyle{ \frac{c}{n} }[/math].

The next two facts follow immediately from this

P(H_{1+}) = [math]\displaystyle{ \frac{c}{n}\sum_{k=0}(p_f\frac{n-c}{n})^{k} = (\frac{c}{n})(\frac{1}{1-\frac{p_f(n-c)}{n}}) }[/math]

P(H_{2+}) = [math]\displaystyle{ \frac{c}{n}\sum_{k=1}(p_f\frac{n-c}{n})^{k} = (\frac{c}{n})(\frac{\frac{p_f(n-c)}{n}}{1-\frac{p_f(n-c)}{n}}) }[/math]

P(H_{1}) = [math]\displaystyle{ \frac{c}{n} }[/math]

P(I|H_{1}) = [math]\displaystyle{ 1 }[/math]

P(I|H_{2}) = [math]\displaystyle{ \frac{1}{n-c} }[/math]

Now, P(I) can be captured as

P(I) = P(H_{1})P(I|H_{1}) + P(H_{2+})P(IH_{2+}) = [math]\displaystyle{ \frac{c(n-np_fn+cp_f+pf)}{n^2-pfn(n-c)} }[/math]

since I=>H_{1+}

P(I|H_{1+})= [math]\displaystyle{ \frac{P(I \land H1+)}{P(H1+)} }[/math] = [math]\displaystyle{ \frac{P(I)}{P(H1+)} }[/math] = [math]\displaystyle{ \frac{n-p_f(n-c-1)}{n} }[/math]

so, if [math]\displaystyle{ n \geq \frac{p_f}{p_f - \frac{1}{2}}\left( c + 1\right) }[/math]

then P(I|H_{1+})<=1\2

E.g. if **pf=3\4**, then probable innocence is guaranteed as long as n >= 3(c + 1).

Dynamic paths tends to decrease the anonymity properties provided by the system against collaborating jondos. The reason is that the probable innocence vanishes if the collaborators are able to link many distinct paths as being initiated by the same jondo. Collaborating jondos might be able to link paths initiated by the same unknown jondo based on related path content or timing of communication on paths. To prevent this, we made paths static, so the attacker simply does not have multiple paths to link to the same jondo.

An HTML page can include a URL (e.g., the address of an image) that, when the page is retrieved, causes the user's browser to automatically issue another request. It is the immediate nature of these requests that poses the greatest opportunity for timing attacks by collaborating jondos. The first collaborating jondo on a path, upon returning a web page on that path containing a URL that will be automatically retrieved, can time the duration until it receives the request for that URL. If the duration is sufficiently short, then this could reveal that the collaborator's immediate predecessor is the initiator of the request.

How to prevent?

When a jondo receives an HTML reply to a request that it either received directly from a user's browser or submitted directly to an end server, it parses the HTML page to identify all URLs that the user's browser will automatically request as a result of receiving this reply. The last jondo on the path requests these URLs and sends them back along the same path on which the original request was received. The user's jondo, upon receiving requests for these URLs from the user's browser, does not forward these requests on the path, but rather simply waits for the URLs contents to arrive on the path and then feeds them to the browser. In this way, other jondos on the path never see the requests that are generated by the browser, and thus cannot glean timing information from them.

The measure of scale that we evaluate is the expected total number of appearances that each jondo makes on all paths at any point in time. For example, if a jondo occupies two positions on one path and one position on another, then it makes a total of three appearances on these paths.

**Theorem : In a crowd of size n, the expected total number of appearances that any jondo makes on all paths is** [math]\displaystyle{ O(\frac{1}{(1-p_f)^2}(1+\frac{1}{n})) }[/math]

Each jondo's expected number of appearances on paths is virtually constant as a function of the size of the crowd. This suggests that crowds should be able to grow quite large.

Crowds provides perfect anonymity against a corrupt receiver (i.e. [math]\displaystyle{ d \gets 1 }[/math] see Degree of anonymity) as all members appear equally likely to have been the initiator. As we showed against collaborating corrupt nodes Crowds provides probable innocence as long as [math]\displaystyle{ N \geq \frac{p_f}{p_f - \frac{1}{2}}\left( C + 1\right) }[/math] (see the paper for the derivation of this), and provides a degree of anonymity [math]\displaystyle{ d \gets \frac{\frac{N - p_f \cdot (N - C - 1)}{N} \cdot \lg\left[\frac{N}{N - p_f \cdot (N - C - 1)}\right] + p_f \cdot \frac{N - C - 1}{N} \cdot \lg\left[N/p_f\right]}{\lg (N - C)} }[/math]. Against the predecessor attack Crowds succumbs in [math]\displaystyle{ O\left(\frac{N}{C} \lg(N)\right) }[/math]; this attack works by a corrupt node retaining the previous hop in the path, as this will be the sender more than any other node over the rounds of rebuilding the network it will become apparent who the initiator is. Reiter and Rubin mention this and recommend *long* (and if possible infinite) time between path reformations (caused when a node in the path leaves the network). Crowds is unable to protect against a global eavesdropper as it cannot use encryption on the links, this is because each node in Crowds is able to communicate with every other node (a fully connected graph), because of this setting up symmetric keys requires [math]\displaystyle{ O(N^2) }[/math] pairwise keys; this is too large of a number to be feasible. Against a local eavesdropper again Crowds provides no protection as the eavesdropper will see a message coming out of a node that did not enter, and this positively identifies the node as the sender.

Information

Subjects:
Others

Contributor
MDPI registered users' name will be linked to their SciProfiles pages. To register with us, please refer to https://encyclopedia.pub/register
:

View Times:
458

Entry Collection:
HandWiki

Update Date:
08 Nov 2022