Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Why no virus in ubuntu

  1. #1
    Join Date
    Apr 2009
    Location
    Hyderabad,India
    Beans
    1
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Exclamation Why no virus in ubuntu

    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????

  2. #2
    Join Date
    May 2007
    Beans
    161
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Why no virus in ubuntu

    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.

  3. #3
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Why no virus in ubuntu

    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

  4. #4
    Join Date
    Jun 2007
    Location
    Poughkeepsie, NY
    Beans
    5,810
    Distro
    Ubuntu

    Re: Why no virus in ubuntu

    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.

  5. #5
    Join Date
    Apr 2005
    Location
    Mesa, AZ
    Beans
    35
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Why no virus in ubuntu

    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

  6. #6
    Join Date
    Jun 2007
    Location
    Paraparaumu, New Zealand
    Beans
    Hidden!

    Re: Why no virus in ubuntu

    Quote Originally Posted by geekgod View Post
    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..
    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.
    Attached Files Attached Files
    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

  7. #7
    Join Date
    Feb 2008
    Location
    U.S.A
    Beans
    782

    Re: Why no virus in ubuntu

    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

  8. #8
    Join Date
    Jan 2006
    Beans
    26
    Distro
    Ubuntu Jaunty Jackalope (testing)

    Re: Why no virus in ubuntu

    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!

  9. #9
    Join Date
    Mar 2009
    Beans
    191

    Re: Why no virus in ubuntu

    Quote Originally Posted by yogiman_uk View Post
    Why would you want to mess up something good like Linux or Ubuntu!
    Because some people, usually rejected teenagers, think it's a way of "getting back at the world". They trash other people's computers because it makes them feel powerful. There are stronger words for this sort of person than "script kiddie".
    </rant>
    What doesn't kill you makes you stronger. What does kill you makes you dead.
    Arch Linux for the pwn!

  10. #10
    Join Date
    Jul 2007
    Location
    Brugge, België
    Beans
    2,933

    Re: Why no virus in ubuntu

    Quote Originally Posted by Twitch6000 View Post
    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
    I haven't looked at the video, but I presume you will have to run something yourself first.

    That makes it a trojan, which can be created on OS ever made.

Page 1 of 3 123 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •