位址空間配置隨機載入
在計算機科學中,位址空間配置隨機載入(英語:,缩写ASLR,又稱位址空間配置隨機化、位址空間布局隨機化)是一种防范内存损坏漏洞被利用的计算机安全技术。ASLR通过随机放置进程关键数据区域的定址空間来防止攻击者能可靠地跳转到内存的特定位置来利用函数。現代作業系統一般都加設這一機制,以防範惡意程式對已知位址進行Return-to-libc攻擊。
實作
大部分主流的操作系统已经实现了ASLR。
Linux
Linux已在内核版本2.6.12中添加ASLR。
Windows
Windows Server 2008,Windows 7,Windows Vista,Windows Server 2008 R2,Windows 10 1809,默认情况下启用ASLR,但它仅适用于动态链接库和可执行文件。
Mac OS X
Apple在Mac OS X Leopard 10.5(2007年十月發行)中某些函式庫導入了隨機位址偏移,但其實作並沒有提供ASLR所定義的完整保護能力。[2][3][4][5]而Mac OS X Lion 10.7則對所有的應用程式均提供了ASLR支援。Apple宣稱為應用程式改善了這項技術的支援,能讓32及64位元的應用程式避開更多此類攻擊。[6]從OS X Mountain Lion 10.8開始,核心及核心擴充(kext)與zones在系統啟動時也會隨機配置。[7]
Android
Android 4.0提供位址空間配置隨機載入(ASLR),以帮助保护系统和第三方应用程序免受由于内存管理问题的攻击,在Android 4.1中加入地址无关代码(position-independent code)的支持。[9]
外部連結
- PaX documentation on ASLR页面存档备份,存于
- Comparison of PaX to Exec Shield and W^X页面存档备份,存于
- ASLR for Windows Vista beta 2
- ASLR for Windows 2000/XP/2003 (WehnTrust)
- Bypassing PaX ASLR protection页面存档备份,存于
- On the effectiveness of address space layout randomization
- Microsoft Finds (Random) Way to Secure Vista
- Windows Vista Randomization Gets OEM Thumbs Up
- Test Applications (or libraries) for their ASLR and DEP support页面存档备份,存于
- ASLR Smack & Laugh Reference
參考資料
- Theo De Raadt. . [2009-08-26]. (原始内容存档于2012-07-16).
- . securosis.com. 29 October 2007 [10 April 2012]. (原始内容存档于2008-04-03).
- . [2012-07-20]. (原始内容存档于2009-03-23).
- . [2012-07-20]. (原始内容存档于2008-01-11).
- King, Rob. . Dvlabs.tippingpoint.com. 7 November 2007 [10 April 2012]. (原始内容存档于2012-10-18). 已忽略文本“DVLabs” (帮助); 已忽略文本“New Leopard Security Features – Part I: ASLR” (帮助)
- . Apple Inc. [6 June 2011]. (原始内容存档于2011年6月6日).
- . [19 February 2012]. (原始内容存档于2015-09-23).
- Pwn2Own day 2: iPhone, BlackBerry beaten; Chrome, Firefox no-shows 页面存档备份,存于, Ars Technica, 11 March 2011
- 页面存档备份,存于,[Android Developers][Retrieved 7 July 2012]
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.