리눅스에서 백신을 써볼까해서
(정확히는 서버에 들어있는 윈도우용 실행파일을 바이러스로 부터 보호하기 위해서)
백신을 뒤져봤다..

윈도우용 무료백신으로 널리 사용되고 있는 AVG 가 리눅스용 버전으로도 배포되고 있었다.
우왕ㅋ굳

http//free.avg.com/download?prd=afl

avg.png


이곳에서 다운 받을수 있다.

설치는 인터넷에 떠있는  7.x 버전 설명서만보고 그냥 깔았는데 아무 아이콘도 생성되지 않았다.

헉.. 뭐지?

그래서 열어서 설명서를 대충 훑어보니 GUI 모드는 안보이고  커맨드 라인으로 명령을 입력해야 되는 모양이다..

우선 위의 파일중에 각자의 os에 맞는 버전을 다운받아서 설치한다.

우분투 유저는 deb 깔면 되고 쎈토스 유저는 rpm깔면 되겠다. 그냥 다 귀찮으면 rar.gz 파일받아서 압축풀고 ./install.sh로 설치해도 된다.

설치는 각자 알아서 하시고...

설치후에 아무것도 안보여서 좀 황당할거라능...헤헤


/opt/avg/avg8/

이 안에 보면 avg 파일들이 깔려있고

/opt/avg/avg8/bin/  안에 실행파일들이 있는데

avgctl 이라는 명령으로 동작을 시키도록 되어있슴

 avgctl [options]
Options:
    -h, --help        Print this help.
        --stat-all        Show statistics of all running AVG components.
        --restart        Restart the AVG daemon.
        --stat        Show AVG daemon statistics.
        --start        Start the AVG daemon.
        --stop        Stop the AVG daemon.
        --register xxx    Register license number xxx for AVG.
        --licinfo        Display registered license info.
        --avg-version    Display AVG version.
    -v, --version        Display version.


avgctl --start   <- 이걸로 일단 avg를 실행히켜주시고나면.. 업데이트가 가능해진다.

avgupdate  <- 이걸로 avg 를 최신으로 업데이트 해주자..


 Anti-Virus scanner usage:
avgscan [options] [path-list]
Options:
    -h, --help        Display this help.
    -v, --version        Display version.
    -d, --debug        Verbose mode. Multiple -d options increase the
                verbosity. The maximum is 3.
    -x, --exclude=<path>    Exclude path from scan. Multiple --exclude can
                be specified.
    -e, --ext=<extension>    Scan files with specified extension. Multiple
                --ext can be specified. Can't be used with
                --noext option.
    -n, --noext=<extension>    Exclude files with specified extension.
                Multiple --noext options can be specified.
                Can't be used with --ext option.
    -l, --clean        Does NOTHING in this version.
    -t, --trash        Does NOTHING in this version.
        --ignerrors        Do not report object scan errors.
    -H, --heur        Use heuristics for scanning.
    -p, --pup        Scan for possible unwanted programs.
    -c, --coo        Scan cookies.
    -i, --hidext        Recognize hidden extensions.
    -m, --macrow        Report documents with macros.
    -o, --repok        Report also clean files.
    -w, --pwdw        Report password protected files.
    -b, --arcbombsw        Report archive bombs.
    -M, --media        Do not scan through media files.
    -r, --report=<filename>    Save scan report to specified file.
    -a, --arc        Scan through archives.
    -B, --boot-sector    Scan boot sector.



바이러스 스캔방법은 위와 같다..


커맨드로 구동하니 좀 귀찮은데.. 이거 GUI 씌워놓은거 아시는 분은 제보 부탁드립니다. ^^

지금 스캔 때리는데... 한놈 찾았네요.. 트로이안목마.. 흠..

그런데.. clean과 trash 옵션이 안먹는다는 것은...

스캔만 하고 치료는 안한다는 뜻인가... -ㅅ-;;  설마...니




라이센스를 구매해야 치료가 된다는건가... -ㅅ-;



시간만 날렸네 ;;; 쯥...


그냥 우분투에 들어있는 바이러스 스캐너 써야겠다.. 쳇..