7

在源代码中隐藏人眼看不见的漏洞

 2 years ago
source link: https://www.solidot.org/story?sid=69447
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

在源代码中隐藏人眼看不见的漏洞

WinterIsComing (31822)发表于 2021年11月01日 15时17分 星期一 新浪微博分享 豆瓣分享 来自棕榈上的霜
剑桥大学的研究人员发表论文介绍了在源代码中隐藏人眼看不见的漏洞的攻击方法。POC 攻击代码已发布在 GitHub 上。这种被称为 Trojan-Source 的攻击方法利用的是字符编码标准 Unicode 中的微妙之处,利用方向覆盖、同形异义等创造出对编译器和人类代码审查员视觉上存在差异的源代码,人眼看不出漏洞,但对编译器来说逻辑编码顺序和显示的顺序是不同的。这种攻击方法对 C、C++、C#、JavaScript、Java、Rust、Go 和 Python 都有效,研究人员已经将漏洞报告给了相关项目。

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK