User Tools

Site Tools


session:infrastructure:vm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
session:infrastructure:vm [2019/06/17 11:52]
Mihai-Valentin DUMITRU (25451) remove old machines
session:infrastructure:vm [2020/07/19 12:49] (current)
Line 8: Line 8:
 Kali Linux is a Debian-based distribution the comes with a handful of helpful security tools used for Penetration Testing, Forensics and/or Reverse Engineering. Kali Linux is a Debian-based distribution the comes with a handful of helpful security tools used for Penetration Testing, Forensics and/or Reverse Engineering.
  
-The VM can be downloaded in OVA format from https://repository.grid.pub.ro/cs/hexcellents/sss/Use your curs.pub.ro LDAP credentials to authenticate.+The VM can be downloaded in OVA via {{:session:infrastructure:sss-kali-amd64.ova.torrent|Bittorrent}}. 
 + 
 +<note important> 
 +The machine's allocated resources are pretty conservativeIf your physical host can handle it, you can give it more memory or CPU cores. 
 +</note>
  
 ==== Login ==== ==== Login ====
Line 14: Line 18:
 The credentials used to login on the Kali Linux virtual machine are: The credentials used to login on the Kali Linux virtual machine are:
  
-* username: ''root'' +  * username: ''root'' 
-* password: ''toor''+  * password: ''toor''
  
 ==== Specifications ==== ==== Specifications ====
  
-* 64-bit OS +  * 64-bit OS 
-* 2 GB RAM +  * 2 GB RAM 
-* 30 GB HDD space+  * 30 GB HDD space
  
-==== Headless VM ====+==== Networking & SSH ====
  
-If your physical machine is low on resources (or you simply don't want to live inside the Kali VM, e.g. login in its browser), one thing that might help is running the VM  in the background with no graphical interface and simply connect to it via SSH from a host terminal. +Currently the VM's networking is achieved through a host NATA TCP port forwarding rule connects the host'port 2222 to the VM's port 22 and the SSH daemon is configured to start automatically, so you can login to the machine using:
- +
-The ssh deamon is already active inside the VM and a port forwarding rule has been implemented on port 2222:+
  
 <code> <code>
 $ ssh -p 2222 root@localhost $ ssh -p 2222 root@localhost
 </code> </code>
 +
 +However, you might get better network speeds if you change the networking method to bridge, so that the VM will communicate directly with the same gateway as the host. In VirtualBox, go to the machine settings:
 +
 +{{ :session:infrastructure:bridged_adapter.png?600 |}}
 +
 +This means the VM and the host will live in the same LAN, so you need to figure out its local IP; for example: 
 +
 +{{ :session:infrastructure:ip.png?600 |}}
 +
 +Then connect to it using:
 +
 +<code>
 +$ ssh root@192.168.0.115
 +</code>
 +
 +
 +==== Headless VM ====
 +
 +If your physical machine is low on resources (or you simply don't want to live inside the Kali VM, e.g. login in its browser), one thing that might help is running the VM  in the background with no graphical interface and simply connect to it via SSH.
  
 To get rid of the graphical interface, configure the machine to boot in runlevel 3, by making the following change in ''/etc/default/grub'': To get rid of the graphical interface, configure the machine to boot in runlevel 3, by making the following change in ''/etc/default/grub'':
session/infrastructure/vm.1560761578.txt.gz ยท Last modified: 2019/06/17 11:52 by Mihai-Valentin DUMITRU (25451)