Unusual-location alerts#

Unusual-location alerts tell your organisation when a machine or key reports to the dashboard from a country it has not reported from before. They are one signal for spotting a copied key, not proof of one. This page is for the owners and admins who turn them on.

Note

This is part of the optional hosted dashboard. Your caps are enforced on each machine and work the same with or without it. The proxy does not change, and nothing new is uploaded from a machine.

Which plans have it#

Unusual-location alerts are part of the Pro and Business plans, and of the Business trial. On the free Individual plan the Settings page shows a note in place of the switch.

If a workspace drops to the free plan, recording and alerts stop. What was recorded is kept, for owners and admins to review, until it is 13 months old or you delete it. The switch stays as you left it, so recording starts again by itself when the workspace is back on Pro or Business.

What it does#

When the switch is on, the dashboard works out a country from the network address each upload arrives from, and keeps only the country. It never stores the address.

  • The Machines page gets a column, “Location (approximate, from network address)”. Each machine shows its last country and the time it was last seen from there (“as of”), and the date of the country table used. A country the table does not know shows “Unknown”.

  • The first country a machine reports from after you turn the switch on is its baseline: it is recorded and raises no alert.

  • A later report from a country that machine has not reported from before raises one alert for that country. Seeing the same country again does not raise another one. After you delete the recorded countries, a country that raised an alert before can raise it again.

  • A machine’s first country is not a baseline when the key it uses has already been seen only in other countries: that raises an alert too, so a key copied to a new machine in a new country is noticed.

  • The alert shows on the Overview page, and, if email is set up, goes by email to owners and admins.

Only owners and admins see a machine’s country and these alerts. Other members do not.

Turn it on#

  1. Sign in as an owner or admin and open Settings.

  2. In “Unusual-location alerts”, choose Turn on. The change is written to the workspace change log.

It is off until you do this. Turning it off stops the lookups and the alerts. The countries already recorded and the new-country alerts are kept, so owners and admins can still review them; the Machines page then says recording is off.

To delete them, tick the box under the switch and choose Delete recorded countries. This deletes every recorded country and new-country alert of your organisation at once, whether the switch is on or off, and is written to the workspace change log. Alerts of other kinds stay.

Unless you delete it sooner, a country is deleted 13 months after the machine was last seen from it, and a new-country alert is kept 13 months like other alerts. Countries are kept for the machine and for the dashboard key it reported with.

Tell your members#

Turning it on covers every member’s machines, not only yours. Tell your members what it records (a country per machine, never the address) and who can see it (owners and admins). Telling them is your organisation’s responsibility.

Email#

Email goes to the workspace’s owners and admins whom the plan covers (a member outside the plan’s limit is not emailed), one email per address. It needs the operator of the dashboard to set it up; the Settings panel says when email is not set up, and alerts then show on the Overview page only. At most 5 location alerts are emailed per workspace per hour. Past that, alerts show on the Overview page only, and the page says so.

The email names the machine, the old and new country and the time, says the location is approximate and that a VPN changes it, and ends with the workspace’s name and a link to Settings, where you can stop these alerts. It never contains a network address. Lockpin keeps a record that an email was sent, with a hash of the recipient’s address and not the address, for 90 days.

What “Disable this machine’s keys” does#

The Machines page offers Disable this machine’s keys to owners and admins, after a confirmation. It does not depend on the unusual-location switch.

  • It revokes for good the dashboard-managed keys bound to that machine. A revoked dashboard-managed key cannot be turned back on. Create new keys on the Keys page to replace them.

  • A key bound to several machines stops on all of them. The page shows how many of that machine’s keys are also bound to other machines.

  • It reaches a machine only if that machine fetches dashboard-managed keys (-managed-keys).

  • It does not touch a key with no machines chosen. That key goes to every machine, so it is not “this machine’s”; the Keys page has it.

  • It does not touch keys that exist only on the machine. The dashboard cannot disable those. On the machine, run lockpin keys disable with the key’s name. When the dashboard holds no key bound to a machine, the page says so and shows that command.

Nothing is disabled automatically. A new country raises an alert; the button is on the machine’s row on the Machines page only, and the alert email links to that page. A person decides.

Known limits#

  • The country comes from the free “IP to Country Lite” table by DB-IP (IP Geolocation by DB-IP), which DB-IP describes as reduced in accuracy and which Lockpin updates by release, not live. The dashboard shows the month of the table in use.

  • The country is approximate. A VPN, a company network or a mobile carrier can show another country, and someone in the same country as the machine is not noticed. It is not an exact location, and Lockpin does not claim to catch every stolen key.

  • The alert arrives after the upload, so it reports use that has already happened.

  • Only dashboard-managed keys can be disabled from the dashboard.

  • A credential that only fetches its settings from the dashboard, and never reports, is not located. Fetching settings does not say which machine is asking, so the dashboard records a country only from reports.

  • Countries come from an embedded table that is updated only when the dashboard is. The Settings panel and the Machines column show the table’s date.