Rapid7 Vulnerability & Exploit Database

Ansible Agent Payload Deployer

Back to Search

Ansible Agent Payload Deployer

Disclosed
06/12/2017
Created
01/17/2024

Description

This exploit module creates an ansible module for deployment to nodes in the network. It creates a new yaml playbook which copies our payload, chmods it, then runs it on all targets which have been selected (default all).

Author(s)

  • h00die
  • n0tty

Platform

Linux

Architectures

x86, x64

Development

Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/linux/local/ansible_node_deployer
msf exploit(ansible_node_deployer) > show targets
    ...targets...
msf exploit(ansible_node_deployer) > set TARGET < target-id >
msf exploit(ansible_node_deployer) > show options
    ...show and set options...
msf exploit(ansible_node_deployer) > exploit

Time is precious, so I don’t want to do something manually that I can automate. Leveraging the Metasploit Framework when automating any task keeps us from having to re-create the wheel as we can use the existing libraries and focus our efforts where it matters.

– Jim O’Gorman | President, Offensive Security

;