Author Topic: false positive  (Read 363 times)

user5

  • Sr. Member
  • ****
  • Posts: 428
false positive
« on: November 04, 2026, 05:29:27 pm »
    My Lazarus program scans fine with MS Defender and Internxt but Virus Total flags it for having a ClamAV keystroke recording malware or something like that. I have submitted a false positive report to Cisco but I'm upset and I want to resolve this ASAP.
    On only a handful of occasions the program offers the user the option of pressing the Esc key to do something using "if Key = ord(27) then" but that's about the extent of keyboard code.
    I need to find the part in the code that raises suspicion and then change it and my only clues are the keyboard and possibly Windows APIs. Can anyone provide some guidance here? Thanks.

user5

  • Sr. Member
  • ****
  • Posts: 428
Re: false positive
« Reply #1 on: November 04, 2026, 06:09:25 pm »
    I should add that I seek your generous help because the program plus its sub-programs represents more than 700,000 lines of code so the solution may be easy or difficult. It's a video editing program that I have just submitted to Download Crew. I explained the situation to them and I told them that I'm working on it but I don't yet know what to do. I just keep thinking keyboard, keyboard!

Hobbit00

  • Jr. Member
  • **
  • Posts: 70
Re: false positive
« Reply #2 on: November 04, 2026, 06:36:39 pm »
Intercept Windows events (like OnKeyDown for example) is normal and should not raises any alert. It's used in tons of applications.

If you use JOURNAL or other global tecniques to catch the keys (like SetWindowsHookEx) for global input (I mean outside your application), that may be catch like a malware.

Try to sign your exe with a digitally sign.

user5

  • Sr. Member
  • ****
  • Posts: 428
Re: false positive
« Reply #3 on: November 04, 2026, 07:14:05 pm »
    Thank you for your response. I removed the Keyboard and Mouse units from my program and I was very surprised that it compiled just fine. I then did a "Run\Clean up build files" and shortly I'll scan it again. We'll see.

wp

  • Hero Member
  • *****
  • Posts: 13712
Re: false positive
« Reply #4 on: November 04, 2026, 07:39:19 pm »
I'd consider sending key strokes as suspicious, too.

user5

  • Sr. Member
  • ****
  • Posts: 428
Re: false positive
« Reply #5 on: November 04, 2026, 08:07:41 pm »
    Bad news. The bad flag is still for keylogging. I'm pondering things and I'm trying to think outside the box. Thanks for you helpful words.

user5

  • Sr. Member
  • ****
  • Posts: 428
Re: false positive
« Reply #6 on: November 05, 2026, 12:16:07 am »
    I compiled a new Lazarus program and scanned it with Virus Total which reported a trojan virus. It seems as though some scanning programs do not like Free Pascal and/or Lazarus programs. I don't know what to do about this and it appears that no one else does either.

wp

  • Hero Member
  • *****
  • Posts: 13712
Re: false positive
« Reply #7 on: November 05, 2026, 01:44:11 am »
It seems as though some scanning programs do not like Free Pascal and/or Lazarus programs.
How many is "some"? VirusTotal has about 70 virus scanners. If "some" is - say - less than 5, ignore it: I just uploaded the exe of the empty Lazarus default project - 1 scanner reported a trojan (Jiangmin - "banker.danabot").

 

TinyPortal © 2005-2018