![]() |
2011-11-14
, 23:00
|
Posts: 82 |
Thanked: 25 times |
Joined on Apr 2011
|
#31
|
![]() |
2011-11-15
, 10:32
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#32
|
The Following User Says Thank You to reinob For This Useful Post: | ||
![]() |
2011-11-15
, 10:50
|
Posts: 3,617 |
Thanked: 2,412 times |
Joined on Nov 2009
@ Cambridge, UK
|
#33
|
Depends on what you mean by "virus". You can write a "malicious" program in any language, including Python. But that doesn't qualify it to be a virus.
Normally a virus has to infect programs by attaching itself to them, so that they can further infect other programs. Attaching a cross-platform python script to a random executable program is, I submit, not an easy task.
The Following User Says Thank You to Rob1n For This Useful Post: | ||
![]() |
2011-11-15
, 14:48
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#34
|
Even then, a user could only infect any scripts they have write access to.
![]() |
2011-11-29
, 20:04
|
Posts: 1,522 |
Thanked: 392 times |
Joined on Jul 2010
@ São Paulo, Brazil
|
#35
|
![]() |
2011-11-29
, 20:30
|
Posts: 5 |
Thanked: 0 times |
Joined on Nov 2011
|
#36
|
![]() |
2011-11-29
, 21:31
|
|
Posts: 528 |
Thanked: 345 times |
Joined on Aug 2010
@ MLB.AU
|
#37
|
![]() |
2011-11-29
, 21:36
|
|
Posts: 311 |
Thanked: 376 times |
Joined on Nov 2010
@ Hungary
|
#38
|
![]() |
2011-11-30
, 08:49
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#39
|
If someone was intent on making a working cross platform Python virus, i would expect it should be just a matter of adding a few conditional switches to execute the different infection approaches depending on which system it is running on (and to give it a polish, check the effectiveness and try different approaches when the most commonly successful one for the system in question fails; and of course before the actual attack on the OS spread a bunch of modified and obfuscated copies as backup in case the original one gets caught)
The Following User Says Thank You to reinob For This Useful Post: | ||
![]() |
2011-11-30
, 09:05
|
Posts: 193 |
Thanked: 104 times |
Joined on Oct 2010
@ Romania
|
#40
|
Yes, but this still leaves you with the problem of getting your virus executed on the system.
Windows, and Windows programs, have a tendency to execute anything that looks like it could be executed (see autorun, Word macros, Outlook, IE, ...).
Linux, and linux programs, tend to execute only what is meant to be executed. Unfortunately with the Windows-ification of Linux (modern Linux'es seem to be only concentrated in imitating Windows features, including its flaws) it may well happen that a text editor might decide to execute a script ("it appears that you are editing a bash script, shall I execute it for you?"), not to mention "sophisticated" e-mail programs, etc.
In any case, going back to the thread title. A "virus" for the N900 would be very easy to make, especially in view of the number of people who install just about anything from extras-devel or even random .deb's they find.
Luckily Maemo is not a widespread platform, and most people around here are either nice guys or not competent enough to write a simple program. Which is a good thing in this case
The Following User Says Thank You to gorgezilla For This Useful Post: | ||