Atlantiraptor Docs

Linux.Events.ProcessExecutions

Type: Client event (monitoring)

Collects process execution logs from the Linux kernel.

This artifact relies on the presence of auditctl usually included in the auditd package. On Ubuntu you can install it using:

apt-get install auditd

Required permissions: EXECVE

Precondition: SELECT OS From info() where OS = 'linux'

Parameters

Name Type Default Description
pathToAuditctl string /sbin/auditctl We depend on auditctl to install the correct process execution rules.

Source

Defined in artifacts/definitions/Linux/Events/ProcessExecutions.yaml.

name: Linux.Events.ProcessExecutions
description: |
  Collects process execution logs from the Linux kernel.

  This artifact relies on the presence of `auditctl` usually included
  in the `auditd` package. On Ubuntu you can install it using:

  ` ` `
  apt-get install auditd
  ` ` `

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

type: CLIENT_EVENT

required_permissions:
  - EXECVE

parameters:
  - name: pathToAuditctl
    default: /sbin/auditctl
    description: We depend on `auditctl` to install the correct process execution rules.

sources:
  - query: |
     // Install the auditd rule if possible.
     LET _ <= SELECT * FROM execve(argv=[pathToAuditctl, "-a",
          "exit,always", "-F", "arch=b64", "-S", "execve", "-k", "procmon"])

     LET exec_log = SELECT timestamp(string=Timestamp) AS Time, Sequence,
           atoi(string=Process.PID) AS Pid,
           atoi(string=Process.PPID) AS Ppid,
           Process.PPID AS PPID,
           atoi(string=Summary.Actor.Primary) AS UserId,
           Process.Title AS CmdLine,
           Process.Exe AS Exe,
           Process.CWD AS CWD
       FROM audit()
       WHERE "procmon" in Tags AND Result = 'success'

     // Cache Uid -> Username mapping.
     LET system_users <= SELECT User, atoi(string=Uid) AS Uid
       FROM Artifact.Linux.Sys.Users()

     // Enrich the original artifact with more data.
     SELECT Time, Pid, Ppid, UserId,
              { SELECT User from system_users WHERE Uid = UserId} AS User,
              regex_replace(source=read_file(filename= "/proc/" + PPID + "/cmdline"),
                            replace=" ", re="[\\0]") AS Parent,
              CmdLine,
              Exe, CWD
       FROM exec_log

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.