صفحه 2 از 2 نخستنخست 12
نمایش نتایج: از شماره 11 تا 11 , از مجموع 11

موضوع: آموزش جامع سرور اختصاصی

  1. #11
    کاربر اخراج شده
    تاریخ عضویت
    Oct 2012
    محل سکونت
    شیراز
    نوشته ها
    435
    تشکر تشکر کرده 
    442
    تشکر تشکر شده 
    582
    تشکر شده در
    387 پست

    پیش فرض پاسخ : آموزش جامع سرور اختصاصی

    اموزش نصب Chkrootkit|ابزار قدرتمند جهت اسکن لینوکس سرور در مقابل تروجانها

    اموزش نصب Chkrootkit|ابزار قدرتمند جهت اسکن لینوکس سرور در مقابل تروجانها که اموزش ان در زیر بیان شده به همراه
    اسکن روزانه و ارسال گذارش روزانه ایمیل به شما


    Installing CHKROOTKIT
    Version 0.42b (Sept. 20 2003)
    SSH as admin to your server. DO NOT use telnet, it should be disabled anyways.
    #Change to root
    کد PHP:
     su 
    #Type the following
    کد PHP:
     wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz 
    # Check the MD5 SUM of the download for security:
    ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.md5

    کد PHP:
     md5sum chkrootkit.tar.gz 
    #Unpack the tarball using the command
    کد PHP:
     tar xvzf chkrootkit.tar.gz 
    #Change to the directory it created
    کد PHP:
     cd chkrootkit
    #Compile by typing
    کد PHP:
     make sense 
    #To use chkrootkit, just type the command
    کد PHP:
     ./chkrootkit 
    #Everything it outputs should be 'not found' or 'not infected'...
    Important Note: If you see 'Checking `bindshell'... INFECTED (PORTS: 465)' read on.
    I'm running PortSentry/klaxon. What's wrong with the bindshell test?
    If you're running PortSentry/klaxon or another program that binds itself to unused ports probably chkrootkit will give you a false positive on the bindshell test
    کد PHP:
    (ports 114/tcp465/tcp511/tcp1008/tcp,  1524/tcp1999/tcp3879/tcp4369/tcp5665/tcp10008/tcp12321/tcp,  23132/tcp27374/tcp29364/tcp31336/tcp31337/tcp45454/tcp,  47017/tcp47889/tcp60001/tcp). 
    #Now,
    کد PHP:
     cd .. 
    #Then remove the .gz file
    کد PHP:
     rm chkrootkit.tar.gz 
    Daily Automated System Scan that emails you a report
    While in SSH run the following:
    کد PHP:
     pico /etc/cron.daily/chkrootkit.sh 
    Insert the following to the new file:
    #!/bin/bash
    کد PHP:
     cd /yourinstallpath/chkrootkit-0.42b
    chkrootkit | mail -s "Daily chkrootkit from Servername" admin@youremail.comImportant:
    1. Replace 'yourinstallpath' with the actual path to where you unpacked Chkrootkit.
    2. Change 'Servername' to the server your running so you know where it's coming from.
    3. Change 'admin@youremail.com' to your actual email address where the script will mail you.

    Now save the file in SSH:
    Ctrl+X then type Y

    Change the file permissions so we can run it
    کد PHP:
     chmod 755 /etc/cron.daily/chkrootkit.sh 

    Now if you like you can run a test report manually in SSH to see how it looks
    کد PHP:
     cd /etc/cron.daily
    کد PHP:
     ./chkrootkit.sh 

    You'll now receive a nice email with the report! This will now happen everyday so you don't have to run it manually

  2. تعداد تشکر ها ازeskelet-sokhte به دلیل پست مفید


  3. # ADS




     

صفحه 2 از 2 نخستنخست 12

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. آموزش اتصال به صورت ریموت به SQL Server در سرور مجازی و اختصاصی
    توسط toltek در انجمن مباحث و منابع آموزشی
    پاسخ ها: 0
    آخرين نوشته: January 14th, 2017, 13:28
  2. آموزش تنظیمات اولیه یک سرور اختصاصی یا vps
    توسط psfa در انجمن مباحث و منابع آموزشی
    پاسخ ها: 0
    آخرين نوشته: May 27th, 2012, 00:52
  3. پاسخ ها: 1
    آخرين نوشته: January 25th, 2012, 02:09

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •