Small Basic Forum
Antivirus is blocking files. - Printable Version

+- Small Basic Forum (https://litdev.uk/mybb)
+-- Forum: Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=1)
+--- Forum: Standard Small Basic (https://litdev.uk/mybb/forumdisplay.php?fid=2)
+--- Thread: Antivirus is blocking files. (/showthread.php?tid=305)

Pages: 1 2


Antivirus is blocking files. - AbsoluteBeginner - 04-17-2025

Today my antivirus started to complain and often block exe files created by the Small Basic compiler.  Sad

Deleting everything and clean reinstalling Small Basic did not help.
Is anyone else having this problem?

( I use licensed Windows 11 Pro )


RE: Antivirus is blocking files. - AbsoluteBeginner - 04-18-2025

Hi all.

I just tried running the file on my other computer.
This computer is about 10 years old. It has Windows 10 installed.
Windows is also official and has all the updates.

Unfortunately, on this computer the Antivirus started to behave the same way as on the computer on which I tried to write code yesterday.  Sad

Who knows what I should do now?

( Antivirus: Microsoft Defender )


RE: Antivirus is blocking files. - martmen - 04-18-2025

Hallo AB,

ich habe einen anderen Vieren Scanner und hatte auch so ein Problem.
Ich konnte es dadurch lösen, dass ich das Verzeichnis in dem ich SB Programme erstelle nicht überprüfen lasse.
Vielleicht kannst Du das bei Defender auch so einstellen.

Vielen Grüße
Martin


RE: Antivirus is blocking files. - z-s - 04-18-2025

Some time like Tcp server and client is blocked by windows firewall but normal things works good.


RE: Antivirus is blocking files. - sm4llprogrammer2008 - 04-19-2025

For me Avast is being sketchy and keeps CyberCapturing never saved programs I run, those often are compiled by Small Basic 1.2 on %TEMP%.
However if you save your program, the antivirus might give up blocking, but for Avast if you close the CyberCapture window, Avast gives up and says the program is safe (only worked on SB-Prime for me)


RE: Antivirus is blocking files. - AbsoluteBeginner - 04-21-2025

Hi all.

I continue to fight against Antivirus.  Sad

After a complete removal and clean reinstallation of the Small Basic and SB-Prime editors, I have the following situation:

Windows 10 Home:
- Running the simplest code (without using extensions) from the Small Basic editor occurs without any objections from the Antivirus.
- Running the code of my program "NeuroLab" (using the LitDev extension) from the Small Basic editor results in a message about checking the compiled file in Microsoft.

- Running the simplest code (without using extensions) from the SB-Prime editor results in a message about checking the compiled file in Microsoft.
- Running the code of my program "NeuroLab" (using the LitDev extension) from the SB-Prime editor results in a message about the detection of a virus and complete blocking of the compiled file by the Antivirus.  Dodgy

But, running the same code last night on another computer that uses Windows 11 Pro, happened WITHOUT any problems or messages.

What can you advise me?


RE: Antivirus is blocking files. - z-s - 04-21-2025

Does any other extension give same result if yes then maybe the program use dll of extension made from another PC results in this


RE: Antivirus is blocking files. - AbsoluteBeginner - 04-21-2025

(04-21-2025, 11:01 AM)z-s Wrote: Does any other extension give same result if yes then maybe the program use dll of extension made from another PC results in this

It started a few days ago, on two computers at once.
I think this happened because of another update of the Antivirus database.
Now I'm waiting for Microsoft to get tired of receiving my files for scanning and they will fix their bug in Antivirus.  Big Grin

In the meantime, I will write code in SB-Prime, but I will run the code from Small Basic.  Cool


RE: Antivirus is blocking files. - litdev - 04-21-2025

I only use MS Window Security, never found any advantage in other AV, paid or free.  I do however get issues with some stuff compiled with SB and extensions sometimes.  I store alll SB files and generated exe in a folder that I exclude from AV.  I always save a file and don't let it compile to %temp% which I would not want clogged with SB (it doesn't tidy up after itself) and I wouldn't exclude it from AV.  I always look at any imported code before running and check all the File commands properly before uncommenting and I look at extension command used for any potential misuse.


RE: Antivirus is blocking files. - AbsoluteBeginner - 04-21-2025

(04-21-2025, 01:37 PM)litdev Wrote: ... I look at extension command used for any potential misuse.

Tell me please, HOW do you do it? Can I do this too or do I need to know C# to do this?

For example, now Antivirus perceives your example "RadioButtons.sb" as if the compiler inserted a virus into the executable file.
Until now, this example always compiled without problems.  Huh