Joey's profile非典型性中国“良民”PhotosBlogLists Tools Help

Joey

Occupation
Location
Interests

非典型性中国“良民”

民主,宪政,自由,公正
Photo 1 of 20
July 17

浅谈“稳定”

英国政坛最近地震不断,史无前例的议长辞职,大臣们争相摘去自己的“顶戴花翎”,首相布朗民意支持率就像跳水画面,似乎铁定要成为最近30年里最失败的首相大人。一切的一切,让我联想到时下在国内十分流行的两个词“和谐”,“维稳”。看来英伦三岛是肯定达不到和谐和稳定的要求了,女王陛下也有必要出来呼吁一下“构建和谐社会”了,或者至少也应该邀请一下我们党校的教授们去英国来个“和谐社会”宣讲团吧。当然,也可以指望布朗先生在新闻发布会的时候质疑一下自己的内阁成员“到底为谁说话”。
其实,到底什么是稳定?开宗明义,稳定就是要求得一个可以提供社会健康发展,经济稳步增长的政治,社会,舆论环境。
那么,如何来界定这样的一个环境呢?首先,所谓的“构建和谐社会”口号当然不可能换来这样的环境,《人民日报》上连篇累牍的刊登社论“六个为什么”实际上也只不过是提出了一个似是而非的假命题。
英国政坛的情况可以归纳为这样一个现象——“政治层面可控的不稳定”,这样的不稳定其实是民主政治里的一个感冒病,而感冒的一个作用大家往往容易忽视,帮助提高自身的抵抗力。英国的社会在这样的不稳定中前行了逾一百年,经济,科学,人文个方面得到了长足的进步,政党的轮替、兴盛,互相监督甚至于拆台就是这种可控的不稳定的表现和原始动力。
当然,这样的不稳定有一个前提条件,即可控。比如,日本在跨入1990年之后的近20年里,政治层面的不稳定愈演愈烈,进入了不可控状态,首相的任期长则数年,短则数月,甚至数周。这样的不稳定虽然不会对日本的整体社会发展带来多大的伤害,但是显然的不利于带领整个社会走出经济萧条期,同样的例子不胜枚举,欧洲如意大利,东南亚如印尼,菲律宾。
然而,政治层面可控的不稳定成为了一种动态社会前进的原动力,那么我们可以试想一下,“政治层面强力控制的大稳定”会带来一个什么样的局面呢?有人或许会想到新加坡,新加坡的人民行动党作为长期的执政党,很大程度上营造了新加坡政治的大稳定,但是新加坡的稳定局面是“强力控制”还是“自然形成”的。或许了解新加坡短暂历史的朋友就会得出答案,强力控制的因素要远远小于循序渐进的因素,而新加坡每次大选,行动党获得选民不低于60%选票的结果就是一个很好的注脚,一个整天挥舞大棒的政党或政治集团是没有魅力在选举制度的国家中站稳脚跟的。所以,新加坡其实也有一个可控的不稳定政治环境,只不过在这个环境里面的参与者有着一些明显的差距。从新加坡国父的治国理念里面不难看出,“精英”能够很大程度上的控制这个不稳定并且加以利用。
俄罗斯在经历了后叶利钦时代和普京时代的转变,已经逐渐完成了强力控制的大稳定局面,而普京在品尝了总统总理连轴转后,似乎还是没有真正消除他的官瘾。或许他将成为下一个纳扎尔巴耶夫,或大家可以拭目以待。朝鲜的“大稳定”环境似乎是当今全球首屈一指的,当然,除了少数几个朝鲜劳动党官员之外,不会有多少世人同意这样的“大稳定”给朝鲜社会经济各方面发展带来了多大的好处。那么这样的“大稳定”环境到底给谁带来了好处呢?答案不言自明,唯一的既得利益者就是劳动党以及他的党魁,金氏家族。政治层面强力控制的大稳定给朝鲜带了唯一可以预见的好处就在于可以保证江山的延续性和领导层的“血统”连贯性。英国式的政党轮替是不可能出现在这样的环境下的。
说了那么多,回过头来看一下国内,我们到底要什么样的环境?“政治层面可控的不稳定”还是“政治层面强力控制的大稳定”。当然从最近的一些党校教授和中国智库的论点来看,他们或许比较钟情于后者。
本人比较欣赏麦凯恩在总统选举结果出炉后的最后一次公开演讲,他提到,美国没有蓝或者红之分,美国没有共和党民主党之争,因为美国永远就像他的名字一样,联合国家(United States)。这或许可以给什么是“可控的”作一个不错的注脚。
“可控的不稳定”,其实,并非是被某些人定义为的“完全不符合国情的西方式的假民主”。对于每一个普通社会人来说,他们需要的是什么?不需要的又是什么?也并不是靠人民日报几篇社论或者cctv几次新闻可以定论的。“构建和谐社会”本身没有错误,甚至可以说是整个人类伟大的理想,但是,如何构建才是问题的关键,所谓的“盛事太平”的“和谐”不一定是大多数百姓想要得真正结局。
June 15

美国密西根大学计算机科学和工程学院对于绿霸软件的测试报告

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

Analysis of the Green Dam Censorware System

Scott WolchokRandy Yao, and J. Alex Halderman
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.

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, andxwordh.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, and TrustUrl.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.dat exceeds 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.

绿霸真够爸的

打油诗,转自互联网。
       平地冒出好爸爸,
  搞个软件叫绿坝。
  色情低俗一把抓,
  花季护航全靠它。
  
  四千一百七十万,
  大笔一挥眼不眨。
  工信要做大王八,
  金惠大正乐开花。
  
  其实他们也不傻,
  为保庙堂不崩塌,
  纵是四千一百亿,
  该花时来还得花。
  
  绿坝绿坝真牛叉,
  千家万户把营扎。
  直把电脑当自家,
  明管孩子实管爸。
  
  看谁不爽不听话,
  就往黑名单里加。
  密码账号往外发,
  你的隐私算个啥?
  
  强制安装也作罢,
  卸载却要靠自杀。
  自杀之后还不死,
  依然常驻在你家。
  
  若想彻底把他杀,
  看来只能格式化。
  直道流氓不可怕,
  就怕流氓是国家。
  
  先有神盾再滤霸,
  某党处处捏鸡BA。
  直把网民肺气炸,
  个个都想×他MA。
  
  沪上警察京杨佳,
  冒名顶替官作假。
  要问何处嫖幼女,
  梦幻城里七十码。
  
  天要下雨娘改嫁,
  哪有自由哪是家。
  机关算尽螳挡车,
  终究是个大笑话。


闾丘露薇博客
May 30

中国再一次陷入朝鲜困局

继06年朝鲜第一次核试验爆炸成功,朝鲜在这个月的早些时候又一次成功试验了核爆炸。当然朝鲜拥有核武器是在小布什时代就已经得到世界多数国家确认的事实。中国政府则仍然幻想着“半岛无核化”,殊不知,人小兄弟有核好多年了。
再次不得不让我想起了半个世纪前的中国,当时的陈毅元帅为了造原子弹抛出了“为了核子,情愿把裤子当掉”的言论,导致香港与大陆爆发一场空前的论战,到底是“要裤子还是要核子”成了当时的热点话题。
现如今,我们一手拉扯大的小兄弟金二也颇有当年陈帅的风度,只不过现在的朝鲜人民大概还过着与死神饥饿抗争的日子。中国政府,一向是希望世界“和谐”的,所以,自己家门口不那么的“和谐”,简直成了天朝的最大的耻辱和失误了。到现在还有国内的专家学者寄希望于“六方会谈”,实在是为这些学者的智商感到可惜啊。朝鲜铁了心搞了核武器,中国再一次走入这个困局,为如何给这个小兄弟“擦屁股”而一筹莫展。
当然,你要指望中国政府对朝鲜的态度来个一百八十度转弯,上演一出大义灭亲是不现实的,原因如下几点。
一,
两国意识形态相同,金二的一套王侯将相制度,独裁世袭统治完全“来源于中共而高于中共”。抛开一切外表,深究实质,两个国家的政权实在是孪生兄弟,共惨主义的意识形态,国内密集的愚民式教育,造成不分是非的“爱国热情”,对“美帝”骨子里的痛恨,都将这两个难兄难弟牢牢捆绑在一根柱子上。
二,
中国的政治地理因素,环顾中国四周,除金二,也只有越南和中共的意识形态相近,可惜两国早就貌合神离,多年前的自卫反击战,现今海洋领土纠纷已经将兄弟情谊撕得粉碎。那么,看看中国身处的环境吧。俄罗斯,强占我国领土最多,对中国也自然最虎视眈眈,国内的那些个专家学者都无时无刻提到美国抑制中国,却没有一个人关心下我们身边的这只西伯利亚熊,当然这样才能不辱没专家学者们的智商水平。印巴,这两个哼哈二将不用多言,当然对中国不可能怀有好心,巴基斯坦貌似与中国关系甚好,但是明眼人一看便知这无非是遵循了“敌人的敌人是朋友”的简单策略。印度从来没有放弃过与中国争夺亚洲老大的雄心,这个世界上人口最多的民主国家,怎么可能和你一党独大同席而坐呢?再有就是韩国日本东南亚诸国,这里不一一赘述,只有一个基本点,这些国家的政府骨子里都是将“反共”作为义不容辞的政治任务而和中共进行外交往来的。
综上,可怜的中共和金二王室只能相依为命,继续难兄难弟,要让中国政府出面喝斥他的小兄弟小战友小同志,恐怕比英女王宣布逊位还要不可思议吧。当然,大可不必担心金二头脑发热再发动一场朝鲜战争,首先中国百姓已经不可能愚蠢到为了一个外国王室卖命,其次当初出钱出枪的苏联老大哥也成为历史名词了。
May 28

久违了,我的空间

以为关了校内,删了账号,自己就会远离日志这个东西,但是看来这个想法天真了。
其实我的日志在大三之后就鲜有谈及自己的事情,例如生活如意否,学习顺利否,感情激荡否等等,因为现在看来这些事情往往都是过眼云烟,并没有想把它们转化成文字的冲动,反倒是写了不少杂七杂八的东西,什么社会公正否,主义坚持否,国家民主否等,虽说与自己八杆子打不到边,但每每乐此不疲,当然这个或许也是关掉校内的一大原因,校内是谈生活学习感情的地方,不是谈主义理想民主的战场。
最近一直在想一个问题,但是恐要坠入越想越迷茫的窘境。主义理想爱国到底和我有多大关系?对于我自己来说,爱国就是坚持自己的主义和理想,即主张社会公义民主,反对独裁专政。但是这样的爱国在大陆地区却是被视为卖国和激进。所以我的爱国最终和“和谐爱国”南辕北辙,甚至有些势不两立了。不会忠君爱党,更不屑“和谐的向前看”,这一点是肯定的,但“不爱党=不爱国”这样的歪理已然成了大陆民众的公理。哎!岂非陷吾于两难哉。
党的喉舌撰写了一篇评韩国总统自戕的文章,其大意是韩国政治混乱,导致韩国总统无一得善终云云。但是深究其用意,我想,断然不是给我们这个邻国提出善意的忠告。因为,首先韩国的民主制度完全不是中国党政能够揣测的,棒子们的民主已经发展到了一定的高度,而伟大祖国的民主连起步都还谈不上(最近还不巧挂在了倒档上)。
那这篇评论到底要表达什么意思呢?套用周立波的思维方式,倒过来看或许就清楚了,党的喉舌想通过这篇文章和这个惨祸教导我们这群善民们,民主政治是要死人的,民主国家连个总统都活不了,所以呢,只有共产党,能保证国家不“混乱”,主席们,主席的老婆孩子们能富甲一方,终得颐养天年;只有共产党,才能让我们的伟大祖国做到民主专制一个样,腐败清廉一个样,和谐动乱一个样。

也罢,也罢,鄙人是决计成不了忠君爱党的好青年,好公民了,但只期望这个美国佬开发的msn space不那么“和谐”,不那么“爱国”,为我留下最后一片理想主义的“处女地”。