Jump to content

WinHttp.WinHttpRequest.5.1 vs Windows Defender


Go to solution Solved by Luke94,

Recommended Posts

I have problem with this object (WinHttp.WinHttpRequest). if I use this obj, the windows defender finding a virus (Win32/Wacapew.C!ml) when compiling.

Anybody know why happen it?

 

Edit: It's not happen every time. Interesting... May my pc has got a virus unconnected with autoit?

 

Edited by sersam
Link to comment
Share on other sites

1 hour ago, Luke94 said:

I'm using a 64-bit OS and if I use the Compile Script or Compile Script (x86) options, Windows Defender flags it as a virus. I have to specifically use the Compile Script (x64) option.

Maybe that'll help?

Yeap it help but not enought. I tried 50 times with different options in aut2exe. (Lowest,low,normal,high,highest, and upx compress) Result is random. You may right, in x64 never did happen it but in x32 sometimes did happen it.

Thanks

Edited by sersam
Link to comment
Share on other sites

3 hours ago, Nine said:

Just exclude folders from AV...

what is point? When I copy execute file it will already be detected. I mean the virus is not detected only when compile also it in compiled exe file. And I need to use exe on different computers. So I need to fix it, not cover it up. 

Thanks for advice

Link to comment
Share on other sites

5 minutes ago, sersam said:

So I need to fix it, not cover it up.

You won't fix it.  You need to organize your computer environment properly.  But if you do not want to help yourself, I guess I won't try to help you either.

Link to comment
Share on other sites

 

45 minutes ago, sersam said:

So I need to fix it, not cover it up. 

@Nine 's advice is not just a "cover-up" but a legitimate solution !!

 

@sersam :

On your development machine, exclude the entire ..\AutoIt directory (and subfolders) from scanning by the virus software.

On third party computers create a directory, e.g. ..\AutoItExe, and exclude it from scanning. Afterwards copy your compiled AutoIt-Scripts into it.

If you do not have access rights to these computers, then the following alternative may help you :

https://www.autoitscript.com/forum/topic/34658-are-my-autoit-exes-really-infected/?do=findComment&comment=1472906

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

6 minutes ago, Musashi said:

 

@Nine 's advice is not just a "cover-up" but a legitimate solution !!

 

@sersam :

On your development machine, exclude the entire ..\AutoIt directory (and subfolders) from scanning by the virus software.

On third party computers create a directory, e.g. ..\AutoItExe, and exclude it from scanning. Afterwards copy your compiled AutoIt-Scripts into it.

If you do not have access rights to these computers, then the following alternative may help you :

https://www.autoitscript.com/forum/topic/34658-are-my-autoit-exes-really-infected/?do=findComment&comment=1472906

Ok, I guess I wasn't clear enough but @Nine 's advice is not useful for me. Also your method too. Let me explain, I'm programming a free software with Autoit. I know it's not designed for it but it's simple and powerful so I choose it. But I can't say to users that "you need to exclude program folders from your antivirus" or "I will give a3x file and please copy the AutoIt3_x64.exe to run the program." bla bla bla. They never do it.

But you and @Nine is right, I can't fixed because flags is flag and looks like that anti-viruses don't like autoit.

Thanks for help and advices. Be happy!

Link to comment
Share on other sites

7 minutes ago, sersam said:

But I can't say to users that "you need to exclude program folders from your antivirus" or "I will give a3x file and please copy the AutoIt3_x64.exe to run the program." bla bla bla. They never do it.

I suspect that you did not fully understand the workflow with the .a3x scripts. Maybe you should take a second look at it ;).The customer himself does not have to copy the interpreter (i.e. the AutoIt3.exe) from somewhere. You provide the interpreter, together with the script (or scripts), and a .cmd file to start it. BTW : The AutoIt interpreter (AutoIt3.exe / AutoIt3_x64) can be provided as stand-alone, even for commercial projects. Put everything into a .zip file if you like, and send it to the customer.

A third option for you could be the solution from @Exit , see : au3tocmd-avoid-false-positives

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...