Monday, April 4, 2016

Installing SSH server in Kali [Reminders]

Installing SSH server in Kali [Reminders]

Considerations
- Kali 2016.1 Rolling Edition

Install
~# apt-get update
~# apt-get install openssh-server
~# update-rc.d -f ssh remove
~# update-rc.d -f ssh defaults
 
Create security keys 
~# cd /etc/ssh/
~# mkdir tsktsktsk
~# mv ssh_host_* tsktsktsk
~# dpkg-reconfigure openssh-server
 
Allow root account 
~# edit /etc/ssh/sshd_config 
   Find        PermitRootLogin without-password
   change to   PermitRootLogin yes
~# sudo service ssh restart
 
Auto-start the ssh server on boot
~# update-rc.d -f ssh enable 2 3 4 5  

Friday, April 1, 2016

OpenVAS install sequence

[How to]
OpenVAS install sequence


Parameters:
  • Kali 2016.1 Rolling Edition
  • OpenVAS 8.0

~# apt-get update

~# apt-get install openvas

~# openvas-setup

~# vi /lib/systemd/system/greenbone-security-assistant.service
      Change --listen=127.0.0.1
          to      --listen=0.0.0.0
      This will allow remote browsers to connect to Greenbone.

~# openvas-nvt-sync --wget OV_HTTP_FEED
      Do this if NVT sync through rsync failed.
      Source of NVT: http://www.openvas.org/openvas-nvt-feed-current.tar.bz2

~# openvas-start

~# openvasmd --user=admin   --new-password=blahblah
      This is to assign a password to admin because this was skipped during setup.
       The setup only created the admin account.

Run OpenVAS at https://localhost:9392 or https://serveripaddress:9392