Study China Desk

Student Life in China

Cybersecurity Tips for International Students Using Public Wi-Fi in China

This guide covers the main security risks of public Wi-Fi in China and practical steps students can take to protect their devices, passwords, and personal…

This guide covers the main security risks of public Wi-Fi in China and practical steps students can take to protect their devices, passwords, and personal information. It also explains which rules and details change over time and where to check them.

For international students arriving in China, public Wi-Fi is often the first and most convenient way to get online, whether at an airport, a campus café, or a metro station. That convenience carries real risk. Public networks are shared with strangers, and many of them do not encrypt traffic. International students may also be unfamiliar with local network rules and security practices, and many networks require real-name registration, which adds a layer of personal data that must be handled carefully. This guide sets out practical steps to protect your devices, passwords, and personal information while studying in China.

Understanding the Public Wi-Fi Landscape in China

Public Wi-Fi in China operates under a different regulatory and technical framework than many students may be used to. The Cybersecurity Law of the People’s Republic of China requires network operators to verify users’ identities in many cases. This is often called real-name authentication. Depending on the network, you may need to confirm your identity with a Chinese mobile phone number or a passport before you can get online. The system is meant to improve accountability, but it also means your personal details are held by the service provider, which creates a record of your activity that you cannot fully control.

Beyond regulation, the technical environment matters. Some free hotspots in airports, hotels, and shopping malls use outdated encryption, such as WEP (Wired Equivalent Privacy), which is weak and can be broken with freely available tools. Other hotspots use no encryption at all. Some public networks in China are well maintained, but many are not, and you cannot tell which is which by looking at the name of the network. For students, this means that any unencrypted data, such as emails, login details, or messages, sent over such a network can be intercepted by anyone within range using simple packet-sniffing software.

Passengers queuing at an airport terminal in China.

The Three Most Common Threats on Public Networks

Man-in-the-Middle (MitM) Attacks

A Man-in-the-Middle (MitM) attack occurs when a malicious actor positions themselves between your device and the Wi-Fi router, intercepting data traffic. On an unencrypted public network, this is straightforward to do. The attacker may be able to read, modify, or inject content into your session without your knowledge. For example, if you log into your university portal or a banking app over an unencrypted connection, an attacker could capture your username and password in plain text. Attacks of this kind are a well-known reason to avoid sensitive logins on open networks.

Evil Twin Hotspots

An Evil Twin is a rogue Wi-Fi access point set up to imitate a legitimate network, often with a name such as a café brand or “Guest” network. Unsuspecting users connect to it, and the attacker can see their traffic. In China, where many public networks show a login page before granting access, it is relatively easy for an attacker to copy that page and collect credentials. Security agencies and vendors regularly describe fake hotspots as a common and growing threat in crowded public places, but you should confirm current guidance from the sources listed at the end of this guide rather than rely on any single figure.

Even after you log in to a website, your session is maintained by a small data token called a cookie. If an attacker on the same network captures this cookie, using tools that are widely available for testing networks, they may be able to impersonate you on that website without needing your password. This is a particular concern for email, social media, and university portals, where session cookies can remain valid for a period of time after you stop using the site. Log out of accounts when you finish, especially on shared or public networks.

Practical Defense: VPNs, Encryption, and Browser Security

Using a Virtual Private Network (VPN) Responsibly

A VPN (Virtual Private Network) encrypts traffic between your device and a remote server, which makes it much harder for anyone on the same local network to read. A VPN is one of the most effective defenses against MitM attacks and Evil Twin hotspots on public Wi-Fi. However, VPN use in China is regulated. Using VPN services that are not authorized by Chinese authorities can breach regulations, and the rules may change. Before you arrive, check the current position with the university’s international student office. Many Chinese universities provide their own network access to international academic databases, and the university can tell you which options are permitted for students. A properly configured, permitted VPN keeps your data encrypted even if a public hotspot is compromised.

Enabling HTTPS-Only Mode

Many websites support HTTPS (Hypertext Transfer Protocol Secure), which encrypts the connection between your browser and the website’s server. Some sites still default to plain HTTP, which leaves data exposed. Most major browsers include an HTTPS-only or secure-connections option in their settings, although the exact name and location vary by browser and version. Turning it on makes the browser try HTTPS first and warn you when a secure version is not available. Typing “https://” before an address is a simple habit that helps as well.

Browser Extensions for Extra Protection

Browser extensions can add another layer of protection. Script-blocking extensions such as NoScript stop JavaScript and other active content from running on sites you do not trust, which can reduce the risk of malicious scripts injected through a compromised network. The trade-off is that many websites will not work properly until you allow their scripts, so these tools suit students who are comfortable adjusting settings. Only install extensions from the official browser extension store, and remove any you no longer use.

Device-Level Settings That Reduce Risk

Turn Off File Sharing and AirDrop

Many laptops and smartphones have file sharing and AirDrop-style features that make your device visible to others on the same network. On public Wi-Fi, these should be turned off. On Windows, disable network discovery and file and printer sharing for public network profiles. On macOS, turn off AirDrop and file sharing in the system settings. On Android and iOS, turn off nearby sharing features when you are not using them. Menu names vary by operating system version, so use the settings search to find them.

Forget the Network After Use

Many devices automatically reconnect to known Wi-Fi networks. If you connect to a public hotspot once, your device may later try to join any network with the same name (SSID), including an Evil Twin set up by an attacker. After each session, open your Wi-Fi settings, select the network, and choose the option to forget it. This stops automatic reconnection and means you check the network name each time you connect. It is a simple habit that reduces exposure to fake hotspots.

Keep Software and Antivirus Updated

Outdated operating systems and apps contain known vulnerabilities that attackers can exploit over a network. Turn on automatic updates for your operating system, browser, and apps. Install a reputable antivirus or security tool and keep it updated. Windows includes a built-in security tool that is adequate when it is kept current. On macOS, keep the system updated, keep Gatekeeper enabled, and consider a reputable third-party malware scanner if you want an additional check.

The Great Firewall and Its Implications

China’s internet filtering system, widely known as the Great Firewall, blocks access to many foreign websites and services, including several major search engines, social media platforms, and international news sites. Because of this, some services you use at home may not work reliably in China, and some security features that depend on connecting to overseas servers, such as certain browser sync or password manager functions, may not behave as they do elsewhere. Students often use locally accessible alternatives, such as Baidu for search, QQ Mail or 163 Mail for email, and WeChat for messaging. For academic research, many universities provide access to international databases through their own network or a permitted VPN. Ask the university’s IT department how access works on your campus.

Public Wi-Fi Login Pages: What to Look For

When you connect to a public hotspot in China, the login page may ask for a Chinese mobile phone number to send an SMS verification code. This is a common requirement, and you should check the current rules for your situation. Before entering any details, verify that the page is genuine. Check that the address starts with “https://” and matches the official domain of the venue or operator. Ask a staff member for the exact network name and the login address. Never enter your passport number or other sensitive information on a login page unless you are certain it is authentic. If the page looks unfamiliar, asks for a payment you did not expect, or requests your bank card details, disconnect immediately.

Using a Local SIM Card for a Personal Hotspot

For sensitive tasks, such as online banking, submitting visa-related forms, or accessing university portals, the safest approach is to avoid public Wi-Fi altogether. A local SIM card from one of the major national mobile carriers (China Mobile, China Unicom, or China Telecom) lets you create a personal hotspot from your phone. Cellular connections are not exposed to the same local interception as open Wi-Fi, although your traffic still passes through the carrier’s network. SIM registration requirements apply to foreign customers, so check the current procedure with the carrier before you buy. For tuition payments, use the payment methods your university’s international student office recommends rather than paying through unfamiliar third-party links.

Emergency Steps: What to Do If You Suspect a Breach

If you notice unusual activity, such as password reset emails you did not request, unfamiliar logins to your accounts, or device behavior such as unexpected pop-up ads or sudden slowdowns, your data may have been exposed on a public network. The first step is to disconnect from the Wi-Fi immediately and switch to cellular data or a trusted wired connection. Next, change your critical passwords, including email, banking, and the university portal, from a device you trust. Enable two-factor authentication (2FA) on every account that offers it, because a second factor makes stolen passwords much less useful. Then run a full antivirus scan on your device. If you are unsure whether the device is still compromised, consider a professional check or a reset of your network settings to clear any unknown proxy or DNS configurations. If financial information was involved, contact your bank. To report a crime, contact the police; 110 is the police emergency number in China.

FAQ

Q1: Is it safe to use public Wi-Fi in Chinese airports and train stations?

Public Wi-Fi at airports and railway stations usually requires identity verification through a Chinese phone number or passport. These networks are run by large operators, but that does not guarantee strong encryption or a secure setup. Treat any public network as untrusted for sensitive tasks. For activity that involves passwords, banking, or official forms, use a permitted VPN or a personal hotspot instead.

Q2: Can I use my home country’s VPN in China?

Many foreign VPN services are blocked in China, and using VPN services that Chinese authorities have not authorized may breach regulations. Rules on this topic can change, so check the current position before you arrive. Your university’s IT department or international student office can explain which network options are available to students on campus. Using an unauthorized VPN may lead to slow or blocked connections, and penalties may apply. Do not rely on a VPN you have not confirmed is permitted.

Q3: How do I recognize an Evil Twin hotspot in China?

An Evil Twin hotspot often has a name that looks almost identical to a legitimate network, for example with a small change in spelling or punctuation. Confirm the exact network name with a staff member at the venue before you connect. If the login page does not use HTTPS (check for the padlock icon in your browser), or if it asks for unusual information such as your bank card number, disconnect immediately. When in doubt, use your personal hotspot.

Where to check