Psad: Instalasi: Difference between revisions

From OnnoCenterWiki
Jump to navigationJump to search
Onnowpurbo (talk | contribs)
New page: ==Install== apt-get update apt-get install psad ==Edit File Konfigurasi== vi /etc/psad/psad.conf Edit EMAIL_ADDRESSES HOSTNAME ENABLE_AUTO_IDS - set ke Y jika anda ingin PSAD m...
 
Onnowpurbo (talk | contribs)
 
(2 intermediate revisions by the same user not shown)
Line 16: Line 16:
  ENABLE_AUTO_IDS_EMAILS - set ke Y jika anda ingin menerima email notifikasi.
  ENABLE_AUTO_IDS_EMAILS - set ke Y jika anda ingin menerima email notifikasi.


3. Add iptables LOG rules for both IPv4 and IPv6.


    For an explanation of this step click here.
==Tambahkan LOG rules ke iptables==
    Add the following iptables policies :


  iptables -A INPUT -j LOG
  iptables -A INPUT -j LOG
Line 26: Line 24:
  ip6tables -A FORWARD -j LOG
  ip6tables -A FORWARD -j LOG


4. Reload and update PSAD.
==Reload & update PSAD==
 
    To restart, update the signature file and reload PSAD to complete the install open a Terminal Window and enter :


  psad -R
  psad -R
Line 34: Line 30:
  psad -H
  psad -H


    To check the status of PSAD, open a Terminal Window and enter :
Setelah psad --sig-update signature akan di letakan di


  psad --Status
  /etc/psad/signatures


==Cek Status==


psad --Status


Tampilan kira-kira


[+] psadwatchd (pid: 21150)  %CPU: 0.0  %MEM: 0.0
    Running since: Tue Jun  2 17:14:12 2015
[+] psad (pid: 21148)  %CPU: 0.8  %MEM: 0.3
    Running since: Tue Jun  2 17:14:12 2015
    Command line arguments: [none specified]
    Alert email address(es): onno@indo.net.id
[+] Version: psad v2.2.1
[+] Top 50 signature matches:
        [NONE]
[+] Top 25 attackers:
        [NONE]
[+] Top 20 scanned ports:
        [NONE]
[+] iptables log prefix counters:
        [NONE]
    Total protocol packet counters:
[+] IP Status Detail:
        [NONE]
    Total scan sources: 0
    Total scan destinations: 0
[+] These results are available in: /var/log/psad/status.out


==Referensi==
==Referensi==

Latest revision as of 10:15, 2 June 2015

Install

apt-get update
apt-get install psad


Edit File Konfigurasi

vi /etc/psad/psad.conf

Edit

EMAIL_ADDRESSES
HOSTNAME
ENABLE_AUTO_IDS - set ke Y jika anda ingin PSAD men-set firewall automatis.
ENABLE_AUTO_IDS_EMAILS - set ke Y jika anda ingin menerima email notifikasi.


Tambahkan LOG rules ke iptables

iptables -A INPUT -j LOG
iptables -A FORWARD -j LOG
ip6tables -A INPUT -j LOG
ip6tables -A FORWARD -j LOG

Reload & update PSAD

psad -R
psad --sig-update
psad -H

Setelah psad --sig-update signature akan di letakan di

/etc/psad/signatures

Cek Status

psad --Status

Tampilan kira-kira

[+] psadwatchd (pid: 21150)  %CPU: 0.0  %MEM: 0.0
    Running since: Tue Jun  2 17:14:12 2015

[+] psad (pid: 21148)  %CPU: 0.8  %MEM: 0.3
    Running since: Tue Jun  2 17:14:12 2015
    Command line arguments: [none specified]
    Alert email address(es): onno@indo.net.id

[+] Version: psad v2.2.1

[+] Top 50 signature matches:
        [NONE]

[+] Top 25 attackers:
        [NONE]

[+] Top 20 scanned ports:
        [NONE]

[+] iptables log prefix counters:
        [NONE]

    Total protocol packet counters:

[+] IP Status Detail:
        [NONE]

    Total scan sources: 0
    Total scan destinations: 0

[+] These results are available in: /var/log/psad/status.out

Referensi