Zambia: Social media blocked amid 2021 general elections

Blocking of WhatsApp

Recently, on 12th August 2021, general elections were held in Zambia, during which access to popular online social media platforms was reportedly blocked.

In this report, we share relevant OONI data on the blocking of WhatsApp, Twitter, and Facebook amid Zambia’s 2021 general election.

Background

While Zambia hasn’t experienced pervasive forms of internet censorship (such as the blocking of popular social media apps) over the last years, various forms of censorship have been reported in the country.

Back in 2012, Zambia’s registrar of societies threatened to deregister the Zambian Watchdog, an investigative online media that focuses on corruption and other major crimes, for allegedly failing to pay required fees and submit a postal address. While this attempt was unsuccessful, the news website was nonetheless blocked. In 2013, we published a report demonstrating that Deep Packet Inspection (DPI) filtering techniques were used to block access to Zambian Watchdog’s website. Between July 2013 to April 2014, Zambia Reports, Barotse Post, and Radio Barotse (in addition to Zambian Watchdog) were reportedly censored for about nine months for their critical coverage of the ruling party.

During Zambia’s 2016 general election, OONI network measurements were collected from the country to examine the accessibility of websites and applications. We analyzed more than 38,000 network measurements collected from a local vantage point (MTN) in Zambia. At the time, we published a research report documenting that we had not found any substantial evidence of internet censorship amid Zambia’s 2016 general election (though our study did present limitations).

Other forms of censorship, however, were reported leading up to the election. In June 2016, for example, the government banned The Post, one of Zambia’s few independent newspapers, over unpaid taxes. Following the 2016 general election, opposition leader Mr Hakainde Hichilema was arrested on treason charges in April 2017 (and held in prison until August 2017) for allegedly failing to give way to the presidential motorcade. While in prison, Mr Hichilema reported that he was held in solitary confinement for eight days in a room without electricity, water or a toilet.

In the years leading up to Zambia’s 2021 general election, Amnesty International reported that censorship, excessive use of force by the police, arbitrary arrests and detention created a climate of fear and impunity in the country. In March 2020, for example, a 15-year-old boy was charged with three counts of criminal libel for allegedly defaming President Lungu on Facebook. In April 2020, Zambian authorities revoked the broadcasting license of Prime TV, a popular television station known for its critical coverage of the government.

Zambia’s 2021 general election resulted in a landslide victory for Mr Hichilema of the United Party for National Development (UPND) – defeating incumbent President Edgar Lungu of the Patriotic Front. This was Mr Hichilema’s sixth attempt at winning the presidency, having lost the previous (2016) election by a very narrow margin. Mr Lungu claimed that the 2021 elections were “not free and fair”, but accepted defeat and committed to a smooth transfer of power.

As internet access has frequently been interfered with during elections across Africa over the last years (such as during Uganda’s 2021 general election and Tanzania’s 2020 general election), the #KeepItOn campaign – a global coalition of human rights organizations fighting internet shutdowns worldwide – published an open letter to President Lungu ahead of Zambia’s 2021 general election, requesting that access to the internet in Zambia be kept open and secure throughout the election period. Amid fears of an internet shutdown, the Zambian government reportedly dismissed these concerns and promised to maintain the free flow of information during the elections. But a few days later, the Zambian government reportedly threatened to shut down the internet if citizens used it to “mislead and misinform” voters.

On election day, 12th August 2021, multiple reports surfaced on the blocking of WhatsApp and other online social media services. Community members in Zambia ran OONI Probe (our app for measuring the blocking of websites and apps) and reported that WhatsApp was blocked. This was further confirmed by a Facebook spokesperson, who reported that Zambia’s “social media shutdown had affected their apps and others, like Twitter”. While Zambia counted votes the next day, internet restrictions reportedly remained in place, while Zambians said that they were using VPNs to circumvent the social media blocks.

In the following sections, we share our analysis of OONI measurements collected from Zambia, examining the blocking of social media services amid Zambia’s 2021 general election.

Methods

Since 2012, we have built a free and open source app – called OONI Probe – designed to measure various forms of network interference. OONI Probe includes a variety of network measurement tests which measure the blocking of websites, instant messaging apps (WhatsApp, Telegram, Facebook Messenger, Signal), and circumvention tools (Tor, Psiphon, RiseupVPN); OONI Probe also includes several network performance tests.

OONI Probe has been run by people in Zambia since 2016. By default, all OONI Probe test results (called “measurements”) are automatically sent to OONI servers, processed, and openly published in near real-time. This enables us – and the broader internet freedom community – to examine censorship events in Zambia and around the world based on empirical network measurement data. Since 2016, OONI Probe users in Zambia have contributed more than 742,000 measurements from 20 local networks.

As part of this study, we limited our analysis to OONI measurements collected from Zambia between 1st August 2021 to 18th August 2021 (to include Zambia’s 2021 general election period). We further limited our analysis to measurements collected from the following OONI Probe tests (which check for the accessibility of social media services):

The first 4 tests (WhatsApp, Facebook Messenger, Telegram, Signal) are designed to measure the reachability of the respective apps from the local vantage point of the OONI Probe user. The WhatsApp test, for example, aims to examine whether the WhatsApp mobile app and WhatsApp web version (web.whatsapp.com) are blocked on a local network, and if so, how.

To this end, the WhatsApp test attempts to perform an HTTP GET request, TCP connection, and DNS lookup to WhatsApp’s endpoints, registration service, and web version (web.whatsapp.com) from the local vantage point of the OONI Probe user. If TCP connections fail, HTTP requests do not send back a consistent response, and/or DNS lookups resolve to IP addresses that are not allocated to WhatsApp, then those test results (called “measurements”) are automatically annotated as “anomalies”.

An anomalous measurement presents a sign of network interference (and may contain evidence of blocking), though false positives can emerge. To rule out false positives, it is necessary to examine relevant measurements (collected from the same AS network) in aggregate over time, in order to evaluate whether the same failures persist within a specific timeframe. The larger the volume of measurements presenting the same anomalies, the greater our confidence in determining the blocking of an internet service.

As part of our analysis, the testing of WhatsApp presented a larger volume of anomalous measurements within the analysis time frame in comparison to the testing of Telegram, Facebook Messenger, and Signal. While the testing of Telegram and Facebook Messenger presented some anomalies during Zambia’s election period, we have excluded those measurements from our findings because most of the measurements collected during that period were successful, and the few anomalous measurements didn’t suffice for the confirmation of censorship.

Similarly, we limited our findings to OONI Web Connectivity measurements that presented the largest volume of consistent anomalies within the analysis period. The OONI Probe Web Connectivity test is designed to measure the DNS, TCP/IP, and HTTP blocking of websites from two vantage points: the local network of the OONI Probe user and a control (non-censored) network. If the results from both networks match, the tested URL is considered accessible. But if the results differ from the two networks, the measurement is flagged as an “anomaly”.

Anomalous measurements are further characterized by the means of failure:

Based on our current heuristics, we only automatically confirm the blocking of websites when a block page is served (and we have added the fingerprint of that block page to our database). As we did not detect any block pages in Zambia, we have analyzed anomalous Web Connectivity measurements to examine whether the same types of anomalies (“DNS”, “TCP/IP”, “HTTP-failure”, “HTTP-diff”) are present consistently on the same AS networks.

Generally, the OONI Probe Web Connectivity test measures the websites included in the Citizen Lab test lists (where URLs are categorized based on 30 standardized category codes). As part of this study, we limited our analysis to websites (from the Citizen Lab test lists) categorized as “Social Networking (GRP)”, since our goal was to check whether social media websites were in fact blocked in Zambia amid the 2021 elections.

Findings

OONI data suggests that access to WhatsApp, Twitter, and Facebook was blocked on several local networks in Zambia on election day, 12th August 2021. Further details are shared below.

Blocking of WhatsApp

Leading up to Zambia’s 2021 general election, the WhatsApp app was tested periodically on a few local networks in Zambia and those measurements showed that the app was reachable at the time. But suddenly on 12th August 2021 (the day of Zambia’s 2021 general election), OONI measurements collected from 7 local networks showed that the testing of WhatsApp presented anomalies, suggesting that the app was blocked.

The following chart aggregates OONI measurements collected from 8 local networks in Zambia, illustrating the blocking of WhatsApp on 12th August 2021.

Blocking of WhatsApp

Source: OONI measurements on the testing of WhatsApp, collected from Zambia between 1st August 2021 to 18th August 2021: https://explorer.ooni.org/search?until=2021-08-18&since=2021-08-01&probe_cc=ZM&test_name=whatsapp

As is evident from the above chart, almost all OONI measurements collected from 7 local networks in Zambia presented signs of blocking between 12th August 2021 to 14th August 2021, which coincides with Zambia’s 2021 general election. The timing of these anomalies is also consistent with what was reported by internet users on the ground, who reported WhatsApp inaccessibility on 12th August 2021, mentioning that access had been restored by 14th August 2021. Overall, the fact that most OONI WhatsApp measurements presented anomalies on 12th August 2021 (whereas measurements collected before 12th August 2021 and after 14th August 2021 were accessible), coupled with widespread user reports from Zambia, provides a strong indication that WhatsApp was in fact blocked amid the election.

When looking at raw OONI measurement data, we see that the connections to the WhatsApp registration service and WhatsApp web interface (web.whatsapp.com) timeout during the TLS handshake (while the IP addresses of the services were not blocked), as illustrated below:

WhatsApp measurement data

Source: OONI measurement testing WhatsApp in Zambia on 12th August 2021, https://explorer.ooni.org/measurement/20210812T193919Z_whatsapp_ZM_36959_n1_eQoGMPZL9SGn5yUQ

This suggests that the blocking of WhatsApp was likely implemented through the use of Deep Packet Inspection (DPI) technology. Interestingly, we observe that WhatsApp was blocked in the same way on at least 7 different local networks.

Blocking of Twitter and Facebook

Similarly to WhatsApp, we observe that Twitter and Facebook domains were accessible when tested on several local networks in Zambia leading up to the 2021 general election. But on election day, 12th August 2021, the testing of these domains presented anomalies, while accessibility appears to have been restored by 14th August 2021.

The following chart aggregates OONI measurements (collected from several local networks in Zambia) on the testing of Twitter and Facebook domains during the 2021 election period, illustrating that these domains were blocked on election day.

Blocking of Twitter and Facebook

Source: OONI measurements on the testing of Twitter and Facebook domains in Zambia between 1st August 2021 to 16th August 2021, https://explorer.ooni.org/search?until=2021-08-25&since=2021-07-26&domain=twitter.com&probe_cc=ZM, https://explorer.ooni.org/search?until=2021-08-25&since=2021-07-26&domain=www.facebook.com&probe_cc=ZM

As is evident from the above chart, we not only observe that the testing of Twitter and Facebook domains presented anomalies (on several different networks) on the same dates (12th and 13th August 2021), but we also see that they presented the exact same anomalies (annotated as “HTTP failures”), providing a stronger signal of blocking (since it suggests the use of a specific censorship technique, rather than transient failures that can lead to false positives). The timing of the Twitter and Facebook anomalies is also consistent with the timing of the anomalies presented in the testing of WhatsApp (as discussed in the previous section), further providing a signal of blocking.

In the testing of both twitter.com and www.facebook.com (on several networks in Zambia), we observe HTTP failures caused by connection timeouts during the TLS handshake (which is also what we observed in anomalous WhatsApp measurements), suggesting the potential use of Deep Packet Inspection (DPI) technology.

This, for example, is observed in the following snippet taken from an OONI measurement testing www.facebook.com on AfriConnect Zambia (AS36959) on 12th August 2021.

Facebook measurement data

Source: OONI measurement testing www.facebook.com in Zambia on 12th August 2021, https://explorer.ooni.org/measurement/20210812T204908Z_webconnectivity_ZM_36959_n1_AZ5BoKKNzq2lCohc?input=https%3A%2F%2Fwww.facebook.com%2FZambiaReports%2Fposts%2F598392566945439

Similarly, we observe connection timeouts during the TLS handshake when testing twitter.com on Zain Zambia (AS37287) on 12th August 2021 (as well as on several other networks), as illustrated below.

Twitter measurement data

Source: OONI measurement testing twitter.com in Zambia on 12th August 2021, https://explorer.ooni.org/measurement/20210812T202638Z_webconnectivity_ZM_37287_n1_o1wGOLDUlLYa175o?input=https%3A%2F%2Ftwitter.com%2F

Interestingly, we observe the same connection timeouts in the testing of twitter.com and www.facebook.com across several different AS networks in Zambia, suggesting that local ISPs adopted the same censorship techniques for the blocking of online social media services.

Reports surfaced on the blocking of Instagram amid the elections, but we have not been able to corroborate this based on OONI data, which shows that www.instagram.com was accessible when tested on 3 AS networks (AS37287, AS36962, AS36959) in Zambia between 11:53 UTC to 20:49 UTC on 12th August 2021.

Conclusion

Amid Zambia’s 2021 general election, WhatsApp, Twitter, and Facebook presented signs of blocking on several local networks in the country.

OONI data on the testing of the WhatsApp mobile app and web interface (web.whatsapp.com), Twitter and Facebook domains shows that:

The fact that WhatsApp, Twitter, and Facebook presented the same timing in terms of connectivity failures, and that they presented the same connection timeouts during the TLS handshake, suggests:

Moreover, the timing of anomalies presented in OONI network measurement data is corroborated by widespread media reports and user reports from the ground on the blocking of these specific social media services.

This is not the first time that social media is blocked during elections. Access to social media has frequently been blocked amid elections across Africa (and around the world) over the last years. Earlier this year, for example, Uganda blocked social media services (regardless of OTT tax payment) in the run-up to its 2021 general election, and disconnected the internet entirely on a nationwide level on the eve of the election (the internet outage lasted for almost 5 days). Last year, Tanzania, Burundi, and Togo blocked access to social media services on election day.

While it seems that social media services may have been blocked in Zambia in an attempt to prevent the spread of misinformation, the necessity and proportionality of these blocks remains unclear, while the free flow of information is essential in ensuring free and fair elections.

You can monitor the accessibility of social media services in your country (and around the world) through the use of OONI Probe (and OONI Run for the coordination of remote testing), and by analyzing OONI data, which is openly published in near real-time.

Acknowledgements

We thank OONI Probe users in Zambia who contributed measurements, supporting this study.