By Robert Olson
TikTok is not be the first app to be scrutinized over the potential exposure of U.S. user data, but it is the first widely used app that the U.S. government has proposed banning over privacy and security concerns.
So far, the discussion has focused on whether TikTok should be banned. There has been little discussion of whether TikTok could be banned, and there has been almost no discussion of the effects on cybersecurity that a TikTok ban could cause, including encouraging users to sidestep built-in security mechanisms to bypass a ban and access the app.
As a cybersecurity researcher, I see potential risks if the U.S. attempts to ban TikTok. The type of risk depends on the type of ban.
Blocking TikTok in the network
Blocking access to TikTok by filtering traffic destined for addresses believed to be owned by TikTok is possible but would be difficult to accomplish. Server addresses can be changed and a TikTok ban could devolve into a game of cat and mouse.
Additionally, this sort of block could be bypassed using virtual private networks (VPNs), which encrypt data flowing between servers and devices. VPNs can be used to shield traffic between servers in other countries and devices in the U.S. VPNs were once widely recommended for people using public Wi-Fi, and people are already using VPNs to access blocked streaming services. While security experts no longer recommend VPNs for public Wi-Fi, many people have used them and so are familiar with a tool that would help them bypass a TikTok ban.
DNS sinkholes are another technique that could be used in TikTok bans. DNS, the Domain Name System, is a network protocol that behaves like the internet’s phone book. Computers need to know the IP address of a server in order to communicate with it. DNS allows a computer to look up that address using a name convenient for humans to remember, such as www.google.com.
DNS sinkholes stop that lookup. DNS sinkholes don’t directly block access to a server. Rather, they stop other computers from being able to look up the server’s address. It’s fair to think of a DNS sinkhole as removing someone’s name from a phone book.
DNS sinkholes are often used to stop malware and advertisements. They could be used in a TikTok ban. However, DNS sinkholes only work if lookups are confined to DNS servers that are configured to be sinkholes. A ban using DNS sinkholes would likely cover most DNS servers that people’s computers use by default.
However, you can relatively easily change DNS settings on your computer to circumvent a ban based on DNS sinkholes. There are many public DNS servers that people could use instead of their current DNS servers, which are commonly maintained by internet service providers. Blocking TikTok with DNS sinkholes would require significant international cooperation to make it difficult for people to find DNS servers that could access TikTok.
People circumventing a ban by looking for an alternate DNS server would be at risk. Unless a DNS server uses an uncommon extension named DNSSEC, you can’t verify the integrity of a DNS response. A malicious DNS server could reply to a lookup with an IP address of a server that’s under criminal control. This opens the door for a number of different kinds of attacks that could put your data at risk.
Banning TikTok from your phone
Another way TikTok could be banned is by blocking the TikTok mobile app. This would not affect U.S. users’ ability to access the TikTok website, but it could change how and how often people access TikTok. Blocking the app could address the concern that TikTok could be used without the user’s knowledge to access other systems on a network that a mobile device is connected to. This has been the motivation for some local TikTok bans.
Removing TikTok from app stores is unlikely to succeed by itself. Both Android and iOS devices have the ability to install apps from alternative sources, a technique known as sideloading. While this added step may discourage some people, sideloading tutorials are widely available online, and there is already popular software that must be sideloaded to be used on a phone.
Mobile devices assume that mobile apps are coming from a trusted source. Both Google and Apple audit mobile apps prior to the app being available for download. While these reviews aren’t perfect, they help ensure apps don’t contain vulnerabilities or malware. When app stores aren’t involved, security responsibilities change. Sideloading makes users responsible for verifying an app’s legitimacy, and criminals could trick users into installing malicious apps from third-party sources.
But what about the millions of people who already have TikTok installed on their phones? Enforcing a TikTok app ban would likely require that it be removed from mobile devices. Apple has long had the ability to remove software from iPhones, and Google could remove apps using Google Play Protect. These tools are important security controls that, at least on Android devices, can remove malware even if it was sideloaded. Enforcing a ban using security controls could motivate users to disable these controls, which would weaken the security of their devices.
Users might even be motivated to “jailbreak” their iOS devices or “root” their Android devices to prevent Apple or Google from removing the TikTok app, which would further weaken security. Jailbreaking an iOS device allows users to bypass security restrictions in the operating system. Rooting an Android device means gaining the highest level security access, which allows users to make changes to the operating system. Jailbreaking and rooting are prohibited by Apple and Google. Both actions void the user’s warranty and undermine the security controls that limit criminals’ access to mobile devices.
Security tradeoffs
I find it unlikely that a TikTok ban would be technologically enforceable. Even China struggles with content filtering. These difficulties may be why proposed legislation includes significant punishments for bypassing the ban.
Even if the punishments are not aimed at the average TikTok user, this proposed legislation – aimed at improving cybersecurity – could motivate users to engage in riskier digital behavior.
Robert Olson is Senior Lecturer of Computing Security at the Rochester Institute of Technology.
The Conversation arose out of deep-seated concerns for the fading quality of our public discourse and recognition of the vital role that academic experts could play in the public arena. Information has always been essential to democracy. It’s a societal good, like clean water. But many now find it difficult to put their trust in the media and experts who have spent years researching a topic. Instead, they listen to those who have the loudest voices. Those uninformed views are amplified by social media networks that reward those who spark outrage instead of insight or thoughtful discussion. The Conversation seeks to be part of the solution to this problem, to raise up the voices of true experts and to make their knowledge available to everyone. The Conversation publishes nightly at 9 p.m. on FlaglerLive.
Jimbo99 says
“…a TikTok ban could devolve into a game of cat and mouse.”
That ship sailed a long time ago with Facebook & Twitter. The DC swamp is losing the economic war against Communist China. A lot of this started under W Bush as Corporations like IBM sold their divisions to Lenovo. We all know Neil Bush of the Bush family was heavily involved in the first decade of 2000’s. Hunter Biden ? Milking the cash cow from both sides ? End of the day here, Chinese Communist Labor model is what America has been as a business model for at least 2 decades, before that it was Japan from the 1970’s. Where labor is cheapest that’s where Capitalism will go. Materials, there are no shortages, that’s just a reason to raise prices for inflation. And the pollution is 1/2 way around the world and eventually the environment delivers it as filtered as the planet can filter the pollution. What happens ? Well the likes of the International business types buy Chinese goods for lowest cost, then marks them up accordingly for the USA’s standard/cost of living, several times more than ever before. Think Wal-Mart & Target ?
https://www.usatoday.com/story/news/politics/2023/03/16/house-republicans-hunter-biden-china/11484189002/
Pogo says
@99
Your cry for help is important to God — please stay on the line, to speak to the next available hallucination.
The Villa Beach Walker says
Professor Olsen is correct that a TikTok ban would be difficult and likely expose those who circumvent such a ban to many more direct cyber threats.
But what about TikTok and other social media sites enforcing the rules outlined in the registration agreements that these social media sites require agreement to before use? Just enforcing those rules would limit access to these applications to minors.
Closer to home why aren’t more parents who give their minor children using the parental controls that are built into virtually all phones, tablets, and computers to control or prevent access to social media? If you are giving your child an iPhone simply control the iTunes / Apple Store account associated with the device and use parental controls to prohibit the installation of the application. The process is slightly harder for Android device users.
Joe D says
Parents could and should do this…
…however parental controls are getting more complicated to apply. I did set the controls, and ended up with restricting my children’s access so
much that I had to override the controls frequently/daily(?) for them to be able to complete classroom home assignments, or just let them use MY access for the homework ( NOT a good permanent solution). After awhile I just took off most of the parental controls, because it took too much time to keep adjusting them, based on the device /assignment use.
But I do agree that just handing your child or TEEN an internet accessible device is like letting the front door of your house unlocked with a lighted arrow stating “come on in!”
Having 3 teens at the same time all with devices, was maddening! Having FRANK discussions with them about the dangers was only partially successful.