- Social engineering techniques observed in recent targeted malware attacks against Tibetan organizations appear to repurpose authentic, privately-held, sensitive content of Tibetan groups — in contrast to typical malware attacks that rely on simpler social engineering methods, such as referencing themes of interest to the organization or copying publicly available legitimate content. The use of this unique content suggests that attackers may have achieved a preliminary level of infiltration into Tibetan organizations, which could allow them to increase the apparent authenticity of subsequent attacks.
- These recent malware attacks have incorporated a “passwording” technique, whereby attached, infected Microsoft Office files are encrypted and can only be opened with a password provided in the email body.
- The payload of each of these targeted malware attacks is the LURK malware, a remote access trojan that is a variant of Gh0stRAT.
- Once active, the malware delivered through each of these targeted attacks connects to the same command-and-control server: dtl.dnsd.me:63 (126.96.36.199), which if inaccessible uses a backup domain, dtl.eatuo.com:63. Both dnsd.me and eatuo.com are dynamic DNS providers, and eatuo.com has the same domain registration information as the well-known Chinese provider 3322.net.
This blog post is the third in a series documenting the use of information operations against Tibetans and others who advocate for Tibetan rights and freedoms.
Previous research by the Citizen Lab has described information operations that leveraged the issue of self-immolations amongst Tibetans, as well as a recent European Parliament resolution on the human rights situation in Tibet.
In its ongoing study of targeted cyber threats against civil society organizations, Citizen Lab has analyzed 11 malicious emails sent to Tibetan organizations between May and July 2012 that display noteworthy common elements, including malware that connects to the same command-and-control server.
Attackers have targeted at least three separate organizations, sending the malicious emails to seven different email addresses associated with those three organizations.
In each of these emails, the malicious file is password-protected, such that it can only be opened with a password provided in the email text (or in one case, in an image attached to the email), and the payload — LURK malware — is the same.
The level of authenticity of the social engineering used in these emails, however, has increased over time, with the most recent emails repurposing sensitive content of Tibetan groups that was most likely privately held and/or inaccessible to the general public.
The use of such content suggests that attackers may have achieved a preliminary level of infiltration into Tibetan organizations, which could allow them to accomplish more advanced and effective social engineering, thereby increasing the risk of compromise.
Targeted Malware Attacks
In the 11 emails there are four distinct messages used in the attacks, as outlined and illustrated below. The malicious attachments are all Microsoft Office documents — two Word documents and two Excel files — that are encrypted using four-digit numeric passwords, perhaps in an attempt to prevent detection of the malicious file by antivirus software, or to increase the apparent authenticity of the document.
The passwords appear to have been chosen to reflect dates of historical significance with respect to Tibet — for example, 1959 was the year of the Tibetan uprising against the rule of the Communist Party of China, which is commemorated by the Tibetan community every year on March 10. The malicious payloads all communicate with the same command-and-control (C2) server (discussed further below).
The first email, which was only sent to one email address of which we are aware, was sent on May 24, 2012 from what appears to be a compromised yahoo.com email account associated with a Tibetan activist, from the IP address 188.8.131.52 (likely a compromised server):
Note that the salutation does not include the name of the recipient, nor is it signed. The password required to open the attachment is 4155.1 The attachment is a Word document named Droeshi final.doc — when opened and supplied with the password, it crashes Word and drops its malicious payload (described in more detail below). No clean file is dropped or shown to the user, and there is no author or summary metadata.
2. “Statement of the Kashag”
The second email was sent on July 5 to at least two different organizations. The body of these emails contains only “PASSWORD: 0706.”2 The subject is “THE STATEMENT OF THE KASHAG ON THE SEVENTY-SEVENTH BIRTHDAY CELEBRATION OF HIS HOLINESS THE DALAI LAMA” and the “From” address spoofs the real address of a Tibetan organization. Although the emails are identical and were sent from the same IP address (184.108.40.206), the actual email addresses used to send each message differ: email@example.com and firstname.lastname@example.org (click image to enlarge).
3. “The concept notes”
The third email came in two versions on July 17, differing only in an additional blank line in the email body and a typo in the subject line of one version. The social engineering has been significantly stepped up in this attack, though there are still numerous tell-tale signs that it is not legitimate. This email had five attachments: four benign .docx files, as well as a malicious Excel file named EIDHR_action_plan.xlsx.
Again there is no name in the salutation, but the email is signed in this case. The signature and “From” address used spoof a representative of the Office of Tibet.
The Word documents attached to this email contain what appears to be an actual application by a Tibetan organization to the European Instrument for Democracy and Human Rights (EIDHR).
The timing of this attack is particularly noteworthy in that a genuine EIDHR call for proposals — including for “Actions Aimed at Fighting Cyber-Censorship and to Promote Internet Access and Secure Digital Communication” — was pending at the time, with a July 20 deadline for concept notes.
Such documentation related to grant proposals is typically of a sensitive and internal nature to civil society organizations, and inclusion of such content in a targeted malware attack is concerning, as it suggests access to confidential materials and perhaps even awareness of the parameters of the EIDHR call.
Only the attached malicious Excel file requires the password — 19333 — to open, whereas the attached Word documents are not password protected. The malicious Excel file is actually an OLE file, not the newer Office Open XML format that the .xlsx extension suggests, and Excel refuses to open it unless the extension is changed to .xls. The dropped malicious executable is identical to the one from the “Statement of the Kashag” email.
This file also drops a clean document, “set.xls,” in the user’s temporary folder and opens it in Excel. The contents of the file were unreadable on all computers we tried it on, displaying only question marks. However, the metadata of the file shows the author as ‘walkinnet’ (click image to enlarge).
We saw five instances of this message, going to three different organizations. The email with the typo in the subject (“Tthe concept notes“) went to two different organizations, from a different IP (220.127.116.11) than the “Statement of the Kashag” email. Different gmx.com addresses were used to send each message: email@example.com and firstname.lastname@example.org.
The other three instances of this email had the subject “The concept notes” and were sent by yet more unique gmx.com addresses: email@example.com, firstname.lastname@example.org and email@example.com. The first two were sent from the same IP as used for the “Statement of the Kashag,” but the third came from 18.104.22.168.
4. “August visit of South African group”
The most recent email was sent on July 20 to at least two organizations, one of which received it at two different addresses. The email contains text and an Excel attachment that, as with the “The concept notes” email, suggest the attacker had access to confidential communications of a Tibetan organization.
The spoofed “From” address, subject (“August visit of South African group”), and text of the email all appear to be repurposed from an authentic message sent to a Tibetan organization from a person seeking advice regarding an upcoming trip to Dharamsala, and the content includes in-depth details on trip logistics and planning.
In this case, the password required to open the attached Excel file is not in the body of the email, but added (rather awkwardly) to an attached image of the logo of the organization belonging to the spoofed sender. The password is “1959,” the year of the aforementioned Tibetan uprising.
The attached Excel file, Dharamsala August 2012 Full program.xls, is similar to the malicious attachment in “The concept notes” email, but it drops a different clean file. In this case the file is readable and contains what is almost certainly an authentic itinerary, which is referenced in the email. The clean file is also called set.xls, defaults to the same Chinese font, and has the same ‘walkinnet’ author metadata as the clean document in “The concept notes.”
Within the dataset examined by Citizen Lab, two Word documents and two Excel documents were sent embedded with LURK malware, a remote access trojan that is a variant of Gh0stRAT. Note that the XLSX file is actually a standard .XLS file, not the new XML format.
The MD5 hashes of the documents are as follows:
Each document is encrypted with a four-digit numeric password, a tactic seen previously in other emails. This tactic makes it more difficult to identify embedded payloads and the vulnerability used.
All of the files except for the first (Droeshi final.doc) have the same malware files embedded. The first uses a variant of the LURK trojan that is very similar, but not identical, to the others.
In each of the four cases, the document exploit drops the LURK trojan:
Two different versions of the trojan were seen between the four cases. While they all use the same filenames, in one case, the MD5 of the trojan is different:
LURK also uses the following files:
Additionally, the samples that use Excel as their vector also drop a clean file, opened after the malware executes:
For persistence, the trojan also creates the following link in the Startup folder, pointing at the iexplore.exe binary in %AppData%:
The binary in %AppData% is only 9KB and acts as a launcher.
IconConfigEt.DAT is the trojan’s configuration file, storing the C2 server addresses and ports, as well as a campaign name identifier. The file is mostly encrypted, with the campaign name stored in the clear. The configuration options are read from the main executable using GetPrivateProfileStringW(), a function for pre-registry configuration storage. This function is for backwards compatibility with pre-registry 16-bit Windows applications, and is not commonly used in modern applications (click image to enlarge).
Decryption of the configuration file is done in sub_4044B0() using a key generated in sub_404430() — the default is 0x11B29719, in the case of the more common version of the trojan the key is 0x11B297A9. Once the values have been read from the decrypted file, it is re-encrypted in sub_404560().
Encrypted on disk (default):
Once the configuration file is decrypted, the values are still not readable. Fortunately, the second layer decryption is an easy process — just decrement each character by 1.
The values read from the configuration file are:
- Section [PPP], key P: Primary C2 server port number
- Section [WWW], key W: Primary C2 server name
- Section [PPP1], key P1: Secondary C2 server port number
- Section [WWW1], key W1: Secondary C2 server name
- Section [PPP2], key P2: Tertiary C2 server port number
- Section [WWW2], key W2: Tertiary C2 server name
- Section [MMM], key M: Campaign name
In the configuration files we have looked at for this run, the primary server is dtl.dnsd.me:63, and the secondary server is dtl.eatuo.com:63. Both dnsd.me and eatuo.com are dynamic DNS providers, and eatuo.com has the same domain registration information as the well-known Chinese provider 3322.org. No tertiary server is given.
The malware checks in sub_4040E0() for a value of “Mark” in the registry at the following location:
If a value is not found, it is set with the campaign name read from the configuration file key M.
The four samples we received use three different campaign names, identified as follows in value 7 of each configuration file:
The campaign names strongly suggest that these runs are specific to the Tibetan community, and that the Txxx attacks may be coming from the same source. The July6thFinal.doc, EIDHR_action_plan.xlsx, and Dharamsala August 2012 Full program.xls documents all drop the same trojan; the Droeshi final.doc trojan is slightly different (although uses much of the same code).
These samples match the behavior seen with other recorded instances of samples from this family in the wild. LURK is also known as Troj~Agent-XAT (Sophos), TROJ_MDROP.TPB and TROJ_MDROP.TPC (Trend Micro), and can also be picked up by more general antivirus detection such as Generic PWS.y (McAfee). In the sample analyzed by Sophos, the campaign ID is “IE_0day” — not immediately related to attacks on the Tibetan community.
Many more samples within this family exist with reports online — look for “DbxUpdateET” (where the campaign ID is stored in the registry) or the dropped files “IconCacheEt” and “IconConfigEt.” Another Tibetan-themed example using the dtl.eatuo.com domain was reported by ZenLab on March 26, 2012.
The LURK malware is also referenced with a description of the communication protocol in Command Five’s paper “Command and Control in the Fifth Domain.” The network behavior we observed matches the described protocol.
An additional file with the T801 campaign ID that we observed used twice was uploaded to ThreatExpert and can be found here.
Command and Control Information
A port scan of the C2 server shows the following ports are open:
In addition to port 63 (which is not shown as open in the above scan), ports 81 and 53 are both LURK.
In addition to the dropped files, infected machines can be found on a network by looking for the following indications of compromise:
- DNS lookup of the C2 domains: dtl.dnsd.me, dtl.eatuo.com
- Traffic to the C2 IP: 22.214.171.124 — this includes traffic over port 53, which is normally DNS
- TCP traffic over port 53 that begins with “LURK0”
For detection, Jaime Blasco from AlienVault has written a Snort rule that will detect LURK traffic (originally found here):
- Civil society organizations, particularly those working on issues related to Tibetan rights, should exercise caution with respect to any email containing a link or attachment. As the targeted malware attacks analyzed in this report demonstrate, content used to induce a recipient to open a malicious file may at one point have actually been authentic and private — and is that much more likely to appear legitimate. For tips on other ways to detect probable malware attacks and prevent compromise, see Citizen Lab’s Recommendations for Defending Against Targeted Cyber Threats.
- Civil society organizations should be wary of emails attaching password-protected documents and providing said password in the email body. Such purported “security” measures are not an indicator of authenticity.
- Citizen Lab encourages civil society organizations and individuals working on human rights issues that have encountered these types of targeted malware attacks to contact us at hrthreats[AT]citizenlab.org. We appreciate submission of data, which will help strengthen our analysis of cyber threats.
1 On April 1, 1955, the governments of India and China signed a protocol by which India handed over control of communications services in Tibet to China. See Protocol between the Governments of India and China Regarding the Handing Over of Postal, Telegraph and Public Telephone Services in the Tibet Region of China.
2 The Fourteenth Dalai Lama Tenzin Gyatso was born on July 6, 1935.
3 The Thirteenth Dalai Lama Thupten Gyatso passed away on December 17, 1933.