What a GeoCert says
A GeoCert is a signed statement: this operator runs this network, with these properties, in this area. GECKO's certificate format is generic. A core binds a verified domain to areas on the map, and named extensions say what kind of thing is registered. A WiFi network is the wifi extension. The concept of extensions follows the X.509 model: a client that doesn't understand an extension ignores it, unless the certificate marks it critical.
- Registrant
- airport-wipkingen.com
- Network
- Wipkingen Airport Free
- Security
- open + sign-in page
- Sign-in page
- login.airport-wipkingen.com
- Valid until
- 2027-11-01
{
"version": 1,
"certificate_id": "wipkingen-airport-free-2026a",
"domain": "airport-wipkingen.com",
"areas": [{ "type": "MultiPolygon",
"coordinates": [[[[8.5291, 47.3934], ...]], []] }],
"areas_altitude": [[380, 460]],
"not_valid_after": "2027-11-01T00:00:00Z",
"critical": ["wifi"],
"extensions": {
"wifi": {
"version": 1,
"operator": "Airport Wipkingen",
"ssid": "Wipkingen Airport Free",
"auth_modes": ["open"],
"portal": {
"domains": [
{ "name": "login.airport-wipkingen.com", "role": "primary",
"pinned_spki_sha256": ["<base64 key hash>"] },
{ "name": "pay.airport-wipkingen.com", "role": "delegate",
"pinned_spki_sha256": ["<base64 key hash>"] }
]
}
}
}
}| Field | What it means |
|---|---|
domain | The registrant, a domain the Geo CA verified. Certificates with the same domain belong to one operator. |
areas, areas_altitude | Where the claim holds: polygons on the map, plus a height range in metres. |
not_valid_after | Expiry. Keys are rotated by registering a new certificate before the old one expires. |
critical | Extensions a client must understand to judge the certificate. A client that doesn't understand one never says Verified or Conflict from it. |
wifi.ssid | The network name, compared case-insensitively. By default the name is exclusive here: another network using it is a Conflict. |
wifi.ssid_shared | Set for generic names that several operators legitimately share in one area. |
wifi.auth_modes | Every security mode the network offers (open, wpa2-personal, wpa3-enterprise, ...). A network offering weaker security than registered is a Conflict. |
wifi.portal.domains | Every sign-in page domain, with its role (primary entry point, delegate such as a payment page, api) and the hash of its key. The key pins are the trust anchor; a domain without pins never verifies. |
wifi.enterprise | For company and eduroam networks: the federation, the realms of local users, and the login (RADIUS) servers by name and key or CA pin. |
How a check works
- Join
Join the exact access point
GECKOGuard joins the network itself, pinned to the access point's hardware address, so it checks the one you would use.
- Observe
Record what it presents
It follows the sign-in page redirects and records the key of every HTTPS page on the way, plus the security modes the access point advertises.
- Look up
Ask the map
It asks the GECKO map which certificates cover its location and checks the answer's signature and proofs.
- Compare
Compare
Certificates for the network's name are compared with what was observed: domains, their roles and their pinned keys.
The lookup sends the map cells covering an area around the device (e.g. 50 m) and an altitude range, never an exact position.
Safe to fetch over a suspicious network
The phone often has to ask the map through the network it is checking, which might be the attacker's. That's fine, because the answer protects itself rather than relying on the connection:
- Signed map head. The map keeps every certificate in a Merkle tree, like a Certificate Transparency log. Its current state (the tree's root) is signed with a key the app has pinned.
- Inclusion proofs. Each certificate in an answer comes with a proof that it is in that signed tree. An attacker can't add a fake registration or alter a real one without the proof failing.
- Consistency proofs. The tree only grows. A proof that the new head extends the previous one stops the map from quietly rewriting history.
So an attacker in the middle has two options, and neither gives it Verified:
Block the lookup
No answer, nothing to compare.
UnverifiedForge or alter the answer
The proof or signature doesn't check out.
ConflictReplaying an old but genuine answer is the remaining gap. See open points.
From result to verdict
The prototype distinguishes more cases internally than the three verdicts on the main page. Only Conflict is meant to warn: most networks won't be registered, and warning about those would just be noise.
| Prototype state | When | Shown as |
|---|---|---|
VERIFIED | The network presented what is registered for it here. | Verified |
CONFLICT | Something is registered for this name here, but the network presented something else, or the map's proof failed. | Conflict |
UNRECOGNIZED | Certificates exist here, but none matches the presented domain. On an exclusive name this becomes a Conflict. | Conflict or Unverified |
UNVERIFIED | Nothing is registered for this network at this location. | Unverified |
UNREACHABLE | The map couldn't be reached. | Unverified |
Enterprise WiFi and eduroam, step by step
Enterprise networks, such as eduroam or a company's internal WiFi, give every user their own username and password, so there is no sign-in page. The phone sends the password itself, inside an encrypted tunnel, to whichever login server answers. Two things make this hard to protect: the phone has to know in advance which server to expect, and there is no internet before the login succeeds, so it can't look that up first.
Here is one first login, message by message. It is a one-time setup per account: once the phone has the right profile, every later connection is protected without any of these steps.
Meet Pablo. Pablo started studying at Uni Wipkingen, with the account pablo@uni-wipkingen.ch. On the first day, Pablo sits down in the university library and the phone shows eduroam.
Today, without GECKOGuard, if an impostor is nearby
- 1
Phoneeduroam
- identity
- anonymous@uni-wipkingen.chpublic
Pablo taps eduroam. The phone announces which university the account belongs to, so the network knows where to send the login.
- 2
Login serverPhone
- certificate for
- radius.uni-wipkingen.ch
- issued by
- Wipkingen Secure CA
- method offered
- EAP-GTC
An impostor answers with a certificate it made itself, under a convincing name. It also asks for EAP-GTC, a method that sends the password itself rather than a response computed from it (invisible downgrade attack). The phone has no way to judge the certificate, so it asks Pablo: "Trust this certificate?"
- 3
PhoneLogin server
- user
- pablosecret
- password
- Wipkingen2026!secret
Pablo taps Trust. An iPhone without a pre-installed eduroam profile accepts and sends the password. The encrypted tunnel ends at the impostor, so it reads the password in plain text.
The attacker now has Pablo's password, in plain text.
With GECKOGuard
Phase 1: onboarding, with nothing secret
- 1
Phoneeduroam
- identity
- onboard@gecko.orgpublic
- password
- geckopublic
GECKOGuard logs in with an onboarding account that is the same on every GECKO network and printed on this page. Nothing about Pablo is sent.
- 2
eduroamPhone
- access
- walled garden
- reachable
- GECKO map and realm records onlywhatever the attacker allows
- time limit
- 60 s
The network lets the phone reach GECKO’s services and nothing else.The impostor accepts the public login too. It costs it nothing.
- 3
PhoneGECKO map
- area
- map cells around the library
GECKOGuard asks what is registered here.
- 4
GECKO mapPhone
- network
- eduroam at Wipkingen University
- for accounts
- @uni-wipkingen.ch
- login server
- radius.uni-wipkingen.ch
- CA key
- sha256/9F3A…C21E
- method
- PEAP with MSCHAPv2
- proof
- valid
The site’s own GeoCert lists the login server for its own students. It comes with a proof, so GECKOGuard can check it even though it arrived over this network.The impostor relays the genuine answer from the real map. It can, because the answer is public, and it can't alter it without breaking the proof.
Phase 2: the real login, pinned
- 5
GECKOGuardPhone's WiFi settings
- server name must be
- radius.uni-wipkingen.ch
- CA key must be
- sha256/9F3A…C21E
- method must be
- PEAP with MSCHAPv2
- user
- pablosecret
- password
- ••••••••secret
Only now does GECKOGuard add Pablo's password, to a profile whose server name, CA key and method all come from the verified answer.
- 6
Login serverPhone
- certificate for
- radius.uni-wipkingen.ch
- CA key
- sha256/9F3A…C21Esha256/E7D0…4B19no match
- method offered
- PEAP with MSCHAPv2EAP-GTCno match
The key matches the registered one. The phone opens the encrypted tunnel and sends the password inside it.Neither the key nor the method matches the profile. The phone's WiFi stack ends the handshake on its own. The password is never sent and there is no prompt to tap.
Verified Connected. Pablo's password went only to radius.uni-wipkingen.ch.
Conflict Stopped before the password. The server's CA key and method aren't the registered ones.
Other things the impostor could try in phase 1: block the map, and GECKOGuard has nothing verified, so it never attempts the login (Unverified); or alter the answer, and the proof fails (Conflict). Either way, no profile gets Pablo's password.
Next time: no setup at all
This was a one-time setup for Pablo's account. The profile from step 5 stays on the phone (as if Pablo was using eduroam CAT). Whenever Pablo is near eduroam again, at home or on another campus, the phone connects with that profile directly and its pins reject an impostor's certificate exactly as in step 6. GECKOGuard only goes through onboarding again for a new account, or when Uni Wipkingen moves to a new login server or CA, which the old profile would reject.
See the GeoCert behind this scenario
{
"version": 1,
"certificate_id": "wipkingen-university-eduroam-2026a",
"domain": "uni-wipkingen.ch",
"areas": [{ "type": "MultiPolygon",
"coordinates": [[[[8.5262, 47.3951], ...]], []] }],
"areas_altitude": [[400, 480]],
"not_valid_after": "2027-09-01T00:00:00Z",
"critical": ["wifi"],
"extensions": {
"wifi": {
"version": 1,
"operator": "Wipkingen University",
"ssid": "eduroam",
"auth_modes": ["wpa2-enterprise", "wpa3-enterprise"],
"enterprise": {
"federation": "eduroam",
"aaa": [{
"realms": ["uni-wipkingen.ch", "*.uni-wipkingen.ch"],
"eap_methods": [{ "method": "peap", "phase2": ["mschapv2"] }],
"servers": [{
"names": ["radius.uni-wipkingen.ch"],
"ca_spki_sha256": ["nzrB…whI="]
}]
}]
}
}
}
}It says a registered eduroam runs here and which login servers its own users (@uni-wipkingen.ch) must reach. Hashes are base64 in the certificate; the steps above show them shortened.
Visiting another university
A week later Pablo spends a day at a different university (e.g. Limmat Institute), which also runs eduroam. Pablo's password still goes to Uni Wipkingen's login server: in eduroam, the visited network forwards every login to the user's home university.
The Limmat Institute's GeoCert lists only its own login servers. It can't list Uni Wipkingen's and it shouldn't: a site allowed to register login servers for other universities could enter its own and collect every visitor's password. So the pins have to come from Uni Wipkingen itself.
At home
The site's GeoCert
The network's own registration lists the login servers for its own users.
Visiting
The home university's realm record
Uni Wipkingen publishes its login details once, for eduroam / uni-wipkingen.ch, on a realm record server.
A realm record says how logins for one university work: which login server, which CA, which method. It is signed, so the phone can check it like a GeoCert. During onboarding the walled garden lets the phone reach the GECKO map and the realm record server. GECKOGuard checks that the Limmat Institute runs a registered eduroam, fetches Uni Wipkingen's record, and builds the same pinned profile as in step 5. If Pablo already set up the account at home, that profile is used as it is. The realm record concept has limits of its own, listed under open points.
See Uni Wipkingen's realm record
uni-wipkingen.ch in eduroam (sent as protobuf, decoded here)SignedRealmRecord
record:
realm uni-wipkingen.ch
federation eduroam
display_name Uni Wipkingen
eap_method PEAP
phase2 MSCHAPV2
outer_identity anonymous@uni-wipkingen.ch
server_names radius.uni-wipkingen.ch
ca_der <Uni Wipkingen Root CA, DER>
issued_at 2026-09-01
expires_at 2027-09-01
signature ECDSA P-256 over the record bytesIn the prototype, realm records come from a separate server and are signed with a key pinned in the app. In a full deployment they would sit in the GECKO map, with the same proofs as GeoCerts.
Rules that keep it strict
The format is designed so that anything unexpected fails safe, never towards Verified:
- Unknown fields are ignored, unless the certificate marks them critical. Then the certificate can't verify anything.
- Unknown values never match. A security mode or portal role the client doesn't know is treated as different from everything observed.
- Missing means strict. Every yes/no field defaults to the stricter reading, so leaving a field out never weakens a check.
- Pins, not the Web PKI. A sign-in page is trusted because its key is registered, not because some certificate authority signed it.
- One way in for passwords. In the prototype, a password can only be attached to a network profile whose pins came from a verified GeoCert or realm record, through exactly one code path.
- The algorithm is in the name. Hashes are fields like
pinned_spki_sha256; a pin in an algorithm the client doesn't know counts as no pin.
Open points
- System privileges. The design assumes the check is part of the device's WiFi manager or that it has the necessary permissions to perform the checks (e.g. rooted device). The prototype app currently runs on public Android APIs, which costs some extra approval dialogs and leaves it vulnerable to some captive portal attacks due to lack of continuous network monitoring.
- Realm records depend on every university taking part. Visitors are only protected if their home university publishes a realm record and only whoever controls a realm (a domain, such as
uni-wipkingen.ch) may publish one, checked like a domain in the Web PKI. - Realm records in the prototype come from a separate server, signed with one key pinned in the app. A deployment would keep them in the GECKO map with the same proofs as GeoCerts.
- Location privacy towards the map. A lookup only sends the map cells around the device, but the map server still learns roughly where the request came from. Who runs it, and what it logs, matters.
- Registered but misbehaving operators are out of scope. GECKO checks who may run a network at a place, not how they behave.