[2] Global-Listener (multiple targets)
Multiple Targets Payloads
Last updated
Multiple Targets Payloads
Last updated
This option creates a payload intended for execution on multiple targets. The payload is displayed on the screen for 5 seconds, after which you'll return to the main menu.
To execute the payload, paste it into the command prompt or run it anywhere you have gained command execution on the target system.
There is no time limit for executing the payload on the targets once it's created. When executed, the payload establishes a named pipe on the target with a predefined name, waiting for Amnesiac to connect. You won't see any connection established in Amnesiac.
To connect to the targets, you should use the Scan the Network for Listening Targets option.
The sessions established using this option will be displayed under "Global Listener Sessions".
It's essential to note that the payload can be executed on each target only once. This is because a second named pipe with the same name cannot be created on the same machine.
To handle situations where you need to execute payloads on the same target multiple times, you have two options:
Use a new Single Listener Payload each time you need to establish a new session.
Utilize the Scramble
or GLSet
commands, as explained below.
The Scramble
command changes the current named pipe name to a new random one. Any new payloads generated using this method will have the new name set.
The GLSet
command allows the user to set the named pipe name to a user-specified one. This can be useful when you want to revert to a previous name or need to use a specific one.
Named pipes created using this option are only accessible by the user operating Amnesiac, based on their SID. Others cannot connect.