Login history
When an investigation was opened by a login alert, its section Where it came from holds the history of every SSH login attempt on the host around the alert: which addresses tried, with which names, when, and whether one of them got in. Open Pulse > Investigations in the console, then select the investigation.
This page explains what each part of the section shows and how to read it. What the agent sends, how long it is kept and how to turn it off or mask it are on the bitcollector page SSH login attempts.
When the login history is shown
- Which investigations. Those whose alert is Burst of failed logins, Root login or Login from a new country. Other investigations have no login history.
- Which period. From 15 minutes before the first alert of the investigation to 2 minutes after the last one. When that period is longer than seven days, its newest seven days are shown; the older attempts stay searchable in Indices. To read a part of the period, or an older part of a long one, use the time range.
- Which hosts. The host must run bitcollector 0.18.0-ga or later when the attempts happen. For older agents, see investigations opened before 0.18.0.
- For how long. The records are kept for 90 days. The history window of your plan does not narrow the login history: it is evidence of an investigation you already hold.
What the section shows
| Part | What it shows |
|---|---|
| Time range | A filter at the top that narrows the whole section to a part of the period. |
| Totals | The figures of the period: attempts, failed, accepted, probes, source addresses, countries, network providers and login names tried. |
| Globe | One marker per city the attempts came from (one per country where no city is known). |
| Timeline | Failed logins, accepted logins and probes over time. |
| Breakdowns | Four tabs: by source address, by country, by network provider and by city. |
| Attempt history | One row per attempt, newest first, with filters. |
Time range
The list Time range, at the top of the section, narrows everything the section shows to a part of the period: the totals, the globe, the timeline, the breakdowns and the attempt history.
- The whole alert window shows the whole period. It is the choice the section opens with.
- Its last hour, Its last 6 hours, Its last 24 hours and Its last 3 days show the end of the period. A choice as long as the period, or longer, is not offered.
- A range I choose shows a From and a To field. Set a start and an end inside the period, then select Apply range.
- While a range is applied the section shows Filtered by time. Clear time range returns to the whole period.
What to know:
- A range can only narrow the period. A start or an end outside it is held to the period.
- When the period is longer than seven days, choose a range to read an older part of it: the section shows up to seven days of the range you choose.
- A range that holds no attempt shows zeros and keeps the filter in place.
- If a range cannot be read, the section keeps what it showed before and says so. Try again, or choose a shorter range.
- The detection records under the section are not filtered by the time range.
One country
Select a country in the list Countries beside the globe, on the globe, or in the Countries tab of the breakdowns, and the whole section shows that country only: the totals, the globe, the timeline, the breakdowns and the attempt history.
- The list of countries keeps every country, so you can choose another one. Select the same country again, or Show every country, to return to all of them.
- The country and the time range combine.
- While the figures of the country are read, the tables are already filtered and the section says that the totals and the timeline still cover every country.
- The detection records under the section are not filtered by the country.
Totals
- Attempts counts everything recorded in the period.
- Failed counts the logins the host refused, including those with a name the host does not know.
- Accepted counts the logins that succeeded. It is highlighted when it is above zero: an accepted login after failures is the thing to look at first.
- Probes counts the connections that ended before a login was tried or completed: no SSH identification, a bad protocol version, no common algorithm, too many attempts, or a connection closed before authentication finished.
- Source addresses, countries, network providers and login names tried count the different values seen.
Globe
The globe draws the country outlines and one marker per city, at its position. The size of a marker follows the number of attempts, and the marker is red when a login from that city was accepted. A country with attempts but no known city keeps one marker of its own.
- Drag to rotate, zoom in or out, and hover a marker to read its summary: the city, its region and country, and the counts of attempts, failed, accepted and source addresses.
- Click a marker to filter everything below by the country of that city. The attempt list cannot be filtered by city.
- The countries the attempts came from are named on the globe, in your language: the busiest ones in the first view, all of them once you zoom in. Zoomed in, the cities are named beside their markers. A name is left out where it would cover another.
- When a country is selected, the globe shows the markers of that country only and turns to it.
- The host itself is on the globe, as a ring with a dot and its name, with a line from each of the busiest sources to it. Its place is where the network registers the host's own address, so it is approximate, like the cities. It is shown only when the host has a public address the city table holds: for a host with a private address, or with no address recorded, a line under the globe says so and no place is invented. The address of the host is not shown here.
- Reset view returns the globe to its starting view.
- If your system asks for reduced motion (
prefers-reduced-motion), the globe does not rotate by itself. - If your browser cannot draw 3D graphics (WebGL), the section says so and shows the breakdowns without the globe.
The breakdowns by country and by city hold the same information for keyboard and screen reader users.
Timeline
The timeline shows the failed logins, the accepted logins and the probes of the period over time. Use it to see when the attempts started, how long they lasted, and whether an accepted login came after a run of failures.
Breakdowns
Four tabs group the attempts by source address, by country, by network provider and by city. Each tab lists its rows from the most active down, with their counts. The source address tab lists the 200 most active addresses, the network provider tab the 50 most active providers and the Cities tab the 100 most active cities. The totals count all of them.
The Cities tab shows, for each city: the city, its region, its country, and the counts of attempts, failed, accepted and source addresses. A last row, No city known, groups the addresses that have no city. The tab is shown only when the city table is available.
Select a source address to open its detail: the first and the last attempt, the counts, the login names it tried, its network provider, its city and country, and its behaviour label with the signals that led to it (see Automated, a person, or not enough evidence).
Attempt history
One row per attempt, newest first: time, source address and port, city and country (for example "Paris, France"), network provider, login name, method and result. When no city is known, the country is shown alone.
- Filter by result, country, address or name. The address and name filters match the whole value, not a part of it.
- The list shows 10 rows at a time. The rows of a further page are read when you open that page.
- The same records are in Pulse > Indices (index Events,
kindisauth.attempt). On a page that holds some, Indices offers Hide login attempts, which adds the filterkindis notauth.attempt.
Pages and collapsed sections
- Pages. Each table opens with 10 rows: the four breakdowns, the attempt history and the detection records under the section. Rows per page offers 25, 50 and 100, and the page numbers take you to the other rows.
- Collapse a part. The globe with its list of countries, the timeline, the breakdowns, the attempt history and the detection records each have a button in their heading that collapses the part to its heading, and opens it again. Collapse all sections at the top of the section collapses them all at once. Your choice is kept in this browser, for your next visit.
- A bar of the timeline. Hover a bar to read when its interval starts, its failed logins, accepted logins and probes, and their total.
- Zooming the globe. A marker keeps its size on the screen while you zoom in, so the cities of one region come apart and each can be pointed at.
Download as PDF
Download PDF, in the first card of the section, makes a document of what the section shows at that moment.
- It holds the totals, the countries, the source addresses, the network providers, the cities, the attempts over time and the newest attempts (300 at most).
- It is filtered as the page is. The time range and the country apply to every part of the document. The result, source address, login name and network provider filters apply to the list of attempts. The document names the filters in force.
- It is made in your browser, in the language of the console, in the Cert-IX document format. No other service receives the data.
- PDF export depends on your plan. When your plan does not include it, the button says so.
The list of investigations (Pulse > Investigations) has its own Download PDF: the investigations the page shows, under the status filter in force.
Automated, a person, or not enough evidence
Each source address gets one of three labels. The label is computed from the recorded attempts of that address only, by fixed rules, and the detail of the address names the signals that led to it.
| Label | When |
|---|---|
| Automated (script or bot) | At least one of these is true: 10 or more attempts within 60 seconds; 5 or more different login names; 6 or more attempts at regular intervals (the gaps between them vary by less than 25 percent); a connection probe other than a connection closed before authentication finished. |
| Looks like a person | None of the above, 5 attempts or fewer, and either a slow pace (a median gap of 5 seconds or more between attempts) or a single login name. |
| Not enough evidence | Every other case. |
Three more signals are shown with the label. They give context and do not decide the label by themselves:
- every name tried is unknown to the host (3 attempts or more);
- the address belongs to a hosting or cloud network (see the hosting hint);
- a login from this address was accepted.
How to read a label:
- It describes how the attempts were made, not who made them or why. Looks like a person does not mean the login was legitimate, and Automated (script or bot) does not always mean an attack: a monitoring probe or a deployment tool with a wrong credential is automated too.
- There is no "AI agent" label. An AI agent cannot be told apart from another program at the SSH login layer: the host's log holds the same facts for both. Pulse labels only what the recorded attempts show.
Country, city and network provider
The country and the network provider of a source address are looked up when the record is stored, in the DB-IP Lite tables (IP to Country Lite and IP to ASN Lite). The city is looked up when the page is read, in the DB-IP City Lite table. IP geolocation by DB-IP, licensed under CC BY 4.0.
- Both are approximate. The tables are a dated snapshot. They give the country an address range is attributed to, which can differ from where the person or the machine really is: a VPN, a proxy or a cloud server shows the country of its provider.
- The network provider is the operator of the network that announces the address.
- The city is where the network registers the address today. It is looked up when you read the page, so it is not necessarily where the address was registered at the time of the attempt.
- City positions are approximate. A city is where a network registers an address, not where a person is. A VPN, a proxy or a cloud server shows the city of its provider.
- City and region names are shown in English, as the table gives them.
- Private and reserved addresses, for example those of your internal network, have no country, no city and no provider. An address the tables do not hold has none either. An address masked by an ingestion policy has no city, because the masked value cannot be looked up.
The hosting hint
A provider is marked as hosting when its name matches a short list of words that hosting and cloud providers use. It suggests that the attempts came from a server and not from a home or office connection. It is a hint and is shown as one: it can miss a hosting provider, and it can mark a network that is not one.
Investigations opened before 0.18.0
A host running an agent older than bitcollector 0.18.0-ga sends counts and source networks only (a /24 for IPv4, a /48 for IPv6), never a full address or a login name. For an investigation on such a host:
- the section shows networks only: the source networks, their country and their counts;
- it says that exact addresses and the full history are recorded once the host runs agent 0.18.0 or later;
- upgrading the agent does not fill in the past: what was never sent cannot be shown.
The same network view is shown for a host where the collection of login attempts is turned off.
Other states
When the section has nothing to show, it says why:
- Nothing recorded. Neither attempts nor network records exist for the period.
- Past retention. The period is older than the 90 days the records are kept.
- Not available. The records could not be read at that moment. Try again later.
- Too large to read at once. The period holds more records than the section reads in one go. The section offers the same records in Indices, where you can narrow the time range.
- Took too long. The records were not read in time. Try again.
Privacy and access
- Your tenant only. The login history needs the same access as the investigation itself, and you only see your own tenant's hosts. Every read is audited.
- Masked values are shown as stored. If an ingestion policy masks the source address or the login name, the history shows the masked value. With Hash, the same address keeps the same value, so the counts per source still work. With Redact, every value becomes the same marker.
- The login name is whatever the peer typed. A person who types a password in the name field by mistake puts it in the host's log, and so in the history. Masking the login name avoids keeping it in Pulse.
The switch that turns the collection off on a host and the ingestion policy that masks these fields are described in SSH login attempts.
To turn the login collector off on many hosts at once, use an agent policy: see Turn the login collector off for many hosts.
To stop only the records per attempt on many hosts and keep the login alerts, set Login attempt records to Off in an agent policy: see Stop the attempt records on many hosts, and keep the login alerts.
Limits
- Only SSH logins are covered. A failed public key attempt is not recorded, and
sudoactivity is not part of the login history. - The cities are computed from the 5,000 most active source addresses of the period. When the host has more, the section says so and the cities cover those addresses only.
- A host sends up to 400 attempts one by one per collection window (60 seconds). Beyond that, the rest of the window is summarised per source address for up to 100 addresses (counts, first and last time, number of different login names), and anything further is only counted.
- An accepted login is always kept as a record of its own, even in a window with more than 400 attempts: it is never only summarised or counted.
Was this page helpful?