Qbasic Virus MUHAHAHAHA!!!

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
User avatar
Raspberrypicker
Veteran
Posts: 55
Joined: Thu Aug 02, 2007 4:54 pm
Location: Florida

Qbasic Virus MUHAHAHAHA!!!

Post by Raspberrypicker » Thu Aug 23, 2007 4:58 pm

Ok, this has always been on my mind for some reason ever since I started programming...is it possible to create a virus with qbasic?

If you could help me out with this, I'd greatly appreciate it, one day I'd like to take over the internet using qbasic. :twisted:

LOL
I'm not saying that I wanna make one, i was just wondering.
Fruit Pickin'

User avatar
Mentat
Veteran
Posts: 409
Joined: Tue Aug 07, 2007 3:39 pm
Location: NC, US

Post by Mentat » Fri Aug 24, 2007 6:34 am

In theory, I guess. But it will probably be more of a nucance than a threat with software and protected OSs.
For any grievances posted above, I blame whoever is in charge . . .

Mac
Veteran
Posts: 151
Joined: Mon Aug 06, 2007 2:00 pm

Post by Mac » Fri Aug 24, 2007 12:23 pm

Lee wrote:ill give you an example for a virus
No, Lee, that is an example of a "Trojan Horse".

A "Trojan Horse" is a program that you hope the user will run. When they do so, it does non-intended stuff.

A "Virus" is software that the user will inadvertently execute because it is inserted somewhere in the user's normal software. Moreover, to qualify as a virus, it must somehow make copies of itself and send them to other people without their knowledge.

You need to write virus code in ASM.

Of course, you could distribute a program for users to download and run (a Trojan Horse) that has, via DATA, the code for a virus. When the user stupidly runs your program (never run anyone's EXE), it installs copy1 of the virus in some software that is permitted access to the internet on the user's system. The next time the user runs that other software, it will commence sending it to others, who will send it to others, etc.

Anyone caught doing such a thing should be severely punished and usually are.

Mac

User avatar
Patz QuickBASIC Creations
Veteran
Posts: 399
Joined: Wed Mar 02, 2005 9:01 pm
Location: Nashville, Tennessee
Contact:

Post by Patz QuickBASIC Creations » Fri Aug 24, 2007 9:56 pm

About the worse damage you can do in QBASIC is POKEing to random places in memory, but with the program protections, even this is hard to do any real damage.

User avatar
sid6.7
Veteran
Posts: 318
Joined: Tue Jun 21, 2005 8:51 am
Location: west USA
Contact:

Re: Qbasic Virus MUHAHAHAHA!!!

Post by sid6.7 » Sat Aug 25, 2007 2:11 pm

Raspberrypicker wrote:Ok, this has always been on my mind for some reason ever since I started programming...is it possible to create a virus with qbasic?

If you could help me out with this, I'd greatly appreciate it, one day I'd like to take over the internet using qbasic. :twisted:

LOL
I'm not saying that I wanna make one, i was just wondering.
did we get up on the wrong side of the bed this morning?.... :evil:


PS.. do not post mischievous code here

User avatar
Raspberrypicker
Veteran
Posts: 55
Joined: Thu Aug 02, 2007 4:54 pm
Location: Florida

Post by Raspberrypicker » Sat Aug 25, 2007 8:01 pm

Sorry I had blackberries with my cereal this morning. :x

But no, i'd never, ever, ever make a program that wud just cause mischief.
Fruit Pickin'

User avatar
Mentat
Veteran
Posts: 409
Joined: Tue Aug 07, 2007 3:39 pm
Location: NC, US

Post by Mentat » Sat Aug 25, 2007 8:04 pm

Raspberrypicker wrote: But no, i'd never, ever, ever make a program that wud just cause mischief.
Me to. I'd only make one if I got something out of it, otherwise it's a waste of time :twisted: .
For any grievances posted above, I blame whoever is in charge . . .

User avatar
Codemss
Veteran
Posts: 124
Joined: Sun Jun 24, 2007 6:49 am
Location: Utrecht, The Netherlands
Contact:

Post by Codemss » Mon Sep 03, 2007 4:09 am

mmm I think it must be easy to make a program that destroy some important files that windows need to startup... Even, this is not a real virus, but it could do some serious damage, right? BTW, i don't know about internet with QB, so, it may be possible to send a mail too, but I don't know about that...

User avatar
Mentat
Veteran
Posts: 409
Joined: Tue Aug 07, 2007 3:39 pm
Location: NC, US

Post by Mentat » Mon Sep 03, 2007 7:25 am

I don't think so. Operating systems protect their files, especially against batch programs. And Microsoft Outlook also has protection. Don't forget, a QBASIC program looks foreign when sent/recieved to the computer. If such a program is activated, the OS (at least for windows) will probably crash the program by generating an error. Well...insofar as a modern computer; I don't know about the older ones.
For any grievances posted above, I blame whoever is in charge . . .

Post Reply