Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #409630

Re: OT: Virus infection mechanisms

From "Teodor V." <teodor-see-signature@invalid.invalid>
Newsgroups sci.electronics.design
Subject Re: OT: Virus infection mechanisms
Date 2016-04-28 19:17 +0200
Organization Me, Myself & I
Message-ID <nftgee$scr$1@dont-email.me> (permalink)
References <nftbc8$8l6$1@dont-email.me>

Show all headers | View raw


On 2016-04-28 17:51, Don Y wrote:
> Sorry, couldn't think of a better forum...
> 
> I suspect antivirus tools just check for "characteristic signatures"
> in files and, from that, deduce that the file is "infected".  The thinking
> being that these combinations of bytes don't appear in "normal" software.
> 
> Assuming that to be true:
> - how long are these signatures?  i.e., do the tools check for a fixed
>   number of bytes in all "programs"?  Or, do they effectively verify the
>   presence of the entire viral payload?
> - for DLL infections, do they hook DLLmain?  Or, pick some "random" (all?!)
>   entry point in the library and "hope for the best" (worst)?
> 
> Finally, is it TYPICALLY an exercise in futility to try to remove/"comment
> out" the viral load (if it is always an initial stanza, then one should
> be able to just "skip past it"; if tightly interwoven in the code, "ain't
> gonna happen")?
> 
> Pointers to literature?

I don't have pointers to litterature, but I know that some antivirus
software generates hashes (MD5, SHA-1 and others) from known instances
of malware.

Not only from the file itself, but from parts from the file, like
segments for executables, and files contained in executables.

Another method used is heuristic scanning, like if you make a HTML file
which reads https://paypal.com/ up front in a hyperlink, but links you
to http://paypal.really.fishy.domain/, it will cause a trap or at least
warning.

A third method is to look for intentionally misspelled words, like you
remember how the sildenafil spam used v14gra et al permutations to get
past spam filters (which basically are a niche application of the same
technology that is used to scan for malware).

A virus database basically is a collection of signatures (either MD5,
SHA-1 et al as well as scripted heuristics for known instances of
malware which encrypts itself), signed with strong encryption so the
software is less likely to be tricked to recognize a legit program as a
threat.

As to litteature, come to think of it, I think I remember reading some
of this in a document regarding the ClamAV scanning engine, so that
would be a good starting point for your Google-Fu practice :3

/Teo.
-- 
Teodor Väänänen            | Don't meddle in the affairs of wizards,
teostupiditydor@algonet.se | for you are good and crunchy with
Remove stupidity to reply  | ketchup.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-04-28 08:51 -0700
  Re: OT: Virus infection mechanisms "Teodor V." <teodor-see-signature@invalid.invalid> - 2016-04-28 19:17 +0200
    Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-04-28 22:31 -0700
  Re: OT: Virus infection mechanisms Clifford Heath <no.spam@please.net> - 2016-04-29 07:29 +1000
    Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-04-28 22:33 -0700
      Re: OT: Virus infection mechanisms Clifford Heath <no.spam@please.net> - 2016-04-29 16:43 +1000
        Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-04-29 01:48 -0700
          Re: OT: Virus infection mechanisms Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-04-29 12:36 +0200
            Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-05-01 10:12 -0700
              Re: OT: Virus infection mechanisms Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-05-02 04:38 +0200
                Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-05-01 20:04 -0700
                Re: OT: Virus infection mechanisms Hans-Peter Diettrich <DrDiettrich1@aol.com> - 2016-05-02 17:59 +0200
                Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-05-02 11:59 -0700
          Re: OT: Virus infection mechanisms Nobody <nobody@nowhere.invalid> - 2016-05-01 04:53 +0100
    Re: OT: Virus infection mechanisms jurb6006@gmail.com - 2016-04-29 05:11 -0700
      Re: OT: Virus infection mechanisms Don Y <blockedofcourse@foo.invalid> - 2016-04-29 19:56 -0700
      Re: OT: Virus infection mechanisms rickman <gnuarm@gmail.com> - 2016-05-01 00:29 -0400

csiph-web