Skip to content

조회 수 20224 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

해외 사이트를 다니다가 발견한 내용입니다.
보안을 위해 다음과 같이 설정하여 봅시다.

 
disable_functions = php_uname, putenv, getmyuid, getmypid, passthru, leak, listen, diskfreespace, tmpfile, link, ignore_user_abord, shell_exec, popen, dl, set_time_limit, exec, system, highlight_file, source, show_source, fpaththru, virtual, posix_ctermid, posix_getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_getpgid, posix_getpgrp, posix_getpid, posix_getppid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_getuid 
, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid, posix_times, posix_ttyname, posix_uname 
 
register_globals = Off  
위의 설정은 패치안된 제로보드4 작동을 바보 만들수 있습니다. 
 
register_long_arrays = Off 
위의 설정은 모든 제로보드4 작동을 바보로 만듭니다. 
 
register_argc_argv = Off 
 
enable_dl = Off 
 
mysql.allow_persistent = Off 
MySQL 지속접속에 관련된 내용인데 pconnect 쓸일이 없으면 필요가 없습니다. 
 
mysql.max_persistent = 0


개인적으로 fread와 fgets도 막고 싶었으나, 테터툴즈가 설치가 되지 않는것을 발견하였습니다.
제 생각에는 위의 두 함수도 막아야 할꺼 같은데 말이죠.

  1. /etc/passwd 구조

    Date2010.03.31 Byl2zeo Views34934
    Read More
  2. 리눅스용 각종 보안도구 사이트모음

    Date2009.07.12 ByADMINPLAY Views33756
    Read More
  3. 매직키를 이용한 응급복구법

    Date2010.03.31 Byl2zeo Views32097
    Read More
  4. 리눅스 보안 - 권한설정에 주의해야할 명령어들은 ?

    Date2010.03.31 Byl2zeo Views27750
    Read More
  5. [적용] iptables 접속 차단 스크립트

    Date2010.05.03 ByADMINPLAY Views25788
    Read More
  6. Modsecurity 무료 웹방화벽 설치

    Date2010.09.12 ByADMINPLAY Views24064
    Read More
  7. denyhosts (ssh, ftp 등의 접근 차단)

    Date2010.05.03 ByADMINPLAY Views21375
    Read More
  8. Modsecurity-apache 2.5.X 설치중 에러 server: /usr/lib/...

    Date2010.09.12 ByADMINPLAY Views21308
    Read More
  9. modsecurity-2.5 configure: *** apr library not found.

    Date2010.09.12 ByADMINPLAY Views21151
    Read More
  10. php 수호신 설치

    Date2010.05.03 ByADMINPLAY Views20840
    Read More
  11. php.ini 보안 설정

    Date2010.05.03 ByADMINPLAY Views20389
    Read More
  12. PHP 보안관련 설정 권고사항

    Date2010.05.19 ByADMINPLAY Views20224
    Read More
  13. 해킹 당했는지 알아보는 방법

    Date2010.05.03 ByADMINPLAY Views19993
    Read More
  14. iptables와 mod_security 연동을 통한 ip 차단

    Date2010.09.15 ByADMINPLAY Views19780
    Read More
  15. iptables를 이용한 SSH brute force 공격방어

    Date2010.05.29 Byl2zeo Views19705
    Read More
  16. Modsecurity-apache 2.5.12

    Date2010.09.12 ByADMINPLAY Views18722
    Read More
  17. 리눅스 해킹점검 가이드

    Date2008.12.10 ByADMIN Views18241
    Read More
  18. 웹어플리케이션 보안

    Date2010.05.03 ByADMINPLAY Views17165
    Read More
  19. 보안 체킹 프로그램 - portsentry

    Date2010.04.27 ByADMINPLAY Views16182
    Read More
  20. [그누보드관련] $_POST 는 이미 오염된(?) 변수다.

    Date2010.11.18 ByADMINPLAY Views16145
    Read More
Board Pagination Prev 1 2 3 4 5 Next
/ 5

Copyright ADMINPLAY corp. All rights reserved.

abcXYZ, 세종대왕,1234

abcXYZ, 세종대왕,1234