A Study of Timing Side-Channel Attacks and Countermeasures on Java']JavaScript and WebAssembly

被引:1
|
作者
Mazaheri, Mohammad Erfan [1 ]
Sarmadi, Siavash Bayat [1 ]
Ardakani, Farhad Taheri [1 ]
机构
[1] Sharif Univ Technol, Dept Comp Engn, Tehran, Iran
关键词
Timing Side-Channel Attacks; !text type='Java']Java[!/text]Script; WebAssembly; Malicious Code Detection; Timers; CACHE; MECHANISMS; MEMORY;
D O I
10.22042/isecure.2021.263565.599
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Side-channel attacks are a group of powerful attacks in hardware security that exploit the deficiencies in the implementation of systems. Timing side-channel attacks are one of the main side-channel attack categories that use the time difference of running an operation in different states. Many powerful attacks can be classified into this type of attack, including cache attacks. The limitation of these attacks is the need to run the spy program on the victim's system. Various studies have tried to overcome this limitation by implementing these attacks remotely on JavaScript and WebAssembly. This paper provides the first comprehensive evaluation of timing side-channel attacks on JavaScript and investigates challenges and countermeasures to overcome these attacks. Moreover, by investigating the countermeasures and their strengths and weaknesses, we introduce a detection-based approach, called Lurking Eyes. Our approach has the least reduction in the performance of JavaScript and WebAssembly. The evaluation results show that the Lurking eyes have an accuracy of 0.998, precision of 0.983, and F-measure of 0.983. Considering these values and no limitations, this method can be introduced as an effective way to counter timing side-channel attacks on JavaScript and WebAssembly. Also, we provide a new accurate timer, named Eagle timer, based on WebAssembly memory for implementing these attacks. (C) 2020 ISC. All rights reserved.
引用
收藏
页码:1 / 20
页数:20
相关论文
共 50 条
  • [1] Java']JavaScript Zero: Real Java']JavaScript and Zero Side-Channel Attacks
    Schwarz, Michael
    Lipp, Moritz
    Gruss, Daniel
    [J]. 25TH ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2018), 2018,
  • [2] Timing Side-channel Attacks and Countermeasures in CPU Microarchitectures
    Zhang, Jiliang
    Chen, Congcong
    Cui, Jinhua
    Li, Keqin
    [J]. ACM COMPUTING SURVEYS, 2024, 56 (07)
  • [3] A Survey of Side-Channel Attacks on Caches and Countermeasures
    Yangdi Lyu
    Prabhat Mishra
    [J]. Journal of Hardware and Systems Security, 2018, 2 (1) : 33 - 50
  • [4] Side-channel Attacks and Countermeasures in Cloud Services and Infrastructures
    Albalawi, Abdullah
    Vassilakis, Vassilios
    Calinescu, Radu
    [J]. PROCEEDINGS OF THE IEEE/IFIP NETWORK OPERATIONS AND MANAGEMENT SYMPOSIUM 2022, 2022,
  • [5] Countermeasures for timing-based side-channel attacks against shared, modern computing hardware
    Montasari, Reza
    Hill, Richard
    Hosseinian-Far, Amin
    Montaseri, Farshad
    [J]. INTERNATIONAL JOURNAL OF ELECTRONIC SECURITY AND DIGITAL FORENSICS, 2019, 11 (03) : 294 - 320
  • [6] Analysis and countermeasures to side-channel attacks: a hardware design perspective
    Zoni, Davide
    [J]. 2019 14TH INTERNATIONAL SYMPOSIUM ON RECONFIGURABLE COMMUNICATION-CENTRIC SYSTEMS-ON-CHIP (RECOSOC 2019), 2019, : 1 - 4
  • [7] FPGA implementations of SPRING and their countermeasures against side-channel attacks
    Brenner, Hai
    Gaspar, Lubos
    Leurent, Gaëetan
    Rosen, Alon
    Standaert, François-Xavier
    [J]. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2014, 8731 : 414 - 432
  • [8] Formal Verification of Software Countermeasures against Side-Channel Attacks
    Eldib, Hassan
    Wang, Chao
    Schaumont, Patrick
    [J]. ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2014, 24 (02)
  • [9] Horizontal Side-Channel Attacks and Countermeasures on the ISW Masking Scheme
    Battistello, Alberto
    Coron, Jean-Sebastien
    Prouff, Emmanuel
    Zeitoun, Rina
    [J]. CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2016, 2016, 9813 : 23 - 39
  • [10] FPGA Implementations of SPRING And Their Countermeasures against Side-Channel Attacks
    Brenner, Hai
    Gaspar, Lubos
    Leurent, Gaetan
    Rosen, Alon
    Standaert, Francois-Xavier
    [J]. CRYPTOGRAPHIC HARDWARE AND EMBEDDED SYSTEMS - CHES 2014, 2014, 8731 : 414 - 432