Author Topic: Meu software sempre é vítima de falsos positivos  (Read 10349 times)

0 Members and 1 Guest are viewing this topic.

REDACTED

  • Guest
Meu software sempre é vítima de falsos positivos
« on: February 10, 2017, 07:53:24 PM »
Temos um software de gerenciamento empresarial que faz conexão com a internet em alguns momentos e também tem a conexão com um equipamento externo(ECF). Nosso aplicativo é atualizado frequentemente, são 2 ou 3 atualizações por semana. Estamos tendo muitos problemas com o Avast em nossos clientes, pois muitos deles utilizam o Avast. Gostaria de saber que medidas eu poderia tomar para o meu software ser confiável perante as análises do Avast.

Quero resolver este problema, só preciso saber o que preciso fazer pra isso.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Meu software sempre é vítima de falsos positivos
« Reply #1 on: February 13, 2017, 02:02:05 PM »
Houshi, bem vindo aos fórums e obrigado por informar esses falsos positivos.
Por favor, informe falsos positivos (detecções erradas em arquivos ou sites) aqui: https://www.avast.com/pt-br/false-positive-file-form.php
Assim que fizer, por favor, volte a postar aqui para que possamos acompanhar a análise junto ao nosso Laboratório de Ameaças.
The best things in life are free.

REDACTED

  • Guest
Re: Meu software sempre é vítima de falsos positivos
« Reply #2 on: February 13, 2017, 07:48:31 PM »
Então cara, esse problema já foi visto por ticket em outro momento. Seguimos os passos e tudo mais, porém a cada versão do software que lançamos e mandamos as atualizações automáticas para os clientes o Avast pega como vírus e nossos clientes acabam ficando sem sistema.

Eu gostaria de saber o que fazer para ter uma solução definitiva para o meu problema. Ao invés de deixar o nosso processo de release mais burocrático. Existe algum tipo de certificação para o software que faça com o que ele seja confiável ou algo do gênero? É um software comercial. Gostaria de saber como resolver meu problema definitivamente, somente.

Offline Lisandro

  • Avast team
  • Certainly Bot
  • *
  • Posts: 67194
Re: Meu software sempre é vítima de falsos positivos
« Reply #3 on: February 14, 2017, 02:07:28 AM »
Houshi, eu entrei em contato com o Laboratório de Ameaças. Por favor, me cobre uma posição.
Suponho que eles vão dizer algo sobre assinatura digital dos arquivos.
The best things in life are free.

Offline HonzaZ

  • Avast team
  • Advanced Poster
  • *
  • Posts: 1038
Re: Meu software sempre é vítima de falsos positivos
« Reply #4 on: February 14, 2017, 07:11:58 AM »
Lisandro is correct. The easiest way is using a digital signature.
It would help if I knew which detections are triggering on the new files. Is is caused by having similar stucture to known malware? Does it contain similar byte sequence(s)? Does it have similar metadata? Without the file, I canot say much.


REDACTED

  • Guest
Re: Meu software sempre é vítima de falsos positivos
« Reply #6 on: February 14, 2017, 12:24:27 PM »
Pelo que li nos dois links acima, isto pode ocorrer se em algum momento meu software fizer o download de algum arquivo.

Acontece que na legislação das regras do PAF, existem vários arquivos considerados para a geração de um md5 ao abrir o software chamado de ISA_Pdv(Que é homologado com o PAF), precisamos garantir que quando atualizamos uma DLL, ela deve ser obrigatoriamente atualizada em nossos clientes. O processo de atualização do nosso software é o seguinte:

Ele baixa os novos executáveis em um zip,
Extrai eles com um "new." na frente do nome do executável
Executa o executável com o "new." e fecha a si mesmo
O executável com o "new." copia a si mesmo para um executável sem o "new." executa esse novo executável e se fecha.

Após abrir novamente ele faz duas coisas:
A primeira é rodar as migrações na base de dados.
A segunda é verificar se alguma das DLLs foi modificada, caso sim, é feito o download dessa nova DLL para substituir a antiga.

Acredito que o problema pode estar neste processo.

Offline HonzaZ

  • Avast team
  • Advanced Poster
  • *
  • Posts: 1038
Re: Meu software sempre é vítima de falsos positivos
« Reply #7 on: February 14, 2017, 02:24:39 PM »
Without any example files, I really cannot say anything else. If I have the file, I can decide 1. why it was detected in the first place, 2. what is the best way to prevent something similar happening in the future.

REDACTED

  • Guest
Re: Meu software sempre é vítima de falsos positivos
« Reply #8 on: February 14, 2017, 04:12:13 PM »
HonzaZ, if you need the files, can i send a link to you, but i think you can't run the application with no db, then you will not see the behavior i sayed.

You want the files yet?

Download here https://asseinfo-portal.s3.amazonaws.com/production/system/versoes/versao.2017.02.07.01.isa_pdv.zip?1486490072

Offline HonzaZ

  • Avast team
  • Advanced Poster
  • *
  • Posts: 1038
Re: Meu software sempre é vítima de falsos positivos
« Reply #9 on: February 14, 2017, 04:40:51 PM »
One of the files, Isa_PDV.exe, was actually detected by FilerepMalware. Let me know if you still have issues, and if so, post a printscreen of the detection, that helps a lot!

REDACTED

  • Guest
Re: Meu software sempre é vítima de falsos positivos
« Reply #10 on: February 15, 2017, 12:10:48 PM »
One of the files, Isa_PDV.exe, was actually detected by FilerepMalware. Let me know if you still have issues, and if so, post a printscreen of the detection, that helps a lot!

Exactly, Isa_PDV has been moved to quarantine every time. Like i said up here, it downloads dll files and copy herself to the same directory with another name.

If you need can i translate the explanation of our update process to you.  :D

The print from detection attached

Offline HonzaZ

  • Avast team
  • Advanced Poster
  • *
  • Posts: 1038
Re: Meu software sempre é vítima de falsos positivos
« Reply #11 on: February 15, 2017, 12:37:34 PM »
I was able to find the file thanks to the data from the printscreen. It looks like the culprit was this file: 5FD8504E2FC351570EA9112B737D180CDED479A2A6C6D219A9FECB3D130A0D3D.
This file was whitelisted 13.2., so it shouldn't happen anymore (the printscreen is from 10.)
Could you try again and check if you still have the same issue?

REDACTED

  • Guest
Re: Meu software sempre é vítima de falsos positivos
« Reply #12 on: February 15, 2017, 01:30:31 PM »
But we release more then once every week. New files be detected. This file has been whitelisted, but the new ones no! If we release a new emergency version and update our customer, the file can be deleted by Avast.

Put a single file in a whitelist does not solve my problem. I want identify what i need to do, i want solve my problem definitely.

Offline HonzaZ

  • Avast team
  • Advanced Poster
  • *
  • Posts: 1038
Re: Meu software sempre é vítima de falsos positivos
« Reply #13 on: February 15, 2017, 01:36:25 PM »
1. Why don't you sigitally sign your files? This could all be prevented easily...
2. When a new version is rolled out, is the detection name still the same?

REDACTED

  • Guest
Re: Meu software sempre é vítima de falsos positivos
« Reply #14 on: February 15, 2017, 01:50:51 PM »
1. This option is a good one, can you tell me what type of digital certificate i need for this signing?

2. On the print i showed you before, the detection is a "Generics" but now the scan show to me a "FileRepMalware". Like this print.