安全与隐私corte.si
用空间填充曲线可视化二进制文件
Visualizing binaries with space-filling curves
2012 — 2020,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这篇文章介绍用希尔伯特等空间填充曲线将二进制文件可视化的方法,把文件字节映射到二维图像上,从而直观地看出代码、数据、加密内容等不同区域的结构。作者还提供了配套的在线工具,并在此后用局部熵着色等思路做了后续研究,应用于恶意软件样本分析。
为什么经久不衰:它把枯燥的二进制分析变成一眼可辨的视觉模式,思路简单却极其实用,多年来反复被挖掘出来用于逆向工程和恶意软件分析。
HN 评论精选
作者提供了两篇后续文章,将该方法扩展到熵分析和恶意软件批量可视化。
作者本人留言:此后又写了两篇后续文章——一篇用编码局部熵的颜色函数展示如何直接从可视化中挑出加密密钥等高熵数据,另一篇将该方法批量应用于恶意软件数据库样本,结果漂亮且有趣。
cortesi查看英文原文
Why, hello there Hacker News. Just a note that I've written two follow-on blog posts after this one, developing the idea a bit further. First, using a color function that encodes local entropy to show how crypto keys and other high-entropy data can be picked straight out of a visualization: http://corte.si/posts/visualisation/entropy/index.html And next, using this in bulk on samples from a malware database, with what I think are beautiful and interesting results: http://corte.si/posts/visualisation/malware/index.html
用示波器可视化总线信号是类似思路的早期实践。
这让我想起有人把地址引脚和数据总线引脚接到两个数模转换器上再输入示波器,得到的轨迹团看几次后就能辨认出视频刷新、密钥处理等各种事件。
ChuckMcM查看英文原文
This reminds me of a guy who took the address pins and the data bus pins and hooked them up to two digital-to-analog converters and fed them into an oscilloscope. The resulting 'knot ball' of traces could actually be discerned once you watched a few of them. You can pick out all sorts of things like when the video was refreshing, keys were being processed, etc.
人类视觉系统在信息呈现得当时有惊人的数据处理能力。
令人惊叹的是,只要呈现方式得当,我们的视网膜能处理如此多的数据。
doctoboggan查看英文原文
Its amazing how much data we can process through our retinas if it is just presented intelligently.
在线工具体验出色,用户建议支持自定义位宽。
这个工具太棒了,强烈推荐上传文件试试。界面非常出色,画笔还能计算并应用熵、幅值等不同视图,视觉效果很好。功能建议:希望能设置每个单元的位宽,目前固定为 1 字节。
19eightyfour查看英文原文
Oh, wow! This tool is something else. I highly recommend uploading a file. The interface is just spectacular. Also, the brush lets you calculate and apply different views. Things like entropy, magnitude. It's very visually attractive. One feature request I have is: please allow us to set the bit / word width of each unit. Currently it's fixed at 1 octet, and it would be useful to be able to change that. Otherwise, this is awesome! :)
历次讨论
同类还值得读
非法素数
Illegal prime
维基百科条目,介绍“非法素数”:某些素数之所以被称为“非法”,是因为它们经特定编码后,恰好对应一段被法律禁止传播的数据——最著名的是 DVD 解密程序 DeCSS 的代码,有人把…
安全与隐私上首页 5 次 · 2010–2021en.wikipedia.org编辑精选关于 /dev/urandom 的常见误区
Myths about /dev/urandom
(Thomas Hühn 撰写,2014 年首发并持续更新)逐条反驳关于 /dev/urandom 的常见误解:它与 /dev/random 使用的是同一个 CSPRNG,一旦完…
安全与隐私上首页 5 次 · 2014–20202uo.de编辑精选AES 高级加密标准火柴人图解
A Stick Figure Guide to the Advanced Encryption Standard (AES)
一篇用火柴人漫画形式讲解 AES(高级加密标准)算法的经典科普文章。
安全与隐私上首页 5 次 · 2009–2022moserware.com编辑精选指纹是用户名,不是密码
Fingerprints are Usernames, not Passwords
作者(eCryptfs 维护者、Ubuntu 安全工程师)认为指纹等生物特征是公开、不可更改的标识,应视作用户名而非密码,不能当作秘密凭据用于认证。
安全与隐私上首页 4 次 · 2013–2017blog.dustinkirkland.comHTTPS 连接的最初几毫秒(2009)
The First Few Milliseconds of an HTTPS Connection (2009)
逐毫秒拆解一次 HTTPS 连接建立时发生了什么,重点讲 TLS 握手、证书验证、RSA 签名与密钥协商等机制,面向不熟悉该领域的读者。
安全与隐私上首页 4 次 · 2009–2020moserware.com编辑精选