3cdf417 2016-3-21 19:33
[信息图]跨站请求伪造(CSRF)攻击原理解析:比你所想的更危险[11P]
[size=3][font=微软雅黑, Tahoma,] 跨[/font][/size][size=3][font=微软雅黑, Tahoma,]站请求伪造(Cross-Site Request Forgery)或许是最令人难以理解的一种攻击方式了,但也正因如此,它的危险性也被人们所低估。[/font][/size][size=3][font=微软雅黑, Tahoma,]在“开放式Web应用程序安全项目”(OWASP)的榜单中,CSRF(又称XSRF)就位于前10的位置。简而言之,就是恶意软件强制浏览器在用户已认证的上下文环境中,执行原本并不需要的指令。[/font][/size]
[font=微软雅黑, Tahoma,][img=600,405]http://static.cnbetacdn.com/article/2016/0321/2beca96c16cfadd.jpg[/img][/font]
[align=left][font=微软雅黑, Tahoma,][size=3]
[/size][/font][/align][align=left][font=微软雅黑, Tahoma,] [size=3]浏览器厂家深知这一危害,从而推出了某些类型的CSRF防护技术。
[/size][/font][/align][font=微软雅黑, Tahoma,][img=600,364]http://static.cnbetacdn.com/article/2016/0321/803506cf193e825.jpg[/img][/font]
[align=left][font=微软雅黑, Tahoma,][size=3]
[/size][/font][/align][align=left][font=微软雅黑, Tahoma,] [size=3]尽管如此,攻击者们的手段也在日益翻新,甚至结合多种类型的Web攻击以放大危害(比如XSS和SQL注入)。
[/size][/font][/align][font=微软雅黑, Tahoma,][img=600,420]http://static.cnbetacdn.com/article/2016/0321/dd5a37b22592625.jpg[/img][/font]
[align=left][font=微软雅黑, Tahoma,][size=3]
[/size][/font][/align][align=left][font=微软雅黑, Tahoma,] [size=3]举例来说,某CSRF通过XSS(跨站脚本)抓取了用户的cookies,然后借此将资金转出用户的银行账户。
[/size][/font][/align][font=微软雅黑, Tahoma,][img=600,574]http://static.cnbetacdn.com/article/2016/0321/06fa1c72f655fc8.jpg[/img][/font]
[align=left][font=微软雅黑, Tahoma,][size=3]
[/size][/font][/align][align=left][font=微软雅黑, Tahoma,] [size=3]为了抵御CSRF攻击,开发者们可以在表单上部署CAPTCHA、利用多步事务、以及单次使用加密数来强化他们的anti-CRSF令牌。
[/size][/font][/align][font=微软雅黑, Tahoma,][img=600,395]http://static.cnbetacdn.com/article/2016/0321/ffccaacbac75236.jpg[/img][/font]
[font=微软雅黑, Tahoma,][img=600,355]http://static.cnbetacdn.com/article/2016/0321/6c1fb76c17a6964.jpg[/img][/font]
[font=微软雅黑, Tahoma,][img=600,384]http://static.cnbetacdn.com/article/2016/0321/63616c52caa5228.jpg[/img][/font]
[font=微软雅黑, Tahoma,][img=600,264]http://static.cnbetacdn.com/article/2016/0321/3ef6d7874381e99.jpg[/img][/font]
[font=微软雅黑, Tahoma,][img=600,394]http://static.cnbetacdn.com/article/2016/0321/3922ee2c73a0737.jpg[/img][/font]
[font=微软雅黑, Tahoma,][img=600,245]http://static.cnbetacdn.com/article/2016/0321/0647a8ff06a0e8f.jpg[/img][/font]
[font=微软雅黑, Tahoma,][img=600,218]http://static.cnbetacdn.com/article/2016/0321/b906d41b67de7c7.jpg[/img][/font]
dyc0514 2016-3-22 14:45
虽然看不懂,但是楼主看起来好厉害的样子,能说的简单点不
mickxia 2016-3-23 03:53
认真学习了:excellence :excellence