Skip to content

Creating an Implant

p3nt4 edited this page Nov 14, 2023 · 5 revisions

Creating an Implant

Implants are the meat of Nuages and can be implemented in any form as long as they are equipped to talk to the API through a handler. Implants only need to implement four API calls, as described in the dedicated Wiki Page.

A full tutorial about creating a Python implant can be found here

Main workflow

The main workflow of an implant should be as follow:

def executeJob(job):
 result = doThings(job)
 sendJobResult(result)
 
id = register()
while(true):
   jobs = heartbeat(id)
   executeJobs(jobs)

Note on pipes

Pipes are virtual streams that can be accessed through the /implant/io API. They can have read, write or read/write permissions and can be connected to any stream objects within the clients and servers. They are used for port forwarding, interactive code execution, tcp tunneling, file upload and file download.

Clone this wiki locally