Atlantiraptor Docs

Admin.Client.Upgrade.RedHat

Type: Client

Upgrades Velociraptor clients on Red Hat hosts by installing a new RPM package

NOTE: This artifact requires that you supply a client Red Hat package by using the tools interface. Click on the tool button in the GUI and upload a package.

Implied permissions: EXECVE

Parameters

Name Type Default Description
SleepDuration int 600 The package is typically large and we do not want to overwhelm the server so we stagger the download over this many seconds.
ServiceName str velociraptor_client The name of the service to restart after the upgrade.

Tools

This artifact uses these external tools, managed by the server’s tool inventory (see Managing external tools):

  • VelociraptorRedHat

Source

Defined in artifacts/definitions/Admin/Client/Upgrade/RedHat.yaml.

name: Admin.Client.Upgrade.RedHat
description: |
  Upgrades Velociraptor clients on Red Hat hosts by installing a new RPM package

  NOTE: This artifact requires that you supply a client Red Hat
  package by using the tools interface. Click on the tool button in
  the GUI and upload a package.

tools:
  - name: VelociraptorRedHat

parameters:
  - name: SleepDuration
    default: "600"
    type: int
    description: |
      The package is typically large and we do not want to
      overwhelm the server so we stagger the download over this many
      seconds.

  - name: ServiceName
    default: "velociraptor_client"
    type: str
    description: |
      The name of the service to restart after the upgrade.

implied_permissions:
  - EXECVE

sources:
  - precondition:
      SELECT OS From info() where OS =~ 'linux'

    query:  |
      // FetchBinary downloads to /tmp on linux
      LET bin <= SELECT OSPath AS Dest
      FROM Artifact.Generic.Utils.FetchBinary(
         ToolName="VelociraptorRedHat", IsExecutable=FALSE,
         SleepDuration=SleepDuration)

      // Call the binary and return all its output in a single row.
      // If we fail to download the binary we do not run the command.
      SELECT * FROM foreach(row=bin,
      query={
        SELECT * FROM chain(
          // Install the new client (Disabled preun because older versions
          // had a bug where preun would shut down the service - see #3122).

          b={SELECT * FROM execve(argv=["rpm", "--nopreun", "-U", str(str=Dest)])},
          c={SELECT * FROM execve(argv=["systemctl", "restart", ServiceName])}
        )
      })

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.