forked from Velocidex/velociraptor-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Review, update and extend client management articles (Velocidex#974)
- Loading branch information
1 parent
98fd79d
commit 369f0b5
Showing
98 changed files
with
7,777 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,64 @@ | ||
--- | ||
title: "Client Interrogation" | ||
date: 2024-12-18 | ||
draft: true | ||
title: "Interrogation" | ||
date: 2024-12-29 | ||
draft: false | ||
weight: 20 | ||
last_reviewed: 2024-12-29 | ||
--- | ||
|
||
- `Generic.Client.Info` initially. Supports `Custom` override. | ||
- `Client.client_info_update_time` - default is once per day | ||
- Can alternatively be done as a scheduled hunt | ||
Interrogation is the term we use to describe the process of querying a host for | ||
it's basic host information. | ||
|
||
When a new client enrolls the server automatically schedules a collection of the | ||
`Generic.Client.Info` artifact on the client. This is a built in artifact that | ||
caters for all OSes but also performs some OS-specific queries on Linux and | ||
Windows. | ||
|
||
 | ||
|
||
Some of the information collected by this artifact is added to the client info | ||
database and specific fields are also indexed so that we can perform | ||
[fast searches for clients]({{< ref "/docs/clients/searching/" >}}). | ||
|
||
## Client information updates | ||
|
||
In old versions of Velociraptor this information was not kept up to date unless | ||
users explicitly created periodic hunts for `Generic.Client.Info`. However this | ||
information is now recollected automatically on a recurring basis in the | ||
background. Of course you can still manually collect the artifact or schedule it | ||
through a hunt if you want to be sure you have the absolute latest info. You can | ||
also change the frequency at which the data is collected, as explained below. | ||
|
||
If you wish to change the update frequency this can be done via the config | ||
setting `Client.client_info_update_time`. The update is initiated by the client | ||
which sends a `Server.Internal.ClientInfo` message to the server. Note that this | ||
is a client setting and therefore cannot be centrally configured from the | ||
server. By default, if this setting is not specified in the client config, then | ||
the client info is updated once per day (86400 seconds). This is usually | ||
sufficient for most deployments since the client info generally doesn't change | ||
very often. If you need more frequent updates you should still avoid configuring | ||
it to occur too frequently as this imposes additional load on the server. | ||
|
||
## Custom override | ||
|
||
While the `Generic.Client.Info` artifact covers the basic information that most | ||
people need, you may have a specific requirement to collect additional data as | ||
part of the client interrogation flow. You cannot edit the `Generic.Client.Info` | ||
artifact since it is a built in artifact, however Velociraptor allows you to | ||
override it with a customized version of the artifact. The way this works is | ||
that if a client artifact exists with the name `Custom.Generic.Client.Info` then | ||
interrogation flows will use that custom version instead of the built in | ||
artifact. | ||
|
||
As explained in the artifact description for `Generic.Client.Info`, you can add | ||
additional artifact sources containing your custom queries. However, the | ||
existing sources, particularly the `BasicInformation` source, should not be | ||
changed as the server expects fields from these sources to be present in all | ||
interrogation flows. There are no constraints on what your custom sources can | ||
contain. | ||
|
||
|
||
|
||
|
||
|
||
|
291 changes: 291 additions & 0 deletions
291
content/docs/clients/interrogation/interrogation_initial.excalidraw
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions
10
content/docs/clients/interrogation/interrogation_initial.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.