This shows you the differences between two versions of the page.
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:// | + | The VM can be downloaded in OVA via {{:session: |
+ | |||
+ | <note important> | ||
+ | The machine' | ||
+ | </ | ||
==== 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: '' | + | |
- | * password: '' | + | * password: '' |
==== Specifications ==== | ==== Specifications ==== | ||
- | * 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 | + | Currently |
- | + | ||
- | The ssh deamon is already active inside the VM and a port forwarding rule has been implemented on port 2222: | + | |
< | < | ||
$ ssh -p 2222 root@localhost | $ ssh -p 2222 root@localhost | ||
</ | </ | ||
+ | |||
+ | 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: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | This means the VM and the host will live in the same LAN, so you need to figure out its local IP; for example: | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | Then connect to it using: | ||
+ | |||
+ | < | ||
+ | $ ssh root@192.168.0.115 | ||
+ | </ | ||
+ | |||
+ | |||
+ | ==== 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 ''/ | To get rid of the graphical interface, configure the machine to boot in runlevel 3, by making the following change in ''/ |