forked from EmpireProject/Empire
-
-
Notifications
You must be signed in to change notification settings - Fork 573
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added redirector chaining and proper tunneling (#142)
* remove compiled csharp files during reset * Fixed external generate_agent * fixed redirector to tunnel all traffic * added agent chaining using redirectors * added firewall rules * fixed extra code * updated try/catch
- Loading branch information
Showing
6 changed files
with
94 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: generate_agent | ||
authors: | ||
- '@harmj0y' | ||
description: Generates an agent code instance for a specified listener, pre-staged, and register the agent in the database. This allows the agent to begin beconing behavior immediately. | ||
software: | ||
techniques: | ||
- T1214 | ||
- T1003 | ||
background: true | ||
output_extension: | ||
needs_admin: false | ||
opsec_safe: true | ||
language: powershell | ||
min_language_version: '2' | ||
comments: | ||
options: | ||
- name: Listener | ||
description: Listener to generate the agent for. | ||
required: true | ||
value: '' | ||
- name: Language | ||
description: Language to generate for the agent. | ||
required: true | ||
value: '' | ||
- name: OutFile | ||
description: Output file to write the agent code to. | ||
required: True | ||
value: '/tmp/agent' | ||
advanced: | ||
custom_generate: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters