Skip to content

Belajar Mengemulate ASA-Firewall di GNS3

Belajar Mengemulate ASA-Firewall di GNS3
-----------------------------------------------------------------------------------
Tools yang dipake adalah: Cisco binary image unpacker v0.1
Cisco binary image unpacker is a software that allows you to unpack IOS and ASA images.
Usage: unpack [--output file] [--format <IOS|ASA7|ASA8> ] <binary image>
Important notice: ASA v7 images can be used in GNS3 and Pemu. At the moment ASA v8 images run only with Qemu.
-----------------------------------------------------------------------------------
E:\Unpack>unpack.exe --format ASA8 asa802-k8.bin
'gzip' is not recognized as an internal or external command,
operable program or batch file.
Access is denied.
Traceback (most recent call last):
 File "unpack.py", line 208, in <module>
 File "unpack.py", line 146, in unpackASA8
 File "shutil.pyo", line 199, in move
 File "shutil.pyo", line 91, in copy2
 File "shutil.pyo", line 46, in copyfile
IOError: [Errno 2] No such file or directory: 'c:\...\locals~1\\t
mp\\tmpoz4ov7\\vmlinuz'

E:\Unpack>
Kalau di Wind*** saya selalu mendapatkan error message seperti ini, jadi saya coba
image unpacker di linux (ubuntu 9.10)
-------------------------------------------------------------------------------------
root@toiletumum:/media/black box/Unpack# ls
asa802-k8.bin  README.txt  setup.py  unpack.py
root@toiletumum:/media/black box/Unpack# python unpack.py --format ASA8 asa802-k8.bin

gzip: /tmp/asa802-k8.bin.gz: decompression OK, trailing garbage ignored
cpio: Removing leading `/' from member names
61039 blocks
ASA8 initrd successfully unpacked in asa802-k8.bin.unpacked.initrd
ASA8 kernel successfully unpacked in asa802-k8.bin.unpacked.vmlinuz
root@toiletumum:/media/black box/Unpack# 
-------------------------------------------------------------------------------------
kalau berhasil akan ter unpack dua buah file yaitu *.initrd dan *vmlinux
kedua file ini digunakan GNS3, lalu isikan kedua file tersebut di:

Preferences-->Qemu-->ASA-->ASA spesific settings, lalu running...

-------------------------------------------------------------------------------------

ciscoasa# sh ver

Cisco Adaptive Security Appliance Software Version 8.0(2)

Compiled on Fri 15-Jun-07 19:29 by builders
System image file is "Unknown, monitor mode tftp booted image"
Config file at boot was "startup-config"

ciscoasa up 1 min 15 secs

Hardware:   , 128 MB RAM, CPU Pentium II 1802 MHz
Internal ATA Compact Flash, 0MB
BIOS Flash Firmware Hub @ 0xffe00000, 1024KB

 0: Ext: Ethernet0/0         : irq 255
 1: Ext: Ethernet0/1         : irq 255
 2: Ext: Ethernet0/2         : irq 255
 3: Ext: Ethernet0/3         : irq 255
 4: Ext: Ethernet0/4         : irq 255
 5: Ext: Ethernet0/5         : irq 255
VLANs                        : 200
Failover                     : Active/Active
3DES-AES                     : Enabled
Security Contexts            : 20
GTP/GPRS                     : Enabled
VPN Peers                    : 5000
WebVPN Peers                 : 2500
ADV END SEC                  : Enabled

Serial Number: 123456789AB
Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
Configuration register is 0x0
Configuration has not been modified since last system restart.
ciscoasa#

-------------------------------------------------------------------------------------
sekian dan semoga bermanfaat....(berhubung masih nobitol, mau mengexplore dulu he3 b^_^d)

No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: