Adventurer #06
28 февраля 1997

Exchange of experience - about the virus in the game Last Battle. How to write a virus.

<b>Exchange of experience</b> - about the virus in the game Last Battle. How to write a virus.
              B & R Y C Li



     Discussed in this article goes on progpammah VIRUS and 
VIRUS II, but about the present computer viruses, well, 
straight as to iBM PC!


     It was long thought that in the TR-DOS viruses can not be 
(which, in Basically, right). Rather, generally believed that 
viruses - it is destiny PC. And now there was information that 
the game LAST BATTLE there is a virus! " Checking the 
information, I discovered that. 

     In fact, viruses in TR-DOS is not quite
correct, these viruses of all kinds
on SPECCY can be arranged only in the
systems iS-DOS and CP / M (not sewn in
ROM). Except for the model SCORPION,
ATM, PENTAGON 512K + "shadow RAM" instead of
PZUshki printer, then in the TR-DOS

You can write only file viruses,
run before the execution of an infected program. Resident 
viruses in a standard SPECCY impossible. 

     Due to the nature and SPECCY TRDOS (ie, run only 
BASIC-files) contamination of code blocks is unrealistic and 
possibly infecting BASIC-only files. Technology infection is 
simple: 1) is sought BASIC file;

2) to scan for viruses and if
it is not already there, then a blank space on
disk is stored the body of the virus in the file header changes 
the length and initial Track / sector file and stored in the 
body virus, the normal length and the track / sector.

Then, in the first line of BASIC is entered
transition to a launch of the virus. Oposlya changed 
information is written to disk, and returns control to the 
program from is caused by a virus.


     Disadvantages of such a virus is obvious.
These include changes in length
BASIC-file (in sectors), the inability to

infect programs on another drive (on the
systems with a single drive) and inability to infect other 
programs, if no hard drive space or data on disk is shown that 
there is no free space. Also, If you implement a virus on the 
above scheme, it is copying to another drive will not work. At 
Last Battle virus works on several other

scheme, although very similar. Once launched, the virus, he 
primarily looks for boot and tries to infect it, and only

then makes his case further, ie,
BASIC-looking files. When looking for is
check the file length in sectors and if
length is large enough, then the transmission is
Occurs (that's the answer to those who wrote
except for "bottle" has some game in
monoloaderah). In carrying out not
scrutiny, it was determined that
size in 18 sectors and is large enough that the program has 
acquired immunity. If the file is suitable in size, it

checked for infection (in the verification

involve only three bytes) and if not infected, then the fun 
begins. The first line of bend varies with the fact

to ensure the launch of the virus, the virus body is generated, 
connects to infects programs into a block equal to the length 
BASIC'a sectors + 8, and writes it the case for free space. 
After this is corrected directory of the drive and all

repeated again, until then, until the directory is reached. In 
theory the virus of the "bottle" is capable of infecting once

all BASIC-files on the disk.

     As you can see the virus in general, simple,
but even in the form as it is now, he can
bring trouble. To cite one example of life: come to us from 
Flash'ey CDs sistemkami, and found that several (maybe at the 
beginning of one) are infected with "drunken genie" (my name 
for this virus / I think it sounds'). Although he with them 
does not show, RAY, having sad experiences with the "drunken 
genie", decided to produce a course of treatment. Those ogy was 
simple: start the BASIC, slowing down it, and if you get what

We expect to see, then ship our BASIC in
blank disc. That's all treatments. Who does not
able to disinfect itself, bring
(Send) us, we can help.

     To summarize: Viruses on the Spectrum
there. Known for a virus written
HACKER SQUAD ("Drunk genie"). Distinguishing features: an 
increase in length by 8 (in sectors), infection with only short

BASIC-files, increasing the load time
an infected program. First appeared
in the game "Last Battle". Editorial Board
invites everyone to vyskazatsya
about viruses on the page ADVENTURER'a.

ADV: By the way, we have a packed and
obezvirusennaya (in, skazanul!) version
LAST BATTLE. If anyone should ...



               (C) SHRSOFT







Other articles:

System - Overview of system innovations: FREE FORMAT v8.3, ALASM v2.8, OMEGA COMMANDER v1.5, PERFECT COMMANDER v1.52, F-COMMANDER v4.02, CHEMNEBASE v0.6, SPRITELAND v1.9, MAXSOFT SCREEN PACKERv1.0, ANIMICROPROTECTOR v1.0), MICRO EDITOR, DISK LEVEL, MAY BE MY BANK v5.1, AFRODITA v3.0, FLOOPY FORMAT UTILITY v1.0, DIGITAL STUDIO PLAYER v1.0, PRO TRACKER PLAYERv1.10, UNRECOGNIZED FORMATING OBJECT v1.1, ZX-WINWORD v1.0

Review - An overview of new gaming software: KOMANDO-2, PEDRO NA OSTROVE PIRATOV, DIRT TRACK RACER, DOUBLE DRAGON-2, THE CYCLES, STUNT MAN SEYMOUR, CHOY LEE FUT KUNG FU WARRIOR, ARKARUM, KING VALLEY, MURK 3320, THE MYSTER of ARKHAM MAVOR, SKAZ ANCIENT RUSSIA: VITYAZ SVYATOGOR and the Sorcerer Karachun, MAGICIAN LAND, RALLY CROSS, MOVING TARGET, KLADEMINER, LOST CAVES and the TOMB of DOOM, WIZARD WILLY.

Interface - Cheat for the game Heavy Metal Mover. Opinion about the assembly (which is better?). Questions about adventyurnym games: Last Raider, The Knight and the Sorcerer Svyatogor Karachun, Medieval History.

user interface - parse mail. Letters from readers: Kolotushkin Sergei, Dmitrii Shadrin, Bernik Eugene.

user interface - fraud on the Spectrum - a fake game from Overfile.

Interface - News: KAV developing arcade adventyuru "hedgehog mutants", Nicodim working on the game "Legend of Kyrandia", Microfucker. Top Ten games and five electronic journals from the city of Yaroslavl.

Presentation - Presentation of new programs: Road Fighter demo, Font Editor. Novel entry to the game Return Home 4. New game from K. KAV 'a - "Return to Home 5.

Promotion - Description adventyurnyh and strategic games: Appolo and Stranger, Lord of Chaos, War Game 1, the land of myths, Sorcerer Lord.

Ottyag - Terminology of the user or the modern spoken language. Marazminki: 10 reasons why the dinosaurs became extinct. 10 contenders for the Ninja Turtles. 10 things you could do V. Van Gogh. 10 things you can cry, stealing back to my Granddaddy. 10 things that would gluppo say what who came to buy your house. 10 things you can give a deaf-rodst ots. That you should not say or do, if you nazh- ralsya. Chinese poslivitsy. The Gospel of Mitkov. Tests: "Are you cool demomayker?" "Do you have friends?" "Russian Folk Chernushka" (scanned images of SERGA)

Exchange of experience - How to make a disc version? ..

Exchange of experience - What do we choose: the advantages and disadvantages of PC and Amiga.

Exchange of experience - about the virus in the game Last Battle. How to write a virus.

Exchange of experience - Methods for protecting software code.

Anniversary - the journal of the 1 year (6 issues - the anniversary issue).

Anniversary - Our Anniversary - 15 years and 57 years SPECCY Sinclair!

Novella - Novella "black beret" the game "Sabouter".

Contest - Competition GFX - the first work ...

Advertising - Advertising and announcements.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Iron - Ability to connect a computer ZX spectrum to the TV via Scart.
Gfx scene - "pixel-scene at Spectrum is in a pretty sorry state" ...

В этот день...   21 November