[Linux] Unix 서버 취약점 점검 U-61 [3.25 FTP 서비스 확인]
Nowhere 와 Now here 의 차이

IT/ㄴ Linux Vulnerabilities

[Linux] Unix 서버 취약점 점검 U-61 [3.25 FTP 서비스 확인]

TIENE 2023. 9. 6. 08:10
반응형

KISA 한국인터넷진흥원 21-03-31 기준

 

KISA 한국인터넷진흥원

 

www.kisa.or.kr


 

출처 : [주요정보통신기반시설_기술적_취약점_분석_평가_방법_상세가이드.PDF] P.120


■ SOLARIS, AIX, HP-UX
< 일반 FTP 서비스 중지 방법 >
1) “/etc/inetd.conf” 파일에서 ftp 서비스 라인 #처리(주석처리)

 (수정 전) ftp stream tcp nowait bin /usr/sbin/in.ftpd in.fingerd -a
 (수정 후) ftp stream tcp nowait bin /usr/sbin/in.ftpd in.fingerd -a

 

 2) inetd 서비스 재시작

 ps -ef | grep inetd
 root 141 1 0 15:03:22 ? 0:01 /usr/sbin/inetd -s
 kill –HUP [PID]

 

<SOLARIS 5.10 이상 버전>

svcs | grep ftp
online 12:51:49 svc:/network/ftp:default
svcadm disable svc:/network/ftp:default

 


■ SOLARIS, LINUX, AIX, HP-UX

- systemctl status vsftpd 와 ps -ef | grep vsftpd으로 실행 여부 확인

 

< vsFTP, ProFTP 서비스 중지 방법 >

1) 서비스 확인

ps –ef | egrep "vsftpd|proftpd"

 

2) vsftpd 또는 ProFTP 서비스 데몬 중지
service vsftpd(proftp) stop 또는 /etc/rc.d/init.d/vsftpd(proftp) 

stop 또는 kill -9 [PID]


 

반응형