Giter Club home page Giter Club logo

sysadmin's Introduction

Security guide for sysadmin

Hal hal penting yang harus di perhatikan dalam mengelola server ( Masih acak )

  1. Selalu update system operasi yang sedang di gunakan
  2. Sembunyikan versi PHP, apache, dll di header
  3. Non aktifkan fungsi execute command seperti exec, passthru, php-cgi kalo tidak di perlukan
  4. Blok trafic masuk ICMP
  5. Nonaktifkan DNS di /etc/resolv.conf
  6. Batasi koneksi outgoing menggunakan iptables
  7. Segala hal yang berhubungan dengan password harus di bedakan
  8. Selalu cek log aktivitas server (monitoring)
  9. Blok IP yang di sinyalir membahayakan server dengan iptables
  10. Batasi jumlah trafik masuk pada server. Misal 2MB koneksi yang di izinkan masuk ke server
  11. Non aktifkan directory listing di webserver
  12. Ganti port default ssh menjadi port random
  13. Gunakan private key yang di password untuk login ke ssh
  14. Jangan izinkan user root masuk ke dalam ssh atau gunakan user biasa untuk login ke ssh
  15. Batasi pengecekan password yang salah dengan fail2ban
  16. Jangan buka port database ke publik
  17. Tutup port yang tidak di perlukan
  18. Gunakan ssl di dalam webserver
  19. Usahakan password yang di gunakan tidak mudah di tebak
  20. Jangan simpan private key di dalam server
  21. Batasi ukuran file yang di upload
  22. Jangan simpan file backup di dokumen publik webserver
  23. Rubah alamat phpmyadmin jadi alamat acak
  24. Rubah alamat login admin jadi alamat acak
  25. Pasang alamat admin palsu (honeypot)
  26. Disable shell pada user web server "www-data" di /etc/passwd
  27. Cek cronjob atau crontab setiap waktu
  28. Cek setiap service yang berjalan agar tidak terjadi misconfigurasi
  29. Hanya izinkan port yang terbuka saja yang bisa di akses publik menggunakan ufw/iptables

sysadmin's People

Watchers

James Cloos avatar Nur Akhwan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.