LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-10-2006, 02:35 AM   #1
Palmyra
LQ Newbie
 
Registered: May 2006
Posts: 3

Rep: Reputation: 0
help in virus


hello all
i want to make new kind of security system in linux
that system protect object file (*.out or *.o)
by injuction it by small friendly virus that make it can't work with out another rogramm in memory
tell now i can't do this step because the book i read not clear enough

please if any one can help me i'll be thankfull for him
 
Old 07-10-2006, 03:31 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
To me that sounds like a non-friendly virus, if you think about it a bit farther. Sounds like a bad idea; security is not friendly viruses but getting rid of them all. Nuclear energy was to be something friendly too, but nowadays it's a pain in the ass.

Think about it.
 
Old 07-10-2006, 08:29 PM   #3
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Nothing new but that's a good exercise for testing purpose, NOT for servers.

A few years ago, there was some virii that encrypted the whole disk and installed a parasite module in memory that was decrypting on the fly.
As soon as the person discovered the virus, he would happily remove the module and reboot.
Uho the disk was then unreadable without this parasite, and the system had to be reinstalled..

So it can be used as a security measure depending on how its done.
The parasite can be a usb key,... quite common nowadays.

What you are trying to do is not an easy task.

Keep in mind that every program can be reverse engineered and that debugging your .o to patch so that the parasite is not needed anymore is easy. You might be better using complete encryption.
 
Old 07-10-2006, 09:38 PM   #4
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940Reputation: 3940
You also need to be a little bit more realistic about "protecting executables."

A friend of mine owned a very expensive 12-string guitar, which he stored in a cardboard case with the tiniest padlock that he could buy. This lock, he said, was "to keep the honest people out."

And that's pretty much what you can expect from software protection: "to keep the honest people out." It provides something that you can sell; something that the honest user (i.e. a "customer") must buy. It will not provide "uncrackable security." Not even encryption will ever do that!

A very smart hacker who is very determined (for some reason) to break into your program will do so. But the bizzare thing is, having done so, "the challenge of doing so is now gone." He shares his complicated system of patches (or his cracked code) with all of his "warez buddies," who gloatingly write it down, while muttering to each other using odd combinations of letters and digits meant to be read upside-down and backwards ... and then they move on, too. It is very unlikely, actually, that they will use your program. They were attracted to it in the first place just to crack it. In other words, they were never customers in the first place.

Don't let paranoia about "security" interfere with customers. Don't do things that will inconvenience or irritate customers. Those are the people who will happily pay you good money. The rest is, well, just what retailers call "shrink." Your store isn't in business for the shoplifters. You need, certainly, to prevent the shoplifters, but you must cater to the customers. Always. First.

Me? Well, if it's got a dongle then "no sale." Okay, that's just me, but that's me, and other customers might feel the same way. If the software has to "call home" in order to register then I need to know that up-front (because I might need to install on a computer with no Internet connection .. they do exist). If it needs or wants to "call home" in order to run, then once again No Sale. The guiding principle for dealing with Me is to .. first, kindly assume that I am honest (don't treat me like a thief), and .. second, make sure that I don't say "No Sale."
 
Old 07-11-2006, 06:13 AM   #5
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Quote:
Originally Posted by sundialsvcs
A very smart hacker who is very determined (for some reason) to break into your program will do so.
I agree with the idea that "nothing is uncrackable".

Securing a system is to add layers of complexity. Then you have to ask yourself: bad guy breaks this layer, what can he do. Never never say: this layer is impossible to crack, no need to put other security measure. Take the assumption that one layer has been cracked and go on hardening the system.
You have to keep in mind that there are thousands of medium/high skilled hackers that can break a lot of things. That's where opensource and trust help, some will show you the problems of your security system.


On the other hand, if you use an encrypted partition with encrypted swap and put the encrypted private key on an usb key, I'm not sure its crackable.... It is this mechanism that is used in well known big companies. Same for a vpn : the key is stored on an usb key.

I trust cryptography because it relies on a mathematical theorem. If you can't factorise a very big number into 2 prime numbers, you can't read the datas without the parasite. Or maybe I've been sleeping the last years and somebody broke AES ?
The security breaches for such systems can come from the implementation (/tmp , swap, rootkit, the key......)

Last edited by nx5000; 07-11-2006 at 06:17 AM.
 
Old 07-11-2006, 06:35 AM   #6
Palmyra
LQ Newbie
 
Registered: May 2006
Posts: 3

Original Poster
Rep: Reputation: 0
hello and thanks for responding to me
the protection system i am making is for graduating project in IT collage
i make a program to insert the Friendly "virus" not bad virus but it didn't work
this system is very complicated and needs alot of time and the references for it is very little and not very useful

//moderator: 2 lines removed

thank all

Last edited by unSpawn; 07-11-2006 at 07:06 AM. Reason: //removed Rules violation, question and email address
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Virus Removal... (Virus Live CD) Nathan1993 Linux - Distributions 7 04-06-2011 06:55 PM
Boot virus or Anti-Virus? AVG Free Anti-Virus Software problems SparceMatrix Linux - Security 9 08-02-2004 02:35 PM
trend chipway virus detected boot virus rafc Linux - Security 1 05-13-2004 01:44 AM
::Virus!:: XxAndyxX Linux - Software 7 03-24-2003 08:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration