Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Security and administration

For the administrator, the security engineer and anyone who has to answer “what can this tool and an AI assistant connected to it do on this computer?”. Each section says what TKTail enforces, who can change it, and where the step-by-step page is. Nothing here depends on the license: every control on this page is in every edition (License).

The boundaries in one table

BoundaryDefaultWho changes itAn AI assistant can
Windows accountTKTail runs as the user who started it and never elevates itselfWindowsnothing more than that account - and in practice much less (below)
Allow AI access (MCP)offthe user: Settings > AI Access, Tools > Allow AI Access (MCP)nothing while it is off; turned off, its next call is refused
Connectionstdio only; HTTP offthe user: Settings > AI Access > Accept AI clients over HTTPconnect the way the user configured, nothing else
AI access rulesnone: what is open in TKTail onlythe user: Tools > AI Access Rules…, File Explorer > AI Accessread what the rules allow; never add, widen, enable or remove a rule
AI Data Protectionbuilt-in rules always onthe user: Tools > AI Data Protection…see that protection is active and how many rules exist - never the rules
Permissions for changesfour switches, all offthe user: Settings > AI Access (MCP)make that kind of change only while its switch is on
Forensic Modeoffthe person who starts TKTail (--forensic)read that the session is forensic; never write outside its policy

A license decides which features exist (Metrics, a log’s history searched as one source, conditional monitoring, HTTP). It never widens the AI access rules, an exclusion, a permission, a Forensic restriction or a resource limit.

How an AI client connects

  • stdio (every edition): the assistant starts TKTail.exe mcp --stdio under the user’s own account; it talks to the running TKTail through TKTail’s own pipe, which only that user can open.
  • HTTP (Trial / Pro): off by default; every request carries a bearer token - also on this computer. The token is stored encrypted for the Windows user (mcp-http.token in the data folder), Settings never shows it (Copy Token), Regenerate Token… locks out every client that had the old one. TKTail listens on this computer only (127.0.0.1 and ::1) unless the user chooses every network interface and confirms it; the connection is plain HTTP, so on a network use it only on a trusted network, a VPN or a tunnel. Requests from web pages are refused.
  • Only the main window answers; a linked window never does.

Details: AI integration (MCP).

What an AI client may read: the AI access rules

  • Default deny. Without a rule an assistant reads only what is open in TKTail (the Safe Workspace).
  • A rule allows or excludes one of: a folder (with or without its subfolders), exactly one file, a folder’s files matching masks (*.log), or a Windows Event Log by its name or a pattern.
  • An exclusion always wins - over any Allow, also one added later or one that names the file exactly.
  • Paths are judged where they really lead: .., other spellings, a junction or a symbolic link out of what is allowed are refused. A refusal looks the same whether the file exists or not - the assistant learns nothing about what is next to the files it may read, and never which exclusion decided.
  • An exact rule on app.log does not allow its rotated files (app.log.1, app.log.2.gz); an archive’s entries are read only when the assistant asks for archives.
  • Removing or disabling a rule ends access for every new request at once; an alert an assistant made on a file that is no longer allowed is disabled.
  • If the stored rules cannot be read, nothing is read from disk for AI until the user checks them in Tools > AI Access Rules… and presses OK.
  • Why Is This Available to AI? (File Explorer, a tab) names the rule that decides a file.

Details: Allowing folders and files for AI.

Windows Event Log

  • A log open in TKTail is readable by an assistant (Safe Workspace); any other log only through an Event Log rule.
  • The Security log is never allowed by a pattern (*, Microsoft-*) - only by a rule that names it, and TKTail warns when one is added.
  • Windows still decides: Security can be read only by administrators and members of Event Log Readers. TKTail never elevates itself, and nothing in TKTail changes, clears or exports an event log for an assistant.

Details: Windows Event Log.

What leaves TKTail: AI Data Protection

  • Everything TKTail sends to an assistant - a record’s text and fields, search results and previews, aggregated values, Current Context, archive previews, evidence read back, error messages - passes the protection rules first.
  • The built-in rules are always on: passwords, bearer tokens, JWTs, connection-string secrets, API keys, session cookies, private keys, and fields whose names say they are secret. GUIDs, IP and e-mail addresses are not masked by default - add a rule where they are sensitive.
  • The user adds rules (field names, a value pattern, literal text) and tests them before saving. An assistant cannot read, change or disable them.
  • If the user’s rules file becomes unusable, TKTail stops answering AI assistants until it is fixed - the user’s rules might have protected more than the built-in ones.
  • The files themselves are never changed, and TKTail’s own searches use the real data.

Details: Protecting secrets from AI.

What an AI client may change

Four switches, each off by default and only together with AI access: saving format profiles; saving and deleting Saved Searches and Metric Sets; managing alerts; saving evidence packages and pinning searches. A change names the version it read and is refused if the object changed since (conflict), so the user’s edits are never overwritten.

No switch exists for running commands, programs, scripts or a terminal; reading the registry, services or settings; changing settings; or writing files outside TKTail’s own stores. Full list per tool: Agent permissions.

Decisions only a person makes - in TKTail

Whatever the switches, an assistant can never:

  • add, widen, enable, disable or remove an AI access rule;
  • see, add, change or disable an AI Data Protection rule;
  • turn on AI access, HTTP, or a permission for changes;
  • approve a Heavy monitoring resource class, or start, extend or stop the user’s activations (it can run bounded monitoring of its own - at most an hour each, three at once, visible in Jobs and Conditional Monitoring, stoppable by the user);
  • delete Evidence - it can only ask; the user confirms or rejects the request in the Evidence Library, and nothing is ever deleted automatically;
  • delete, acknowledge or export incidents; unpin a search the user pinned;
  • choose Forensic Mode, its output root, or the license.

Evidence

  • A package holds the records that matter with their context - redacted before anything is written; there is no unredacted package and no way for an assistant to ask for one.
  • Every file in it has a SHA-256, listed in a manifest; Verify answers VALID, MODIFIED, INCOMPLETE or UNSUPPORTED.
  • The hashes prove the package is unchanged since TKTail wrote it - not who made it. It is verifiable investigation evidence, not a legal chain of custody.
  • A package says what was searched (its scope) and whether it is complete; an incident’s evidence keeps why the alert fired - each condition’s values and the records that matched.

Details: Saving evidence, Why did it fire?.

Auditing what an AI client did

Three reports answer three different questions:

QuestionReportWhere
What could an AI assistant access now?AI Access ReportTools > Generate AI Access Report…
What did it do - call by call?AI Investigation ReportTools > AI Investigation Activity… > Export Report…
How did TKTail itself behave in a forensic session?Forensic Session Reportclick the Forensic indicator
  • The AI Access Report and the AI Investigation Report name the same access policy identity (ap-...), so what an assistant could do and what it did can be matched.
  • TKTail records the observable activity - each call, its decision (allowed, AI access off, a missing permission, outside the rules, excluded, not in the license, a resource limit), its scope and references to searches, jobs and evidence. It cannot record an assistant’s prompts or reasoning, and does not.
  • Recorded activity passes the data protection rules first; a license code is never recorded. Kept on disk 30 days by default, or in memory only, or off (Settings > AI Access).
  • Every AI call also gets one line in Output > Application - which tool, how it ended - never the content.

Details: AI investigation activity, AI Access Report.

Forensic Mode: what TKTail writes

TKTail’s promise, in these words: no intentional persistent application writes to the investigated environment while strict Forensic Mode is active.

  • Memory only (--forensic): settings, recent files, jobs, AI activity, alerts and monitoring live in memory and are gone when TKTail closes; Evidence and reports are shown, never written.
  • Restricted output (--forensic --output-root <folder>): the same, plus Evidence and reports written only below that folder - checked on its real location (no .., links, hard links, device paths, alternate data streams). Windows’ Save dialog is never used.
  • Not promised: that the computer writes nothing. Windows, drivers and security software write because a program runs (Prefetch, the paging file, Windows Error Reporting, antivirus and EDR scans, what Windows remembers about its Open dialog). The Forensic Session Report lists what TKTail kept in memory or refused.
  • MCP over HTTP never opens by itself in Forensic Mode; an AI request that would write where the policy forbids is refused (forensic_policy_denied).

Details: Forensic Mode.

License codes

  • A license code is never written to TKTail’s logs, Jobs, reports, the AI activity or an MCP answer; Copy License Information copies everything support needs except the code.
  • Outside Forensic Mode the code is not accepted on a command line (license activate --stdin, or import the file).
  • In Forensic Mode a license is used for the session only and never written: asked at startup, read once from the clipboard, piped, read from a file - or given with --license-key, which is allowed but less secure: shell history, the process list, WMI and security software can see a command line.

Details: License, Forensic Mode.

What TKTail keeps on disk

The data folder (%LOCALAPPDATA%\TKTail\, or data\ beside a portable TKTail.exe) holds settings, alerts and incidents, Saved Searches, the Evidence Store, the Jobs history and the AI activity. TKTail keeps no settings in the Windows Registry (the optional Windows integration the user turns on is the exception), sends no telemetry, and listens for AI clients over HTTP only when the user turns that on. Where TKTail stores data lists every file, how to clean up and how to remove TKTail.