Deploy RocketCyber Agent Using Ninja RMM

This guide will walk through using the Ninja RMM  to deploy the RocketCyber Agent.

A few notes about the deployment script:

  • The console generates a PowerShell script per organization that automatically includes the information required to deploy the agent, specifically the license key and the URL.
  • The script first checks to see if the agent is already installed before performing an install.
  • If the script does not detect an installed agent, it will download the agent installer package to the local machine and execute it.

Add a new script In Ninja RMM

  1.  Log onto the RocketCyber console. In the navigation menu, click All Organizations.
  2. Click Deploy for the appropriate organization.
    screen-shot-2020-01-06-at-4-17-56-pm.png
  3.  Click the Select & Copy button to copy the PowerShell script for the desired organization.
    screen-shot-2020-01-06-at-6-58-34-pm.png
  4.  Log on to the Ninja RMM console and in the left-hand navigation menu, click Configuration.
    screen-shot-2019-06-21-at-11-52-22-am.png
  5. From the Configuration menu, click Scripting.
    screen-shot-2019-06-21-at-11-52-59-am.png
  6. On the Scripting page, click Create New Script.
    screen-shot-2019-06-21-at-11-14-24-am.png
  7. In the script editor:
    1. Paste the script copied from the RocketCyber console into the editor control.
    2. Provider a name in the Name field such as RocketAgent Deploy.
    3. Provide a description in the Description field.
    4. Category chooses the appropriate category such as Maintenance.
    5. Language select PowerShell from the dropdown list.
    6. Operating System selects Windows from the dropdown list.
    7. Architecture selects All from the dropdown list.
    8. Parameters leave empty.
    9. Click Save.
    10. Click Close
      screen-shot-2019-06-21-at-11-18-18-am.png

Add a Scheduled Task in Ninja RMM

  1.  From the left-hand navigation menu, select Configuration > Tasks.
     screen-shot-2019-06-21-at-11-52-59-am__1_.png
  2. Click New Task.
    screen-shot-2019-06-21-at-11-19-48-am.png
  3. Complete the following information in the Create new scheduled task view.
    • Enabled: Should be switched On.
    • Name: Enter RocketAgent Deployment.
    • The description: Leave empty.
    • Schedule Repeats: Select Daily from the dropdown list.
    • Recur Every: Set to 1.
    • Start At: Choose a date/time in the future.
    • Ends: Select After from the dropdown list.
    • Occurrences: set to 1.
  4.  Click the Add Script button.
    screen-shot-2019-06-21-at-11-26-41-am.png
  5. In the Scripts field, type rock to filter the list.  
  6. Click RocketAgent Deploy.
    screen-shot-2019-06-21-at-11-27-01-am.png
  7. In the RocketAgent Deploy dialog box:
    1. Preset Parameter leave blank
    2. Run As choose System from the dropdown list.
  8.  Click Apply to continue.
    screen-shot-2019-06-21-at-11-27-15-am.png
  9.  In the Create New Scheduled Task view, in the navigation menu, click Targets.
  10. Click Add.
    screen-shot-2019-06-21-at-11-27-30-am.png
  11. In the Targets dialog box, choose the appropriate target devices or organizations. Click Apply.
    screen-shot-2019-06-21-at-11-27-46-am.png

You should now see the scheduled task in the list.
screen-shot-2019-06-21-at-11-28-13-am.png

  • The task will execute at the time specified in the task schedule.
  • You can verify its execution by viewing the details of a device that was targeted.
  • The results of the script/task execution will be listed in the Activities section.
    screen-shot-2019-06-21-at-11-50-00-am.png