Why My Compiled App With Trojan / App has virus

I literally did that earlier in this thread and Avast did not report as a virus when I scanned with VirusTotal.

1 Like

@ewpatton

I’m sorry that you obviously misunderstood me completely. I never claimed that the AI ​​platform is actually infected. Maybe the code is now similar to an Avast mobile virus definition.

I can only say what I have experienced myself. I just wanted to point out that I have received this virus message only since this compiler change. Avast is of course responsible for correcting the virus definitions.

Anyway, I have to wait and see how Avast responds to my last request.

I’m sorry that you obviously misunderstood me completely. I never claimed that the AI ​​platform is actually infected.

@Ray, That was suggested by JatiMuar.

I have tested a simple Hello World App on a Huawei P30 Pro (VOG-LO9), Android v9 01 November 2019, and do see the same warning message.

I have removed all mention of App Inventor and MIT from the files that make up the .aia file, but that did not make any difference. There may be something in the App Manifest that the Huawei does not like but if so, it is their responsibility to tell us - but I don't think that will happen.

1 Like

After build apk with mit app inventory I install it on my phone. After that I see on my phone a security message: “Virus” from two app.
The first is my project (MaricaCard) and the second is the application MIT AI2 Companion.
The virus name is Evo-gen.
Why I see that from apk? How can I solve that?
You can write an answer in English or in Italian.
I’m Italian so I prefer Italian language.
Here there’re some screenshot.

What version of the virus definitions is everyone running? Follow these steps to check and please let us know:

  1. Open Avast and click on the hamburger menu in the top left

  1. Scroll down to Settings and click it:

  1. Find Updates on the list and click that

  1. Read off the “Virus definitions version”. You may want to “CHECK FOR UPDATE” beforehand to get the latest version.

  1. If you didn’t have the latest version, try updating and rescanning your device to see if it still reports MIT App Inventor. You may need to uninstall and reinstall the app as Avast might remember that it previously marked the app bad.

@domipoke This discussion discusses the most probable reason your app is flagged as a virus.

Are you using a Huawei Android or use an AVAST virus checker? If that is true, this post discusses your problem.

Avast is pre-installed, no version-number available, no chance to handle it anyway.

Now I compiled my app with this both offline-compiler:
a) nb180/AI2Offline_x64.exe (2 months old)
b) nb181b/AI2Offline_x64.exe (7 days old)
from: https://sourceforge.net/p/ai2offline/activity/?page=0&limit=100#5e058890ee24ca37089a4469

After compiling with nb180 NO Virus detected by pre-installed Avast on Huawei P30Pro
after compiling with nb181b VIRUS detected by pre-installed Avast on Huawei P30Pro

Hello domipoke

Welcome to our new Forum. Please let us know the make and model of your phone and the Android Version.

Honor 9 lite
Security patch 1 november 2019
Android version 9
Is there a way to remove this bug? please answer me.
Is better if it is a free way

Honor 9 Lite is a Huawei device. See the above posts.

There is NO bug in App Inventor. This is a serious problem with Huawei’s virus detection.

Sorry, there is no simple solution. You might be able to disable the virus checker and replace it with one from GooglePlay. When the notice appears, simply click the ignore button and enjoy your app.

Hi again Ray

Huawei do not pre-install Avast, so that must have been done by the Reseller? Note that there shouldn’t be two AV apps running on the device at the same time.

Personally, having seen so many reported issues caused by Avast on Windows Desktop, I would uninstall it. However, Huawei’s built-in AV returns a false positive whether or not Avast is there.

So, it is certainly true that the Huawei/Avast AV engines pick up something produced by the latest App Inventor version and equally true that there is no virus in the App Inventor Companion APK. I’m sure Avast will test the file and agree they have a false-positive, and fix it. They have never been willing to reveal the cause of their errors though and Huawei will continue to be polite but not deliver anything useful.

Can you uninstall Avast and repeat your tests to compare nb180 and nb181b?

@ChrisWard

Hi Chris,

My two Huaweis are of different ages, they were purchased from different places.

The fact is that Huawei has definitely pre-installed Avast. See also here: https://consumer.huawei.com/de/support/how-to/detail-troubleshooting/de-de00708844/
and attached screenshots.


This has nothing to do with the “Avast mobile security” app, which can be installed separately.

At first you don’t notice the existence of this preinstalled virus checker. Only when you open the “Optimizer” app, which is also preinstalled, you will find it. See attached screenshots. Or if an app is installed that is said to be infected.

You cannot remove this preinstalled virus checker without root rights, and there is no version number. You cannot change anything at all, i.e. you cannot deactivate or uninstall it. On other cell phones, the app is called “Telefonmanager”, at least in Germany.

Of course there is NO virus in the App Inventor system! It is just annoying when a false alarm is constantly reported. In my opinion, there can only be a solution if MIT contacts Avast to find a common solution. The MIT is a great and renowned university with a very high level. It should be possible that Avast is also keen to support MIT. That is just a suggestion.

I see. There is no indication that Huawei AV is actually a built-in version of Avast, but you have discovered that is the case… on our P30, we have never seen any mention of Avast, including the logo, so it might be location (country) dependent.

On the device, if you install a 3rd Party AV (not Avast!), does it then allow you to switch-off Huawei AV?

I currently have an enquiry with Avast and I will put your discovery to them. The snag is, the deal between the two companies was probably made before the political turmoil and so all hands are likely tied. We have already jumped through a lot of hoops and got nowhere. Avast or any other AV company would never make any kind of “allowance” for MIT or any other organisation formally - that would of course represent a huge risk for App Users (in theory - in practice, different for most of course).

03/01/2020 10:36, support@help2.avast.com wrote:

Hello,

Thank you for reporting this false positive.

Our virus specialists have now cleared its reputation in our database.

With URLs this change should be instant, but it might take up to 24 hours with files.

For future reference you might also find the following article to be useful: Avast Clean Guidelines.

Best regards,

Avast Customer Care

1 Like

Bom dia a todos! Tenho um Xiaomi Redmi note 8 pro, Android 9, MIUI 11 e comigo aconteceu também testado hoje dia 03/01/2020 foto em anexo.
O Smartphone vem de fabrica com app de verificação de vírus e acusou que o MIT AI2 companion é um vírus trojan de alto risco. Sabemos que é um erro. Um falso positivo. Mas seria bom uma solução. Fiz teste de um app com apenas um botão sem nenhuma função e também acusou trojan de alto risco. Acredito que esse erro é referente as definições de vírus do avast pre instaladas nos dispositivos Xiaomi e Huawei com verificação de segurança pre instaladas. Mas na versão nb180 do MIT App inventor isso nunca aconteceu comigo. Testei o mesmo app de um simples botão no virustotal.com e o resultado é seguro. somente no momento de instalação do app no smartphone reporta virus de alto risco

Google Translate:
Good morning everyone! I have a Xiaomi Redmi note 8 pro, Android 9, MIUI 11 and it happened to me also tested today 01/01/2020 photo attached.
The smartphone comes from a factory with a virus scan app and has accused MIT AI2 companion of being a high risk trojan virus. We know it is a mistake. A false positive. But a good solution would be. I tested a one-button app with no function and also accused high-risk trojan. I believe this error refers to avast virus definitions pre installed on pre-installed Xiaomi and Huawei security scanned devices. But in the nb180 version of the inventor MIT App this never happened to me. I tested the same app from a simple button on virustotal.com and the result is safe. only at app install time on smartphone reports high risk virus

@K_SJ Please read the posts above, especially the most recent by ChrisWard that has the following message from AVAST

Hello,

Thank you for reporting this false positive.

Our virus specialists have now cleared its reputation in our database.

With URLs this change should be instant, but it might take up to 24 hours with files.

For future reference you might also find the following article to be useful: Avast Clean Guidelines.

Best regards,

Avast Customer Care

. AVAST apparently has to update their virus signature white list every time App Inventor provides a new release. Check your app in 24 hours and see if things work properly.

Further Response from Avast:

Greetings,

Thank you for contacting Avast with your concerns.

Yes the virus definitions are updated for all devices. Nevertheless it may happen that app can be detected on one device and not on other. I suspect it should not be the case here.

Should you have any other inquiries please don’t hesitate to contact me again.

Best Regards,

Ondřej
The Avast Support Team

@ChrisWard

Hi Chris,
No, Avast cannot be uninstalled or deactivated even by installing 3rd Party AV.

I fear that the virus definition updates will not be updated immediately when Avast updates them, but only when there is a new update from Huawei. I assume that, but I don't know.

By the way, what applies to Avast also applies to AVG, see here Impressum | AVG. It is the same company.

Hi Ray

Huawei claim automatic updates are offered within 30 days (does not compare well to the likes of Samsung etc). You can try a manual update - it will check for availability.

Not only are Avast related to AVG, the AVG “engine” is used by many other AV companies. A bit like Volkswagen…

You mean VAG :wink: