How to Install the Tenable Nessus Agent on macOS using Bash/Command Line

Technology Interpreters Guide 3 months ago

Description

In this video, we provide a comprehensive walkthrough on how to remotely install and link the Tenable Nessus Agent on a macOS system using the command-line interface (CLI). This guide is perfect for IT and security professionals who need to deploy agents without physical access to the device.

We start by locating the correct Tenable product documentation and finding the exact agent installer for macOS (Darwin). We then demonstrate how to construct a curl command directly from the Tenable platform to seamlessly download the .dmg file to the /tmp folder on the target Mac.

Once the installer is downloaded, we dive into the specific Terminal commands required. You'll learn how to mount the DMG file as a virtual volume using hdiutil and how to execute the hidden .pkg file to complete the installation.

Finally, we navigate the unique file structure of macOS to locate the nessuscli tool. We conclude by building the precise command to link the new agent to your Tenable Vulnerability Management console, including defining the host port and assigning the asset to a specific group. We also cover how to verify the agent's status directly from the terminal.

Note: It may take a few minutes for the agent to appear as "Healthy" in your console after linking! @Tenable @TenableProductEducation

#Tenable #NessusAgent #macOS #CyberSecurity #ITOperations #VulnerabilityManagement #Terminal