Avast Free identifies my program as malicious

Hello! I create some simple application for fast translate “selected” text, so I used some small utility to copy the selected text to the clipboard, from which is already being translated. The problem is that a utility that emulates pressing a combination of Ctrl + C antivirus regards as malicious. Source code for emulation keyboard combinations took from the official Microsoft site, with your permission, I give it below:


    Sleep(500);
    // Simulate a key press
    keybd_event(  VK_CONTROL,
                  0x45,
                  KEYEVENTF_EXTENDEDKEY | 0,
                  0 );
    keybd_event(  (BYTE)'C',
                  0x45,
                  KEYEVENTF_EXTENDEDKEY | 0,
                  0 );


    // Simulate a key release
    keybd_event( (BYTE)'C',
                  0x45,
                  KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
                  0);
    keybd_event(  VK_CONTROL,
                  0x45,
                  KEYEVENTF_EXTENDEDKEY | KEYEVENTF_KEYUP,
                  0);

Full code: https://github.com/NeiroNext/QuickTranslator/blob/master/src/win_xsel/main.cpp

Please help with the problem! :frowning:
How to make this tool so that it was not considered pernicious, because the code can be seen it she was not doing anything wrong?

no detection here
https://www.virustotal.com/nb/file/c6b4452a157ceedc7f0d6aacb0064e12f6fc7d937d68477addc5f3e478e6578f/analysis/1443386238/

what is the full message from avast when detecting? … you may post a screenshot

False Positives can be reported here https://support.avast.com → avast virus lab

The binary file (ie software) is not detected on virustotal.com. What’s interesting is checking the file antivirus says everything is OK, but when I copy the program to a different folder pops up a message on its severity.
Here is a screenshot when I try to paste the copied file

http://s7.hostingkartinok.com/uploads/images/2015/09/bcbfe4672663a5bc38dad260a0a6b9ca.png

As Pondus pointed out you can submit it as FP.

PS: It helps if you either exclude your dev folders or sign your programs.

Yes, I can exclude folders with the program, but I want to spread it to other users. Register the program I have unfortunately not turn out because This is money resources that I have available, I am a student and distribute the program is absolutely free, now without a certificate.

Supporting Pondus asked to support virus laboratory, I hope for their support.

I think on the forum helped me as best they could, so thank you to all!

  1. No need to register.
  2. You’re welcome.