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


Groups > sci.electronics.design > #410184

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 20:04 -0700
Organization A noiseless patient Spider
Message-ID <ng6fum$p7t$1@dont-email.me> (permalink)
References (3 earlier) <57231407$0$46649$c3e8da3$e074e489@news.astraweb.com> <nfv6v0$6f6$1@dont-email.me> <dogs36F1l35U2@mid.individual.net> <ng5d83$7ug$1@dont-email.me> <dont85Fes25U4@mid.individual.net>

Show all headers | View raw


On 5/1/2016 7:38 PM, Hans-Peter Diettrich wrote:
> Don Y schrieb:
>> On 4/29/2016 3:36 AM, Hans-Peter Diettrich wrote:
>
>>> 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.
>
> It's easy to change the program entry point to somewhere in appended code, but
> a start address near the end of the code segment is quite easy to detect. The
> viral code then also cannot access anything that is initiated in the startup
> code, like memory management and standard handles. The code also will have to
> call OS routines for connecting to the outer world, which may deserve some
> setup before they can be used.

I was thinking of it the other way around:  payload installs itself (without
relying on ANYTHING in the infected executable), then just "falls into" the
intended application.

>> I'll drag out a disassembler and see what sort of "nonsense" it encounters.
>
> Right, that would be nice to know.

What I am after is a confirmation that the viral load wraps *around* the
original application instead of threading itself THROUGHOUT it.  The former
has some chance of being removed.  The latter would be a lost cause
(how do you recognize the added infection from the original application?)

Largely an educational experience as I can live without the application
entirely (so, it's more of a "challenge")

>> [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.
>
> Right.

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