08 September 2008, 12:14 | #1 |
Junior Member
Join Date: Apr 2002
Location: Holland
Age: 41
Posts: 314
|
Virus that stays in memory even after shutdown
Some years ago, people told me that there were virusses for amiga that stay resident, even after the Amiga was powered-off for a few seconds. I cannot believe that this is possible, so the question for all you ami guru's... is it possible??
|
08 September 2008, 12:33 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Not possible. And before someone asks: clock battery ram can't be used for code
|
08 September 2008, 12:43 | #3 | |
Its hard being famous!
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 43
Posts: 633
|
Quote:
http://news.cnet.com/8301-1009_3-10003167-83.html |
|
08 September 2008, 13:00 | #4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
I read long time ago that few seconds is max for usual DRAM chips (and 5s power off has always caused execbase rebuild on my A500 = possible virus is gone) but perhaps it depends on chip types or power supply model or mobo revision or something like size of filter capacitors?
|
08 September 2008, 13:08 | #5 |
Its hard being famous!
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 43
Posts: 633
|
Since the question was whether it would be possible for a few seconds - I would say yes - but if you power down for 20-30 seconds you should be OK...
|
08 September 2008, 13:24 | #6 |
Junior Member
Join Date: Apr 2002
Location: Holland
Age: 41
Posts: 314
|
I always thought that memory is blank instantly when power is cut off. It would be interesting to test how long the memory is retained. Especially with virus-resident stuff in memory.
Thanks for the replies. |
08 September 2008, 15:10 | #7 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
I'm thinking it doesn't really matter whether the RAM retains its contents for 1 millisecond or 1 hour.
A hard reset would go into configuring the RAM memory itself as well as other AutoConfig devices, and the Amiga OS Exec and other memory areas would be initialized properly. For the virus to activate it would have to be run in the first place which at that point isn't going to happen unless the Exec starts making wild jumps into uninitialized memory exactly where the virus still resides and could be activated properly. Simply having the virus in RAM isn't enough for it to spread. This sort of reminds me of when I was a kid and one of the older guys at the local computer club told us in a dead serious voice (and we believed him) that viruses could spread between floppy disks if you pulled the metal covers back and held the disks close together Last edited by Leffmann; 08 September 2008 at 15:19. |
08 September 2008, 15:44 | #8 | |
Junior Member
Join Date: Jan 2002
Location: PDX
Age: 62
Posts: 2,395
|
Quote:
|
|
08 September 2008, 16:52 | #9 | |
Its hard being famous!
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 43
Posts: 633
|
Quote:
|
|
08 September 2008, 18:02 | #10 | ||
Join Date: Jul 2008
Location: Sweden
Posts: 2,269
|
Quote:
Quote:
I never used StatRam but from what I understand it mounts a RAM drive for which it can search RAM and recover previous contents, am I right? |
||
09 September 2008, 00:31 | #11 |
Commodore Collector
Join Date: Aug 2001
Location: Austria
Age: 53
Posts: 944
|
Ha, one of my A-500 cannot easily 'forget' it's code, which is somtimes quite annoying !
I remember the game 'Pinball WIzard' which had a soft-reset protection, and I have ot turn off this A-500 for at least!! half a minute before I can restart again without hearing the hahahaha sound and seeing the pinball table again... But I'm not 100% sure, it might also have to do something with the psu, maybe some caps inside keep feeding the Amiga with power after shutoff ? |
09 September 2008, 01:04 | #12 | |
Workbitch 1.3
Join Date: Oct 2001
Location: Melbourne, Australia
Age: 46
Posts: 2,084
|
Quote:
|
|
09 September 2008, 09:30 | #13 | |
Its hard being famous!
Join Date: Aug 2008
Location: Gateway to the dales, UK
Age: 43
Posts: 633
|
Quote:
Dont know if it makes any difference but it was an A500+ with a 1Mb Chip expansion and 8Mb Fast RAM on a GVP hard disk. |
|
10 September 2008, 14:22 | #14 | |
Posts: n/a
|
mEGA dEMO
Quote:
You can use a 68000 coding instruction called TRAP and create a TRAP routine returning RTE on a LOOP and insert it into the SOFT BOOT of the Amiga's RESET. What this means is, when you soft or even hard reset your computer it executes the TRAP routine and stays 'stuck' inside the looped routine not allow the computer to properly complete its reset cycle. I've coded one years ago, you will also find it in megademos, demos, crackros, etc. It can be really annoying to flush out. **When Datel released the Action Amiga Replay III cartridge they included new code to release and flush out any COLD CAPTURE routines thus stopping this from happening. An example is VISION's MEGADEMO II for the a500, when the computer is soft/hard rebooted it JMP (jumps) straight back into a TRAP LOOP routine playing the demo's intro. ** TRAP INTERRUPT ROUTINES. Obviously this can be exploited and misused in the form of virii or just plain annoyance. |
|
10 September 2008, 14:46 | #15 | |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,505
|
Quote:
Just set Cold Capture (or other similar exec reset vectors) and its done. Note that non-setpatched KS 1.3 or older always rebuilds execbase if 1MB or larger chip ram due to exec bug. |
|
10 September 2008, 15:14 | #16 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
10 September 2008, 15:19 | #17 |
Junior Member
Join Date: Aug 2001
Location: France
Posts: 1,385
|
i remember too that when i used a RAD disk on A500, it took at least 10 seconds to be cleared after power off !
|
10 September 2008, 15:37 | #18 |
Longplayer
|
Joshua was a virus I remember having on my A600 more then once (school disk swapping - a virus haven ) It often seemed to survive a power cycle if not leaving off for more then 30 seconds or so. effect was big joshua mouse pointer, visable on kickstart screen to if i recall right.
|
10 September 2008, 16:40 | #19 | |
Posts: n/a
|
Quote:
HUH? |
|
10 September 2008, 16:50 | #20 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A600 black screen (_RST stays low) | demolition | support.Hardware | 15 | 24 July 2013 12:57 |
Virtual Memory or Memory Compactor | Leandro Jardim | support.Apps | 2 | 29 May 2012 23:12 |
Blizzard Turbo Memory - SMD memory chips doesn't work | sanjyuubi | Hardware mods | 5 | 26 May 2010 15:40 |
[68000 ASM] Move memory to memory | AmigaBoy | Coders. General | 7 | 08 December 2009 08:16 |
Screen stays black in windowed mode with 32-bit desktop | h121 | support.WinUAE | 4 | 24 August 2005 08:36 |
|
|