Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Talks #77 - Adrian Solom - Wireless Routers Fai...

Talks #77 - Adrian Solom - Wireless Routers Failures, Freedom and Flexibility

Is your WiFi just an appliance or a computer with some fancy antennas? How safe is the gateway to your network? Does it have all the features you need? Can you use it for anything else? Adrian will talk about security, custom firmware and using WiFi routers for anything crazy.

Talks by Softbinator

December 09, 2015
Tweet

More Decks by Talks by Softbinator

Other Decks in Programming

Transcript

  1. HNAP is bad, mkay? Home Network Administration Protocol Based on

    SOAP Used by Linksys and D-D-Link First attacks on January 2010
  2. As seen on the interwebs devttys0.com SOAPAction = getenv("HTTP_SOAPACTION"); if(strstr(SOAPAction,

    "http://purenetworks.com/HNAP1/GetDeviceSettings") == NULL) { ... } SOAPAction = strrchr(SOAPAction, '/'); ... sprintf(command, "sh %s%s.sh > /dev/console", "/var/run/", SOAPAction); system(command);
  3. Custom firmware to the rescue OpenWRT, DD-WRT, Tomato, etc. Complete

    GNU/Linux distros More control over wifi settings Custom apps SSH access Fast update cycle Your WiFi router is a general purpose computer
  4. OpenWrt is a complete OS kernel GNU tools and libraries

    aditional software documentation package management distro-specific files 3.18 uClibc / musl luci wiki.openwrt.org opkg /etc/config
  5. Networking? quagga - rip / ospf / bgp / is-is

    / babel - (bird) b.a.t.m.a.n. bmx6 olsrd
  6. What else works in OpenWRT? erlang git lua perl php

    python ruby aircrack-ng / nmap / snort / tcpdump collectd / rrdtool / zabbix ctorrent / mktorrent / rtorrent / transmission ffmpeg / lame / minidlna freeradius2 / openldap haproxy / nginx / polipo / squid mysql / postgresql / sqlite3 ipsec-tools / openvpn / strongswan asterisk / baresip / kamailio / siproxd / yate
  7. Use cases Home router (power user) Coffee shop captive portal

    (WiFiDog.org) Small ISP Computer science class BitCoin miner ASIC controller