<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>What a SHAME: Smart Assistant Voice Command Fingerprinting Utilizing Deep Learning</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>11/15/2021</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10380661</idno>
					<idno type="doi">10.1145/3463676.3485615</idno>
					<title level='j'>Proceedings of the 20th Workshop on Workshop on Privacy in the Electronic Society</title>
<idno></idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Jack Hyland</author><author>Conrad Schneggenburger</author><author>Nick Lim</author><author>Jake Ruud</author><author>Nate Mathews</author><author>Matthew Wright</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[It is estimated that by the year 2024, the total number of systems equipped with voice assistant software will exceed 8.4 billion devices globally. While these devices provide convenience to consumers, they suffer from a myriad of security issues. This paper highlights the serious privacy threats exposed by information leakage in a smart assistant's encrypted network traffic metadata. To investigate this issue, we have collected a new dataset composed of dynamic and static commands posed to an Amazon Echo Dot using data collection and cleaning scripts we developed.Furthermore, we propose the Smart Home Assistant Malicious Ensemble model (SHAME) as the new state-of-the-art Voice Command Fingerprinting classifier. When evaluated against several datasets, our attack correctly classifies encrypted voice commands with up to 99.81% accuracy on Google Home traffic and 95.2% accuracy on Amazon Echo Dot traffic. These findings show that security measures must be taken to stop internet service providers, nation-states, and network eavesdroppers from monitoring our intimate conversations.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>Smart home assistants, such as the Google Home and Amazon Echo, are becoming increasingly common in modern households <ref type="bibr">[29]</ref>. Thanks to their convenience, low cost, and wide range of functions, these devices continue to expand their role in performing everyday tasks. With the growing purchase and use of these smart assistants worldwide comes questions concerning end-user privacy. In this work, we investigate the extent to which smart assistants leak information through a type of attack called Voice Command Fingerprinting (VCF). In this attack, an adversary eavesdrops on a smart speaker's encrypted traffic and attempts to infer the voice command spoken by the victim. Since most data in transit is encrypted via Transport Layer Security (TLS), this attack utilizes side-channel information such as packet size, direction, and timestamps to infer the voice command based on patterns, bypassing the need for decryption. By analyzing this information, a mapping of traffic flow patterns to voice commands can be created.</p><p>Deep learning (DL) models have proven effective in fingerprinting attacks, such as Website Fingerprinting (WF) <ref type="bibr">[23]</ref> and VCF <ref type="bibr">[30]</ref>. However, supervised deep learning models generally rely on largescale datasets for training. Previous works in VCF have collected their data manually <ref type="bibr">[13]</ref>, resulting in small datasets that would not be sufficient for training DL models. Wang et al., in the most recent work related to VCF <ref type="bibr">[30]</ref>, were able to automate the data collection process, resulting in a large-scale dataset. This paper proposes a more streamlined approach to automate the process while also reliably removing erroneous samples with minimal human interaction.</p><p>Most of the recent work in WF is focused on Tor, which has fixed 512-byte cells that greatly limit the value of packet size information <ref type="bibr">[19,</ref><ref type="bibr">23]</ref>. VCF data, however, typically runs over TLS connections that reveal fine-grained packet sizes to an eavesdropper. To account for this, we design a new ensemble model, SHAME, that captures packet direction, time, and packet size.</p><p>The contributions of this work are:</p><p>(1) We design and develop an automated data collection system for smart assistants to generate large-scale datasets. We subsequently use this system to collect an open-source dataset of 10 dynamic, and 10 static voice commands for Amazon Alexa devices <ref type="bibr">[11]</ref>  <ref type="bibr">[30]</ref> attack. Reported as mean accuracy with &#177; standard deviation over ten runs.</p><p>Table <ref type="bibr">(1)</ref> shows the SHAME model's results compared to the highest scores the DeepVC Fingerprinting model was able to achieve for each dataset. When evaluating the DeepVC attack, we use the author provided code with some modifications <ref type="foot">4</ref> . Compared to DeepVC, our proposed SHAME model is seen to reduce the error in classifying Google Home traffic by 0.17%, achieving an almost perfect accuracy in classifying the testing samples. More significantly, the SHAME model saw a reduction in error of 2.5% when tested against Amazon Alexa traffic. Furthermore, the SHAME model has proven to greatly outperform DeepVC, reducing the error rate by 11.9%, when dynamic questions are introduced into the dataset. This could indicate that the SHAME model can generalize dynamic questions, likely thanks to our timing and directional information.</p><p>There are multiple elements of our SHAME attack that allow it to outperform the DeepVC attack. First, the architecture for our CNN models is slightly better than that of DeepVC. We compare each constituent DeepVC model with our tuned DF CNN in Appendix A and see that our model performs approximately 1% better when evaluated against Wang et al. 's Alexa dataset. Next, DeepVC ensembles multiple DL networks using a weighted sum of each model's prediction vectors. This method of joining the models limits the amount of information each model may contribute to the final classification, and it allows a poor prediction from one model to negatively affect the final output. The SHAME approach of ensembling by training a new MLP network allows for more complex classification using all the information extracted by each model. Finally, our inclusion of models trained using timing information provides a further advantage over DeepVC, as packet timing characteristics can contain critical information for correctly identifying some samples.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6">FUTURE WORK</head><p>Fingerprinting Defense. A top priority, now knowing the severity of VCF, is to develop a plausible defense that does not introduce aggressive overhead or delays. Wang et al. <ref type="bibr">[30]</ref> presented a defense that implements adaptive padding <ref type="bibr">[22]</ref> and differential privacy <ref type="bibr">[31]</ref>. The authors achieved an impressive reduction of attack accuracy down to 28.42%. However, it seems improbable that the organizations producing these devices would willingly expend the additional bandwidth required to implement such defenses.</p><p>Real-world Evaluation. Current evaluations have considered VCF under the scope of a fairly limited number of commands. It is unclear how performance scales as the world size is increased to more closely match the real-world scope of such devices. Fortunately, the world size of VCF is relatively small when compared to other domains such as WF. Furthermore, this attack needs to be considered in the context of probable real-world attack pipelines. Sivanathan et al. <ref type="bibr">[25]</ref> demonstrated that Smart Home Assistants could be identified relatively reliably by attacks outside the local network. However, the impact of errors at this stage of the real-world VCF attack pipeline has yet to be fully explored.</p><p>Data Freshness. Another question still undetermined is how voice command traffic changes over time. More specifically, the traffic fingerprint of a voice command may change due to changes in the response content (as is the case for "dynamic" questions) and potentially as an effect of API changes. Research in the WF domain has demonstrated that traffic fingerprints can change over relatively short periods, significantly reducing the performance of models trained on the previous "stale" dataset <ref type="bibr">[12]</ref>. While we believe that VCF traffic is likely to remain "fresh" for longer periods, it is unclear to what extent this claim is true.</p><p>Uniqueness of Assistant Brands. Intriguingly, Amazon Alexa traffic seems to be consistently less finger-printable than Google devices. This may be due to slight variations in how Amazon devices communicate with the server, imperfections in the current collection of Alexa traffic, or that Amazon has implemented a subtle undisclosed defense. This oddity has proven consistent throughout the academic literature, yet it remains unclear why this is the case. Lastly, crossover effectiveness between a SHAME model trained on a specific smart assistant being reused for attacking a different branded smart assistant is unknown.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="7">CONCLUSION</head><p>It is evident that VCF attacks on smart assistants such as Amazon Echo and Google Home are not only possible but can be done quickly and accurately with standard hardware by an adversary. The current assumption is that traffic patterns of commands infrequently change, leading to trivial exploitation, but these assumptions need to be validated by future works. Our research finds a significant risk to every consumer that owns a smart assistant, unknowingly disclosing private information about your personal life, device usage, and daily routine.  We further examine the performance of the attack models for DF and DeepVC when they are evaluated separately from their respective ensembled models. Table <ref type="table">2</ref> presents the individual model performance using the Packet Direction x Size input representation. This representation is the same used by the original DeepVC model. Our results show that our tuned DF CNN model is superior to the various DeepVC models when compared like-for-like. The DF CNN achieves a small performance lead of 0.9% compared to the DeepVC CNN model against their Alexa dataset. When comparing our tuned DF CNN model with the DeepVC CNN model, we see that our model has many more trainable parameters. The DF CNN includes two additional convolutional layers that all use smaller kernel sizes. This leads to a more gradual refinement of the features layer-by-layer and is compensated for by the additional feature extraction layers. Furthermore, the usage of spatial dropout after our convolutional layers ensures that the model does not become over-dependent upon any one feature map. These elements combined produce a slightly more effective detector model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A NON-ENSEMBLE MODEL COMPARISON</head></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="4" xml:id="foot_0"><p>Modifications include changes to be compatible with Tensorflow 2.x so as to run on our system, the ability to load our dataset file formats, and an increased input data dimension size for their CNN model.</p></note>
		</body>
		</text>
</TEI>
