← Back to index
References / filed

ACCESS_NETWORK_STATE

Reads the current network state and connection type. A normal permission, granted at install, that any app needing a connection legitimately requires.

258 words2 min read
Filed under
#android#permissions#reference

Granted automatically at install, no runtime prompt. ACCESS_NETWORK_STATE lets an app query what state the device's network is currently in: whether there is a connection at all, and if so what kind, WiFi or mobile data, along with related connection properties.

It is classified as a normal permission, which is the key point for reading a manifest. Normal permissions carry no user-facing prompt and no review, so their presence in a list is not by itself evidence of anything. In mprivhaan's manifest it is the quiet companion to INTERNET: one grants the ability to open connections, this one reports what kind of connection exists to open.

The practical pairing is about behaviour rather than theft. An exfiltration client needs to know whether it has WiFi or cellular before deciding when and how to upload a stolen batch of SMS, contacts, or call logs, since the cost and the suspicion level differ sharply between the two. Checking state first is ordinary competent networking, and the permission is too ordinary to carry much signal on its own.

Worth separating from the three companion WiFi permissions. ACCESS_WIFI_STATE reads WiFi details specifically, and CHANGE_WIFI_STATE can toggle connectivity, which is the more unusual of the pair. All three are normal permissions granted at install.

Related: INTERNET, ACCESS_WIFI_STATE, CHANGE_WIFI_STATE

Part of Few Android permissions I have seen used often. All permissions here were seen in the mprivhaan analysis.