Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] C# and NIM payloads are getting generated with a error message #612

Open
jeevanachandra opened this issue Sep 12, 2022 · 4 comments
Open
Assignees
Labels
bug Something isn't working missing information Provide more information for us to work this issue.

Comments

@jeevanachandra
Copy link

Note: Please fill out all sections (if applicable) and do not delete the below section headers, otherwise the bot will close the issue.

Empire Version

  • Empire 4.8.0

OS Information (Linux flavor, Python version)

  • OS: Linux [ Kali ]
  • Python: 3.0

Describe the bug

Client Side Issue while generating C# Payloads, after filling all important options like Port, Obfuscation techniques, outfile and others it says "!] Error: ConnectionRefusedError(111, 'Connection refused')" this message pops up in the client version.

To Reproduce

Steps to reproduce the behavior:
Just use csharp/exe stager for windows only to encounter this bug.

Expected behavior

Failed to generate / no available language

Screenshots

image

Additional context

There is also issue with NIM payloads, although nim is present in the emulation machine. Nim issuehas been present since 4.7.0- current version and the C# issue has popped up after this recent release I.e., 4.8.0.

@jeevanachandra jeevanachandra added the bug Something isn't working label Sep 12, 2022
@Cx01N
Copy link

Cx01N commented Sep 12, 2022

@jeevanachandra Is the server reporting an error in its window? If could post a picture of the server errors or the logs from startup, that would be really helpful.

Also if you start the csharpserver plugin, does the error still persist?

useplugin csharpserver
execute

Last thing, did you happen to rerun the install script for 4.8? We updated the .NET SDK to resolve some dependency issues in newer OSs.

@Cx01N Cx01N added the missing information Provide more information for us to work this issue. label Sep 13, 2022
@reybango
Copy link

@Cx01N I'm having the same issue when creating a stager on Empire 4.8.0

image

@Sirbu
Copy link

Sirbu commented Mar 10, 2023

I have the same issue with version 4.10.0.

Here is my screenshot of the server window :

image

Using the useplugin csharpserver & execute method reproduces the same error in the server window.

image

@phasm1d
Copy link

phasm1d commented Mar 11, 2023

Hi,

I think my issue is linked.

Just installed today on a Kali 2023 , using official documentation (clone repository). Started server, opened Starkiller in Firefox web browser, created a listener and fails to create a windows shellcode for this listener.

Starkiller returns: Error: Error: Request failed with status code 500

Server returns the following:

image

vinnybod added a commit that referenced this issue Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working missing information Provide more information for us to work this issue.
Projects
None yet
Development

No branches or pull requests

6 participants