initng 사용시 chkrootkit-0.46a Suckit 오진 문제 패치
글쓴이: Stand Alone Complex / 작성시간: 목, 2006/01/26 - 2:04오후
This is chkrootkit initng Suckit false positive patch.
Recently I successfully tested in chkrootkit-0.47 with initng-0.4.8.
Patch instruction:
1) Download chkrootkit
2) Unpack chkrootkit
3) Copy the below code to make patch file
4) Patch chkrootkit with patch file
-
initng 사용시 chkrootkit-0.46a가
Quote:
Searching for Suckit rootkit... Warning: /sbin/init INFECTED
라고 오진하는 경우가 있습니다.
하지만 이것은 명백한 오진입니다!
initng와 chkrootkit을 동시에 쓰시는 분들의 심리적인 압박감을 덜어주고자 패치를 만들었습니다.
943c943
< cat ${ROOTDIR}/proc/1/maps | ${egrep} "init." ) >/dev/null 2>&1
---
> cat ${ROOTDIR}/proc/1/maps | ${egrep} "init." | ${egrep} -v "/lib/initng/" | ${egrep} -v "/lib/libinitng." | ${egrep} -v "/sbin/initng" ) >/dev/null 2>&1
946a947,957
> if [ -x ${ROOTDIR}sbin/initng ]; then
> if [ `strings ${ROOTDIR}sbin/initng | egrep "FUCK"` ]; then
> echo "Warning: ${ROOTDIR}sbin/initng INFECTED"
> elif [ `strings ${ROOTDIR}sbin/initng | egrep "backdoor"` ]; then
> echo "Warning: ${ROOTDIR}sbin/initng INFECTED"
> elif [ `strings ${ROOTDIR}sbin/initng | egrep "UPX"` ]; then
> echo "Note: ${ROOTDIR}sbin/initng UPX Compressed. Possible Suckit installed"
> else
> if [ "${QUIET}" != "t" ]; then echo "nothing found"; fi
> fi
> else
947a959
> fi
위 코드를 파일로 만드신뒤 chkrootkit-0.46a이 깔려있는 디렉토리로 이동후patch chkrootkit 만든파일
하시면 패치가 완료됩니다.
뱀다리: 사실, 패치를 7일전에 chkrookit 제작자분에게 커밋했는데 답변이 없어서 부득이하게 여기에 공개합니다.
Forums:


댓글 달기