Atlantiraptor Docs

Server.Information.Users

Type: Server

Lists user names and SIDs from collected Windows.Sys.Users results across all clients.

This artifact uses the previously collected data from Windows.Sys.Users. If it was never collected for any endpoints then this artifact will not produce any results.

Parameters

Name Type Default Description
StandardUserAccounts regex (-5..$\|S-1-5-18\|S-1-5-19\|S-1-5-20) Well known SIDs to hide from the output.

Source

Defined in artifacts/definitions/Server/Information/Users.yaml.

name: Server.Information.Users
description: |
  Lists user names and SIDs from collected `Windows.Sys.Users` results
  across all clients.

  This artifact uses the previously collected data from
  `Windows.Sys.Users`. If it was never collected for any endpoints
  then this artifact will not produce any results.

type: SERVER

parameters:
  - name: StandardUserAccounts
    description: Well known SIDs to hide from the output.
    default: "(-5..$|S-1-5-18|S-1-5-19|S-1-5-20)"
    type: regex

sources:
  - query: |
        LET Clients = SELECT client_id, os_info.fqdn AS Fqdn FROM clients()

        // Get the most recent collection of our user listing.
        LET last_user_listing = SELECT
               session_id AS flow_id,
               active_time, client_id, Fqdn
           FROM flows(client_id=client_id)
           WHERE artifacts_with_results =~'Windows.Sys.Users'
           ORDER BY active_time
           DESC LIMIT 1

        /* For each Windows.Sys.Users collection, extract the user
           names, but hide standard SIDs.
        */
        LET Users = SELECT * FROM foreach(
            row=last_user_listing,
            query={
              SELECT Name, UUID, client_id, Fqdn from source(
                 flow_id=flow_id,
                 artifact='Windows.Sys.Users',
                 client_id=client_id)
              WHERE NOT UUID =~ StandardUserAccounts
            })

        SELECT * FROM foreach(row=Clients, query=Users)

Edit this page on GitHub

© 2026 Atlant Security EOOD. Atlantiraptor is free software under the GNU Affero General Public License v3. It is based on Velociraptor by Velocidex, and keeps its copyright notices. Velociraptor is a trademark of its owner; Atlantiraptor is not affiliated with or endorsed by it.