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

ERROR_VIRUS_INFECTED - Operation did not complete successfully because the file contains a virus or potentially unwanted software. #46

Open
adamsheasec opened this issue Jul 18, 2021 · 5 comments

Comments

@adamsheasec
Copy link

Hi!

I've tried to run this, but I dont know why it's giving me this error message. I used msfvenom to create my own dll with just the standard command.

image

Here is the full issue:

image

Any help at all would be appreciated! Thanks in advance.

@jtsfvieira
Copy link

So, means that you have a good antivirus ;)

@adamsheasec
Copy link
Author

I thought so! But I'm running this against a Windows Server 2019 VM with Defender turned off and no other AVs, and I'm still getting this issue. If that's the case, then it shouldn't be picked up by an AV, right?

@Samson196
Copy link

I heard from a little birdy that the .dll file needs to be obfuscated... a little bit of AV bypassing...

@solftclone
Copy link

You can turn off the real time protection. That will help. I also encountered same issue. But turning off that real time protection on victim machine solved that

@Cyberopss
Copy link

I encountered the same issue. It occurs due to windows defender because manually turning off real time protection does not really turn off the defender

There are 2 ways to solve the issue

  1. Disabling windows defender from the server Manager
  • Log in to your Windows Server 2016.

  • Click on the Server Manager.

  • Go to Manage and click on Remove roles and features.

  • Untick the Windows Defender and click on Next. In the last step, click on the Remove button.

  1. Second way around is to turn off windows defender from group policy

Although I tried first one and it worked for me
Okay seee ya

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants