Command line reference
Atlantiraptor is a single program: the same binary runs the server, the client and every command line tool. This page lists every command and flag of this version, taken from the program’s own help. For a guided tour, see The command line.
Run atlantiraptor help <command> (Atlantiraptor.exe help <command> on Windows) to see the
same information on your system. In the examples the program is called
atlantiraptor; use the name of your binary.
Global flags
These flags work with every command.
-h, --[no-]help Show context-sensitive help (also try
--help-long and --help-man).
--remap=REMAP A remapping configuration file for dead disk
analysis.
--[no-]nobanner Suppress the Velociraptor banner
--org=ORG Org ID to show
--[no-]debug Enables debug and profile server.
--debug_port=6060 Port for the debug server.
-c, --config=CONFIG The configuration file.
--embedded_config=EMBEDDED_CONFIG
Extract the embedded configuration from this
file.
-a, --api_config=API_CONFIG The API configuration file.
--runas=RUNAS Run as this username's ACLs
-D, --definitions=DEFINITIONS A directory containing artifact definitions
--[no-]nocolor Disable color output
-v, --[no-]verbose Enabled verbose logging.
--profile=PROFILE Write profiling information to this file.
--profile_duration=PROFILE_DURATION
Generate a profile file for each period in
seconds.
--trace=TRACE Write trace information to this file.
--[no-]trace_vql Enable VQL tracing.
--logfile=LOGFILE Write to this file as well
--tempdir=TEMPDIR Write all temp files to this directory
--[no-]prompt Present a prompt before exit
--max_wait=10 Maximum time to queue results.
--timezone=TIMEZONE Default encoding timezone (e.g.
Australia/Brisbane). If not set we use UTC
-r, --run=RUN Run an artifact as a CLI tool.
Commands
artifacts
Process artifact definitions.
usage: atlantiraptor artifacts <command> [<args> ...]
artifacts list
Print all artifacts
usage: atlantiraptor artifacts list [<flags>] [<regex>]
Arguments:
[<regex>] Regex of names to match.
Flags:
-d, --[no-]details ... Show more details (Use -d -dd for even more)
artifacts show
Show an artifact
usage: atlantiraptor artifacts show <name>
Arguments:
<name> Name to show.
artifacts collect
Collect all artifacts
usage: atlantiraptor artifacts collect [<flags>] <artifact_name>...
Arguments:
<artifact_name> The artifact name to collect.
Flags:
--[no-]cli_help_mode Display help like a CLI command
--output="" When specified we create a zip file and store
all output in it.
--client_id="server" Used for remote API calls to specify the client
id to collect from. By default this is `server`
to server artifacts
--org_id="root" Used for remote API calls to specify the org id
(default `root`)
--timeout=0 Time collection out after this many seconds.
--progress_timeout=0 If specified we terminate the colleciton if no
progress is made in this many seconds.
--cpu_limit=0 A number between 0 to 100 representing maximum
CPU utilization.
--output_level=5 Compression level for zip output.
--[no-]require_admin Ensure the user is an admin
--password="" When specified we encrypt zip file with this
password.
--format=json Output format to use (csv, json, csv_only).
--args=ARGS ... Artifact args (e.g. --args Foo=Bar).
--hard_memory_limit=HARD_MEMORY_LIMIT
If we reach this memory limit in bytes we exit.
artifacts minion
Run a server artifact as a minion
usage: atlantiraptor artifacts minion [<flags>] <artifact_name>...
Arguments:
<artifact_name> The artifact name to collect.
Flags:
--org_id="root" Fetch from the specified org ID (default
`root`)
--args=ARGS ... Artifact args (e.g. --args Foo=Bar).
artifacts fetch
Fetch a collection from the server via the API
usage: atlantiraptor artifacts fetch --flow_id=FLOW_ID --output=OUTPUT [<flags>]
Flags:
--client_id="server" The client ID to fetch from. The default is
`server` which fetches server artifacts
--flow_id=FLOW_ID The flow ID to fetch from (required).
--org_id="root" Fetch from the specified org ID (default
`root`)
--output=OUTPUT The output zip file path in which to store the
collection data.
artifacts reformat
Reformat a set of artifacts
usage: atlantiraptor artifacts reformat [<flags>] <paths>...
Arguments:
<paths> Paths to artifact yaml files
Flags:
--[no-]dry Do not overwrite files, just report errors
artifacts verify
Verify a set of artifacts
usage: atlantiraptor artifacts verify [<flags>] <paths>...
Arguments:
<paths> Paths to artifact yaml files. This can also be a glob. If the path is
a directory we recursively search it for `.yaml` files.
Flags:
--[no-]builtin Allow overriding of built in artifacts
--[no-]issues_only If set, we only emit warning and error messages
--max_length=100000 Maximum length of artifact to read
--[no-]nowall If set, ignore warnings
audit
The tamper-evident audit log on this server’s disk.
usage: atlantiraptor audit <command> [<args> ...]
audit verify
Check that no audit log entry was changed, removed or added.
usage: atlantiraptor audit verify [<flags>]
Flags:
--dir=DIR The audit log directory (default: the server's
configured one).
--key=KEY The server's audit public key (base64, shown
in the console), to check a copy without the
server configuration.
--[no-]quiet Print only problems and the verdict.
client
Run the velociraptor client
usage: atlantiraptor client [<flags>]
Flags:
--[no-]quiet Do not output anything to stdout/stderr
--[no-]require_admin Ensure the user is an admin
config
Manipulate the configuration.
usage: atlantiraptor config <command> [<args> ...]
config show
Show the current config.
usage: atlantiraptor config show [<flags>]
Flags:
--[no-]json Show the config as JSON
--merge=MERGE ... Merge this json config into
the generated config (see
https://datatracker.ietf.org/doc/html/rfc7396)
--merge_file=MERGE_FILE Merge this file containing a json
config into the generated config (see
https://datatracker.ietf.org/doc/html/rfc7396)
--patch=PATCH ... Patch this into the generated config (see
http://jsonpatch.com/)
--patch_file=PATCH_FILE Patch this file into the generated config (see
http://jsonpatch.com/)
config client
Dump the client’s config file.
usage: atlantiraptor config client
config api_client
Dump an api_client config file.
usage: atlantiraptor config api_client --name=NAME [<flags>] <output>
Arguments:
<output> The filename to write the config file on.
Flags:
--name=NAME The common name of the API Client.
--role=ROLE Specify the role for this api_client.
--[no-]password Protect the certificate with a password.
--pkcs12=PKCS12 A filename to write the pkcs12 certificate file
config generate
Generate a new config file to stdout (with new keys).
usage: atlantiraptor config generate [<flags>]
Flags:
-i, --[no-]interactive Interactively fill in configuration.
--merge=MERGE ... Merge this json config into
the generated config (see
https://datatracker.ietf.org/doc/html/rfc7396)
--merge_file=MERGE_FILE Merge this file containing a json
config into the generated config (see
https://datatracker.ietf.org/doc/html/rfc7396)
--patch=PATCH ... Patch this into the generated config (see
http://jsonpatch.com/)
--patch_file=PATCH_FILE Patch this file into the generated config (see
http://jsonpatch.com/)
config rotate_keys
Regenerate server private keys and reissue certificates.
usage: atlantiraptor config rotate_keys [<flags>]
Flags:
--validity=VALIDITY How long should the new certs be valid for in
days (default 365).
config reissue_certs
Reissue server certificates for the existing private keys.
usage: atlantiraptor config reissue_certs [<flags>]
Flags:
--validity=VALIDITY How long should the new certs be valid for in
days (default 365).
config frontend
Experimental: Create multi-frontend configuration
usage: atlantiraptor config frontend
config repack
Embed a configuration file inside the binary.
usage: atlantiraptor config repack [<flags>] <config_file> <output>
Arguments:
<config_file> The filename to write into the binary.
<output> The filename to write the repacked binary.
Flags:
--exe=EXE Use an alternative exe.
--msi=MSI Use an msi to repack (synonym to --exe).
--binaries=BINARIES ... The list of tool names to append to the binary.
csv
Convert a CSV file to another format
usage: atlantiraptor csv [<flags>] <files>...
Arguments:
<files> CSV files to parse
Flags:
--where=WHERE A WHERE condition for the query
--format=jsonl Output format
deaddisk
Create a deaddisk configuration
usage: atlantiraptor deaddisk [<flags>] <output>
Arguments:
<output> Output file to write config on
Flags:
--hostname="Virtual Host" The hostname to impersonate
--add_windows_disk=ADD_WINDOWS_DISK
Add a Windows Hard Disk Image
--add_windows_directory=ADD_WINDOWS_DIRECTORY
Add a Windows mounted directory
debian
Create a debian package
usage: atlantiraptor debian [<flags>] <command> [<args> ...]
Flags:
--release=RELEASE Specify the debian release number
debian server
Create a server package from a server config file.
usage: atlantiraptor debian server [<flags>]
Flags:
--release=RELEASE Specify the debian release number
--output="." Directory to store deb files in. (Default
current directory)
--binary=BINARY The binary to package
--server_user="velociraptor"
The service user to run the packaged service
as.
--server_group="velociraptor"
The service group to run the packaged service
as.
debian client
Create a client package from a client config file.
usage: atlantiraptor debian client [<flags>]
Flags:
--release=RELEASE Specify the debian release number
--output="." Directory to store deb package in. (Default
current directory)
--binary=BINARY The binary to package
frontend
Run the frontend and GUI.
usage: atlantiraptor frontend [<flags>]
Flags:
--[no-]disable_artifact_compression
Disables artifact compressions
--[no-]minion This is a minion frontend
--node=NODE The name of a minion - selects from available
frontend configurations (DEPRECATED: ignored)
--[no-]disable-panic-guard
Disabled the panic guard mechanism (not
recommended)
fs
Run filesystem commands.
usage: atlantiraptor fs [<flags>] <command> [<args> ...]
Flags:
--accessor="file" The FS accessor to use
-l, --[no-]details Show more verbose info
--format=jsonl Output format to use (text,json,jsonl,csv).
fs ls
List files
usage: atlantiraptor fs ls [<path>]
Arguments:
[<path>] The path or glob to list
Flags:
--accessor="file" The FS accessor to use
-l, --[no-]details Show more verbose info
--format=jsonl Output format to use (text,json,jsonl,csv).
fs cp
Copy files to a directory.
usage: atlantiraptor fs cp <path> <dumpdir>
Arguments:
<path> The path or glob to list
<dumpdir> The directory to store files at.
Flags:
--accessor="file" The FS accessor to use
-l, --[no-]details Show more verbose info
--format=jsonl Output format to use (text,json,jsonl,csv).
fs cat
Dump a file to the terminal
usage: atlantiraptor fs cat <path>
Arguments:
<path> The path to cat
Flags:
--accessor="file" The FS accessor to use
-l, --[no-]details Show more verbose info
--format=jsonl Output format to use (text,json,jsonl,csv).
fs zcat
Dump a compressed filestore file
usage: atlantiraptor fs zcat <chunk_path> <file_path>
Arguments:
<chunk_path> The path to the .chunk index file
<file_path> The path to the compressed file to dump
Flags:
--accessor="file" The FS accessor to use
-l, --[no-]details Show more verbose info
--format=jsonl Output format to use (text,json,jsonl,csv).
fs rm
Remove file (only filestore supported)
usage: atlantiraptor fs rm <path>
Arguments:
<path> The path or glob to remove
Flags:
--accessor="file" The FS accessor to use
-l, --[no-]details Show more verbose info
--format=jsonl Output format to use (text,json,jsonl,csv).
fuse
Use fuse mounts
usage: atlantiraptor fuse [<flags>] <command> [<args> ...]
Flags:
--accessor="collector" The accessor to use (default collector)
--prefix="/" Export all files below this directory in the
zip file
fuse container
Mount ZIP containers over fuse
usage: atlantiraptor fuse container [<flags>] <directory> <files>...
Arguments:
<directory> A directory to mount on
<files> list of zip files to mount
Flags:
--accessor="collector" The accessor to use (default collector)
--prefix="/" Export all files below this directory in the
zip file
--[no-]map_device_names_to_letters
Convert raw device names to drive letters
--[no-]strip_colons_on_drive_letters
Remove the : on drive letters
--[no-]unix_path_escaping If set we escape only few characters in file
names otherwise escape windows compatible chars
--[no-]emulate_timestamps If set emulate timestamps for common artifacts
like Windows.Triage.Targets.
--[no-]merge_accessors If set merge all the accessors
into the same directory (implied
--map_device_names_to_letters).
golden
Run tests and compare against golden files.
usage: atlantiraptor golden [<flags>] <directory>
Arguments:
<directory> Golden file directory path
Flags:
--filter=FILTER A regex to filter the test files
--env=ENV ... Environment for the query.
--[no-]testonly Do not update the fixture.
--[no-]disable_alarm Do not terminate when deadlocked.
--[no-]update_datastore Normally golden tests run with the readonly
datastore so as not to change the fixture.
This flag allows updates to the fixtures.
acl
Manipulate acls.
usage: atlantiraptor acl <command> [<args> ...]
acl show
Show a principal’s policy.
usage: atlantiraptor acl show [<flags>] <principal>
Arguments:
<principal> Name of principal to grant.
Flags:
--[no-]effective Show the effective persmissions object.
acl grant
Grant a principal a policy.
usage: atlantiraptor acl grant [<flags>] <principal> [<policy>]
Arguments:
<principal> Name of principal (User or cert) to grant.
[<policy>] A policy to grant as a json encoded string
Flags:
--role=ROLE A comma separated list of roles to grant the
principal
--[no-]merge If specified we merge this policy with the old
policy.
gui
Bring up a lazy GUI.
usage: atlantiraptor gui [<flags>]
Flags:
--datastore=DATASTORE Path to a datastore directory (defaults to
temp)
--[no-]nobrowser Do not bring up the browser
--[no-]noclient Do not bring up a client
hunts
Manipulate hunts.
usage: atlantiraptor hunts <command> [<args> ...]
hunts reconstruct
Reconstruct all hunt objects from logs
usage: atlantiraptor hunts reconstruct
lsp
Run a VQL language server on stdin/stdout (LSP over stdio).
usage: atlantiraptor lsp [<flags>]
Flags:
--log=LOG Write the LSP log to a file instead of stdout
--[no-]log_verbose Increase LSP log verbosity to include
raw wire protocol dumps. Requires --log.
Each dump is delimited by ==== markers so pure
protocol views can be extracted mechanically.
Payloads over 4kb are truncated.
--port=PORT If specified we listen on this TCP port,
otherwise use stdio
collector
Build an offline collector
usage: atlantiraptor collector [<flags>] [<spec_file>]
Arguments:
[<spec_file>] A Spec file to use.
Flags:
--datastore=DATASTORE Path to a datastore directory (defaults to
temp)
--format=json Output format to use (text,json,csv,jsonl).
--[no-]force Ignore schema errors and use it anyway
decrypt
Decrypts an armoured collection file
usage: atlantiraptor decrypt [<flags>] <collection> [<output>]
Arguments:
<collection> A collection zip file to decrypt
[<output>] The filename to write the decrypted collection on
Flags:
-p, --[no-]show_password Show the password
--format=json Output format for csv output
pool_client
Run a pool client for load testing.
usage: atlantiraptor pool_client [<flags>]
Flags:
--number=NUMBER Total number of clients to run.
--writeback_dir=. The directory to store all writebacks.
--[no-]no_writeback Use in-memory writebacks so client identities
are ephemeral.
--concurrency=10 How many real queries to run.
--start_rate=20 How many clients per second to start.
query
Run a VQL query
usage: atlantiraptor query [<flags>] <queries>...
Arguments:
<queries> The VQL Query to run.
Flags:
-f, --[no-]from_files Args are actually file names which will contain
the VQL query
--timeout=0 Time collection out after this many seconds.
--cpu_limit=0 A number between 0 to 100 representing maximum
CPU utilization.
--[no-]minion_mode Run the query in minion mode: Some functions
will delegate to the API but most will run
locally
--format=json Output format to use (text,json,csv,jsonl).
--dump_dir="" Directory to dump output files.
--output="" A file to store the output.
--env=ENV ... Environment for the query.
--scope_file="" Load scope from here. Creates a new file if
file not found
--[no-]do_not_update_scope_file
Do not update the scope file with the new scope
rpm
Create an rpm package
usage: atlantiraptor rpm [<flags>] <command> [<args> ...]
Flags:
--release="A" Rpm package release version
rpm client
Create a client package from a server config file.
usage: atlantiraptor rpm client [<flags>]
Flags:
--release="A" Rpm package release version
--output="." Directory to store rpms in. (Default current
directory)
--binary=BINARY The binary to package
rpm server
Create a server package from a server config file.
usage: atlantiraptor rpm server [<flags>]
Flags:
--release="A" Rpm package release version
--output="." Directory to store rpms in. (Default current
directory)
--binary=BINARY The binary to package
--server_user=SERVER_USER The (existing) server user to run the packaged
service as.
--server_group=SERVER_GROUP
The (existing) server group to run the packaged
service as.
tools
View and manipulate stored third-party binaries and tools
usage: atlantiraptor tools <command> [<args> ...]
tools show
Shows tools in the inventory
usage: atlantiraptor tools show [<file>]
Arguments:
[<file>] Tool name to show
tools rm
Remove a third-party tool
usage: atlantiraptor tools rm <name>
Arguments:
<name> Tool name to remove
tools upload
Upload a third-party tool
usage: atlantiraptor tools upload --name=NAME [<flags>] [<path>]
Arguments:
[<path>] Path to file or a URL
Flags:
--name=NAME Name to assign to the tool
--tool_version=TOOL_VERSION
The version of the tool
--filename=FILENAME Name of the tool executable on the endpoint
--github_project=GITHUB_PROJECT
Fetch the tool for github releases
--github_asset=GITHUB_ASSET
A regular expression to match the release asset
--[no-]serve_remote If set serve the file from the original URL
--[no-]download Force immediate download if set, default - lazy
download on demand
tools cat
Dump tool from command line
usage: atlantiraptor tools cat [<flags>] <name>
Arguments:
<name> Tool name to dump
Flags:
--version=VERSION Tool version to dump
unzip
Unzip a container file
usage: atlantiraptor unzip [<flags>] <file> [<members>]
Arguments:
<file> Zip file to parse
[<members>] Members glob to extract
Flags:
--[no-]report_password Log the X509 session password
--where=WHERE A WHERE condition for the query
--dump_dir="." Directory to dump output files.
--format=json Output format for csv output
-l, --[no-]list List files in the zip
-p, --[no-]print Dump out the files in the zip
--password=PASSWORD Use this password to extract ZIP
user
Manage GUI users
usage: atlantiraptor user <command> [<args> ...]
user add
Add a user. If the user already exists this allows to change their password.
usage: atlantiraptor user add --role=ROLE <username> [<password>]
Arguments:
<username> Username to add
[<password>] The password. If not specified we read from the terminal.
Flags:
--role=ROLE Specify the role for this user.
user show
Display information about a user
usage: atlantiraptor user show [<flags>] <username>
Arguments:
<username> Username to show
Flags:
--[no-]with_hashes Displays the password hashes too.
version
Report the binary version and build information.
usage: atlantiraptor version
vql
Show information about the VQL subsystem
usage: atlantiraptor vql <command> [<args> ...]
vql list
Print all VQL plugins and functions
usage: atlantiraptor vql list
vql export
Export a YAML file with all the VQL plugins/function descriptions
usage: atlantiraptor vql export [<old_file>]
Arguments:
[<old_file>] Previous description file will contain additional descriptions