Archive for Sicurezza

Encrypt files on MAC

To encrypt data on your Mac I suggest to exploit the potential of the OS platform. A goof alternative to use FileVault (that protects the home folder encrypting it) is utilize Disk Utility to create a disk image with 256-bit encryption.

Open Utilities folder and run Disk Utility:

Immagine 3.png

Immagine 4.png

Select New Image

Immagine 5.png

choose the name, location and size of the image, then select the desired type of Encryption:

Immagine 6.png

I suggest to use  256-bit AES, because with a dual core processor there is no problem of slowness:

Immagine 7.png

Then choose the password easy to remember A window will indicate to you its strength:

Immagine 8.png

The program will make an encrypted  dmg file.

To access your data type click on dmg file and insert your password:

Immagine 9.png

I suggest to don’t save it the keychain.

Immagine 10.png

Install Metasploit on Iphone

Schermata 2011-02-13 a 11.51.25.png

Before you install Metasploit on your Iphone, you need to install some commands (apt, wget, svn) and some programs (ruby,rubygems, phyton).

1) First of all install with Cydia the following commands:

– APT (APT 0.6 e APT 0.7)


2) Them,  open Terminal to connect your Mac to your iPhone:

ssh [email protected] (IP address of the iPhone)

Move to the following directory:

# cd /private/var

Install Python:

# apt-get install python

Install Pyobjc:

# apt-get install pyobjc

(you’ll need of Pyobjc if you want to use SET “SocialEngineering Tools”)

3) The current version of Ruby (1.9.x) and Rubygems available on Cydia create errors with msfconsole therefore, if they are installed, you must remove them:

# apt-get remove ruby rubygems

Now install the precedent version:

#wget http://apt.saurik.com/dists/tangelo-0.9/main/binary-iphoneos-arm/debs/ruby_1.8.6-p111-5_iphoneos-arm.deb

#dpkg -i ruby_1.8.6-p111-5_iphoneos-arm.deb

#wget http://apt.saurik.com/dists/tangelo-0.9/main/binary-iphoneos-arm/debs/rubygems_1.2.0-3_iphoneos-arm.deb

#dpkg -i rubygems_1.2.0-3_iphoneos-arm.deb

#rm ruby*

When Cydia will show you a new version of ruby you don’t update it!

4) Install SVN:
# apt-get  install subversion
and then updated it:
# svn update
5) Install METASPLOIT with:
# wget http://www.metasploit.com/releases/framework-3.7.2tar.bz2
# tar jxpf framework-3.7.2tar.bz2
# cd msf3


svn co https://www.metasploit.com/svn/framework3/trunk/

6) To run Metasploit type on Iphone:

# cd /trunk


The response times of the iPhone are not comparable with the Mac, so it is necessary to have a little patience, especially during the update.

Install Linux Live on USB with VirtualBox

A good alternative to install a version of Linux Live on USB is to use the   “Linux Live USB Creator”, based on the famous open source program: VirtualBox.

Once you start the program, with 5 easy steps, you can install your prefer Linux Live version on a USB stick.

On www.linuxliveusb.com you can check the compatibility of your distro and if it’s possible to install it with or without persistence.

To activate the program:

– Step 1: Select the device;

– Step 2: Select the source (ISO image, CD) – (I chose KALI LINUX);

– Step 3: Select the space to be reserved for the persistence (if compatible);

– Step 4: Format the USB flash drive in fat32

– Step 5: Start the installation.

kali 0

Once finished, you go to the stick and launch Virtualbox:


You  can make some customizations by “Settings”:


Once you open the program   click on “show” and your live version will be launched:


Linux Kali