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


Groups > sci.electronics.design > #410181

Re: OT: Virus infection mechanisms

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Hans-Peter Diettrich <DrDiettrich1@aol.com>
Newsgroups sci.electronics.design
Subject Re: OT: Virus infection mechanisms
Date Mon, 02 May 2016 04:38:15 +0200
Lines 30
Message-ID <dont85Fes25U4@mid.individual.net> (permalink)
References <nftbc8$8l6$1@dont-email.me> <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> <ng5d83$7ug$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net whyTBFTlS2SQ0RiUr5/JNAC4rvg7ZqLMUGqhLWz+93NX+ODGRf
Cancel-Lock sha1:7h3cs0nShA3z126DVZR1O2Ac98g=
User-Agent Thunderbird 2.0.0.21 (Windows/20090302)
In-Reply-To <ng5d83$7ug$1@dont-email.me>
Xref csiph.com sci.electronics.design:410181

Show key headers only | View raw


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'll drag out a disassembler and see what sort of "nonsense" it encounters.

Right, that would be nice to know.

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

DoDi

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