Windows Service debugging and permission issues, securiry attributes, ACLs, etc.

Hi, When my application starts, the anti-virus AVG says, the application trying to connect to the internet: allow, block. Someone suggested, "Make your program start-up before the AV Software" and another person said: "Suppressing a firewall warning won't do you any good, as your application will still be blocked. Come up with something better and we may help out with advisories and whatnot." I have a MFC C++ web dialog project which uses internet, SQL database and FTP service. So anti-virus think it is a malware, it give a warning. How should I go about it, should I write a "windows service application", and put together with my MFC project?

In addition, someone else said: " To overcome this, you need to learn Windows Service debugging (not so easy) and permission issues, securiry attributes, ACLs, etc."

Any comments, links, examples.
Thanks in advance...
Correct me if I'm wrong but nowadays some AV software are very persistent in scanning all port connections to "outside world". Even if it is a Windows Service (a forever running program in the background) and when it attempt to do a port connection to outside world, the warnings can still appear. I think some AV software will prompt you to save if this request is legitimate so subsequently the same program that make the port connection will not be "intercepted" by the AV software.

I believe those AV software install themselves somewhere and intercept all Windows request that attempt to open a port to "outside world".

Thinking back, those AV software works no differently from virus programs isn't it? Install somewhere and do interception of request. It just happen those AV software are supposed to do a "proper" job instead of creating mischief :P
When my application starts, the anti-virus AVG says, the application trying to connect to the internet: allow, block.
You could just ask the user to select allow and have them add it to their whitelist.

Someone suggested, "Make your program start-up before the AV Software"
You probably can't.

"Suppressing a firewall warning won't do you any good, as your application will still be blocked."
You'd hope so, wouldn't you?

How should I go about it, should I write a "windows service application"
That won't change anything.

" To overcome this, you need to learn Windows Service debugging (not so easy) and permission issues, securiry attributes, ACLs, etc."
That won't change a thing, clearly wrong advice.
Is a way to use c++, when my application starts, to fool the antivirus, first is asking if to allow to use internet, second, it says "Malware detected." Because I use ftp code, downloading some files to c drive. There is must be a way to tell to the system that that is not what I am doing.
Of course with c++ code.
Last edited on
Why not use Internet Explorer COM interface to do that ?
I don't think your antivirus program will complain about that.
I never done INTERNET EXPLORER COM interface, I need more info. how this can be done. I have MFC C++ dialog base project, how this can be done?
Topic archived. No new replies allowed.