Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default ms antivirus started finding "trojan" in workbooks, any ideas howto narrow down what module it's coming from?

madscijr wrote:
My question is, does anyone have any suggestions or know of any utilities or ways to narrow down what is setting off the alerts?



You are not the first one.

Try renaming some of procedures/variables, moving code to different
modules...
or
switch antivirus.

VBA code stored in bin file "looks similar" to virus.

You can start removing module by module and see when it stops being
infected and focus in rearranging code in these modules.







  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default ms antivirus started finding "trojan" in workbooks, any ideas how to narrow down what module it's coming from?

madscijr wrote:
My question is, does anyone have any suggestions or know of any
utilities or ways to narrow down what is setting off the alerts?



You are not the first one.

Try renaming some of procedures/variables, moving code to different
modules...
or
switch antivirus.

VBA code stored in bin file "looks similar" to virus.

You can start removing module by module and see when it stops being
infected and focus in rearranging code in these modules.


FWIW:
I had my licensing code 'flagged' as a false positive suddenly, on a
system that it ran fine on, after Avast did an update/upgrade. How I
fixed it was to change wording used...

encrypt, encode
and
decrypt, decode

were changed to...

convert
and
revert

...after which the flagging stopped!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 147
Default ms antivirus started finding "trojan" in workbooks, any ideas howto narrow down what module it's coming from?

GS wrote:
madscijr wrote:
My question is, does anyone have any suggestions or know of any
utilities or ways to narrow down what is setting off the alerts?



You are not the first one.

Try renaming some of procedures/variables, moving code to different
modules...
or
switch antivirus.

VBA code stored in bin file "looks similar" to virus.

You can start removing module by module and see when it stops being
infected and focus in rearranging code in these modules.


FWIW:
I had my licensing code 'flagged' as a false positive suddenly, on a
system that it ran fine on, after Avast did an update/upgrade. How I
fixed it was to change wording used...

encrypt, encode
and
decrypt, decode

were changed to...

convert
and
revert

..after which the flagging stopped!



I had to rename procedure which originally was named kkk :)


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default ms antivirus started finding "trojan" in workbooks, any ideas how to narrow down what module it's coming from?

GS wrote:
madscijr wrote:
My question is, does anyone have any suggestions or know of any
utilities or ways to narrow down what is setting off the alerts?


You are not the first one.

Try renaming some of procedures/variables, moving code to
different
modules...
or
switch antivirus.

VBA code stored in bin file "looks similar" to virus.

You can start removing module by module and see when it stops
being
infected and focus in rearranging code in these modules.


FWIW:
I had my licensing code 'flagged' as a false positive suddenly, on
a
system that it ran fine on, after Avast did an update/upgrade. How
I
fixed it was to change wording used...

encrypt, encode
and
decrypt, decode

were changed to...

convert
and
revert

..after which the flagging stopped!



I had to rename procedure which originally was named kkk :)


No surprise! I learned that the av apps use binary combos of suspect
characters to evaluate. These, of course, are based on typical wording
used when programming malware!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default ms antivirus started finding "trojan" in workbooks, any ideas howto narrow down what module it's coming from?

These tools need to be able to explain exactly where the problem is. I'm sure it's a false positive but hunting down the issue(s) is a needle in a haystack...

On Friday, August 21, 2015 at 8:18:09 AM UTC-4, GS wrote:
madscijr wrote:
My question is, does anyone have any suggestions or know of any
utilities or ways to narrow down what is setting off the alerts?



You are not the first one.

Try renaming some of procedures/variables, moving code to different
modules...
or
switch antivirus.

VBA code stored in bin file "looks similar" to virus.

You can start removing module by module and see when it stops being
infected and focus in rearranging code in these modules.


FWIW:
I had my licensing code 'flagged' as a false positive suddenly, on a
system that it ran fine on, after Avast did an update/upgrade. How I
fixed it was to change wording used...

encrypt, encode
and
decrypt, decode

were changed to...

convert
and
revert

..after which the flagging stopped!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,182
Default ms antivirus started finding "trojan" in workbooks, any ideas how to narrow down what module it's coming from?

These tools need to be able to explain exactly where the problem is.
I'm sure it's a false positive but hunting down the issue(s) is a
needle in a haystack...


Absolutely!!!

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion


  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default ms antivirus started finding "trojan" in workbooks, any ideas howto narrow down what module it's coming from?

Which brings us to (in my humble opinion) the root of most headaches with
computers - security. There are other huge headaches, to be sure, like
constantly changing standards, changing interfaces (whatever happened to
the standard menu bar through which you could figure out any app almost
instantly?), compatibility (backwards, forwards, inter & intra),
proprietariness (is that a word?), and awkward copy protection or locking
down of a system (rooting / jailbreaking / non-portability of Windows, etc.)

To me, security, the headaches caused by those looking to spy or
maliciously hack, and all the wasted cycles trying to fight it,
is the biggest drag that ever afflicted computing!

If anyone knows how one might get MS System Center Endpoint Protection
to give up the details on exactly which module(s) / line(s) of code
it doesn't like.

For now I at least have a workaround in that I can just test my
workbook one module at a time with VirusTotal.com (thanks Peter T!)...

No surprise! I learned that the av apps use binary combos of suspect
characters to evaluate. These, of course, are based on typical wording
used when programming malware!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
"compile error in hidden module": DISTMOD -- ideas to fix it?? Clare Excel Discussion (Misc queries) 3 May 29th 08 01:44 AM
Finding the earliest "Last Saved Date" of Excel workbooks Barb Reinhardt Excel Programming 5 July 21st 06 05:40 PM
Excel: Narrow print area to wrap to 2nd "column" on page wood nerd Excel Discussion (Misc queries) 0 May 4th 06 12:11 AM
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" Luc[_3_] Excel Programming 2 September 28th 05 08:37 PM


All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"