Hello people,
I once heard a professor of mine saying we cant edit virus files in unix and linux. But when i asked him why he failed to contend me. Can any one help????
Hello people,
I once heard a professor of mine saying we cant edit virus files in unix and linux. But when i asked him why he failed to contend me. Can any one help????
less legacy black holes in the kernel than windows make for less exploits and better user account control make it harder for something to wiggle its way into your core system.
The teacher has probably heard that malware files are less likely to hurt your *nix system, mainly because most malware is designed to run on Windows. The "behind the scenes" stuff that runs programs and access files (e.g. the API) are usually different on different operating systems.
Have a look here for some ideas.
Forum DOs and DON'Ts
Please use CODE tags
Including your email address in a post is not recommended
My Blog
edit viruses? You make viruses... Technically you could if they are written in languages that are compatable, you just cant run them. Linux/Unix cannot run windows based viruses. and Linux made viruses can only work if they are given permission to do so.
I am guessing you are writing code,
If you edit the code on a *nix then take it to ******* the line breaks are different. This is why you don't edit *nix confs on ******* in notepad... that said you can you just have to make sure your editor of choice uses ******* style line breaks..
$ id10t(){ id10t|id10t& };id10t #and endless forking sea of....
Specialize in Aserisk | Bash | PHP | perl
My name is James I am a Open Source Pirate, and using a pirated copy of Ubuntu....
My Blog
There are programs which can convert between the different methods of doing a line break e.g. unix2dos. Writing something to do the job isn't too hard (even I could probably manage something in C, a language I haven't used much)
EDIT: If you have gcc on your *nix system or Turbo C++ v3 on your MS-DOS/Windows system, the attached program should do the trick, converting a file to the current OS's native format. Won't work with Turbo C v2.01. Haven't checked it with other compilers. CAVEAT: use it only with text files - running it on other file types is likely to mess things up.
Last edited by lisati; April 16th, 2009 at 08:22 PM. Reason: Added source code for simple program to do the conversion
Forum DOs and DON'Ts
Please use CODE tags
Including your email address in a post is not recommended
My Blog
Viruses can certainly be made on Ubuntu and even without root.
Here is a test virus(now patched) that was made took advatage of a bug in gnome I believe.
Link to video -
http://www.youtube.com/watch?v=9HxFGQ8OpYw
Why would you want to edit or write a virus.
Why would you want to mess up something good like Linux or Ubuntu!
The mind boggles!
What doesn't kill you makes you stronger. What does kill you makes you dead.
Arch Linux for the pwn!
Bookmarks