Can someone with more experience assist me in creating a package with Composer to install Velociraptor?
Here is the information i was provided, the only thing i was given plus the client.config.yaml file.
Due to restrictions with Mac OS, a binary with a custom configuration file bundled is unable to
be compiled. For this reason, the install requires specifying a config file when launching the
agent.
The service install directive can be used to install the agent on Mac client. The following
command installs binary & config to /usr/local/sbin.
• <velociraptor_file> --config client.config.yaml service install
Note: The “client.config.yaml” file will be provided by Stroz Friedberg and included in the upload
portal.
The service can be uninstalled with the following command:
• /usr/local/sbin/velociraptor service remove --
config=/usr/local/sbin/velociraptor.config.yaml
• Confirm with ps -eaf | grep velo and sudo launchctl list | grep velo
I am assuming i need to start composer put the client.config.yaml file in a shared folder, drag it into composer
then run a post script to run <velociraptor_file> --config client.config.yaml service install
the website has a slightly different script to run
https://docs.velociraptor.app/docs/deployment/clients/
Mac
The service install directive can be used to install Velociraptor on Mac client. The following command installs binary & config to /usr/local/sbin. Persistence is via launchd (check with ps -eaf | grep velo and sudo launchctl list | grep velo)
# velociraptor --config client.config.yaml service install
The service can be uninstalled with the following command:
# /usr/local/sbin/velociraptor service remove --config=/usr/local/sbin/velociraptor.config.yaml
Confirm with ps -eaf | grep velo and sudo launchctl list | grep velo.
I am unsure if there is a package i should be adding but i cannot find it on the github to download and add to the package.