> For the complete documentation index, see [llms.txt](https://gitbook.seguranca-informatica.pt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.seguranca-informatica.pt/arm/reverse-iot-devices/full-emulate-netgear-wnap320.md).

# Full emulate Netgear WNAP320

One of the earlier ways of performing Firmware Emulation was to create a Qemu image and then copy the firmware file system's contents on to the Qemu image and then launch the image.

## Use a Linux VM&#x20;

* [**AttifyOS VM**](https://github.com/adi0x90/attifyos/) **or any Linux based image**

You can download de OVA file and import it into the VirtualBox.

## Download the firmware

* A firmware that you want to emulate ([Netgear WNAP320](http://www.downloads.netgear.com/files/GDC/WNAP320/WNAP320%20Firmware%20Version%202.0.3.zip) )

## Extracting the firmware

```
binwalk -e WNAP320\ Firmware\ Version\ 2.0.3.zip
```

![](/files/-MZ5enD4aEYo4LmP4cCr)

```
tar -xvf WNAP320_V2.0.3_firmware.tar 
```

![](/files/-MZ5f32oYcWd1x0g_LwR)

## Emulating the firmware

```
python3 fat.py /home/iot/Desktop/a/_WNAP320\ Firmware\ Version\ 2.0.3.zip.extracted/rootfs.squashfs
```

![](/files/-MZ5frvdpReaQrDRgtyI)

After a moment ...

![](/files/-MZ5g4-UpUlZnR0ZWfSg)

**PRESS ENTER** :sunglasses:&#x20;

![](/files/-MZ5gKCYlBGQbT86Qdun)

![](/files/-MZ5gUwga1NFwz7Loawm)

## Reference

{% embed url="<https://blog.attify.com/getting-started-with-firmware-emulation/>" %}
