Technique
Server Software Component: Web Shell (T1505.003)
A web shell is a small script that an attacker places on a web server.
Quick links
Press Enter to search, Esc to close
Significant cyber incident
The Qatar News Agency hack happened in the early hours of 24 May 2017, when hackers took over the agency's website and social media accounts and posted false remarks attributed to the emir.
In short
The Qatar News Agency hack happened in the early hours of 24 May 2017, when hackers took over the agency's website and social media accounts and posted false remarks attributed to the emir. Saudi and UAE media repeated them, and on 5 June four states cut ties with Qatar. Qatar said a bug in the QNA site was exploited and linked the attack to those states. The UAE denied any role.
On 24 May 2017 a Qatari government statement said the Qatar News Agency website had been hacked by an unknown entity and that a false statement attributed to the emir had been published. A false story in Arabic, apparently from the foreign minister, also appeared on a hacked Twitter account. The fake report had the emir criticizing renewed tensions with Iran and suggesting President Trump might not last in power. The incident came days after President Trump met Gulf Arab leaders in Riyadh.
Qatar denied the remarks at once. A government spokesman said the emir made no speech at the graduation ceremony he attended. Official media in Saudi Arabia and the UAE still ran the remarks, and the authorities there blocked the main Al Jazeera website. On 5 June 2017 Saudi Arabia, the UAE, Bahrain and Egypt cut ties with Qatar.
Qatar opened an inquiry and asked the FBI for help. Its Ministry of Interior said on 7 June that the attack exploited a bug in the QNA website and that the hacking file had been installed in April. Later Qatari statements linked the attack to the states that cut ties. The UAE denied any role. Dates differ slightly by source (see the timeline).
The Qatari Ministry of Interior says the hacking file was installed on the QNA site in this month.
Al Jazeera, in two later articles, gives this as the day of the hack; sources differ on the date.
The Ministry of Interior says the fabricated news was published at this time.
Qatar says the QNA site was hacked and the emir statement is false; Saudi and UAE media repeat it and the Al Jazeera site is blocked there.
Saudi Arabia, the UAE, Bahrain and Egypt cut ties with Qatar.
The Ministry of Interior reports preliminary findings: a bug in the QNA website was exploited. An FBI team has been in Doha for about a week.
Qatar's attorney general says certain iPhones from the countries laying siege to Qatar were used; he does not name countries.
The Washington Post reports, citing unnamed US intelligence officials, that senior UAE officials discussed the planned hack the day before.
Qatar's government communication office says the report proves UAE involvement; the UAE denies it.
Qatari officials say the attack was coordinated with one of the countries and the UAE benefited most, but stop short of accusing UAE officials directly.
Qatar's foreign minister says the probe showed two countries were involved, without naming them (reported 11 January 2018).
The only technical account comes from Qatar’s Ministry of Interior. On 7 June 2017 it said the hackers used high technology and innovative methods by exploiting a bug in the QNA website. It said a hacking file was installed in April and used later to publish the fabricated news on 24 May 2017. The ministry said it would release full findings when the investigation ended. We found no later public technical report.
The attackers also controlled the QNA social media accounts. A false story appeared on a hacked Twitter account. Qatar’s attorney general said on 20 June 2017 that certain iPhones from the countries laying siege to Qatar were used in the hack. Qatar’s officials said they could not confirm the attackers’ nationality or identity because ties were cut.
The sources name no ATT&CK technique, so none is listed.
No neutral public attribution exists. Qatar's attorney general said on 20 June 2017 that certain iPhones from the countries laying siege to Qatar were used, without naming them. The Washington Post reported on 16 July 2017, citing unnamed US intelligence officials, that senior UAE officials discussed the planned hack the day before and that it was unclear whether the UAE hacked the sites or paid for it (as reported by Al Jazeera). The UAE minister of state for foreign affairs denied the report.
On 20 July 2017 Qatari officials said the attack was coordinated with one of the countries and that the UAE benefited most, but the head of the Qatari team stopped short of directly accusing UAE officials (reported by AP). On 10 January 2018 Qatar's foreign minister said the probe showed two countries were involved, without naming them. At the time, US and European officials said they had not yet determined who was behind it (reported 21 June 2017). Sources differ on the date: Qatar's Ministry of Interior gives 24 May 2017 at 12:13am; two Al Jazeera articles give 23 May.
The fake remarks were repeated by official media in Saudi Arabia and the UAE, and authorities there blocked the main Al Jazeera website. On 5 June 2017 Saudi Arabia, the UAE, Bahrain and Egypt cut diplomatic relations and land, air and sea links with Qatar. Al Jazeera says the hack set off this crisis. AP reports that the Washington Post said the false story was used as a pretext for it. The sources give no figures on cost.
The false story was built to look like a real emir speech, and neighboring media repeated it within hours. Media and government sites need the same protection as core systems.
Qatar's Ministry of Interior said a bug in the QNA website was exploited. A file placed in April was only used on 24 May.
The hacking file sat on the site for weeks before the fake news was posted. Look for old, quiet access, not only new alerts.
A hacked Twitter account carried a second false story. Government social media needs strong login controls.
Qatar denied the remarks the same day, yet other media kept repeating them for days. Plan how to reach audiences fast.
Qatar asked the FBI to help and published only preliminary findings. Clean logs make attribution possible later.
Check that your public news, publishing and content systems are patched and tested for common web flaws.
Look for unknown files and web shells placed weeks or months ago on public servers.
Check that every official social account uses strong multi-factor login and a short list of admins.
Check who can publish on your news site and whether a second person must approve sensitive items.
Write down who issues a fast public denial, in which channels, and how partners and media are told.
Check that web and account logs reach back at least several months so late discoveries can be traced.
Agree in advance which national body and which partner agency you contact for help with a state-linked attack.
Its website and social media accounts were hacked and false remarks were posted in the name of the emir. Qatar's government said the statement was false.
No neutral authority has named the attackers. Qatar says the attack was linked to states that cut ties with it. The Washington Post reported, citing unnamed US officials, that the UAE was involved. The UAE denies any role.
Qatar's Ministry of Interior said a bug in the QNA website was exploited and a hacking file was installed in April 2017.
Qatar asked the United States for help and an FBI team was in Doha in early June 2017, according to Al Jazeera.
Sources differ. The Ministry of Interior says the fake news was published on 24 May 2017 at 12:13am. Two Al Jazeera articles give 23 May.
Saudi Arabia, the UAE, Bahrain and Egypt cut ties with Qatar on 5 June 2017, after earlier blocking Al Jazeera websites.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.