Wine을 통해 바이러스가 감염된다면...

DebPolaris의 이미지

갈수록 Wine 프로젝트의 성능이 향상되고 있습니다.
뭐 아직까지 opengl이나 directx 같은거 호환이 잘 안되긴 하지만요...

하지만 Win98용 프로그램 대부분은 호환이 된다고 알려져 있습니다.

그래서 궁금한 사항이 생겼습니다. 아직까지는 아니지만 대부분의
윈도우 프로그램이 호환이 가능해진다면 과연 바이러스 프로그램은 어떨까요??

Wine을 통해서 들어온 바이러스 프로그램은 리눅스 컴을 손상시킬 수도 있을까요??

만약 그렇다면 Wine 과연 올바른 선택인지...

저는 컴퓨터 전공도 아니지만 관심이 있는 사람으로써 공부를 하고 있지만 아직
배울게 많습니다. 그래서 이런 고민이 생기면 소스를 보고 연구하기 보다는
아직까지는 다른 분들의 자료를 찾는 것이 대부분입니다.

일단 구글신께 기도한 결과는 어떤 건 감염된다는 것입니다.

http://www.linux.com/articles/42031

Klez MyDoom Sobig SCO SomeFool
Runs on Wine Yes No Yes Yes Yes
Installed Payload No No No Yes Yes
Able to Propogate No No No No No
Affected Linux No No No No Yes
Penguin Rating 2 penguins 0 penguins 2 penguins 3 Penguins 4 Penguins

하지만 위 자료는 좀 오래 전의 것입니다. 2005년 1월26일에 쓰여진 글이구요...

http://www.winehq.org/pipermail/wine-users/2005-January/016730.html

½Bî¶ §ºµth£Ñ½ wrote:
> Hi, the Wine program seems great. I run Eudora in WinXP, and this
> program will enable me to run Eudora in Fedora 3 and use the same
> mailboxes via Captive-NTFS - and so I will always have my email up-to-date.
>
> I have one big concern: viruses. Is it possible for me to get infected
> with a virus using Wine? If I got infected, how well could the virus
> infect my system? Meaning, I plan to install Captive-NTFS , so if I
> have a virus, could it write to relevent Windows files etc. on my
> mounted NTFS partition? If I get a virus, how easy would it be to clean
> it - could I just run like AVG or something and that would take care of it?
>
> (I'm still getting used to Linux!)
>
> Thanks a ton!!

It really depends - if the virus uses a kernel issue changes are small
it'll work on Wine (as the change of having exactly the same mistake in
both windows kernel code and wine code is, well, small ;)) - but if it's
using bugs of the program being run than it might work just the same as
on a real windows environment.
Using a fake windows directory is encouraged as Wine might otherwise
have troubled with windows registeries being filled with unknown trash;
also by using one or multiple fake windows directories, you can avoid
loosing any real information caused by virus activity - then, if you got
infected, you'd just remove the infected directories and grab the fresh copy

위 글에 의해도 감염의 가능성이 보입니다. 사실 아직까지 그렇게 큰 문제가 되고
있지는 않지만 몇 년 후에 문제가 생기면 어떻게 해야 될까요??

리눅스는 루트 계정이 존재하여서 바이러스의 문제가 그렇게 심할 거 같지는 않지만
일반 계정의 사용자들이 좀 문제가 생길 수 있습니다.

아직 결론을 내리기는 좀 그렇지만 걱정이 되는 것은 사실입니다.

아래 글들도 참고해보세요~~

http://nidev.tistory.com/tag/%EB%B0%94%EC%9D%B4%EB%9F%AC%EC%8A%A4
http://www.vnunet.com/vnunet/news/2116150/linux-experts-wine-virus

제 블로그에 쓴 글을 가져왔습니다. 재미있는 토론거리라고 생각합니다.
여러분의 의견도 듣고 싶구요...

Stand Alone Complex의 이미지

만약 바이러스 제작자가 Wine을 염두해서 개발한다면 Wine 구성파일에 충분히 영향을 미칠수 있을 것이라고 생각되어집니다.
Wine을 돌리는 Linux 구성파일에도 영향을 미칠수 있을지는 잘 모르겠네요.

예전에 Benny라는 바이러스 제작자가 Proof of concept 멀티 플랫폼 바이러스인 Winux를 제작한적이 있습니다.
윈도우 PE 파일과 리눅스 ELF 바이너리 파일을 감염시킬수 있죠.
직접 테스트는 해보지 않았지만 Winux라면 Wine 구성파일의 범위를 넘어 Linux 구성파일을 감염시킬수 있을것 같다는 생각이 드네요.

RET ;My life :P