{"title":"FastCPA: Efficient Correlation Power Analysis Computation with a Large Number of Traces","authors":"Quentin L. Meunier","doi":"10.1145/3304080.3304082","DOIUrl":"https://doi.org/10.1145/3304080.3304082","url":null,"abstract":"Cryptographic algorithm implementations need to be secured against side-channel attacks. Correlation Power Analysis (CPA) is an efficient technique for recovering secret key bytes of a cryptographic algorithm implementation by analyzing the power traces of its execution. Although CPA usually does not require a lot of traces to recover secret key bytes, it is no longer true in a noisy environment, for which the required number of traces can be very high. Computation time can then become a major concern for performing this attack and assessing the robustness of an implementation against it. This article introduces FastCPA, which is a correlation computation targeting the same goal as regular CPA, but based on power consumption vectors indexed by plaintext values. The main advantage of FastCPA is its fast execution time compared to the regular CPA computation, especially when the number of traces is high: for 100,000 traces, the speedup factor varies from 70 to almost 200 depending on the number of samples. An analysis of FastCPA accuracy is made, based on the number of correct key bytes found with an increasing noise. This analysis shows that FastCPA performs similarly as the regular CPA for a high number of traces. The minimum required number of traces to get the correct key guess is also computed for 100,000 noisy traces and shows that FastCPA obtains similar results to those of regular CPA. Finally, although FastCPA is more sensitive to plaintext values than the regular CPA, it is shown that this aspect can be neglected for a high number of traces.","PeriodicalId":250351,"journal":{"name":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","volume":"29 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117274303","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Jean-Baptiste Bréjon, K. Heydemann, E. Encrenaz, Quentin L. Meunier, S. Vu
{"title":"Fault attack vulnerability assessment of binary code","authors":"Jean-Baptiste Bréjon, K. Heydemann, E. Encrenaz, Quentin L. Meunier, S. Vu","doi":"10.1145/3304080.3304083","DOIUrl":"https://doi.org/10.1145/3304080.3304083","url":null,"abstract":"Fault attacks are a major threat requiring to protect applications. We present a method and a set of metrics, implemented in a framework combining formal methods, dynamic and static analyses to evaluate the robustness of a binary code against fault attacks. The framework models the vulnerabilities detection as formal equivalence-checking problems that are solved by a SMT solver. It can support transient fault models targeting both data and code. Its application to programs hardened at source level shows its benefits for comparing different hardened versions, compilers and their optimizations, and for analyzing the sources of vulnerability.","PeriodicalId":250351,"journal":{"name":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","volume":"56 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"127274512","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Muhammad Abdul Wahab, Jelena Milosevic, F. Regazzoni, A. Ferrante
{"title":"Power & performance optimized hardware classifiers for efficient on-device malware detection","authors":"Muhammad Abdul Wahab, Jelena Milosevic, F. Regazzoni, A. Ferrante","doi":"10.1145/3304080.3304085","DOIUrl":"https://doi.org/10.1145/3304080.3304085","url":null,"abstract":"Dynamic malware detection methods are able to detect the presence of malware at run-time, while malicious payloads are being executed. These methods are valuable tools in detection and protection from ever-increasing malicious threats, in particular, dynamic code loading and execution of previously-encrypted payloads, which are both scenarios where commonly used static analysis cannot provide reliable detection. However, in order to detect the execution of malware in its early stage, these approaches need to be run directly on devices, which are typically battery-powered. In order to improve the battery runtime of these devices, malware detectors (and so the classifiers on which they are based) need to be implemented in a low power fashion. This work presents HLS-generated versions of three classifiers commonly used for dynamic malware detection: Logistic Regression, Naive Bayes and Support Vector Machines. These classifiers are first optimized for power and then optimization directives are added to improve performance. The results show that the hardware classifiers decrease the power consumption up to 33 times with respect to their software counterparts, while providing the same accuracy.","PeriodicalId":250351,"journal":{"name":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","volume":"54 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121130977","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"4Kdump: Exfiltrating files via hexdump and video capture","authors":"S. Antonatos, S. Braghin","doi":"10.1145/3304080.3304081","DOIUrl":"https://doi.org/10.1145/3304080.3304081","url":null,"abstract":"This paper presents an exfiltration attack that targets systems with tight security measures; no connectivity and no ability to mount external devices. Our approach utilizes a mobile camera or a screen recorder to capture video while hexdump'ing a file using pre-installed utilities found in most operating systems. The captured video is analyzed at the attacker side using optical character recognition engines and the recognized letters are used to reconstruct the files. Our approach provides a 100% reconstruction rate given that console fonts can be perfectly recognized by OCR engines. We measure the exfiltration speed of our attack and show that we achieve up to 410 KBps when capturing video via mobile phones. We propose a set of defenses that can negate the attack while maintaining usability of the console.","PeriodicalId":250351,"journal":{"name":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","volume":"2 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"117012102","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
Paul Leignac, O. Potin, J. Rigaud, J. Dutertre, S. Pontié
{"title":"Comparison of side-channel leakage on Rich and Trusted Execution Environments","authors":"Paul Leignac, O. Potin, J. Rigaud, J. Dutertre, S. Pontié","doi":"10.1145/3304080.3304084","DOIUrl":"https://doi.org/10.1145/3304080.3304084","url":null,"abstract":"A Trusted Execution Environment (TEE) is a software solution made to improve security inside system on chip (SoC) based on ARM architecture. It offers a compromise between the functionality of the Rich Operating System (Rich OS), for example Android, and the security of a Secure Element (SE). ARM TrustZone separates the SoC between two worlds (Normal World and Secure World). The Trusted OS (the OS on the TEE) has several security mechanisms that isolate and secure its execution and data from the Rich OS and save it from data theft. If these mechanisms are made to prevent software attack from Rich OS, this paper proposes to take a look at the identification of data leakage from a TEE facing physical attack. In particular, how a side-channel analysis on electromagnetic (EM) emissions using the Test Vector Leakage Assessment (TVLA) methodology permits to identify the leakage and a correlation electromagnetic analysis (CEMA) can exploit the results.","PeriodicalId":250351,"journal":{"name":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","volume":"83 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2019-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"126155043","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","authors":"","doi":"10.1145/3304080","DOIUrl":"https://doi.org/10.1145/3304080","url":null,"abstract":"","PeriodicalId":250351,"journal":{"name":"Proceedings of the Sixth Workshop on Cryptography and Security in Computing Systems","volume":"345 2","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"121010820","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}