Skip to content


Repository files navigation


Companion App for Amiccom Smart IP Camera - Network Configuration Tool

Featured in DEF CON 29 Talk Why does my security camera scream like a Banshee? Signal analysis and reverse engineering an audio communication protocol

Inside the android directory you will find the source code for an android application that can be used to pair the wifi camera with your wireless network. It's a pretty straight-forward tool and more or less a 'one trick pony'. Be warned, it produces some ugly sounds!


  • Install the app

  • Open the app

  • Specify your SSID

  • Specify your password (currently shows as cleartext, you can change this in the code)

  • Turn up volume on your phone to between 50 and 75%

  • Set your phone nearby the camera

  • Start the camera

  • Once you see the green light flash quickly (a couple times per second)...

  • Click the button on the app to send the sounds

  • Your ears will hear odd sounds for a little bit

  • If all is well, the camera will be paired to your wireless network

  • At this point the camera is ready for further analysis


You can find the slides here titled:


data directory

Contains audacity project + mp3 export of a pairing session:

SSID:        AAAA
Pwd:         11111111
Random Code: 246881

Conference note

After the presentation I heard a recommendation to look into fldigi as potential way to speed analysis of audio signals. Noting the recommendation here as a potential tool to use for decoding signals!

tools directory

When the camera is bootstrapped, it is assigned a random 6 hex-character password (at least I haven't picked up on a pattern yet!). In this directory you will find an RTSP brute-force tool that can be used as a base for brute-forcing the password. The camera is slow and can only take 5 to 30 concurrent requests per second

You will also find

Further Analysis (software)

The wireless camera is pretty chatty with its cloud masters. To gain better control of the camera, one would need to master and impersonate the cloud server to send your own control codes.


I have an old laptop running hostapd and dnsmasq to filter communication from the camera through my test bed. This is important as it lets me route traffic to analysis tools

Current notes

Requests from the camera look like this

Responses look similar:


The first 8 characters of both the request and response payloads are encryption keys that can be used to decode the rest of the payload

Request decoded


  • cv == version string of the jawa android application listed in the manifest xml
  • pk == AES Encrypted public key, from a locally-generated pub/priv keypair
  • tm == current time on android phone in milliseconds
  • cl == static string 'android' (probably to differentiate between
  • pv == a static 'protocol version' string that may be incremented in the future I presume
  • token == a mangled token generated in the reversed codebase using a method titled hex_hmac_sha1. It includes a special magic hard-coded token you can see in the code

Reply decoded


The reply from the server for this message is simply JSON

How to Parse

In the android app you will see classes in com.ithink.util. One of them is called Dec_Enc and it can be used to decode like this:

                String capturedInsomnia = "9C64D32C53F109F979498FC889E5AC3A49FC40123E3288AF085714E808AC577AA34396B82ABAD8784BDC062A7A3BA505797BF4CE24D63E48D7A9D8444EB4B229B8C6F59CD5CB18CAD7A9D8444EB4B229DC7EB867CF236E60";
                String randomInsomnia = "C5C405CB";
                String decodedInsomnia = new Dec_Enc().Decode(capturedInsomnia, randomInsomnia);

Further Analysis (hardware)

Pulling the camera apart, it appears to use a GOKE GK7102. I tried to use the tricks described in zsgxh1hacks, unfortunately it did not seem to work for me.

Information on the Goke sensor

There might be either a JTAG or a UART port on the board. Either would be great to dig deeper


Companion App for Amiccom Smart IP Camera - Configuration Without the Cloud







No releases published


No packages published