上一篇:数据库设计经验谈 >>
数秒钟之内破解MySQL的MD5函数
eager to try this out for myself, i did a quick google and found a project rainbowcrack which was a windows/linux utility that would brute force crack md5 hashes amongst other secure algorithms. thinking it would be shrouded in mathematical terms and phrases unfamiliar to me i didn't hold out much hope that i could get it to do what i wanted; to take a sample of passwords that were stored in mysql database tables using the md5() function and crack them for me.
the project builds a number of lookup tables to make the whole process a lot quicker. this in all fairness only took about 18hours to complete on my dual processor 3ghz machine. after the tables where built it was a simple matter of running a simple command line utility to crack the md5 hash. time taken? 1.26seconds! that's how secure mysql passwords encoded with md5() are at this precise moment.
some sample output from rainbowcrack
e:\rainbowcrack-1.2-win>rcrack *.rt -h 7694f4a66316e53c8cdd9d9954bd611d
md5_loweralpha#1-7_0_2100x8000000_all.rt:
128000000 bytes read, disk access time: 6.23 s
verifying the file...
searching for 1 hash...
plaintext of 7694f4a66316e53c8cdd9d9954bd611d is qlkjalkj
cryptanalysis time: 1.52 s
statistics
-------------------------------------------------------
plaintext found: 1 of 1 (100.00%)
total disk access time: 6.23 s
total cryptanalysis time: 1.52 s
total chain walk step: 403651
total false alarm: 388
total chain walk step due to false alarm: 579374
result
-------------------------------------------------------
7694f4a66316e53c8cdd9d9954bd611d qlkjalkj hex:71
so really, the only reason to store passwords using md5() would be to discourage the casual hacker, but it is by no means a secure method as some sites would have you believe. it is fair to note that the rainbowcrack documentation states that salted md5 hashes can't be broken, but mysql doesn't salt their implementation so it makes no difference here.
()
下一篇:Win 2K动态DNS的安全考虑 >>
相关文章:
- · WinRAR九大不传密技
- · 利用ICMP请求报文探测主机操作系统
- · 判断Web数据库方式的一个小经验
- · 在无人参与安装模式下执行干净安装WINXP
- · Linux内核初始化过程简要介绍
- · 妙用Regsvr32命令修复系统故障
- · 再谈Windows NT/2000内部数据结构
- · 全面了解Windows系统鲜为人知的宝藏
- · 有关IPSec的一些基础知识
- · 利用google半秒破500網
- · 俗人俗语谈技术之FTP技术
- · 分布式系统的运营安全
- · Linux 2.2.X进程管理分析及最大进程数限制的突破
- · 网络软件在多操作系统中的共享
- · Windows系统中隐藏驱动器
- · Windows XP操作系统6例故障解答
- · 巧改hosts文件让QQ新闻更个性
- · 拆除TFTP“定时炸弹”
- · 把浏览器改造成FTP软件
- · XP 注册表键值的双重作用
- · 10种常见计算机无法启动故障解决方法
- · 下载隐藏链接的网络资源
- · 磁盘坏道修复
- · 常见电子书格式及其反编译思路
- · Gmail变成blog和变成HTML空间
- · Java入门需掌握的30个基本概念
- · 几个DNS欺骗的利用原理
- · 虚拟路由器简介
- · 随心订制linux透明防火墙
- · 硬盘数据丢失后的解决方法
- · FlashGet最新绝密曝光
- · Transact-SQL语句总汇
- · 防范非法用户入侵系统秘籍
- · 磁盘碎片分析报告巧利用
- · 带你亲手打造QQ破解器
- · 在Ultraedit中用宏实现将选中的代码设置为注释
- · 画图程序制作头像图片全过程
- · 欺骗黑客的一种有效方法
