Skip to content
ADscan Docs

Telemetry

What the Community and PRO command-line tools collect, how it is sanitized, where it goes, and how to turn it off. The Enterprise appliance sends nothing.

Overview

Which deployment this page describes

The Community (LITE) and PRO command-line tools, where telemetry is on by default. The appliance is the opposite: by default it makes no outbound connection. The appliance worker pins ADSCAN_OFFLINE=1 and ADSCAN_TELEMETRY=0, so every scan runs offline with telemetry off and neither a per-scan setting nor the console can re-enable it. Updates are off unless an administrator turns them on, and notifications go only to destinations the administrator sets. Nothing below applies to either.

The Community and PRO command-line tools collect usage events and sanitized, pseudonymized terminal output as telemetry. Telemetry is enabled by default and can be turned off at any time. It is sanitized, not anonymous. On PRO it is also linked to your licence, so we can support you (see PRO telemetry is linked to your licence).

The design decision, stated plainly. The identifiers ADscan recognises are replaced before anything leaves your machine, and the structure of your session is not. Domain names, hostnames, IP addresses, SIDs, usernames, passwords and hash material are replaced with deterministic pseudonyms before anything is uploaded, and the upload is aborted outright if sanitization fails. What reaches us is the shape of a run, meaning which commands executed, which panels rendered, which finding types appeared and how many. That is enough to reproduce a broken workflow and fix it. Two limits are worth knowing before you decide for an engagement, and they are described under What a pseudonym still shows.

If that trade is wrong for a particular engagement, turn it off. Use set telemetry off global inside ADscan for every workspace, set telemetry off for the current workspace only, or --no-telemetry / ADSCAN_TELEMETRY=0 for one run. --offline, --no-telemetry, ADSCAN_TELEMETRY=0 and set telemetry off (with or without global) all turn off telemetry. None of them turns off the PRO licence check or domain registration, which are part of the licence and are sent with telemetry off and with --offline. What PRO sends lists every field of that channel, with text ready to paste into rules of engagement.

What is collected

Structured events

DataExamplePurpose
Command names, from a fixed allow-listenum_ldap, creds_showUnderstand which features are used
Install and update stages, including failure reasondocker_not_installedFix the install path
Timing metricsTime to first credential, scan durationMeasure where runs stall
Scan outcome countersPaths to Tier 0, credentials obtained, hashes extracted, domain compromised (yes/no)Measure whether the tool worked
System contextOS, distribution, architecture, Python versionEnsure compatibility
ADscan and launcher versions10.1.0Track adoption and pin regressions to a release
Approximate locationCountry and region, derived server-side from the source IPUnderstand where the tool is used

An event name that is not on the allow-list is coerced into a static bucket, so an operator-supplied token cannot become an event name.

The two optional questions

Once ever, at the end of a session, ADscan asks one short multiple-choice question: where you first heard about it, and on a later session, which kind of work you do. One question per session, never two. Both lists end in Prefer not to say, and Ctrl-C dismisses either.

What is sent is the option you picked. If you answer the first question with Something else, the one line you type is sent as well, capped at 120 characters and put through the same sanitizer as everything else, so a hostname or a path inside it is pseudonymized before upload.

Neither question appears on an unattended run (adscan ci), on an offline or air-gapped deployment, or on a machine with telemetry turned off.

Terminal output in telemetry

For install, check, update, upgrade, start, tui, ci, execute and doctor, ADscan exports the entire Rich console buffer at the end of the run, sanitizes it, and uploads it as HTML and text.

This is the part worth being explicit about. It is the full terminal output, everything you saw on screen: every command, every panel, every finding type and count, the sequence of the attack chain. The identifiers inside it are pseudonyms, not the real values. Set ADSCAN_SESSION_CAPTURE=0 to keep event telemetry and drop the terminal output.

Exceptions

Sanitized exception envelopes, so a crash can be diagnosed from the stack rather than from a bug report.

What is not collected

  • Workspace artifacts: technical_report.json, attack_graph.json, exports, reports
  • Anything read out of NTDS.dit, and file or share contents as files

Domain names, hostnames, IP addresses, SIDs, usernames, passwords, NTLM and LM hashes, Kerberos tickets, AES key material and filesystem paths are replaced with pseudonyms when they appear in the terminal output, within the limits below.

What a pseudonym still shows

  • Length and shape. A pseudonym keeps the length of the original. A nine-character password becomes nine characters, and its mix of capitals, lower case and digits shows through. A user or host name keeps its length, its dots and hyphens and where its vowels fall.
  • Names ADscan does not recognise. A value is replaced when ADscan tagged it as it printed it, when it is on the lists ADscan keeps for the workspace (its domains, enabled users and computers, recovered passwords), or when it matches a structural pattern (below). A name that is none of those is uploaded as printed, a custom group, a certificate template or a GPO name for example.

Read this before you write it into a security review

Pseudonymized terminal output from an engagement is engagement content in the sense a reviewer means it. The counts, the technique sequence and the shape of the attack chain are transmitted, and so are the length and shape of the values in them and any name ADscan does not recognise as an identifier. We would rather you assess the real thing than a claim that we send "nothing".

PRO telemetry is linked to your licence

On a machine with a PRO licence, every event and every upload of terminal output also carries three values taken from the licence.

FieldExampleWhat it identifies
licence_grant_idg-0123456789abcdefYour licence
licence_installation_idin-abcdefghijklmnopqrstuvwxThis machine's seat on that licence
partner_tagacme-proA short label we set for your licence when we issued it, trial included. You never type it

We issue these values, so with them we know which licence holder a session belongs to. We use that to support you. When a run fails on your side, we can find the session and look into it without asking you to collect logs. The values never include a name or an email address, and the sanitizer still pseudonymizes or removes the domains, hostnames, IP addresses, users and credentials inside the session, exactly as on the free edition.

A session linked to a licence holder is personal data under the GDPR, and we handle it as such. That is why this page calls PRO telemetry sanitized and never anonymous. You can turn it off at any time with the same switches as the free edition, listed under How to turn it off, and your licence keeps working with telemetry off.

The licence itself is a separate channel. Activating, each check-in from an online launch, refreshing and releasing a seat contact the ADscan licence server whatever the telemetry setting, and the licence server records each one against your licence. It carries the same licence and seat identifiers, the ADscan version and, to count billable engagements, one code per assessed forest. That code is computed with a key on your licence and does not contain the domain's name. A partner licence also reports, when a scan ends, the size of each domain as counts, with no name in them. A check-in carries no scan data. --offline, --no-telemetry, ADSCAN_TELEMETRY=0 and set telemetry off (with or without global) all turn off telemetry. None of them turns off the licence check or domain registration. A machine with no route to ADscan uses the file relay instead (What PRO sends).

Community (LITE) installs have no licence, so their telemetry carries none of these values. Every install, Community or PRO, is identified by a random installation ID created the first time ADscan runs. It is not derived from the machine, so two people using copies of the same virtual machine image count as two installs. Events also carry the type of virtualization (for example VMware, or none) and a hash of the operating system's machine ID made with a key unique to ADscan, which lets us count installs that share one machine image. The machine ID, network card addresses and the machine's name never leave your machine. ADscan reads them only to notice that an install was copied to another machine, and then starts a new installation ID.

How sanitization works

Two layers, both applied to the whole buffer at export time, immediately before upload.

Marker-based. Sensitive values are wrapped in zero-width Unicode markers at the moment they are printed (mark_sensitive(value, category)). The sanitizer finds the marked spans and replaces each one with a deterministic, format-preserving pseudonym.

Structural nets. These run whether or not a value was marked, so a value that reaches the console through an unmarked path is still caught:

PatternNotes
Domain SIDsAnchored on S-1-5-21-. Well-known SIDs are deliberately left alone.
IPv4 and IPv6Including CIDR notation.
MAC addressesBroadcast and all-zero MACs are left verbatim.
Entra Connect sync accountsMSOL_ followed by 12 hex digits.
NTLM hashesBare 32-hex, and the 32-hex:32-hex LM:NT form.
Kerberos and AES key material40 to 128 hex characters.
--hashes argumentsThe flag and its value together.

Pseudonyms are keyed and deterministic: the same input always maps to the same output. Password reuse and shared-hash correlation therefore survive the sanitizer, while the raw value does not. Where the format allows, the pseudonym is provably fake, so you can tell at a glance that you are not looking at real data: a SID loses its S-1- prefix, an IP gets an octet above 255. Hex has no equivalent out-of-band symbol, so a pseudonymized hash still looks like a hash.

Fail-closed. If sanitization raises, or returns anything other than a string, the terminal output is discarded and nothing is uploaded. There is no raw fallback path.

Example

Real sanitizer output, not an illustration:

shell
# In your terminal:
DCSync successful: admin@corp.local -> Passw0rd!

# What we receive:
DCSync successful: ibcav@wilr.xihox -> Ifywo4prR

Where it goes

PurposeDestination
Usage events (production)https://n8n.adscanpro.com/webhook/posthog-prod
Usage events (development and CI builds)https://n8n.adscanpro.com/webhook/posthog-dev
Exceptionshttps://n8n.adscanpro.com/webhook/sentry
Terminal outputhttps://sessions.adscanpro.com/api/sessions
Terminal output (fallback)https://n8n.adscanpro.com/webhook/vercel-sessions
Lab-tracking notificationshttps://n8n.adscanpro.com/webhook/adscan_labs

The n8n.adscanpro.com server runs on AWS in Ireland behind Cloudflare and passes events to PostHog's EU Cloud and exceptions to Sentry. sessions.adscanpro.com is served by Vercel, which processes the requests in its Frankfurt region (fra1), and stores the terminal output with Supabase on AWS in Zurich. The fallback address is used only by builds that do not carry the direct one, and 15.0.0 carries it. All of them are outside your network, which is the reason the opt-out exists and the reason the sanitizer is fail-closed. What PRO sends lists each destination with what it keeps. The appliance contacts none of these hosts.

These endpoints are XOR-obfuscated in adscan_core/embedded_telemetry_config.py. That keeps ingest tokens out of plaintext in a repository whose source is published; it is not an attempt to hide where the data goes. They are listed here so nobody has to decode them to find out.

How to turn it off

MethodScope
ADSCAN_TELEMETRY=0Everything: events, terminal output, exceptions, lab webhook
ADSCAN_SESSION_CAPTURE=0Terminal output only; events still sent
ADSCAN_OFFLINE=1Everything above, plus the version check, online hash lookups, wordlist and Windows tool downloads and AI providers
set telemetry off inside the shellEverything, for the current workspace only
set telemetry off global inside the shellEverything, for every workspace on this machine, until you turn it back on
adscan start --no-telemetry / adscan ci --no-telemetryThat run only
adscan start --offline / adscan ci --offlineThat run only, and the optional lookups too

--offline, --no-telemetry, ADSCAN_TELEMETRY=0 and set telemetry off (with or without global) all turn off telemetry. None of them turns off the PRO licence check or domain registration. From 15.0.0, offline mode also stops the download of a Windows tool that a step needs and the image does not hold. The step is then skipped and reported as not run (What PRO sends).

For one run

bash
adscan start --no-telemetry

Or, to turn off the optional lookups in the same run as well (on PRO the licence check still runs).

bash
adscan start --offline

From inside ADscan: one workspace or every workspace

Two scopes. Without a keyword, set telemetry changes only the workspace you are in. With global, it changes the default for every workspace on this machine, and that default persists.

shell
(ADscan) > set telemetry off          # this workspace only (this engagement)
(ADscan) > set telemetry off global   # every workspace on this machine
(ADscan) > set telemetry on           # back on for this workspace
(ADscan) > set telemetry on global    # back on for every workspace

A workspace's own choice wins over the machine-wide default, in either direction. ADscan resolves the state in this order.

  1. ADSCAN_TELEMETRY=0 or offline mode in the environment. Telemetry is off, and no set telemetry on turns it back on.
  2. ADSCAN_TELEMETRY=1 in the environment. Telemetry is on, over any set telemetry off or set telemetry off global.
  3. The workspace's own choice, if you set one.
  4. Otherwise, the machine-wide default set with global.
  5. Otherwise, the tier default (on for Community and PRO).

A new workspace has no choice of its own, so it follows the machine-wide default live.

You runDefault off, new workspaceDefault off, workspace you set onDefault on, workspace you set off
ResultOff (inherits the default)On (the workspace's choice wins)Off (the workspace's choice wins)

When telemetry is off, the status view names the scope that turned it off and prints the exact command to turn it back on.

This is written to your ADscan configuration, so both the machine-wide default and each workspace's choice persist across sessions until you change them.

adscan deliver after a --no-telemetry run

adscan deliver has no --no-telemetry flag and does not know how the scan was started. Run on its own after adscan ci --no-telemetry, it sends telemetry unless ADSCAN_TELEMETRY=0 or ADSCAN_OFFLINE=1 is set in the environment, or set telemetry off global turned it off for every workspace. A standalone adscan deliver does not read a workspace's own set telemetry off. For an engagement, export ADSCAN_TELEMETRY=0 in the shell you work from, or run set telemetry off global once.

Permanently, from your environment

Add to ~/.bashrc or ~/.zshrc:

bash
export ADSCAN_TELEMETRY=0

To keep event telemetry but drop the terminal output:

bash
export ADSCAN_SESSION_CAPTURE=0

Air-gapped and sovereignty-restricted engagements

ADSCAN_OFFLINE=1 (alias ADSCAN_NO_EXTERNAL=1) disables all telemetry, breached-password lookups, wordlist downloads, AI providers, and the draining of any payload queued before it was set. On PRO it leaves one channel open, the licence check and domain registration, which are part of the licence and carry licence identifiers, a one-way domain code tied to the licence and a size bracket, never the domain name or scan data. A partner licence also reports, for each run, the size of each domain as counts, with no name in them. When the contract says nothing may leave the client's network, relay the licence through a file from a machine with no route out, or ask for an offline licence for that engagement, as described on What PRO sends.

bash
export ADSCAN_OFFLINE=1

Offline mode also skips the launcher and runtime version check, so an air-gapped run makes no call to PyPI or Docker Hub for updates. If you want to skip only that version probe while leaving the rest of the run online, pass --no-update-check (alias --no-update):

bash
adscan start --no-update-check

This is exactly how the appliance runs. Its worker pins ADSCAN_OFFLINE=1 with ADSCAN_TELEMETRY=0 for every scan, so a deployment without internet access does not depend on an operator remembering a flag.

Find this useful?
Pass it to the next pentester running an AD engagement
Running 2+ AD engagements/year?
First PRO assessment free·Free in exchange for feedback
Automated PDF reports. Save ≥1 day per engagement.

ADscan — AD pentest automation for security consultants