Run-time attacks against programs written in memory-unsafe programming languages (e.g., C and C++) remain a prominent threat against computer systems. The prevalence of techniques like return-oriented programming (ROP) in attacking real-world systems has prompted major processor manufacturers to design hardware-based countermeasures against specific classes of run-time attacks. An example is the recently added support for pointer authentication (PA) in the ARMv8-A processor architecture, commonly used in devices like smartphones. PA is a low-cost technique to authenticate pointers so as to resist memory vulnerabilities. It has been shown to enable practical protection against memory vulnerabilities that corrupt return addresses or function pointers. However, so far, PA has received very little attention as a general purpose protection mechanism to harden software against various classes of memory attacks. In this paper, we use PA to build novel defenses against various classes of run-time attacks, including the first PA-based mechanism for data pointer integrity. We present PARTS, an instrumentation framework that integrates our PA-based defenses into the LLVM compiler and the GNU/Linux operating system and show, via systematic evaluation, that PARTS provides better protection than current solutions at a reasonable performance overhead
PTAuth: Temporal Memory Safety via Robust Points-to Authentication
临时内存损坏是经常被利用的软件漏洞,可导致强大的攻击。尽管几十年来对缓解技术的研究取得了重大进展,但现有的对策由于覆盖范围有限或开销过高而不足。此外,它们需要外部机制(例如,空间存储安全)以保护其元数据。否则,它们的保护可能被绕过或禁用。为了解决这些局限性,我们提出了强大的点到认证,一种新的运行时检测各种临时内存损坏的计划。我们建立了一个原型系统,称为PTAuth,在ARM架构上实现了这个方案。PTAuth包含用于代码分析和插装的自定义编译器,以及用于在受保护程序运行时执行指向身份验证的运行时库。PTAuth利用ARMv8.3及更高版本CPU提供的指针验证码(PAC)功能,该功能可用作简单的基于硬件的加密原语。PTAuth使用最少的内存元数据,并在不需要空间内存安全的情况下保护其元数据。我们报告我们的评估PTAuth的安全性,鲁棒性和性能使用150个脆弱的程序从朱丽叶测试套件和SPEC CPU 2006基准。PTAuth检测所有三类基于堆的临时内存损坏,生成零错误警报,并将程序执行速度降低26%(该数字是基于软件模拟的PAC测量的;当使用基于硬件的PAC时,预计将降低到20%)。我们还表明,由于元数据的有效使用,PTAuth会产生2%的内存开销。
Channel Prediction-Based Physical Layer Authentication under Consecutive Spoofing Attacks
School of Computer Science and Informatics, University of Liverpool(利物浦大学计算机科学与信息学学院);Institute of Communications Engineering, National Tsing Hua University(国立清华大学通讯工程研究所)
Study and security analysis of the Spanish identity card
国民身份证是全世界公民身份的基本证件。西班牙的DNI(Documento Nacional de Identidad)就是这样。近年来,随着远程信息管理服务中用户身份验证芯片的添加,其重要性得到了增强。因此,该文件后来被称为:电子DNI或简称DNIe。敏感的用户信息存储在该集成电路中,例如个人和生物特征数据,以及签名和认证证书。在撰写本文时,DNIe当前版本的一些功能已经在2015年推出的DNI 3.0版本中实现了多年,因此已经得到了广泛的研究。这项工作提供了一个理论和实践编译研究的一些安全机制,包括在当前DNIe和一些需要使用它的应用程序。它仅使用移动设备和通用读卡器进行,没有任何类型的特权访问硬件,软件或特定文档,用于拦截DNIe和目的地应用程序之间的数据包。换句话说,这是一个探索性的分析,目的是用基本工具来确认这个非常重要的安全令牌的鲁棒性水平。
Securing Wireless Sensor Networks Against Denial-of-Sleep Attacks Using RSA Cryptography Algorithm and Interlock Protocol
无线传感器网络(WSNs)已经被广泛地用于经由无线网络的数据收集和传输。这种类型的网络由于其低成本和易于通信,如今被用于各种环境中的监视活动的许多应用中。在这些网络中,传感器使用有限的电源,在其耗尽后,由于它是不可再生的,网络寿命结束。由于传感器节点自身的弱点,使得它们容易受到各种威胁。拒绝睡眠(Denial of Sleep,DoS)是无线传感器网络面临的一种重要攻击。拒绝服务攻击通过阻止节点进入睡眠和节能模式来表示这些传感器中的能量损失。在本文中,异常传感器检测精度(ASDA-RSA)的方法来抵御拒绝服务攻击,以减少能源消耗量。本文提出的ASDA-RSA方案分为两个阶段来提高无线传感器网络的安全性。在第一阶段,采用基于能量和距离的分簇方法来选择簇头;在第二阶段,采用RSA密码算法和互锁协议,并结合身份验证方法来防止拒绝服务攻击。此外,ASDA-RSA方法在这里进行了评估,通过广泛的模拟NS-2。仿真结果表明,该算法在平均吞吐量、分组投递率(PDR)、网络生存时间、检测率和平均剩余能量等方面均得到了改善。