Wednesday 16 November 2016

WiFi Security

Tools


Check Your Router For DNS Hijackers Right NOW!





Nirsoft Wireless Network Watcher




Use HTTPS Everywhere!


  • "HTTPS Everywhere is a Firefox, Chrome, and Opera extension that encrypts your communications with many major websites, making your browsing more secure."
  • https://www.eff.org/Https-Everywhere

Check list


  • Use the tools listed above.
  • Use WPA2-PSK AES.
  • Set the router admin password to be at least 15 characters. 
  • Dont use the default admin pasword!
  • Set the router wifi key to be at least 15 characters.
  • Dont use the default wifi key/password!
  • Update router firmware.
  • Disable WPS - its easy to crack.
  • Disable Wake on LAN.
  • Setup MAC filtering on the router (or whatever is doing DHCP). MAC filtering is great but also easy to break. Its just meant as a minor obstacle.
  • Dont bother hiding your SSID - its more suspicious and just more hassle for you.
  • Require a password when waking form sleep - in case someone physically takes your computer.
  • Turn off windows file sharing for public networks.
  • Turn on Windows 128 encryption for file sharing security.

Thursday 29 September 2016

Downloading Android Source Code on Windows Using Cygwin & Repo

I am working on some Android camera stuff for a new project.
I need access to the Android source code. (AOSP)
Thankfully it is open source and easily available.
However, to get the code it is not simply a case of doing git clone...

Because Google are massive and have a lot of source code, they have created their own tool to sit on top of git called 'Repo'.

The instructions for downloading the source using Repo are here

They are pretty good instructions but I had a few issues.
I am using Windows so I loaded up Cygwin.

My installation was fresh and so only had the default 'base' packages.
I discovered that I was missing dependencies required for Repo.


  • Git (under 'devel' category)
  • Python (under 'devel' category)
  • Curl (under 'net' category)

  • You have to run Cygwin setup again in order to add new packages (there is no apt-get).

    I am posting this purely because the errors I received were not helpful.
    I received this when running 'Repo sync' AFTER successfully installing Repo.

    error: command 'sync' requires repo to be installed first.
             Use "repo init" to install it here.
    WTF? First time using Repo it was a bit confusing.

    It was a bit of common sense that sorted this out in the end, but you know, sometimes that takes a while to turn up.