wando 的个人资料Everything Goes Well照片日志列表更多 工具 帮助

Everything Goes Well

2009/10/28

回来啦

     
         几乎忘记了这里还有一片空间,都搞不清自己最近在忙些什么。
         Anyway,I am back!
 
2009/6/30

就是这张照片吗?

 
                                         郑州成立专案组调查逯军网上标准照是否PS
 
                  
2009/6/13

2009 (7) ZT: 绿坝(滤霸)分析报告

  
         From:  http://www.cse.umich.edu/~jhalderm/pub/gd/

Analysis of the Green Dam Censorware System

Computer Science and Engineering Division
The University of Michigan

Revision 2.4 – June 11, 2009

Summary    We have discovered remotely-exploitable vulnerabilities in Green Dam, the censorship software reportedly mandated by the Chinese government. Any web site a Green Dam user visits can take control of the PC.

According to press reports, China will soon require all PCs sold in the country to include Green Dam. This software monitors web sites visited and other activity on the computer and blocks adult content as well as politically sensitive material.

We examined the Green Dam software and found that it contains serious security vulnerabilities due to programming errors. Once Green Dam is installed, any web site the user visits can exploit these problems to take control of the computer. This could allow malicious sites to steal private data, send spam, or enlist the computer in a botnet. In addition, we found vulnerabilities in the way Green Dam processes blacklist updates that could allow the software makers or others to install malicious code during the update process.

We found these problems with less than 12 hours of testing, and we believe they may be only the tip of the iceberg. Green Dam makes frequent use of unsafe and outdated programming practices that likely introduce numerous other vulnerabilities. Correcting these problems will require extensive changes to the software and careful retesting. In the meantime, we recommend that users protect themselves by uninstalling Green Dam immediately.

Green Dam displays this message when it detects banned phrases.

Introduction

Accordingly to recent news reports (NYTWSJ), the Chinese government has mandated that, beginning July 1, every PC sold in China must include a censorship program called Green Dam. This software is designed to monitor internet connections and text typed on the computer. It blocks undesirable or politically sensitive content and optionally reports it to authorities. Green Dam was developed by a company called Jin Hui and is available as a free download. We examined version 3.17.

How Green Dam Works

The Green Dam software filters content by blocking URLs and website images and by monitoring text in other applications. The filtering blacklists include both political and adult content. Some of the blacklists appear to have been copied from American-made filtering software.

Image filter    Green Dam includes computer vision technology used to block online images containing nudity. The image filter reportedly works by flagging images containing large areas of human skin tone, while making an exception for close-ups of faces. We've found that the program contains code libraries and a configuration file from the open-source image recognition software OpenCV.

Text filter    Green Dam scans text entry fields in various applications for blocked words, including obscenities and politically sensitive phrases (for example, references to Falun Gong). Blacklisted terms are contained in three files, encrypted with a simple key-less scrambling operation. We decrypted the contents of these files: xwordl.datxwordm.dat, and xwordh.dat. We also found what appears to be a word list for a more sophisticated sentence processing algorithm in the unencrypted file FalunWord.lib. When Green Dam detects these words, the offending program is forcibly closed and an error image (shown above) is displayed.

URL filter    Green Dam filters website URLs using patterns contained in whitelist and blacklist files (*fil.datadwapp.dat, andTrustUrl.dat). These files are encrypted with the same key-less scrambling operation as the blacklists for the text filter. Five of the blacklists correspond to the categories in the content filtering section of Green Dam's options dialog (shown below).

We found evidence that a number of these blacklists have been taken from the American-made filtering program CyberSitter. In particular, we found an encrypted configuration file, wfileu.dat, that references these blacklists with download URLs at CyberSitter's site. We also found a setup file, xstring.s2g, that appears to date these blacklists to 2006. Finally, csnews.dat is an encrypted 2004 news bulletin by CyberSitter. We conjecture that this file was accidentally included because it has the same file extension as the filters.

Security Problems

After only one day of testing the Green Dam software, we found two major security vulnerabilities. The first is an error in the way the software processes web sites it monitors. The second is a bug in the way the software installs blacklist updates. Both allow remote parties to execute arbitrary code and take control of the computer.

Web Filtering Vulnerability

Green Dam intercepts Internet traffic and processes it to see whether visited web sites are blacklisted. In order to perform this monitoring, it injects a library called SurfGd.dll into software that uses the socket API. When a user access a web site, this code checks the address against the blacklist and logs the URL.

We discovered programming errors in the code used to process web site requests. The code processes URLs with a fixed-length buffer, and a specially-crafted URL can overrun this buffer and corrupt the execution stack. Any web site the user visits can redirect the browser to a page with a malicious URL and take control of the computer.

We have constructed a demonstration URL that triggers this problem. If you have Green Dam installed, clicking the button on our demonstration attack page will cause your browser (or tab) to crash.

This proof-of-concept shows that we are able to control the execution stack. An actual attacker could exploit this to execute malicious code.

Green Dam's design makes this problem exploitable from almost any web browser. At this time, the surest way for users to protect themselves is to uninstall Green Dam.

Blacklist Update Vulnerability

We found a second problem in the way Green Dam reads its filter files. This problem would allow Green Dam's makers, or a third-party impersonating them, to execute arbitrary code and install malicious software on the user's computer after installing a filter update. Users can enable automatic filter updates from the Green Dam configuration program.

Green Dam reads its filter files using unsafe C string libraries. In places, it uses the fscanf function to read lines from filter files into a fixed-length buffer on the execution stack. This creates classic buffer-overflow vulnerabilities. For example, if a line in the file TrustUrl.datexceeds a certain fixed length, the buffer will be overrun, corrupting the execution stack and potentially giving the attacker control of the process.

The filter files can be replaced remotely by the software maker if the user has enabled filter updates. The updates could corrupt these vulnerable files to exploit the problems we found. This could allow Green Dam's makers to take control of any computer where the software is installed and automatic filter updates are enabled. Furthermore, updates are delivered via unencrypted HTTP, which could allow a third party to impersonate the update server (for example, by exploiting DNS vulnerabilities) and take control of users' computers using this attack.

Removing Green Dam

Green Dam allows users who know its administrator password to uninstall the software. We tested the uninstaller and found that it appears to effectively remove Green Dam from the computer. However, it fails to remove some log files, so evidence of users' activity remains hidden on the system.

In light of the serious vulnerabilities we outlined above, the surest way for users to protect themselves is to remove the software immediately using its uninstall function.

Conclusion

Our brief testing proves that Green Dam contains very serious security vulnerabilities. Unfortunately, these problems seem to reflect systemic flaws in the code. The software makes extensive use of programming techniques that are known to be unsafe, such as deprecated C string processing functions including sprintf and fscanf. These problems are compounded by the design of the program, which creates a large attack surface: since Green Dam filters and processes all Internet traffic, large parts of its code are exposed to attack.

If Green Dam is deployed in its current form, it will significantly weaken China's computer security. While the flaws we discovered can be quickly patched, correcting all the problems in the Green Dam software will likely require extensive rewriting and thorough testing. This will be difficult to achieve before China's July 1 deadline for deploying Green Dam nationwide.


Additional Screenshot

                  Users can configure which categories of web sites are blocked by Green Dam.
          Additional filters are used to block adult and politically-sensitive terms in text entry fields.


Acknowledgments

We wish to thank our colleagues at the University of Michigan who alerted us to Green Dam and assisted with translation.

Contacting the Authors

Please send questions or comments to Professor J. Alex Halderman.
2009/6/4

2009 (6) 无题

 
      你必为自己的罪恶而惶惶!

2009/5/30

2009 (5) 越来越无语……


                                                                           

            

                                                                           
        公务员就是比服务员牛X:   http://v.youku.com/v_show/id_XOTQ0ODU1MDQ=.html

         
2009/2/21

2009 (4) THE END


       从2002年起,在这里醉过两次,大醉!
       每次醒来都会有最令人纠结的消息!
       或许因为有预感才会醉得这么深沉

    
       不会再喝醉了!

2009/2/19

2009 (3) HOPE IS A GOOD THING


                                     (一)消失了,就不会回来了

                 这几天时不时有同事发短信说在**看到猫了,每每过去总是扑空
                 慢慢地确信,他们看到的并不是那只消失的野猫
                 消失了,也就不会再回来了!

                                     (二)肖申克的救赎

                 并不是所有的监狱都有高墙。
                 几十年后细品味,会是一番甚滋味?
                 Anyway, “ HOPE IS A GOOD THING !”
                          

                                     (三)俱往矣

                


2009/2/18

2009 (2) 《走西口》

 
        走西口是山西爷们的事,但《走西口》却更像是一部关于女人的戏。
        不同于《闯关东》,《走西口》整部编剧硬伤很多。
        很多角色是多余的,历史背景更是胡编乱凑。
        去除那些所谓爷们的戏,整部戏中能感人的只是几个女人。
        喜欢的是脍炙人口的<走西口>歌曲,还有土得掉渣的<青线线 蓝线线>。
        仅此而已!
2009/2/12

2009 (1)

      返回广州之前便有同事发短信说,野猫好久都没看到了。它向来如此,时不时会消失一段时间。返回广州当天,小贺说很久没看到你的猫了。随它去吧。但当晚竟梦到野猫蹲在走廊的护墙上,神态和这张照片几乎一模一样,隐隐感觉野猫可能再也回不来了。第二天再回想梦中的情景,仿佛又觉得不是梦,它好像真的在我上网看电影的时候蹲在那里了。
      野猫消失已经20余天,也许是真的失踪了。

      很多东西都消失了,或者正在消失!

     

2009/1/5

这条道

 
       从单位到大院,充其量一公里
 
       前不久,一男同事一大早上班刚出大院便被打劫
       劫去了出差所有的票据,一台笔记本,一部数码相机,三千余现金
 
       今儿个下午,我老人家风风火火地往大院赶
       下渡路口亮红灯,两名义警维持着秩序,便等了几分钟
       不知道是直觉这里不安全还是感触到随身带的包被碰了,下意识地看了下包
       不过还是太大意,想着这事被我碰上的几率比中头彩还小……
      
       钱包里现金倒也不多,懊恼的是银行卡又要挂失了
 
       问:如果你在路上看到小偷偷钱包,你会出手或出口相助路人吗?
     答:看情况,如果被偷钱包的是个美女

       这是上7月份cherry点名游戏里俺玩笑般的回答
       严肃地更正一下:本大爷不排除使用暴力Baring teeth
 
       长了三只手的孩子们,洗个手过个好年吧
       常走这条道的,也请睁开你的第三只眼
 
 

Y wando

风 景  
第 1 张,共 2 张
更多相册 (1)
请稍候...
很抱歉,您输入的评论太长。请缩短您的评论。
您没有输入任何内容,请重试。
很抱歉,我们当前无法添加您的评论。请稍后重试。
若要添加评论,需要您的家长授予您相应权限。请求权限
您的家长禁用了评论功能。
很抱歉,我们当前无法删除您的评论。请稍后重试。
您已超过了一天之内允许提供的评论数上限。请在 24 小时后重试。
因为我们的系统表明您可能在向其他用户提供垃圾评论,您的帐户已禁用了评论功能。如果您认为我们错误地禁用了您的帐户,请联系 Windows Live 支持部门
完成下面的安全检查,您提供评论的过程才能完成。
您在安全检查中键入的字符必须与图片或音频中的字符一致。
此共享空间没有音乐列表。