home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.pascal
- Path: sparky!uunet!gatech!destroyer!gumby!yale!yale.edu!ira.uka.de!math.fu-berlin.de!news.netmbx.de!Germany.EU.net!mcsun!fuug!demos!kiae!relcom!usenet
- From: als@vl.ts.kiev.ua (Alexander Shehovtsov)
- Subject: Re: Rom Bios?
- Message-ID: <ABzlhQgO91@vl.ts.kiev.ua>
- Lines: 42
- Sender: news-service@kiae.su
- Reply-To: als@vl.ts.kiev.ua
- Organization: TechnoSoft
- References: <147fglINNdi7@matt.ksu.ksu.edu>
- Date: Mon, 20 Jul 92 09:13:33 -0400
-
- > Boris Tyshkiewitch <btysh@aha.msk.su> writes:
- >
- > > FMnzf> presumably because it is *not* possible to find the BIOS one with any
- > > FMnzf> certainty.
- >
- > >Why? Theare are a well known techology to find a real interupts vectors. This
- > >technology used in virus and antivirus software. So make own small debbuger
- >
- > > 1. Install vector Int 1h - single step interrupt.
- > > 2. set the sengle step flag
- > > 3. Execute interrupt You are interesting in.
- > > 4. Monitor CS:IP address until it points to ROM ( 0F000:?????)
- > > This is the entry to the roms int. handler.
- >
-
- It's not so easy as looks, especially when talking about virus and
- antivirus software. There are at least three methods to foolish this
- algorithm:
-
- 1. If virus or antivirus sets OFF the single step flag. It's not
- very hard to do, if it can intercept interrupt You are interesting in
- before your debugger;
-
- 2. More interesting idea: programm in interrupt chain before
- installation makes scan of the part of memory from 0F000:0000
- to find code of RET FAR. Then program in its codes
- belonging to interrupt chain makes FAR CALL to this position.
- Your debugger would be very happy to find this RET FAR in
- BIOS, but you would not be so happy in that case :-)
-
- 3. EMM386.SYS in DOS 5.0 and QEMM.SYS from DesQView are able to
- load programms into UMB (Upper Memory Blocks), even "replacing"
- BIOS by their "stealth technology". The addresses of these
- programms can be any except only video memory, so 0F000:0000
- may be not ROM but RAM.
-
- --
- Alexander Shehovtsov, (044) 266-70-28 (9:00 - 18:00 Kiev, Ukraine) voice
- als@vl.ts.kiev.ua Relcom | 2:463/30.5 or 2:463/34.4 FidoNet
-
-
-
-