Showing posts with label skype. Show all posts
Showing posts with label skype. Show all posts

Tuesday, May 21, 2013

Managing multiple identical sound devices in OS-X

I use Skype (although I may be looking for alternatives due to Microsoft's proved snooping - see here) and I like to have two sound devices so that the radio can keep playing through my speakers without me having to reach for volume control when I take a call. Also, when podcasting, I use the same laptop to run the presentation, keep the Skype call going and make the recording (that chews up three sound devices!). So along with the laptop's internal sound chip I have two cheap external USB dongles. Since they are identical they show themselves with the same name is all apps and invariably (especially if I've been away from my desk for a day and re-booted the OS without any of the USB devices attached) Skype picks up the wrong sound devices as default. It's trivial to change back but I always get it wrong ("..is the headset the first or second one"?!)

In Utilities is the Audio MIDI setup application (which I've never used before) where you can set "aggregated sound devices" - presumably to allow the same audio to play through several outputs? But - it allows you to create a proxy for a device and give it a sensible name.

So, I made new devices for the two USB sound dongles and gave them sensible names.
This now means that when I look at available sound devices in other apps (particularly Skype) I see things I can distinguish!



Monday, March 21, 2011

Side channel attacks with encrypted data

In cryptography, a side channel attack is any attack based on information gained from the physical implementation of a cryptosystem, rather than brute force or theoretical weaknesses in the algorithms. For example, timing information, power consumption, electromagnetic leaks or even sound can provide an extra source of information which can be exploited to break the system.

Several examples that I think are interesting are;
  • Secure web applications; Bruce Schneier's excellent blog (which is required reading if you have any interest in security/crypto) describes the attack carried out on the IRS's (what they call the Inland Revenue in the US) online tax form site;
    ...it leaks a fairly accurate estimate of your Adjusted Gross Income (AGI). This happens because the exact set of questions you have to answer, and the exact data tables used in tax preparation, will vary based on your AGI. To give one example, there is a particular interaction relating to a possible student loan interest calculation, that only happens if your AGI is between $115,000 and $145,000 -- so that the presence or absence of the distinctively-sized message exchange relating to that calculation tells an eavesdropper whether your AGI is between $115,000 and $145,000. By assembling a set of clues like this, an eavesdropper can get a good fix on your AGI, plus information about your family status, and so on.
  • Compromise of HDCP; The encryption used over HDMI displays is industrial strength and cannot be broken by brute force methods (not in this universe, anyway!) - instead by freezing the memory used by a software BluRay player you can be assured that the volume-key is somewhere in memory. By stepping through 128-bits at a time and having a try at decrypting the first few frames of video (which are very clear when they are decrypted) you quickly find the key for that BluRay or HD-DVD disk.
  • The use of 'cribs' when decrypting Enigma traffic; Bletchley Park had typically less than a day to decrypt most traffic captured from German wireless telegraphy as they changed the rotor-positions in the Enigma machines every twenty-four hours. Apparently the intelligence gained by the French who were experts at recognizing the morse-key style of German operators (and hence were able to track which army group Fritz or Herman worked for) along with a knowledge the ten most profane German swear words and ten most common German girl's names meant they code-breakers had a head-start with seed-words which cut down the key-space to a manageable size that was process-able by 1942 mechanical computers!

Interesting though these examples are, the one that really peaked my fancy this week was the side-channel attach described by the Associated for Computing Machinery on the encryption used in VOIP systems. It turns out that most VOIP systems (Skype included) use variable-bitrate compression ahead of the encryption process (typ. AES at 128-bits). It turns out that by training a Markov Model with the encrypted data (yet knowing what the words spoken were) you can subsequently get around 50% accuracy with data streams from unknown talkers. Given that English has a lot of redundancy you could glean most of what was being said!

Read all about it here.

Friday, March 07, 2008

Belkin Skype handset - died and fixed (again!)

This is the third one of these handsets I've had and when they work they are great - Skype actually offers pretty darn good results - very little latency and surprisingly high vocal quality. Per Steve Gibson's suggestion I use a dedicated port for Skype (any port above 1024 will do), and open that port for UDP connections on my router. This eliminates the need for Skype Supernode support and seems to reduce latency. However - these handsets seems to develop a fault where when I connect my Skype phone to my wireless router it connects, however I receive a message telling me that the phone is unable to connect to the internet. When this happened again on the current handset I realised I was outside the 12 month window and so packed it away with a sigh. I checked their website for any firmware or suggestions but nothing. Now - three weeks later and I thought I'd take it around a couple of the root6 premises and see if it connected to any wireless APs there - it couldn't. As I was really packing it away I looked on Belkin again and guess what - well, see here, two firmware updates - the most recent saying it fixes this fault, and it did - hurrah!
One little aside - I'd never connected the handset to a Windows PC before but until I let Windows install the generic, USB driver for it the updater utility wouldn't see it.

Tuesday, April 10, 2007

Overpriced Apple stuff & unreliability

Wow - lovely bank holiday weekend but things went wrong! The battery on my MacBook died (just vanished - not seen under Vista or OS-X) - and guess what, a trip to the Apple Store revealed that it will take 'till Friday for a genius to see me (they drink the Kool Aid!) - in the meantime it's just shy of a hundred quid for a replacement battery. On the subject of the Genius Bar - How can someone in their mid-twenties be an expert in anything? Anyhow - I seemed to remember it being the same price for a replacement DC power supply. In fact, looking around I saw an Apple branded rucksack for a hundred quid, the cheapest iPod, and Joe found a set of headphones for (yes!), a ton. The Apple Store is like the Pound Store for wealthy people; ¨yes, ladies and gents, everything a hundred pounds (or multiples thereof)¨.
Also - my Belkin Skype handset stopped working and the good folks at Broadband Buyer did the usual reseller step-backwards and refused to be of any help further than giving me Belkin US's tech support number.
Then, after tidying out one of our attics and putting down a rug etc. so the kids can do Warhammer up there I fell out of the loft! I need a hot bath....

Tuesday, December 19, 2006

PC LINE PCL-100K Webcam

This is a Dixons/Currys brand cheap'n'cheerful webcam - just the thing for Skype etc. Not at all usable for anything approaching quaility capture but fine for use as a webcam. Now because it's a cheapie they don't bother to have downloadable drivers - I know, I mislaid the CD and searched for an hour online. I found lots of people saying ¨where can I find a driver...¨. Anyhow - I thought I'd stick it on my server - in case I loose the CD again!

http://crawley.slyip.com/blog/tech/docs/PCLine_PCL-100K_webcam/Driver/