Category Defense

ossec clear database

To delete all currently stored alerts and related data in the ossec database execute these commands in MySQL Editor: truncate table alert; truncate table data; Bash Script: #!/usr/local/bin/bash # #Stop ossec, remove old alerts, start ossec echo “stopping ossec” /var/ossec/bin/ossec-control…

Install OSSEC local on Ubuntu

  Download files wget wget Check the MD5 or SAH1 to make sure they are legit (Don’t skip!!) md5sum ossec-hids-latest.tar.gz cat ossec-hids-latest_sum.txt Extract the files from the tar tar zxvf ossec-hids-latest.tar.gz Cd into the directory and run the…

detect php backdoor

how to detect php backdoor ? (Note content is from ) Website security: How to find backdoor PHP shell scripts on a server This is supplemental information for a series of articles that begins at: Website security: what to do…

how to browse web securely

i just read a great article on how to browse the web securely with his creation of the “Secure Browsing Environment”. The author shows you how to: Spin up your own linux virtual machine instance of WattOS Set up shared…