maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Linux CAN get a virus :X (https://talk.maemo.org/showthread.php?t=48166)

rikisky 2010-03-24 04:20

Linux CAN get a virus :X
 
ok, so i need a little help out .... I had to use my N900 to print some docs on my college's cyber today, and i plugged in "mass storage" mode..... I print the files .DocX ones .... and then when i come home and connect my N900 to my laptop, i notice all of my .doc files had changed extensions to .EXE, AVG antivirus detects trojans and ask me to remove the files to the vault, deleting my info and everything :s ... the same thing happened again, this time affecting all my SD card folders, including photos and sounds : s and apperantly maps too : x ... i know that this viruses won't cause any damage to the phone's OS but what can i do to stop losing info everytime i try to connect my cell to print something (will need to do it quite a lot)

Corso85 2010-03-24 04:26

Re: Linux CAN get a virus :X
 
The problem lies in the computers ur plugging the N900 in. They have to be cleaned up, badly.

rikisky 2010-03-24 04:26

Re: Linux CAN get a virus :X
 
Ok, actually it is affecting in the phone, since the extensions have changed to .EXE now there are some folders i can't open from the phone, like .documents one, if i try to open it with file manager it asks me to select a program to open it like an unsupported movie or something D:

rikisky 2010-03-24 04:28

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by Corso85 (Post 579715)
The problem lies in the computers ur plugging the N900 in. They have to be cleaned up, badly.

i know, but :/ those are the only ones there and if i want to print something quickly that's my only choice :/

SavageD 2010-03-24 04:28

Re: Linux CAN get a virus :X
 
O_O seriuously...I hate anti virus scanners for mobiles as they are always resource consuming....You cant really do anything thing for now unless some one makes a maemo 5 sd card antivirus scanner...which is highly unlikely...Just stay away from shady/public computers when it comes to transferring files to the phone...

Konceptz 2010-03-24 04:35

Re: Linux CAN get a virus :X
 
D:[/QUOTE]


it's not really linux that got the virus, it's your fat partition of the phone that got changed by a virus when you plugged it into your computer.

Just offload your pictures and documents(to a safe computer), use file manager on the phone to format your storage, and reload your pics/movies/docs.

maxximuscool 2010-03-24 04:47

Re: Linux CAN get a virus :X
 
Technically Linux doesn't have enermies and Linux by far the 2nd if not the first secure OS in the world.

.exe can't do anything to LINUX so do not you worry about such thing.

rikisky 2010-03-24 04:49

Re: Linux CAN get a virus :X
 
i always tought i was inmune : [ ... i guess there's not much i can do, i'm formatting the hdd, i can't really save much of the info, since i think they're all infect it, i'll just have to get a clean start.... i'm just worried about the applications... if i format therefore, erase all the info on the N900 from file manager, am i erasing something my apps need? ... i'm concern with scummVM and numptyphysics and such, since i've seen data folders created by those apps on my documents?

weirdbeard 2010-03-24 04:56

Re: Linux CAN get a virus :X
 
lol. I had to read this thread cause I knew it had something to do with windows before i opened it.

Putting a windows virus in linux works just as well as talking louder and slower to someone that does not speak your language. It doesn't do anything.

lma 2010-03-24 04:59

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579711)
what can i do to stop losing info everytime i try to connect my cell to print something (will need to do it quite a lot)

If you are going to transfer files to untrusted (or worse, known-infected) computers it's best to avoid USB mass storage mode altogether. Perhaps transfer the files via bluetooth or email?

rikisky 2010-03-24 04:59

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by weirdbeard (Post 579734)
lol. I had to read this thread cause I knew it had something to do with windows before i opened it.

Putting a windows virus in linux works just as well as talking louder and slower to someone that does not speak your language. It doesn't do anything.

But it did affect maemo mate?... the trojan changed the extension of the folders, therefore the phone wasn't able to read them, so linux ain't almighty after all...

weirdbeard 2010-03-24 05:06

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579739)
But it did affect maemo mate?... the trojan changed the extension of the folders, therefore the phone wasn't able to read them, so linux ain't almighty after all...

Actually, if you read he said that it just affected his files on there, not maemo. Also, had maemo had the drive mounted this would not happen. When you go into mass storage mode it unmounts your personal files. So, technically, he plugged what is equal to a usb thumb drive to an infected windows pc, unplugged it, and plugged it back into his phone.

rikisky 2010-03-24 05:14

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by weirdbeard (Post 579746)
Actually, if you read he said that it just affected his files on there, not maemo. Also, had maemo had the drive mounted this would not happen. When you go into mass storage mode it unmounts your personal files. So, technically, he plugged what is equal to a usb thumb drive to an infected windows pc, unplugged it, and plugged it back into his phone.

emm, it was ME who did that? ... i gotta give you the USB equality part, but it did affect maemo, the extension changing ****ed up the phone, and my desktops kept going black then normal like it lost the file for a sec, then found it again etc...

weirdbeard 2010-03-24 05:15

Re: Linux CAN get a virus :X
 
What does linux have to do with corrupted files? Changing the extension to exe just mean you have to either change them back or when you click on them select the application that you would normally open it with.

ossipena 2010-03-24 05:18

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579739)
But it did affect maemo mate?... the trojan changed the extension of the folders, therefore the phone wasn't able to read them, so linux ain't almighty after all...

omg! I affected maemo when I browsed the device in mass media mode and copied couple albums of music!!!

weirdbeard 2010-03-24 05:20

Re: Linux CAN get a virus :X
 
you could technically mess some things up with a windows virus. You could have it change all of your folders names and put a . in front of them. I bet that would make some people mad.

ossipena 2010-03-24 05:22

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by weirdbeard (Post 579755)
you could technically mess some things up with a windows virus. You could have it change all of your folders names and put a . in front of them. I bet that would make some people mad.

but the most important part is, that the machine you plug your device to does all the tricks. maemo isn't affected straight at all.

Fargus 2010-03-24 05:27

Re: Linux CAN get a virus :X
 
This thread title is very mileading and sha complete misunderstanding of the basics by the OP. The N900 in question was affected by a virus renaming some personal files and that is it. There is no rogue process operating on the device itself and therefore no virus is active. By definition a virus has to be able to propegate itself from machine to machine (like the organic equivalent) to be called such.

weirdbeard 2010-03-24 05:28

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by ossipena (Post 579756)
but the most important part is, that the machine you plug your device to does all the tricks. maemo isn't affected straight at all.

exactly, maemo is like, oh okay, you want to go in mass storage mode? Here you go...............Done now? Okay, wait.........WTF DID YOU JUST DO! I'm just going to pretend I can't read those files.

tekplay 2010-03-24 05:43

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579717)
i know, but :/ those are the only ones there and if i want to print something quickly that's my only choice :/

Sounds like your host computer is infected with kspoold.exe

http://www.symantec.com/business/sec...741-99&tabid=2

This has nothing to do with linux or maemo.

Fargus 2010-03-24 05:51

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579717)
i know, but :/ those are the only ones there and if i want to print something quickly that's my only choice :/

You could email the files to yourself at college. If you had cold hands and stuck them in a microwave and said that was the only way to warm them up would you expect that to be considered sensible?

I sympathise entirely with yor situation but you should be directing your efforts towards the affected host computer's owners/managers for not maintaining effective protection.

If you want to transfer files like this then maybe you should use a dumb usb stick?

rikisky 2010-03-24 05:57

Re: Linux CAN get a virus :X
 
now that's the least of my problems, i formatted the n900 hdd, with file manager, and apperently i ****ed up, i think it deleted the config files or something cause' it's not recognizing any photos, or videos, or music from the media player :7, altho it can read them if i search them from file manager, anyway i can fix this without having to reflash? :/

Elhana 2010-03-24 06:12

Re: Linux CAN get a virus :X
 
You should've cleaned virus by connecting it to a PC in mass storage mode and using desktop AV.

Also your flash disk wasn't under linux control when you plugged it into infected PC, therefore virus could do everything with it. Blame Nokia on insecure implementation, but you'd likely complain it is hard to use otherwise.

rikisky 2010-03-24 06:13

Re: Linux CAN get a virus :X
 
asdfghjk i need help T_T ... anyway someone can give me the config files? or what can i download or something to get everything working as it should?

weirdbeard 2010-03-24 06:13

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579776)
now that's the least of my problems, i formatted the n900 hdd, with file manager, and apperently i ****ed up, i think it deleted the config files or something cause' it's not recognizing any photos, or videos, or music from the media player :7, altho it can read them if i search them from file manager, anyway i can fix this without having to reflash? :/

The MyDocs folder actually had a lot of other things in it like your ringers, your photos and videos you took with the camera and other things. If you had opened terminal and typed cd MyDocs and then typed ls -a you would notice a few extra things.....that are now deleted. You can get those back by flashing with the vanilla firmware. It won't give you your personal files back, but the directory structure will be restored. Enjoy....

rikisky 2010-03-24 06:21

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by weirdbeard (Post 579798)
The MyDocs folder actually had a lot of other things in it like your ringers, your photos and videos you took with the camera and other things. If you had opened terminal and typed cd MyDocs and then typed ls -a you would notice a few extra things.....that are now deleted. You can get those back by flashing with the vanilla firmware. It won't give you your personal files back, but the directory structure will be restored. Enjoy....

uh, thanks mate, for pointing me in the right direction, i've been reading the wiki about how to flash, and i see that it says if i use windows 7 it should be 32 bits and mine is 64, am i gonna have a whole bunch of trouble with that?... isn't there a safer way? me being dumber than a screw might ruin things even more : 3

weirdbeard 2010-03-24 06:25

Re: Linux CAN get a virus :X
 
do this, download the flasher tool debian deb installer file. Get the firmwares Vanilla and whatever the latest one is in your region. Then put those on a usb drive or something. Get an Ubuntu install disk and just run the os from the disk.

From there all you need to do to update your firmwares is boot the disk. click the deb installer and run the command as described.

Edit: You could install ubuntu to a usb stick or sd card also. Just keep the firmwares in a folder in your home directory. This is also handy when your computer gets a virus again and you don't feel like messing with it and you just want to use your computer.

Robb 2010-03-24 07:03

Re: Linux CAN get a virus :X
 
rikisky - You are doing things without knowing consequences of what you are doing.

There are may people trying to help you, but not every one is explaining all the details to you!

Slow down and find out what is happening, before you move even more forward.

Espescially before flashing your device!

UNDERSTAND BEFORE YOU REACT!

ossipena 2010-03-24 07:29

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by rikisky (Post 579797)
asdfghjk i need help T_T ... anyway someone can give me the config files? or what can i download or something to get everything working as it should?

from backups you have taken regularly?

ossipena 2010-03-24 07:31

Re: Linux CAN get a virus :X
 
Quote:

Originally Posted by weirdbeard (Post 579806)
do this, download the flasher tool debian deb installer file. Get the firmwares Vanilla and whatever the latest one is in your region. Then put those on a usb drive or something. Get an Ubuntu install disk and just run the os from the disk.

From there all you need to do to update your firmwares is boot the disk. click the deb installer and run the command as described.

Edit: You could install ubuntu to a usb stick or sd card also. Just keep the firmwares in a folder in your home directory. This is also handy when your computer gets a virus again and you don't feel like messing with it and you just want to use your computer.

all this has already been covered in the wiki article (or at least was covered a couple weeks ago, edited those myself). so read and whatever you do, please at least learn from your mistakes...
e: and a link just to be sure:
http://wiki.maemo.org/Updating_the_tablet_firmware


e2: here are your options:
grabbed from wiki
Quote:

Option 1

Disabling signed driver detection is done by choosing the option "Boot without checking for signed drivers" (or something similar) in the boot-menu. To display the boot-menu press the "F8" key as soon as the windows boot process starts. The rest of the process is similar to XP.


[edit] Option 2

Alternatively you can permanently disable driver checking via command line manager. There are good instructions for windows 7 available [1]
[edit] Option 3

You can use [2] Microsoft Virtual Pc but when you connect your phone, press the "usb" button and select your device.
[edit] Option 4

An alternative approach is to either download Ubuntu LiveCD and burn it to cd or create a persistent installation to usb disk. After that you must get (another) usb stick where you will download maemo_flasher-3.5_2.5.2.2_i386.deb -file (versions may vary) and firmware files needed for reflashing. Additionally one can save this page to usb stick just in case.


After that you only boot your LiveCD or persistent Ubuntu, install Flasher (doubleclick the file should work fine) and after that follow instructions from Linux - chapter.


All times are GMT. The time now is 01:13.

vBulletin® Version 3.8.8