Re: How Wood Ewe...?

new topic     » goto parent     » topic index » view thread      » older message » newer message

> From:          Ralf Nieuwenhuijsen <nieuwen at XS4ALL.NL>

> > If you don't try and change the size of the file you can change using davids
> > package, maybe.
> > *However*, changing an executables file, even if it's not part of the code
> > will cause most anti-virus programs to declare it a
> > possible threat. You may be better of having a seperate file to play in for
> > that reason.
>
> How would they ever notice that you do ?
> I mean, it isn't compiler or anything. All executable code for each euphoria
> program is the same in .exe, there is just
> different 'data'.
> In other words, they can *not* notice such a thing in Euphoria.

Well it depends on the anti virus program. The anti virus program usually tries
to detect any change to a program.

Most modern compilers use a checksum on the executable they make to track if
it's been altered.
Those compilers may include the data portion or may not.
Some anti-virus programs red that checksum if it exists compares it with the one
they calculated and if they differ the file
has changed.

However most programs just calculate the checksum on their first run and store
it for future use.
That's what thos chklist.ms and anti-vir.dat etc files are.
Most antivirus progrms just calculate it for the whole file.

When you chage a file you have a 1 in 2^32 chance of not changing the checksum.

For those who don't know a check some is a method of error detection. It uses a
polynomial on a file to calculate a special
number. Then each time it wants it can check that number against one it has
freshly calculated if they are different the file
has changed or been corrupted etc.

-------------------------
Sincerely,
Mathew Hounsell

mat.hounsell at excite.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu