cube0x0 / CVE-2021-1675

C# and Impacket implementation of PrintNightmare CVE-2021-1675/CVE-2021-34527
1.83k stars 582 forks source link

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

Open adamsheasec opened 3 years ago

adamsheasec commented 3 years ago

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 commented 3 years ago

So, means that you have a good antivirus ;)

adamsheasec commented 3 years ago

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 commented 3 years ago

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

solftclone commented 2 years ago

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 commented 5 months ago

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

2) 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