Location of Files Required By Automox

This describes the various files and their respective locations to support the Automox agent, which could potentially be considered for whitelisting.

Linux

For Linux, the Automox agent files are located here:

File LocationDescription
/etc/init.d/amagentThis is the location of the initialization script for the agent.
/var/lib/amagent/This is the amagent.db database as well as dynamically generated exec folders and scripts for executing the scripts we need for the product to function.

Example folder layout:

drwxr-xr-x 7 root root 224 May 10 16:17 .

drwxr-xr-x 19 root root 608 May 11 16:03 ..

-rw-r--r-- 1 root root 16384 May 10 16:17 amagent.db

drwx------ 3 root root 96 May 8 15:16 execDir118111890

drwx------ 3 root root 96 May 8 14:30 execDir419776156

drwx------ 3 root root 96 May 8 14:40 execDir534130416

drwx------ 3 root root 96 May 8 14:41 execDir993973924

Note: The agent runs scripts to execute its functions within dynamically created folders with the prefix "execDir".

File LocationDescription
/opt/amagent/amagentThis is the agent executable that runs as a service.

Logs (Linux)

All logging goes to the syslogs folders. The amagent logs can be viewed with either of these commands:

systemctl status amagent

cat /var/log/syslog | grep amagent

macOS

For macOS, the Automox agent files are located as described here:

File LocationDescription
/var/tmp/installerlog.txtThis is the log containing output and potential errors from actual agent install.
/var/tmp/amagent-accesskey.txtThis is the temporary location for the access key during agent installation and startup.
/Library/LaunchDaemons/com.automox.agent.plistThis is the plist file for the Automox agent daemon process.
/Library/Application Support/Automox/ This location stores the amagent.db database, the 'Automox Notifier.app', as well as dynamically generated exec folders and scripts for executing the scripts we need for the product to function. The notifier provides notifications to end users for patch events and restarts.

Example folder layout:

drwxrwxrwx 7 root wheel 224 May 10 16:17 .

drwxr-xr-x 19 root admin 608 May 11 16:03 ..

-rwxrwxrwx 1 root wheel 16384 May 10 16:17 amagent.db

drwx------ 3 root wheel 96 May 8 15:16 execDir221989621

drwx------ 3 root wheel 96 May 8 14:30 execDir266587032

drwx------ 3 root wheel 96 May 8 14:40 execDir399049188

drwx------ 3 root wheel 96 May 8 14:41 execDir591069041

Note: The agent runs scripts to execute its functions within dynamically created folders with the prefix "execDir".

File LocationDescription
/usr/local/bin/amagentThis is the agent executable that runs as a launch daemon.

Logs (macOS)

All logging goes to /var/log/system.log {grep for amagent}

Windows

For Windows, the Automox agent is located here:

File LocationDescription
C:/ProgramData/amagent/ This is the location for the amagent.db database as well as dynamically generated exec folders and scripts for executing the scripts we need for the product to function.
C:/Program Files/Automox/AgentNotifier.exeThe Notifier provides notifications to end users for patch events and restarts.
C:/Program Files/Automox/amagent.exeThis agent executable runs as a Windows service and is called "Automox Agent".
C:/ProgramData/amagent/amagent.logThis is the amagent log file.

PowerShell

PowerShell 5.0+ feature "Language Modes" generates two files used to detect the current language mode. These files end up blocked, but this does not affect Automox functionality. For a more detailed description of this scenario, contact Automox support (support@automox.com). See also About Language Modes.