The Indelible Bonobo Experience

Renaissance Monkey: in-depth expertise in Jack-of-all-trading. I mostly comment on news of interest to me and occasionally engage in debates or troll passive-aggressively. Ask or Submit 2 mah authoritah! ;) !

Demo Dirty use of USSD Codes in Cellular Network en Ekoparty 2012 (by alejandrospamloco)

More info: http://dylanreeve.posterous.com/remote-ussd-attack

Many mobile browsers do support “tel” urls, These URLs start with “tel:” instead of “http:”, and can be used to create “call me” links on web pages. Usually, if a user clicks on one of these links, the phone will present a dialog, confirming if the user would like to “dial” the number.

However, some Android phones use special dial codes to access some of the phone’s features. These codes are known as USSD codes (Unstructured Suplemental Service Data), and reasonably well documented. For example, if you type “*#06#” on your phone, it will show it’s IMEI number before you hit “dial” (this works on most GSM phones, not just Android phones). Some Android phones add their own proprietary codes. For example, the Samsung Galaxy S3 phone has a code like this to perform a factory reset, which will delete all data on the phone, and once started, can not be canceled. As no “dial” action is required for these codes, just clicking the URL will execute the feature.

Here a quick test link that will show the IMEI: *#06# (iPhones will ask for confirmation first)

Workarounds: