Iranian threat agent OilRig has been targeting multiple organisations in Israel and other countries in the Middle East since the end of 2015. In recent attacks they set up a fake VPN Web Portal and targeted at least five Israeli IT vendors, several financial institutes, and the Israeli Post Office.
Later, the attackers set up two fake websites pretending to be a University of Oxford conference sign-up page and a job application website. In these websites they hosted malware that was digitally signed with a valid, likely stolen code signing certificate
Based on VirusTotal uploads, malicious documents content, and known victims – other targeted organisations are located in Turkey, Qatar, Kuwait, United Arab Emirates, Saudi Arabia, and Lebanon.
Fake VPN Web Portal
In one of the recent cases, the attackers sent the following email to individuals in targeted organisations:
The email was sent from a compromised account of an IT vendor. Similar emails were sent from other IT vendors in the same time period, suggesting the attackers had a foothold within their networks, or at least could get access to specific computers or email accounts.
The link provided in the malicious email led to a fake VPN Web Portal:
Upon logging in with the credentials provided in the email, the victim is presented with the following page:
The victim is asked to install the “VPN Client” (an .exe file), or, if download fails, to download a password protected zip (with the same .exe file inside).
6a65d762fb548d2dc56cfde4842a4d3c (VirusTotal link)
If the victim downloads and installs the file, their computer would get infected, while the legitimate VPN software is installed. The legitimate and the malicious installations can be seen in the process tree when the file is run in a Cuckoo sandbox. Malicious processes are marked red (click image to enlarge):
The following malicious files are dropped and run:
- “C:\Windows\System32\schtasks.exe” /create /F /sc minute /mo 3 /tn “GoogleUpdateTasksMachineUI” /tr C:\Users\Public\Libraries\RecordedTV\backup.vbs
Command and control server is located in the following domain:
(Note that Juniper networks was not compromised nor otherwise involved in the attack, except for the attackers using its name and publicly available software).
Digitally signed malware
The entire bundle (VPN client and malware) was digitally signed with a valid code signing certificate issued by Symantec to AI Squared, a legitimate software company that develops accessibility software:
Serial number: 45 E4 7F 56 0B 01 B6 4E 68 39 5E 5D 79 2F 2E 09
Another Helminth sample, 1c23b3f11f933d98febfd5a92eb5c715, was signed with a different AI Squared code signing certificate:
Serial number:62 E0 44 E7 37 24 61 2D 79 4B 93 AF 97 46 13 48
This suggest that the attackers had got a hold of an Ai Squared signing key, potentially after compromising their network. Alternatively, the attackers might have got Symantec to issue them a certificate under Ai Squared’s name.
[Update 11 February 2017: In a notification in its website, Ai Squared says that “The digital certificate used to certify newer ZoomText and Window-Eyes software products has been compromised. As a result, our certificate will be revoked on or around January 26th”]
University of Oxford impersonation
The attackers registered four domains impersonating The University of Oxford.
oxford-symposia[.]com, is a fake Oxford conference registration website. Visitors are asked to download the “University Of Oxford Job Symposium Pre-Register Tool”:
The downloaded file (which is also signed with an AI Squared certificate), is a fake registration tool built by the attackers:
If run by the victim, their computer would get infected, while they are shown this registration process:
Note that after completing the “registration process”, the victim is asked to send the form to an email address in oxford-careers[.]com, which also belongs to the attackers.
Previously the fake website linked to the following documents in a third fake Oxford domain, oxford[.]in:
The documents were unavailable during our research, and their content is unknown to us.
The attackers used a forth domain, oxford-employee[.]com, to host an “Oxford Job application” website:
Visitors are asked to “Download CV Creator” in order “To Join University of Oxford staff”. CV Creator is a malicious file hosted at http://www.oxford-careers[.]com/Files/OxfordCVCreator.exe :
When run, the victim is again presented with a tool created by the attackers, this time a “University Of Oxford Official CV Creator”:
Both samples mentioned in this section had the following domain used for command and control:
In an earlier incident, the attackers sent a malicious excel file impersonating Israir, an Israeli Airline (the content of the file was copied from the company’s public website and we have no indication of it being compromised or targeted):
- Special Offers.xls / Salary Employee 2016.xls
- People List.xls
- Employee Engagement Survey.xls
1792cdd0c5397ff5df445d73276d1a50 (undetected as malicious by any antivirus on VirusTotal)
d50ab63f4034c6f5eb356e3326320e66 (undetected as malicious by any antivirus on VirusTotal)
Infrastructure overlap with Cadelle and Chafer
In December 2015, Symantec published a post about “two Iran-based attack groups that appear to be connected, Cadelle and Chafer” that “have been using Backdoor.Cadelspy and Backdoor.Remexi to spy on Iranian individuals and Middle Eastern organizations”.
Backdoor.Remexi, one of the malware in use by Chafer, had the following command and control host:
Interestingly, IP address 18.104.22.168, which serve as a command and control address for an OilRig related sample (3a5fcba80c1fd685c4b5085d9d474118), was pointed to by 87pqxz159.dockerjsbin[.]com as well.
This suggest that the two groups may actually be the same entity, or that they share resources in one why or another.
Indicators of compromise
The graph below depicts the OilRig infrastructure (click to enlarge):
This research was facilitated by PassiveTotal for threat infrastructure analysis, and by MalNet for malware research . We would like to thank White-Hat, Tom Lancaster of Palo Alto Networks, Michael Yip of Stroz Friedberg, security researcher Marcus, and other security researchers and organizations who shared information and provided feedback.