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


Groups > sci.electronics.design > #410110

Re: OT: Virus infection mechanisms

From Don Y <blockedofcourse@foo.invalid>
Newsgroups sci.electronics.design
Subject Re: OT: Virus infection mechanisms
Date 2016-05-01 10:12 -0700
Organization A noiseless patient Spider
Message-ID <ng5d83$7ug$1@dont-email.me> (permalink)
References (1 earlier) <5722923a$0$44338$c3e8da3$aae71a0a@news.astraweb.com> <nfurhf$3e6$2@dont-email.me> <57231407$0$46649$c3e8da3$e074e489@news.astraweb.com> <nfv6v0$6f6$1@dont-email.me> <dogs36F1l35U2@mid.individual.net>

Show all headers | View raw


On 4/29/2016 3:36 AM, Hans-Peter Diettrich wrote:
> Don Y schrieb:
>
>> It would, I imagine, be difficult to insert malware at a "random" location
>> in an executable -- though could imagine "enough smarts" allowing it to
>> locate startup code and install itself in some portion of the image KNOWING
>> PARTICULARS ABOUT THE TYPICAL IMAGE FORMAT for that platform.
>
> PE program files come with verbose names of system calls in their fixup tables,
> so that it's easy to find useful locations in such a file.

 From what I've managed to find, it seems like the easiest way is just
to insert a stanza *before*[1] control is transferred to main() that
delivers the payload and then JUMPS to main.

I'll drag out a disassembler and see what sort of "nonsense" it encounters.

[1] Of course, the position of the inserted "code" in the file can actually
be AFTER the end of the original file as this makes it easier to glob onto
an existing file without having to rewrite it in its entirety.  Less effort
required to chase down "where" to inject the patch.

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