Windows Sign-in Identity
Most of what TracePcap tells you about a host answers “what is this?” — a device type, a manufacturer, a set of service roles. On a Windows/Active Directory network, two protocols also routinely name the human behind a workstation — Kerberos authentication and LDAP directory lookups. TracePcap reads that name automatically wherever it is present, with no configuration required, and uses it two ways:
as evidence that the host is a domain-joined Windows workstation, contributing to its device-type classification (a host signing in to Active Directory is a laptop/desktop, not a router or a printer); and
as the host’s signed-in user attribute — a person-level fact recorded on the host alongside its passively-discovered hostname.
Note
This is fully deterministic. The username is read from specific protocol fields and weighted by how directly each one proves who is signed in. There is no LLM, no machine learning, and no guessing — every contribution traces back to a named packet field.
Important
Not every host has a signed-in user. Routers, IoT devices, external servers, and any host that never appears in Kerberos or LDAP traffic simply have none — a normal, expected empty state, not a failure.
How it works
TracePcap reads two signals from the capture, each with a different evidentiary weight, during the same analysis pass that classifies device types:
Kerberos AS-REQ — the initial authentication request a Windows client sends when a user logs in names the account requesting a ticket. Because the client sends this about itself, it is treated as strong, direct evidence of who is signed in at that IP. It contributes a strong vote toward the
LAPTOP_DESKTOPdevice type.LDAP directory lookup — a client asking Active Directory to resolve a display name (for example, Explorer or the shell looking up the current user’s full name) carries that name in the query itself. This is weaker evidence: the query is usually about the asking host’s own identity, but the wire protocol gives no guarantee — a helpdesk or admin tool could just as easily be looking up someone else’s account. It contributes a smaller vote.
Every login is kept, with when it was first and last seen and how many times, so a host used by more than one person over a capture (a shift change, a shared PC, an admin signing in remotely) shows all of them. The host’s signed-in user label follows from that:
One account seen: the label is that account. Kerberos logins decide when there are any; otherwise LDAP lookups do.
More than one account seen: no name is picked. The host shows “N accounts”, and its detail view lists them on a timeline. A capture shows logins but rarely logouts, so picking one would be a guess.
LDAP-only on a server or router: ignored for the label. Domain controllers, mail and file servers look accounts up all day, which says nothing about who is signed in there.
LDAP-only evidence is worded as “Looked-up user”, not “Signed-in user”: a lookup isn’t proof of a sign-in.
Both signals, when present, also appear as separate lines in the host’s classification evidence, so an analyst sees each protocol’s contribution and why their weights differ, rather than a single opaque number.
Where an account lives in the directory
An LDAP lookup names its target by its full path in Active Directory, for example
CN=Clark Collier,CN=Users,DC=example,DC=com: the account Clark Collier, in
Windows’ default Users folder, in the domain example.com. Organisations often
move people into their own folders instead (OU=Staff), but computers, groups and
service accounts live in those folders too, and the path alone can’t tell them apart.
So:
An account in the default Users folder counts as a person.
An account in a custom folder is kept as a candidate only. It appears on the host’s timeline, marked “Not used by default” with the caveat that it could be a person, a computer or a group, but it never sets the label or votes in device classification. The analyst judges it in context.
Two exclusions apply unconditionally:
Machine accounts (principals ending in
$, e.g.DESKTOP-ABC123$) are never surfaced — they name the computer object, not a person.Cleartext LDAP bind credentials are never read or stored. Older-style LDAP binds can carry a password in the clear on the wire; TracePcap’s parser does not request or inspect that field, by design, regardless of whether one is present in a given capture.
The domain controller is never mislabelled with an account. Only the client-sent Kerberos AS-REQ is read for attribution; the KDC’s replies (which also carry account names, but are sent by the DC) are deliberately ignored, so the DC’s own IP is never tagged with every account it ever issued a ticket for.
Worked example — a real incident capture
Analysing a real malware-traffic-analysis.net exercise (a Windows workstation compromised by the STRRAT remote-access trojan), TracePcap resolved the victim’s identity from the capture with no manual filtering required:
Kerberos AS-REQ 172.16.1.66 -> 172.16.1.4 CNameString = ccollier
LDAP searchRequest 172.16.1.66 -> 172.16.1.4 baseObject = CN=Clark Collier,CN=Users,DC=...
Both signals name the same person. On the host 172.16.1.66 the classification
evidence reads:
LAPTOP_DESKTOP (160)
TTL 128 (Windows range) → +30
Windows domain sign-in as "ccollier" (Kerberos AS-REQ) → +40
Directory lookup of "Clark Collier" (LDAP) → +15
MAC OUI matched "Intel Corporate" → +40
...
and the host carries ccollier as its signed-in user (source: Kerberos). The
domain controller 172.16.1.4 — which the KDC replies pass through — is correctly
left with no signed-in user.
Filtering LDAP lookups down to which attributes were requested (display name,
surname, and so on) was tried and rejected during development: a directory lookup for
a certificate template legitimately requests the same kind of attributes as a lookup
for a person, and would otherwise be misread as a human identity. The reliable signal
turned out to be the shape of the directory entry itself — person accounts live in a
distinct part of the directory (CN=Users) that infrastructure objects do not.
Where it surfaces in the UI
Open any host’s detail panel (from the Network Diagram, Analysis Overview, Compare, Monitor drift panels, or Conversation Detail — they all share the same entity view):
The Signed-in user row (or Looked-up user for LDAP-only evidence) appears in the host’s details alongside its Hostname, with a small badge showing whether the name came from Kerberos (stronger) or LDAP (weaker). Click the badge for what that means. When more than one account was seen, the row reads “N accounts” instead.
Windows accounts seen on this host lists every account, oldest first: when it was seen, whether it signed in (Kerberos) or was looked up (LDAP), where it lives in the directory in plain words, and the raw directory entry for anyone who wants it.
In the Network Diagram, the Signed-in user node label (off by default; turn it on in the label settings) shows the account, or “N accounts”.
In the Conversations table, the User column says who was logged in on each endpoint when the conversation started, for example
src: bob (first login 09:58). It follows the same rule as the host label: one account is named, several are shown as “N accounts” with a pointer to the host’s timeline, and an endpoint with no login seen by then shows nothing. Because a capture records logins but rarely logouts, this reads as “logged in by then”, not “still signed in”. The same applies to IDS alerts, which are conversation rows filtered by alert.The sign-in shows up in the host’s Evidence weighed → Identity breakdown as one or two lines naming the principal and the protocol that observed it — the same explainability trail behind every device-type verdict.
What it is not
It is not a separate adjudicated verdict with its own override. The signed-in user is an observed attribute of the host and a contributor to its device-type classification — not a standalone “who is this?” question competing with “what is this?”.
It is not a general user-activity or authentication log. It records the two specific signals above per host, with their times, and nothing else: no logouts, no failed logins, no other protocols.
It does not decrypt or need to decrypt anything. Kerberos and LDAP both carry these identity fields in the clear (or via mechanisms TracePcap already parses); no keys or credentials are required or used.