Cryptographic systems often rely on the secrecy of cryptographic keys given to users. Many schemes, however, cannot resist coercion attacks where the user is forcibly asked by an attacker to reveal the key. These attacks, known as rubber hose cryptanalysis, are often the easiest way to defeat cryptography. We present a defense against coercion attacks using the concept of implicit learning from cognitive psychology. Implicit learning refers to learning of patterns without any conscious knowledge of the learned pattern. We use a carefully crafted computer game to allow a user to implicitly learn a secret password without them having any explicit or conscious knowledge of the trained password. While the trained secret can be used for authentication, participants cannot be coerced into revealing it since they have no conscious knowledge of it. We performed a number of user studies using Amazon’s Mechanical Turk to verify that participants can successfully re-authenticate over time and that they are unable to reconstruct or even robustly recognize the trained secret.
1. Introduction
Consider the following scenario: a high security facility employs a sophisticated authentication system to check that only persons who know a secret key, possess a hardware token, and have an authorized biometric can enter. Guards ensure that only people who successfully authenticate can enter the facility. Suppose a clever attacker captures an authenticated user. The attacker can steal the user’s hardware token, fake the user’s biometrics, and coerce the victim by threatening them with a weapon such as a rubber hose into revealing his or her secret key. At this point, the attacker can impersonate the victim and defeat the expensive authentication system deployed at the facility.
So-called rubber hose attacks have long been the bane of security systems and are often the easiest way to defeat cryptography.12 The problem is that an authenticated user must possess authentication credentials and these credentials can be extracted by force10 or by other means.
In this work, we present a new approach to preventing a class of rubber hose attacks using the concept of implicit learning2,7 from cognitive psychology. Implicit learning is believed to involve the part of the brain called the basal ganglia that supports skill learning for tasks such as riding a bicycle and playing golf by repeatedly performing those tasks. Experiments designed to depend primarily on implicit learning show that knowledge learned this way is not consciously accessible to the person being trained.7 An everyday example of this phenomenon is riding a bicycle: we know how to ride a bicycle, but cannot explain how we do it. Section 2.1 gives more background of the relevant neuroscience.
Implicit learning presents a fascinating tool for designing coercion-resistant security systems. In this paper, we focus on user authentication where implicit learning is used to train the human brain on a password that can be detected during authentication, but cannot be explicitly described by the user. Such a system avoids the problem that people can be persuaded to reveal their password. To use this system, participants would be initially trained to perform a specific task called Serial Interception Sequence Learning (SISL), described in the next section. Training is done using a computer game that is known to depend largely on implicit learning and results in knowledge of a specific sequence of key strokes that functions as an authentication password. In our experiments, training sessions last approximately 30 to 45 minutes and participants learn a random password that has about 38 bits of entropy. We conducted experiments to show that after training, participants cannot reconstruct the trained sequence.
To be authenticated at a later time, a participant again performs the SISL task with multiple embedded sequences, including elements of the previously trained sequence. By exhibiting reliably better performance on the trained elements compared to untrained, the participant validates his or her identity within 5 to 6 minutes. An attacker who does not know the trained sequence cannot exhibit the user’s performance characteristics measured at the end of training. Note that the authentication procedure is an interactive game in which the server knows the participant’s secret training sequence and uses it to authenticate the participant. Readers who want to play with the system can check out the training task at brainauth.com/testdrive.
While in this paper we focus on coercion-resistant user authentication systems, authentication is just the tip of the iceberg. We expect that many other coercion-resistant security primitives can be designed using implicit learning.
Threat model. The proposed system is designed to be used as a local password mechanism requiring physical presence. That is, we consider authentication at the entrance to a secure location where a guard can ensure that a real person is taking the test without the aid of any electronics.
To fool the authentication test, the adversary is allowed to intercept one or more trained users and get them to reveal as much as they can, possibly using coercion. Then the adversary, on his own, engages in the live authentication test and his goal is to pass the test.
We stress that as with standard password authentication, the system is not designed to resist eavesdropping attacks such as shoulder surfing during the authentication process. While challenge-response protocols are a standard defense against eavesdropping, it is currently an open problem to design a challenge-response protocol based on implicit learning. We come back to this question at the end of the paper.
Benefits over biometric authentication. The trained secret sequence can be thought of as a biometric key authenticating the trained participant. However, unlike biometric keys the authenticating information cannot be surreptitiously duplicated and participants cannot reveal the trained secret even if they want to. In addition, if the trained sequence is compromised, a new identifying sequence can be trained as a replacement, resulting in a change of password.
In a related work, Denning et al.1 proposed using images to train users to implicitly memorize passwords. This approach may not be as resistant to rubber hose attacks since users will remember images they have seen versus ones they have not. Additionally, image-based methods require large sets of images to be prepared and used only once per user, making the system more difficult to deploy. Our combinatorial approach lets us lower bound the entropy of the learned secrets, is simple to set up, and is designed to leave no conscious trace of the trained sequences.
User studies. To validate our proposal, we performed a number of user studies using Amazon’s Mechanical Turk. We asked the following core questions that explore the feasibility of authentication via implicit learning:
- Is individual identification reliable? That is, can trained users re-authenticate and can they do it over time?
- Can an attacker reverse engineer the sequence from easily obtained performance data from a trained participant?
Across three experiments, we present promising initial results supporting the practical implementation of our design. First, we show that identification is possible with relatively short training and a simple test. Second, the information learned by the user persists over delays of 1 and 2 weeks: while there is some forgetting over a week, there is little additional forgetting at 2 weeks suggesting a long (exponentially shaped) forgetting curve. Finally, in a third experiment we examined an attack based on having participants complete sequences containing all minimal-length fragments needed to try to reconstruct the identification sequence: our results show that participants do not express reliable sequence knowledge under this condition, indicating that the underlying sequence information is resistant to attack until longer subsequences are guessed correctly by the attacker.
2. An Overview of the Human Memory System
The difference between knowing how to perform a well-learned skill and being able to explain that performance is familiar to anyone who has acquired skilled expertise. This dissociation reflects the multiple memory systems in the human brain.5 Memory for verbally reportable facts and events depends on the medial temporal lobe memory system (including the hippocampus). However, even patients with an impaired medial temporal lobe, for example as a result of Alzheimer’s disease, show an intact ability to acquire new information implicitly, including exhibiting normal learning of certain physical tasks.3 Several decades of experimental cognitive psychology have led to the development of tasks that selectively depend on this type of implicit, non-conscious learning system.
The Serial Interception Sequence Learning (SISL) task7 is a task in which human participants learn a sequence of letters without being aware of what they have learned. The task requires participants to intercept moving objects (circles) delivered in a predetermined sequence, much like this is done in the popular game “Guitar Hero” (Figure 1).
In our variant of SISL, each circle appears at the top of one of six different columns, and falls vertically at a constant speed until it reaches the “sink” at the bottom, at which point it disappears. The goal for the player is to intercept every object as it nears the sink. Interception is performed by pressing the key that corresponds to the object’s column when the object is in the correct vertical position. Pressing the wrong key or not pressing any key results in an incorrect outcome for that object. In a typical training session of 30–60 minutes, participants complete several thousand trials and the order of the cues follows a covertly embedded repeating sequence on 80% of the trials. The task is designed to keep each user at (but not beyond) the limit of his or her abilities by gradually varying the speed of the falling circles to achieve a hit rate of about 70%. Knowledge of the embedded repeating sequence is assessed by comparing the performance rate (percent correct) during times when the cues follow the trained sequence to that during periods when the cues follow an untrained sequence.
All of the sequences presented to the user are designed to prevent conspicuous, easy-to-remember patterns from emerging. Specifically, training as well as random sequences are designed to contain every ordered pair of characters exactly once with no character appearing twice in a row (thus the sequence length must be 6 × 5 = 30). The result is that while the trained sequence is performed better than an untrained sequence, the participant usually does not consciously recognize the trained sequence. In order to confirm this in experimental work, after SISL participants are typically asked to complete tests of explicit recognition in which they specify how familiar various sequences look to them.
Compared to the original SISL task using 4 keys, our version increases the space of possible sequences from only 256 to over 240 billion. In addition, the gap we introduced in the middle of the visual display makes it easier to associate a column with the correct hand—left or right—responsible for that column.
The SISL task is delivered to users as a Flash application via a Web browser. Participants navigate to our Web site, www.brainauth.com, and are presented with a consent form. Once they agree to participate, the applet downloads a random training sequence and starts the task. Upon completion of the training and test trials, the explicit recognition test is administered, and results are uploaded to the server. Once we describe our authentication system, we will return to describe how the SISL applet functions in the bigger scheme of our experiments with multiple users.
3. The Basic Authentication System Using Implicit Learning
The SISL task provides a method for storing a secret key within the human brain that can be detected during authentication, but cannot be explicitly described by the user. Such a system avoids the problem that people can be persuaded to reveal their password and can form the basis of a coercion-resistant authentication protocol. If the information is compromised, a new identifying sequence can be trained as a replacement—resulting in a change of password.
The identification system operates in two steps: training followed by authentication. In the training phase, the secret key learned by the user is as in the expanded SISL task, namely, a sequence of 30 characters over the set S = {s, d, f, j, k, l}. We only use 30-character sequences that correspond to an Euler cycle in the graph shown in Figure 2 (i.e., a cycle where every edge appears exactly once). These sequences have the property that every non-repeating bigram over S (such as ‘sd’, ‘dj’, and ‘fk’) appears exactly once. In order to anticipate the next item (e.g., to show a performance advantage), it is necessary to learn associations among groups of three or more items. This eliminates learning of letter frequencies or common pairs of letters, which reduces conscious recognition of the embedded repeating sequence.2
Let Σ denote the set of all possible secret keys, namely, the set of 30-character sequences corresponding to Euler cycles in Figure 2. The number of Euler cycles in this graph can be computed using the BEST theorem11 (where the number of spanning trees of the K6 graph is 64 by Cayley’s formula, and every vertex’s in-degree is 5, so Πv (deg (v)–1)! is 246), which gives
Hence, the learned random secret has about 38 bits of entropy, which is far more than the entropy of standard memorized passwords.
Training. Users learn a random 30-item secret key k ∈ Σ by playing the SISL task in a trusted environment. To train users, we experimented with the following procedure:
- While performing the SISL task the trainee is presented with the 30-item secret key sequence repeated three times followed by 18 items selected from a random other sequence (subject to the constraint that there will be no back-to-back repetitions of the same cue), for a total of 108 items.
- This sequence is repeated five times, so that the trainee is presented with a total of 540 items.
- At the end of this sequence, there is a short pause in the SISL task and then the entire sequence of 540 items (including the pause at the end) is repeated six more times.
During the entire training session, the trainee is presented with 7 × 540 = 3780 items, which takes approximately 30–45 minutes to complete. After the training phase completes, the trainee runs through the authentication test described next to ensure that training succeeded. The system records the final playing speed that the user achieved.
SISL authentication. To authenticate at a later time, a trained user is presented with the SISL task where the structure of the cues contains elements from the trained authentication sequence and untrained elements for comparison. By exhibiting reliably better performance on the trained elements compared to untrained, the participant validates his or her identity. Specifically, we experimented with the following authentication procedure:
- Let k0 be the trained 30-item sequence and let k1, k2 be two additional 30-item sequences chosen at random from Σ. The same sequences (k0, k1, k2) are used for all authentication sessions so that no additional information about k0 is revealed.
- The system chooses a random permutation π of (0, 1, 2, 0, 1, 2) (e.g., π = (2, 1, 0, 0, 2, 1)) and presents the user with a SISL task with the following sequence of 540 = 18 × 30 items:
That is, each of k0, k1, k2 is shown to the user exactly six times (two groups of three repetitions), but ordering is random. The task begins at the speed at which the training for that user ended.
- For i = 0, 1, 2, let pi be the fraction of correct keys the user entered during all plays of the sequence ki. The system declares that authentication succeeded if
where σ > 0 is sufficiently large to minimize the possibility that this gap occurred by chance, but without causing authentication failures.
In the above, preliminary formulation, the authentication process is potentially vulnerable to an attack by which an untrained user degrades his performance across two blocks hoping to exhibit an artificial performance difference in favor of the trained sequence (and obtaining a 1/3 chance of passing authentication). We discuss a robust defense against this in Section 5, but for now we mention that two simple precautions offer some protection, even for this simple assessment procedure. First, verifying that the authenticator is a live human makes it difficult to consistently change performance across the foil blocks k1, k2. Second, the final training speed obtained during acquisition of the sequence is known to the authentication server and the attacker is unlikely to match that performance difference between the trained and foil blocks. A performance gap that is substantially different from the one obtained after training indicates an attack.
Analysis. The next two sections discuss two critical aspects of this system:
- Usability: can a trained user complete the authentication task reliably over time?
- Security: can an attacker who intercepts a trained user coerce enough information out of the user to properly authenticate?
4. Usability Experiments
We report on preliminary experiments that demonstrate feasibility and promise of the SISL authentication system. We carried out the experiments in three stages. First, we established that reliable learning was observed with the new expanded version of the SISL task using Mechanical Turk. Second, we verified that users retain the knowledge of the trained sequence after delays of 1 and 2 weeks. Finally, we investigated the effectiveness of an attack on participants’ sequence knowledge based on sampling the smallest fragments from which the original sequence could potentially be reconstructed.
The experiments were carried out online within Amazon’s Mechanical Turk platform. The advantages of Mechanical Turk involve a practically unlimited base of participants, and a relatively low cost. One drawback of running the experiments online is the relative lack of control we had over users coming back at a later time for repeat evaluations.
4.1. Experiment 1: implicit and explicit learning
Our first experiment confirmed that implicit learning can be clearly detected while explicit conscious sequence knowledge was minimal. Experimental data from 35 participants was included in the analysis.
The experiment used the training procedure described in the previous section where the training phase contained 3780 total trials and took approximately 30–45 minutes to complete. Recall that training consists of seven 540-trial training blocks. After the training session, participants completed a SISL authentication test that compares performance on the trained sequence to performance on two random test sequences.
Learning of the trained sequence is shown in Figure 3 as a function of the performance advantage (increase in percent correct responses) for the trained sequence compared with the randomly occurring noise segments. On the test block following training, participants performed the SISL task at an average rate of 79.2% correct for the trained sequence and 70.6% correct for the untrained sequence. The difference of 8.6% correct (SEa 2.4%) indicated reliably better performance for the trained sequence by a paired-sample t-test versus zero, t(34) = 3.55, p < 0.01.
Group-level differences in performance are commonly seen on tests of implicit learning, but being able to reliably assess individual learning is necessary for an authentication method. On an individual participant basis, performance on the trained sequence could be discriminated from that on the untrained sequence on the 540 test trials (by chi-squared analysis at p < 0.05) in 25 of 35 cases. For authentication purposes, the individual reliability of the assessment will need to be further improved by longer training to establish the implicitly learned sequence. However, the ability to identify learning in a large fraction of individuals with relatively short training is a feature of the SISL task not seen in most tests of implicit learning.7 Traditionally, measures of implicit learning rely on assessing performance within groups of individuals, without the ability to identify learning at the individual level.9
Explicit recognition test. After the training and test blocks, participants were presented with five different animated sequences and asked how familiar each looked on a scale of 0 to 10. Of the five sequences, one was the trained sequence and the other four were randomly selected foils. This test assessed explicit recognition memory for the trained sequence.
On the recognition test, participants rated the trained sequence as familiar at an average of 6.5 (SE 0.4) on the 0–10 scale and rated novel untrained sequences at 5.15 (SE 0.3). The modestly higher recognition of the trained sequence was reliable across the group, t(34) = 3.69, p < 0.01, but did not correlate with SISL performance (r = 0.13), indicating that it did not contribute to the implicit performance. Slightly higher recognition of the trained sequence is often seen in implicit learning experiments as healthy participants find some parts of the training sequence familiar after practice. It is worth noting that implicit memory does not transform into explicit knowledge, even with repeated use, and the structure and length of the training and test sequences specifically aim to reduce the possibility that explicit knowledge is accumulated over time.
The general small difference in recognition ratings (5.15 vs. 6.5) indicates that participants would not be able to recall the 30-item sequence, meaning that they could not consciously produce the training information (e.g., to compromise the security of the authentication method). We discuss the reconstruction question further in our third experiment.
4.2. Experiment 2: retention over time
An authentication mechanism is only useful if authentication can still be accurately performed at some time after the password is memorized. In Experiment 2, we confirmed that sequence-specific knowledge acquired by users was retained over prolonged periods of time. Although skill learning generally persists over time, a SISL-based test had never been conducted with a substantial delay and a sufficient number of participants.
In Experiment 2, participants agreed to perform the SISL task over two sessions. In the first session, participants completed a training sequence with the same structure as the one in Experiment 1. The training was immediately followed by the same SISL test to assess sequence knowledge before the delay. A group of 32 participants returned to the online applet after 1 week to perform a retention test and recognition assessment for the trained sequence. A separate group of 80 participants returned after a 2-week delay for the retention and recognition tests. For the 1-week group, the test session consisted of a 540-trial implicit sequence learning assessment. For the 2-week group, the test session was doubled in length to additionally evaluate whether a longer test provided better sensitivity to individual sequence knowledge. For both groups, the initial speed of the test on the delay session was set to match the speed with which the participants had been performing the task at the end of the training session. A short warm-up block of 180 trials was used to adjust this initial speed so that participants were performing at around the target 70% correct at the beginning of the retention test.
Figure 4 shows gradual learning of the trained sequence during the first session for both groups as in Experiment 1. Implicit sequence knowledge at both immediate and delayed tests is shown in Figure 5. On all five assessments, participants exhibited reliable sequence learning as a group, ts > 4.3, ps < 0.01. On the 1-week delay test, 15 of 32 participants exhibited individually reliable sequence knowledge. However, for the 2-week delay group, 49 of 80 participants exhibited reliable sequence knowledge, reflecting the increased sensitivity in the longer assessment test used. Future research will examine both increased training time and assessment tests with increased sensitivity to individual knowledge to provide a reliable and accurate identification method by SISL performance.
Even at 1 and 2 weeks delay, participants exhibited the same modest tendency for better recognition of the trained sequence, ts > 2.8, ps < 0.05. Again, recognition performance did not correlate with expression of sequence knowledge, rs < 0.16 and did not suggest any ability to recall the entire 30-item trained sequences.
5. Security Analysis
In this section, we analyze the security of the basic authentication protocol from Section 3 and propose a number of extensions that improve security. We also experiment with a particular attack that attempts to extract the secret sequence from the user one fragment at a time. Our Mechanical Turk experiment shows that this attack works poorly on humans.
5.1. Implicit learning as a cryptographic primitive
We begin with an abstract model of the new functionality enabled by implicit learning. Traditional modeling of participants in a cryptographic protocol is as entities who hold secrets unknown to the adversary. These assumptions fall apart in the face of coercion since all secrets can be extracted from the participant.
Implicit learning provides the following new abstract functionality: the training phase embeds a predicate
in the user’s brain for some large set Σ. Anyone can ask the user to evaluate his or her predicate p at a point k ∈ Σ. The predicate evaluates to 1 when k has been learned by the user and evaluates to 0 otherwise. The number of inputs at which p evaluates to 1 is relatively small. Most often p will only evaluate to 1 at a single point, meaning that the user has been trained on only one secret sequence.
The key feature of implicit learning is that even under duress it is impossible to extract a point k ∈ Σ from the user for which p(k) = 1. This abstract property captures the fact that the secret sequence k is implicitly learned by the user and not consciously accessible. In this paper, we use the implicit learning primitive to construct an authentication system, but one can imagine it being used more broadly in security systems.
The authentication procedure described in Section 3 provides an implementation of the predicate p(·) for some sequence k0 in Σ. If the procedure declares success, we say that p(k0) = 1 and otherwise p(k0) = 0. The predicate p is embedded in the user’s brain during the training session.
The basic coercion threat model. The SISL authentication system from Section 3 is designed to resist an adversary who tries to fool the authentication test. We assume the test requires physical presence and begins with a liveness check to ensure that a real person is taking the test without the aid of any instruments. To fool the authentication test, the adversary is allowed the following sequence of steps:
- Extraction phase: intercept one or more trained users and get them to reveal as much as they can, possibly using coercion.
- Test phase: the adversary, on his own, submits to the authentication test and his or her goal is to pass the test. In real life, this could mean that the adversary shows up at the entrance to a secure facility and attempts to pass the authentication test there. If he fails, he could be detained for questioning.
This basic threat model gives the attacker a single chance at the authentication test. We consider a model where the attacker may iterate the extraction and test phases, alternating between extraction and testing, later on in this section.
We also note that the basic threat model assumes that during the training phase, when users are taught the credential, users are following the instructions and are not deliberately trying to mislead the training process. In effect, the adversary is only allowed to coerce a user after the training process completes.
It is straightforward to show that the system of Section 3 is secure under this basic threat model, assuming the training procedure embeds an implicitly learned predicate p in the user’s brain. Indeed, if the attacker intercepts u trained users and subjects each one to q queries, his chances of finding a valid sequence is at most qu/|Σ|. Since each test takes about five minutes, we can assume an upper bound of q = 105 trials per captured user (this amounts to about one year of non-stop testing per user, which will either interfere with the user’s learned password rendering the user useless to the attacker, or alert security administrators due to the user’s absence prompting a revocation of the credentials). Hence, even after capturing u = 100 users, the attacker’s success probability is only
Further complicating the attacker’s life is the fact that subjecting a person to many random sequences through SISL may obliterate the learned sequence or cause the person to learn an incorrect sequence thereby making extraction impossible.
We note that physical presence is necessary in authentication systems designed to resist coercion attacks. If the system supported remote authentication, then an attacker could coerce a trained user to authenticate to a remote server and then hijack the session.
Security enhancements. The security model above gives the attacker one chance to authenticate and the attacker must succeed with non-negligible probability. If the attacker is allowed multiple authentication attempts—iterating the extraction and test phases, alternating between the two—then the protocol may become insecure. The reason is that during an authentication attempt the attacker sees the three sequences k0, k1, k2 and could memorize one of them (30 symbols). He would then train offline on that sequence so that at the next authentication attempt he would have a 1/3 chance in succeeding. If the attacker could memorize all three sequences (90 symbols), and then reconstruct the SISL task, he could subject a trained user to all three of the memorized sequences offline in order to reliably determine which is the correct authentication sequence through the users performance. Then the attacker could train himself on that specific sequence. He is then guaranteed success at the next authentication trial. We note that this attack is nontrivial to pull off since it can be difficult for a human attacker to memorize an entire sequence at the speed the task is performed.
Another potential attack, already discussed in Section 3, is an attacker who happens to be an expert player, but deliberately degrades his performance on two of the sequences presented. With probability 1/3, he will show a performance gap on the correct sequence and pass the authentication test. We described a number of defenses in Section 3. Here we describe a more robust defense.
Both attacks above can be defeated with combinatorics. Instead of training the user on a single sequence, we train the user on a small number of sequences, say four. Experiments8 suggest that the human brain can learn multiple sequences and these learned sequences do not interfere with one another. What is more, new experiments that we have carried out demonstrate that users can be trained on multiple 30-character sequences within an interval of 24 to 48 hours—without measurable interference among the sequences. Equivalently we could train the user on a longer sequence and use its fragments during authentication. While our data above shows that the shortest possible (three-item) fragments cannot be used to assess knowledge of a longer sequence, we have more recently found that sequential knowledge is reliably expressed for longer fragments (e.g., 5–7 items).6 Thus, by investing additional time in the initial training to encode more information, we could use fragment-based tests to increase resistance to the eavesdropping attacks described above.
During authentication, instead of using one correct sequence and two foils, we can use the four correct sequences (or fragments) randomly interspersed with 8 foils. Authentication succeeds if the attacker shows a measurable performance gap on the correct 4 out of 12 presented sequences. An attacker who slows down on random sequences will now have at most a chance in passing the test. The number of trained sequences (4) and the number of foils (8) can be adjusted to achieve an acceptable tradeoff between security and usability.
Similarly, a small number of authentication attempts will not help a direct attacker pass the test. However, memorizing the authentication test (360 symbols) and later presenting it to a coerced user could give the adversary an advantage. To further defend against this memorization attack, we add one more step to the authentication procedure: once the authentication server observes that the user failed to demonstrate a measurable gap on some of the trained sequences, all remaining trained sequences are replaced with random foils. This ensures that an attacker who tries to authenticate with no prior knowledge will not see all the trained sequences and therefore cannot extract all trained sequences from a coerced user. Consequently, a one-shot attack on a coerced user is not possible. Nevertheless, by iterating this process—taking the authentication test, memorizing the observed sequences, and then testing them out on a coerced trained user—the attacker may eventually learn all trained sequences and succeed in fooling the authentication test. During this process, however, the attacker must engage in the authentication test where he demonstrates knowledge of a strict subset of the trained sequences, but cannot demonstrate knowledge of all sequences. This is a clear signal to the system that it is under attack, at which point the person engaging in the authentication test could be detained for questioning and the legitimate user is blocked from authenticating with the system until he or she is retrained on a new set of sequences.
Eavesdropping security. Traditional password authentication is vulnerable to eavesdropping (either via client-side malware or via shoulder surfing) and so is the authentication system presented here. An eavesdropper who obtains a number of valid authentication transcripts with a trained user will be able to reconstruct the learned sequence(s). It is a fascinating direction for future research to devise a coercion-resistant system where an implicitly learned secret is used in a challenge-response protocol with the server. We come back to this question at the end of the paper.
5.2. An experiment: extracting sequence fragments
One of the potential attacks on our system involves a malicious party profiling the legitimate user’s knowledge and using that information to reverse engineer the trained sequence to be able to pass the authentication test. Although the number of possible trained sequences is too large to exhaustively test on any single individual, each sequence is constructed according to known constraints and knowledge of sequence fragments might enable the attacker to reconstruct either the original sequence or enough of it to pass an authentication test.
The training sequences are constrained to use all 6 response keys equally often, so analysis of individual response probabilities cannot provide information about the trained sequence. Likewise all 30 possible response key pairs (6 × 5 = 30, since keys are not repeated) occur equally often during training, meaning that bigram frequency also provides no information about the trained sequence. However, each 30-item sequence has 30 unique trigrams (of 150 possible). If the specific training trigram fragments could be identified, the underlying training sequence could be reconstructed.
An attack based on this information would be to have a trained user perform a SISL test that contains all 150 trigrams equally often. If the user exhibited better performance on the 30 trained trigrams than the 120 untrained, the sequence could be reconstructed. This attack would weaken the method’s relative resistance to external pressure to reveal the authentication information.
However, while the sequence information can be determined at the trigram level, it is not known if participants reliably exhibit sequence knowledge in such short fragments. In Experiment 3, we evaluated performance on this type of trigram test to assess whether the sequence information could be reconstructed.
Participants were again recruited through Mechanical Turk and completed the same training sessions used in Experiments 1 and 2. At test, participants performed a sequence constructed to provide each of the 150 trigrams exactly 10 times by constructing ten different 150-trial units that each contain all possible trigrams in varying order. Performance on each trigram was measured by percent correct as a function of the current response and two responses prior.
To evaluate whether this data could be used to reconstruct the sequence, the percent correct on each trigram was individually calculated and a rank order of all trigrams was created for each individual. If performance on the trained trigrams was superior to others, the trained trigram ranks should tend to be lower (e.g., performance expression would lead the sequence trigrams to be the 30 best performed responses). However, average rank and average percent correct on the trained trigrams were indistinguishable from those on the untrained trigrams. Participants did not exhibit their trained sequence knowledge on this type of test, indicating that their sequence knowledge cannot be attacked with a trigram-based method. More specifically, for each user we compared the average percent correct measurements for the 30 trained-sequence trigrams to those for the 120 remaining trigrams. The 34 participants averaged 73.9% correct (SE 1.2%) for trigrams from the trained sequence and 73.2% correct (SE 1.1%) for the rest. The difference was not reliable.
While the trigram test did not lead to expression of sequence knowledge, it is likely that participants’ sequence knowledge could be assessed for some longer fragments. Indeed, further experiments that we have carried out confirm this theory: at a fragment length of 4, we observe that the third character in the fragment does show better performance, consistent with training; with fragments of length 5, the third and fourth characters show improved performance. Interestingly, the last character in trained fragments presented to the user does not show performance that is better than average for non-trained sequences. This is likely due to the first (unexpected) character from the following fragment “resetting” the user’s performance.
Attacks using fragment profiling are difficult due to the sheer number of fragments of even moderate length, and the time it takes to profile each fragment. For example, for length 4 fragments (quad-grams), there are 750 possibilities that need to be run multiple times. This type of attack on the protocol can be further mitigated by adding variable timing within the trained sequence, which will quickly expand the combinatorial space. Changes in timing have been shown experimentally to obliterate performance on a sequence trained with a different timing pattern.4
6. Conclusions and Future Work
We have presented a new approach to protecting against coercion attacks using the concept of implicit learning from cognitive psychology. We described a proof of concept protocol and preliminary experiments conducted through Mechanical Turk demonstrating a basis for confidence that it is possible to construct rubber hose-resistant authentication.
Much work remains. We hope to further analyze the rate at which implicitly learned passwords are forgotten, and the required frequency of refresher sessions. In addition, we would like to find methods to detect or predict when individual users reliably learn (collecting more demographic data about our users might be a good first step in this direction, along with multi-session long-term experiments). We also hope to explore some of the limits of the approach, for example, by finding out the minimum lengths at which parts of learned sequences are distinguishable to an attacker versus a legitimate authenticator, as well as by strengthening the test procedures and analysis to increase reliability across a larger fraction of users, or reduce the required testing time, false positives, and false negatives. Using variable timing between cues and measuring user performance as a function of task speed can further help in making the test protocol more reliable. Implicit learning of multiple credentials is yet another area that can benefit from additional experiments, building upon prior work that has so far found no evidence of interference when users learn distinct 12-item sequences, while also being capable of learning implicitly sequences as long as 80 items.
Another future direction for this work is in testing whether more complex structures—for example, Markov models—can be learned implicitly. We would like to use such learning to build challenge-response authentication which is resistant to eavesdropping in addition to coercion. Finally, beyond authentication, we would like to investigate the construction of a variety of cryptographic primitives based on implicit learning.
Acknowledgments
We would like to thank all the paid volunteers who have contributed to our user studies through their participation. This work was funded by NSF and a MURI grant.
Figures
Figure 1. Screenshot of the SISL task in progress.
Figure 2. The secret key we generate is a random 30-character sequence from the set of Euler cycles in this directed graph. The resulting sequence contains all bigrams exactly once, excluding repeating characters.
Figure 3. Across training participants gradually begin to express knowledge of the repeating sequence by exhibiting a performance advantage for the trained sequence compared to randomly interspersed noise segments. Note that overall performance on the task stays at around 70% throughout due to the adaptive nature of the task by which the speed is increased as participants become better at general SISL performance.
Figure 4. Across training participants gradually begin to express knowledge of the repeating sequence by exhibiting a performance advantage for the trained sequence compared to randomly interspersed noise segments. Learning performance was similar across both groups and similar to Experiment 1, as expected.
Figure 5. Participants exhibited reliable sequence knowledge on both immediate assessments (shown for Experiment 1 and both conditions of Experiment 2) shown by a performance advantage for the trained sequence compared with untrained, novel sequences at test. Sequence knowledge is retained at both the 1- and 2-week delay test sessions. While there is some reduction in expressed knowledge after either delay, the lack of significant additional decay from 1 to 2 weeks suggests that information is likely to persist for significant periods following 2 weeks (exponential or power-law decay curves are commonly observed for many types of memory).
Join the Discussion (0)
Become a Member or Sign In to Post a Comment