Overclock.net › Forums › Industry News › Software News › [TH]How To Write A Linux Virus In 5 Easy Steps
New Posts  All Forums:Forum Nav:

[TH]How To Write A Linux Virus In 5 Easy Steps

post #1 of 33
Thread Starter 
Source

Quote:
It's easy for people to pick at Windows for being prone to virus and malware attacks. It's almost a given belief that if you're running a PC with a Windows operating system, you're much more susceptible to attacks than users with other operating systems.

But let's quickly look at the reasons for this. First, it isn't really Microsoft's fault. It isn't that Windows is technically inferior, it's that the majority of the world runs on Windows. This fact alone is very attractive for any virus coder or exploiter. As a vrius writer, you'd want to attack the majority, not the minority.

Secondly, because the vast majority of the world's computers runs on Windows, everyone from very tech savvy users to the greenest of novices is included in this pool. There are many who are just not as educated--for various reasons--about software and Internet safety. So here we have a huge pool of people, many of which aren't informed. These are two main reasons why a Windows desktop is the prime target for attacks.

In recent years however, the popularity of the Linux operating system has shot up tremendously. Ubuntu for example, is a favorite among enthusiasts. Linux is revered for many industrial strengths, but it too has security issues. A Linux computer that's improperly configured, can also take a beating from malware, hackers, and the like. Thankfully, popular builds like those from Ubuntu, are distributed pre-locked down. At the local environment however, Linux is by nature, significantly stronger than Windows in terms of user and multi-user security.
Ok, there is proving a point, but going as far as telling us how?
-[Remnant X2]-
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8Ghz HP M880G 5470 / 4250 (Switchable) 4GB DDR3 1333Mhz 
Hard DriveOSMonitorPower
WD 320GB 7200rpm Win7 x64 / Fedora 14 x86 15.6" LED 720P 65W External 
Case
HP DV6 Chassis 
  hide details  
Reply
-[Remnant X2]-
(13 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II X2 N620 2.8Ghz HP M880G 5470 / 4250 (Switchable) 4GB DDR3 1333Mhz 
Hard DriveOSMonitorPower
WD 320GB 7200rpm Win7 x64 / Fedora 14 x86 15.6" LED 720P 65W External 
Case
HP DV6 Chassis 
  hide details  
Reply
post #2 of 33
meh
Meh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q6600 DFI P45 t2rs-plus 560 ti  4gb 1066 ocz 
Hard DriveOptical DriveOSMonitor
250gb seagate samsung Windows 7 x64 Dell 24" 
PowerCase
Be! quiet 630w modular NZXT beta evo 
  hide details  
Reply
Meh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q6600 DFI P45 t2rs-plus 560 ti  4gb 1066 ocz 
Hard DriveOptical DriveOSMonitor
250gb seagate samsung Windows 7 x64 Dell 24" 
PowerCase
Be! quiet 630w modular NZXT beta evo 
  hide details  
Reply
post #3 of 33
exactly. meh.

sums it up pretty well, tbh . though by the sounds of it it's time to switch to XFCE or fluxbox . thanks for posting, Shadow
Edited by -iceblade^ - 2/19/09 at 4:19am
Herschel
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 4770K ASRock Z87M Extreme4 eVGA GTX 680 2GB 12GB G.Skill Ripjaws 1600 
Hard DriveOptical DriveOSMonitor
1x 60GB SSD 1x 500GB, 1x 640GB, 1x 1TB Asus something or other Windows 7 Ultimate x64 Acer H236HLbid (23" 1920x1080) 
MonitorKeyboardPowerCase
Asus VE198 (19". 1440x900) Microsoft Sidewinder X4 Seasonic X650 Antec P180 Mini White 
Mouse
Logitech G500 
  hide details  
Reply
Herschel
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 4770K ASRock Z87M Extreme4 eVGA GTX 680 2GB 12GB G.Skill Ripjaws 1600 
Hard DriveOptical DriveOSMonitor
1x 60GB SSD 1x 500GB, 1x 640GB, 1x 1TB Asus something or other Windows 7 Ultimate x64 Acer H236HLbid (23" 1920x1080) 
MonitorKeyboardPowerCase
Asus VE198 (19". 1440x900) Microsoft Sidewinder X4 Seasonic X650 Antec P180 Mini White 
Mouse
Logitech G500 
  hide details  
Reply
post #4 of 33
Lies ! Slander ! Windows Os is the only Os that is cabable of getting a virus or hacked !!


i7 Workstation
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 c0 @ 3.4ghz Asus P6T WS Pro ASUS GTX 580 Direct CU II Corsair XMS3 12GB 
Hard DriveOptical DriveOSMonitor
(1) WD3000HLFS , (3) WD7501AALS, (1) WD5000AADS SAMSUNG 20X DVD±R DVD Burner Windows 7 Ultimate 64 (2) Asus VH236 
KeyboardPowerCaseMouse
Logitech G15 Antec SG 850W Fractal Design Define R3 Logitech G9 
Mouse Pad
Allsop 
  hide details  
Reply
i7 Workstation
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 c0 @ 3.4ghz Asus P6T WS Pro ASUS GTX 580 Direct CU II Corsair XMS3 12GB 
Hard DriveOptical DriveOSMonitor
(1) WD3000HLFS , (3) WD7501AALS, (1) WD5000AADS SAMSUNG 20X DVD±R DVD Burner Windows 7 Ultimate 64 (2) Asus VH236 
KeyboardPowerCaseMouse
Logitech G15 Antec SG 850W Fractal Design Define R3 Logitech G9 
Mouse Pad
Allsop 
  hide details  
Reply
post #5 of 33
Quote:
Originally Posted by -iceblade^ View Post
exactly. meh.

sums it up pretty well, tbh . though by the sounds of it it's time to switch to XFCE or fluxbox . thanks for posting, Shadow
Or one of the other WMs. There are plenty to choose from.

Besides, even while this is possible, the risk of getting one is low, because not many people use Linux in the frist place, and then they still have to know specifically weather you're running KDE or Gnome.
For Sale: MSI Z97 SLI Plus, Corsair DDR3 2000, Noctua NH-U12P
$0.00 (USD) or best offer
SG13B
(16 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4790K Gigabyte GA-Z97N-WIFI ZOTAC GeForce GTX 1060 Mini 6GB G.SKILL NS Series 8GB (2 x 4GB) DDR3 1333 
Hard DriveOSMonitorPower
Seagate ST3000DM001 3TB Window 10 Monoprice 144hz ??? 
CaseMouseMouse PadAudio
Silverstone SG13B-Q Zowie FK1 http://www.slothesports.com/ Beyerdynamic DT990 
AudioAudioOtherOther
Numark NPM5 Sennheiser PC 31-II CH Products Combatstick 568 Joystick Scythe BIG Shuriken 2 Rev. B 
  hide details  
Reply
For Sale: MSI Z97 SLI Plus, Corsair DDR3 2000, Noctua NH-U12P
$0.00 (USD) or best offer
SG13B
(16 items)
 
 
CPUMotherboardGraphicsRAM
Intel Core i7 4790K Gigabyte GA-Z97N-WIFI ZOTAC GeForce GTX 1060 Mini 6GB G.SKILL NS Series 8GB (2 x 4GB) DDR3 1333 
Hard DriveOSMonitorPower
Seagate ST3000DM001 3TB Window 10 Monoprice 144hz ??? 
CaseMouseMouse PadAudio
Silverstone SG13B-Q Zowie FK1 http://www.slothesports.com/ Beyerdynamic DT990 
AudioAudioOtherOther
Numark NPM5 Sennheiser PC 31-II CH Products Combatstick 568 Joystick Scythe BIG Shuriken 2 Rev. B 
  hide details  
Reply
post #6 of 33
haha red you sigged me, god im so flattered, most people who use linux will be able to stop this without hasstle it just shows it can be done but like i said meh
Meh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q6600 DFI P45 t2rs-plus 560 ti  4gb 1066 ocz 
Hard DriveOptical DriveOSMonitor
250gb seagate samsung Windows 7 x64 Dell 24" 
PowerCase
Be! quiet 630w modular NZXT beta evo 
  hide details  
Reply
Meh
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Q6600 DFI P45 t2rs-plus 560 ti  4gb 1066 ocz 
Hard DriveOptical DriveOSMonitor
250gb seagate samsung Windows 7 x64 Dell 24" 
PowerCase
Be! quiet 630w modular NZXT beta evo 
  hide details  
Reply
post #7 of 33
This is an issue that has been known about for years. First of all, it requires the user to download a .desktop file and then execute it. Secondly, the malware cannot obtain root access which means it will be fairly trivial to find and delete. Thirdly, why would a hacker waste time with this when all he has to do is create a fake RPM or DEB and trick someone into installing it. Then he has full root. This is why it's important that newbs understand what a package manager is.

The fact still remains, you can't get malware by simply visiting a web page, as you can with Windows. You have to specifically download and then execute the file. How many people download random e-mail or website attachments anyway?
Skylake Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-6600k Gigabyte Z-170 Gaming 7 Gigabyte R9 390  Gskill Ripjaws V DDR4 
Hard DriveCoolingOSMonitor
Samsung 850 Evo Corsair H115i Windows 10 Pro Asus  
KeyboardPowerCaseMouse
Generic EVGA NEX750 G1 Phanteks Eclipse P400 GSkill MX780 
  hide details  
Reply
Skylake Build
(12 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5-6600k Gigabyte Z-170 Gaming 7 Gigabyte R9 390  Gskill Ripjaws V DDR4 
Hard DriveCoolingOSMonitor
Samsung 850 Evo Corsair H115i Windows 10 Pro Asus  
KeyboardPowerCaseMouse
Generic EVGA NEX750 G1 Phanteks Eclipse P400 GSkill MX780 
  hide details  
Reply
post #8 of 33
to be fair he did raise points on how the malware could inject lauinchers into some files to auto start and also a method of bypassing synaptic and launching something else whilst tricking the user into giving root permissions when they were under the impression that they were installing something

or something like that .

so this is scaremongering?
Herschel
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 4770K ASRock Z87M Extreme4 eVGA GTX 680 2GB 12GB G.Skill Ripjaws 1600 
Hard DriveOptical DriveOSMonitor
1x 60GB SSD 1x 500GB, 1x 640GB, 1x 1TB Asus something or other Windows 7 Ultimate x64 Acer H236HLbid (23" 1920x1080) 
MonitorKeyboardPowerCase
Asus VE198 (19". 1440x900) Microsoft Sidewinder X4 Seasonic X650 Antec P180 Mini White 
Mouse
Logitech G500 
  hide details  
Reply
Herschel
(14 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i7 4770K ASRock Z87M Extreme4 eVGA GTX 680 2GB 12GB G.Skill Ripjaws 1600 
Hard DriveOptical DriveOSMonitor
1x 60GB SSD 1x 500GB, 1x 640GB, 1x 1TB Asus something or other Windows 7 Ultimate x64 Acer H236HLbid (23" 1920x1080) 
MonitorKeyboardPowerCase
Asus VE198 (19". 1440x900) Microsoft Sidewinder X4 Seasonic X650 Antec P180 Mini White 
Mouse
Logitech G500 
  hide details  
Reply
post #9 of 33
Windows is prone to attacks because windows lets pretty much any one and any program work with administrative privileges. Even users who are not running as administrators can still alter DDL, and so can the programs they allow to run. The windows has an open door, unlocked windows operating system that is just begging to be jail breaked by anybody leaving home. Linux on the other hand, because of the nature of how it reads files, and because of that root password set in place (being an adaptation of unix, a system meant from the beginning to be accessed by many users) it is really hard to have something "just happen" to your sytem without knowing it. The argument that "well microsoft is just more popular.... if everybody used linux" is invalid for this reason. If everybody used linux then there would still be less viruses and hacks then on windows. I wish m$ would just take a page from the linux book and build an OS accordingly.
post #10 of 33
Quote:
Originally Posted by mothergoose729 View Post
Windows is prone to attacks because windows lets pretty much any one and any program work with administrative privileges. Even users who are not running as administrators can still alter DDL, and so can the programs they allow to run. The windows has an open door, unlocked windows operating system that is just begging to be jail breaked by anybody leaving home. Linux on the other hand, because of the nature of how it reads files, and because of that root password set in place (being an adaptation of unix, a system meant from the beginning to be accessed by many users) it is really hard to have something "just happen" to your sytem without knowing it. The argument that "well microsoft is just more popular.... if everybody used linux" is invalid for this reason. If everybody used linux then there would still be less viruses and hacks then on windows. I wish m$ would just take a page from the linux book and build an OS accordingly.

Windows is prone to attacks because it lets the user do what it wants without having to constantly use the command line. Sure linux is less prone to viruses, but it sacrifices usability for security.

If you're one of the people that thinks they need the OS to hold their hand for them, go ahead and use linux. Vista on it's own does not simply "get" viruses, and I'm confident enough in my own ability to feel safe.
    
CPUMotherboardGraphicsRAM
Core i5 4670k ASUS Maximus VI Gene Gigabyte GTX 460 1GB Kingston Hyper-X 
Hard DriveHard DriveHard DriveHard Drive
Samsung 830 OCZ Vertex 3 WD6401AALS WD5000AAKS 
CoolingOSMonitorMonitor
Noctua NH-D14 elementary OS Dell Ultrasharp U2312HM LG W2442PA-BF 
KeyboardPowerCaseMouse
Microsoft Sidewinder X4 Corsair HX750W Corsair Graphite 600T Logitech G700 
Audio
ASUS Xonar DG 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Core i5 4670k ASUS Maximus VI Gene Gigabyte GTX 460 1GB Kingston Hyper-X 
Hard DriveHard DriveHard DriveHard Drive
Samsung 830 OCZ Vertex 3 WD6401AALS WD5000AAKS 
CoolingOSMonitorMonitor
Noctua NH-D14 elementary OS Dell Ultrasharp U2312HM LG W2442PA-BF 
KeyboardPowerCaseMouse
Microsoft Sidewinder X4 Corsair HX750W Corsair Graphite 600T Logitech G700 
Audio
ASUS Xonar DG 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Software News
Overclock.net › Forums › Industry News › Software News › [TH]How To Write A Linux Virus In 5 Easy Steps