Malicious files?

Discussion in 'SolidWorks' started by Corey Scheich, Jun 30, 2003.

  1. Is there any need to worry about malicious SW Files. Or are there
    provisions within SW API to prevent this.
     
    Corey Scheich, Jun 30, 2003
    #1
  2. Corey,

    What do you mean by malicious ??

    I had a file that flipped me off the other day... does that count ??? ;>)


    Regards

    Mark
     
    Mark Mossberg, Jun 30, 2003
    #2
  3. it is theoretically possible to create viruses using the "Macro Feature"
    mechanism.
    AFAIK nobody did i yet. (I started, then stopped after notifying SW it was
    possible)
    If you look in apihelp.chm under "macro feature security" you'll see:
    swMacroFeatureSecurityCannotBeDeleted (this is my favourite...)
    swMacroFeatureSecurityNotEditable
    swMacroFeatureSecurityCannotBeSuppressed
    if you create a macro feature with those options and call
    Feature::SetUIState(swIsHiddenInFeatureMgr) you could invisibly run any code
    on the target PC every time the infected part is rebuild, the first thing
    being of course to copy the macro feature on all other opened documents...
    The only thing that makes this slightly less dangerous than Word macros is
    that the macro feature code itself must be in a separate file, it cannot
    reside in the SW model document itself (or at least I don't know how to do
    yet...)

    Philippe Guglielmetti - www.dynabits.com
     
    Philippe Guglielmetti, Jul 1, 2003
    #3
  4. Corey Scheich

    Heikki Leivo Guest

    I suspect he means malicious in the 'open the file and a macro inside it
    .... But macro features are always separate macro files, so SW documents have
    an external reference to the macro file. The macro file path is specified in
    the macro feature definition. The evil macro feature has no effect unless
    you copy the macro feature file to the desired location.

    This reminds me of a swedish (or french/russian/afgan etc, choose the
    nationality you want to insult) manually operated virus spreading through
    mail:

    Hello, this is a mail virus. Since we are not very good in programming,
    please help us by following these simple steps:
    - Delete all your important files
    - Send this mail to all people in your contact list
    Thank you!

    ;-)

    -h-
     
    Heikki Leivo, Jul 1, 2003
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.