FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Problema con windows defender
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Problema con windows defender
Posted: Sun Oct 15, 2023 01:47 AM

Amigos,

Desde hace unos 2 meses atrás vengo teniendo problemas con mi software y las actualizaciones de widows 10. En muchas PCs, incluyendo la mia, windows defender lo detecta como virus y no hay manera que permita que funcione. Ni aun haciendo la excepcion a traves del firewall.

He probado con muchos antivirus (kasperky, avast, panda, nod32) y otros y no detectan nada. Todo limpio. Incluso formatee mi equipo y reinstale todo y el problena persiste. La unica manera es desactivar el windows defender y el firewall.

Hay clientes que no estan conformes con tener que desactivar la protección para poder usar mi software y eso me esta creando problemas y me estoy ganando la desconfianza de ellos.

En equipos que tienen las actualizaciones desactivadas y en windows 11 no tengo problema. Todo bien.

¿ A alguien la ha pasado lo mismo?

"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.
Posts: 607
Joined: Mon Mar 04, 2013 04:32 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 07:00 AM

Hola José

No estarás usando upx o algún compresor ?

Supongo que lo habrás probado pero deberías poner como excepción la carpeta donde tengas tu software pero en el Windows defender, con eso debería servir y no darte problemas.

Espero lo soluciones pronto.

Saludos amigo.

José.

Enviado desde mi Lenovo TB-J606F mediante Tapatalk

Fwh 24.07 64 bits + Harbour 64 bits 3.2dev(r2407221137) + MSVC64
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 09:26 AM
hi,

i do not understand your Problem with Windows 10 update
does your App "Autostart" like a Service :?:
greeting,

Jimmy
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 11:40 AM
jvtecheto wrote:Hola José

No estarás usando upx o algún compresor ?

Supongo que lo habrás probado pero deberías poner como excepción la carpeta donde tengas tu software pero en el Windows defender, con eso debería servir y no darte problemas.

Espero lo soluciones pronto.

Saludos amigo.

José.

Enviado desde mi Lenovo TB-J606F mediante Tapatalk
Hola Jose Vicente. como estas?

Pues no, no lo había colocado en exclusiones de windows defender. Solo lo autoricé a través de firewall, pensé que solo era allí. Mala pata de mi parte.
Ya lo coloque, esperaré unos días y te comento si se solucionó el problema.

No, no estoy usando compresores. Se que los archivos comprimidos a veces se identifican como virus.

Gracias por la ayuda !
"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 11:46 AM
Jimmy wrote:hi,

i do not understand your Problem with Windows 10 update
does your App "Autostart" like a Service :?:
Hello jimmy.

No, it does not have autostart.

The problem is that windows defender says that my software is a virus.

It started with the latest Windows updates, since it is the same way and the same software versions that I have been working with for years.

My friend Jose Vicente suggested a solution to me.

It's sure to work!

Thank you very much for your attention.
"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 04:26 PM
José, inclua esto a tu archivo de recursos(.RC/RES): VERSION.RC
Code (fw): Select all Collapse
1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x0
FILEFLAGS 0x0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "Comments",    "Sistema Desenvolvido Pela Empresa TAL - http://www.empresatal.com.br \0"
   VALUE "CompanyName",   "Sistema Desenvolvido Pela Empresa TAL - http://www.empresatal.com.br \0"
   VALUE "FileDescription", "NOME DO SISTEMA\0"
   VALUE "FileVersion",   "1.0000\0"
   VALUE "InternalName",  "Projeto TAL\0"
   VALUE "LegalCopyright", "Sygecom Informática Ltda\0"
   VALUE "LegalTrademarks", "NOME SISTEMA / SYGECOM\0"
   VALUE "OriginalFilename", "NOME_EXE.EXE\0"
   VALUE "ProductName",   "NOME DO SISTEMA\0"
   VALUE "ProductVersion", "1.0000\0"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 0x416, 0x4B0
 }
}
O:
Code (fw): Select all Collapse
1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1, 0, 2, 0
PRODUCTVERSION 1, 0, 2, 0
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
{
 BLOCK "StringFileInfo"
 {
  BLOCK "080904E4"
  {
   VALUE "CompanyName", "Contato Sistemas\000"
   VALUE "FileDescription", "PlenoWin  -  Cesta Básica\000"
   VALUE "FileVersion", "1.0\000"
   VALUE "InternalName", "PlenoWin.exe\000"
   VALUE "LegalCopyright", "\251Contato Sistemas e Proc. Ltda\000"
   VALUE "LegalTrademarks", "\256Contato Sistemas e Proc. Ltda\000"
   VALUE "OriginalFilename", "GERAPNFE.EXE\000"
   VALUE "ProductName", "PlenoWin\000"
   VALUE "ProductVersion", "3.77\000"
   VALUE "Comments", "by Joao Santos - 2023\000"
  }

 }

 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 2057, 1252
 }

}
Cambie a tú gusto personal, porfa. E si posible, no usa WINDOWS DEFENDER, SIEMPRE el AVG FREE ó de pago.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 04:54 PM
karinha wrote:José, inclua esto a tu archivo de recursos(.RC/RES): VERSION.RC
Code (fw): Select all Collapse
1 VERSIONINFO LOADONCALL MOVEABLE DISCARDABLE IMPURE
FILEVERSION 1,0,0,0
PRODUCTVERSION 1,0,0,0
FILEFLAGSMASK 0x0
FILEFLAGS 0x0
FILEOS VOS__WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE VFT2_UNKNOWN
{
 BLOCK "StringFileInfo"
 {
  BLOCK "040904E4"
  {
   VALUE "Comments",    "Sistema Desenvolvido Pela Empresa TAL - http://www.empresatal.com.br \0"
   VALUE "CompanyName",   "Sistema Desenvolvido Pela Empresa TAL - http://www.empresatal.com.br \0"
   VALUE "FileDescription", "NOME DO SISTEMA\0"
   VALUE "FileVersion",   "1.0000\0"
   VALUE "InternalName",  "Projeto TAL\0"
   VALUE "LegalCopyright", "Sygecom Informática Ltda\0"
   VALUE "LegalTrademarks", "NOME SISTEMA / SYGECOM\0"
   VALUE "OriginalFilename", "NOME_EXE.EXE\0"
   VALUE "ProductName",   "NOME DO SISTEMA\0"
   VALUE "ProductVersion", "1.0000\0"
  }
 }
 BLOCK "VarFileInfo"
 {
  VALUE "Translation", 0x416, 0x4B0
 }
}
Saludos mi estimado amigo Joao.

¿esto es como una firma del exe? ¿Qué hace exactamente?

El defender viene con el windows y hoy día muchos usuarios consideran que es suficiente. No creen necesario tener otro antivirus. Convencerlos de lo contrario es todo un proceso.
"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 06:12 PM
Estimado José, WINDOWS DEFENDER NUNCA superará a AVG ANTI VIRUS.

Una imagen siempre hablará por sí sola:

https://imgur.com/e94oBzI



regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problema con windows defender
Posted: Sun Oct 15, 2023 06:38 PM
karinha wrote:Estimado José, WINDOWS DEFENDER NUNCA superará a AVG ANTI VIRUS.

Una imagen siempre hablará por sí sola:

https://imgur.com/e94oBzI



regards, saludos.

Gracias amigo !
"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.
Posts: 1772
Joined: Thu Sep 05, 2019 05:32 AM
Re: Problema con windows defender
Posted: Mon Oct 16, 2023 07:30 AM
hi,

to exclude Folder of App is a Workaround ... but how tell it Customer :?:

the right way is to include a "Signature" (not only a "Fileinfo" in *.RC) ...
but it seem makecert.exe / certmgr.exe from .NET SDK are only 64 Bit

have a look at
https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/bfsktky3(v=vs.80)?redirectedfrom=MSDN
https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/8s9b9yaz(v=vs.80)?redirectedfrom=MSDN
greeting,

Jimmy
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problema con windows defender
Posted: Mon Oct 16, 2023 02:04 PM
Jimmy wrote:hi,

to exclude Folder of App is a Workaround ... but how tell it Customer :?:

the right way is to include a "Signature" (not only a "Fileinfo" in *.RC) ...
but it seem makecert.exe / certmgr.exe from .NET SDK are only 64 Bit

have a look at
https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/bfsktky3(v=vs.80)?redirectedfrom=MSDN
https://learn.microsoft.com/en-us/previous-versions/dotnet/netframework-2.0/8s9b9yaz(v=vs.80)?redirectedfrom=MSDN
hello jimmy,

yes, you right, is not easy to tell at client.

i will take a look to this that yo send me.

I don´t know nothing about signature of software, but witht this, i will sure that i will learn.

it is very interestig and necesary to learn about this.

thanks a lot!
"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.
Posts: 851
Joined: Sun Nov 09, 2014 05:01 PM
Re: Problema con windows defender
Posted: Mon Oct 16, 2023 02:10 PM
jvtecheto wrote:Hola José

No estarás usando upx o algún compresor ?

Supongo que lo habrás probado pero deberías poner como excepción la carpeta donde tengas tu software pero en el Windows defender, con eso debería servir y no darte problemas.

Espero lo soluciones pronto.

Saludos amigo.

José.

Enviado desde mi Lenovo TB-J606F mediante Tapatalk
Jose Vicente, haciendo la exclusión, todo va bien. Gracias.

Ahora voy a investigar la manera de "firmar" el software siguiendo la sugerencia del colega Jimmy. Creo que es la manera más idónea y efectiva.

Un abrazo.
"Los errores en programación, siempre están entre la silla y el teclado..."



Fwh 19.06 32 bits + Harbour 3.2 + Borland 7.4 + MariaDB + TDolphin



Carora, Estado Lara, Venezuela.

Continue the discussion