HPR Live – The One Week Extravaganza

August 13th, 2010
Howdie guys,
I’ve dropped you guys emails because i was hoping that on your shows you could mention /shout out/ media whore the following;
I’ve had the thumbs up for an idea i had for HPR (hackerpublicradio.org). Basically i’m taking over for a week, well sort of.
I’m doing 4 shows, Monday to Thursday then i’m gonna do a live Phone-in/feedback show.
The shows i’m doing are;
SSLSniff & SSLStrip.
The why’s, the what’s and the how’s. A show about why you would want to use these tools, how to install them and how you can deploy them on your test network.
TorTunnel
The why’s, the what’s and the how’s. Tortunnel is a tool used for making tor a one hop proxy, this doesn’t do much for annonymity but it does allow you to jump out of network segments, with out the three hop over head standard tor gives you. The show will look at how to install and get it up and running.
Kismet
Forget what finux has said in the past, they’ve changed Kismet. Kismet is in the process of a massive overhaul and everything from the UI to how it is configured is changed. The show will look at what kismet is, why you would use kismet and get it up and running.
Social Engineers Toolkit (SET)
The social engineers toolkit isn’t a fake telco’s engineers uniform and a doddgy fake mustache, it is however a collection of tools that can make social engineering a breeze, very good for testing companies readiness for these sort of attacks. The show will look at what SET is and what tools you can find in there, and of course how to get it up and running.
Friday Night HPR Live
So you’ve played with the tools from the past four episodes, they all worked no problems great. What happens if they didn’t, does it go on the back burner list until you find the time to make it work? No join us live to Friday night of the week for the phone-in/feedback show. Get some support, ask some questions, get them tools working. Got a good story about one of the tools then join us and share it.
Now the dates for the week long HPR series is penciled in form the 27th September till the 1st October (The 1st would be the Live show)
For the live show we’ll be using a mix of things i would imagine, TalkShoe.com, Skype and the likes, and of course IRC chat for the geekness.

Howdie guys,

I’ve had the thumbs up for an idea i had for HPR (hackerpublicradio.org). Basically i’m taking over for a week, well sort of.

I’m doing 4 shows, Monday to Thursday then i’m gonna do a live Phone-in/feedback show.

The shows i’m doing are;

SSLSniff & SSLStrip.

The why’s, the what’s and the how’s. A show about why you would want to use these tools, how to install them and how you can deploy them on your test network.

TorTunnel

The why’s, the what’s and the how’s. Tortunnel is a tool used for making tor a one hop proxy, this doesn’t do much for annonymity but it does allow you to jump out of network segments, with out the three hop over head standard tor gives you. The show will look at how to install and get it up and running.

Kismet

Forget what finux has said in the past, they’ve changed Kismet. Kismet is in the process of a massive overhaul and everything from the UI to how it is configured is changed. The show will look at what kismet is, why you would use kismet and get it up and running.

Social Engineers Toolkit (SET)

The social engineers toolkit isn’t a fake telco’s engineers uniform and a doddgy fake mustache, it is however a collection of tools that can make social engineering a breeze, very good for testing companies readiness for these sort of attacks. The show will look at what SET is and what tools you can find in there, and of course how to get it up and running.

Friday Night HPR Live

So you’ve played with the tools from the past four episodes, they all worked no problems great. What happens if they didn’t, does it go on the back burner list until you find the time to make it work? No join us live to Friday night of the week for the phone-in/feedback show. Get some support, ask some questions, get them tools working. Got a good story about one of the tools then join us and share it.

Now the dates for the week long HPR series is penciled in form the 27th September till the 1st October (The 1st would be the Live show)

For the live show we’ll be using a mix of things i would imagine, TalkShoe.com, Skype and the likes, and of course IRC chat for the geekness.

I’d love to get people ideas, thoughts and feedback on the above.  It should be a real blast and if we can get the message out i’m sure the live show will be awesome.

Soon as its official i’ll let everyone know

Facebook, hype about privacy. Its a little late

December 22nd, 2009

Facebook – Hype about privacy, its a little late

I had my interest in data held by Facebook heightened with the constant media attention that the much publicised changes to Facebook’s privacy policy brought. Which is the reason for this blog post (and @tracsec tech segment). There is no doubt in my mind that Facebook faces challenges with data that most governments do not have to consider, I suppose the only other companies that spring to mind is the giants of Google, and the makers of Windows Everest, err sorry I mean Microsoft.

Information is a truly wondrous thing, however it being held in the wrong hands can spell certain disaster. I was once asked what business Google was in, to which I answered Advertising, to my dismay I was informed I was wrong, my error was corrected. Google is a company that specialise in ways to make you give them data, they then use that data to make money. Information is power and that is no more aptly proved than how Google matches Microsoft in the brand awareness stakes, but also managing in the process to become a byword for searching the internet.

I think it fair I should mention, that I am dyslexic and 7 Windmills was my idea. All joking aside Facebook is know playing with vast quantities of personal data, and a strong unique understanding of how we interact with each other.

It seems to have worried a large section of the media, but I’m left asking really what is the difference now, to last month for a hacker. Social engineering is an emerging art, but lets face it, its a renaissance its nothing new and hacking has been as much about the person as it is about the system.

Having someone’s credentials starts to aid in targeted attacks, it seems logical to target the individuals themselves.

Impersonation isn’t easy when you know nothing about someone, taking a wild guess at someone’s date of birth, or which school they went to isn’t easy. Which is why they where for a long time important details, used to verify you you identity. Lets think here though we give these away everyday, its part of most registration processes for services, and to most people represents little or no value.

I set this scenario; A malicious attacker wishing to cause havoc, they decide that a university would be a good target. It as a target has some great reasons for it to be chosen. It has a lot of public (internet) facing resources, a lot of users, from those users there is a mix of privileges, from information to technical resources, they tend to have good bandwidth and lots of storage just to name a few reasons. They key aspect here is that there is a abundance of users, in reality playing the numbers game. It seems kind of stupid to jump straight in and randomly guess usernames.

We as individuals are social beings for most parts, and one of the key factors in Facebook success is its ability to connect us to networks, networks like where we went to school, who has employed us, and where we went to university, where we work, what our hobbies are. In some extents to actually how we’re feeling on a particular day Most universities have Facebook group, and I think it fair to suggest most people part of that group either are or have gone to that university or worked there in some capacity. It seems a good starting point, however we are all lazy people at heart and no one wants to go through every single member of a group one by one and copying the data out by hand. We could look at using screen scrapers however its not as simple to achieve as you may think, Facebook requires you to have an account, you do need to be logged in and have a session, and using tools like wget or curl require you to do this as well. However Facebook is also famous for its applications, and of course everyone loves them (or not). They can be made for lots of things and this is to do with Facebook’s API (application programming interface). In short Facebook’s API are really just a set of instructions that can be used to interact with users. Of course interacting means getting a certain amount of information between the parties involved.

A simpler process for our potential attacker is to use Facebook API to get information about their target, an example of one of their API calls is groups_getMembers(GROUPID). This requests from Facebook all those who are members of a particular group. It will give you a list users unique Facebook ID, who are members of a particular group. Another example API call is users_getInfo(FacebookID,’first_name, last_name, name, timezone, birthday, sex, locale, profile_url, proxied_email’) I think you can probably see where I’m going with this, we can start to build a very detailed list of current people who are connected to a group or organisation. Its also worth mentioning at this point, that yes you do need a Facebook account to use Facebook’s API, however the people returned back from the API calls neither installed an application or visited a site we controlled, this information was gained completely legally, this was all information that the user willingly gave to Facebook and then in turn they gave us permission to retrieve. As long as we don’t store the data for more than 24 hours.

That’s right if I follow the word of the agreement, I’ll need to delete the data with 24 hours. Bearing in mind that so far I have not interacted with anyone. I have for most part been able to get the name, an organisation they are connected to, and dependant on their exact privacy settings a wealth of personal information. The benefit of API’s is it is easy to write a applications or a scripts, and Facebook supports a number of programming languages, there is an number of languages that have unofficial support such as Python.

Its not a particular stretch for an attacker to write a script that gets all the members of a university or company group and build a list of first and last names, where possible their sex, date of birth, location, their Facebook webpage, where they are currently located and store that in a database. A little more internet searching and we may discover a companies naming convention for company emails. The attacker has very simply gained an advantage without the threat of triggering alarms and remaining mostly passive. This list then could be used with tools such as Maltego to further build a complete understanding of that person. Once a individual has been targeted to try and use to gain entry the attacker could start to make a bespoke list of words and terms they use, by downloading pages from Facebook or by simple Google hacking and pulling posts from forums, mailing lists and striping out all the HTML code and common words (such as the, and, a, it, so on and so forth). Of course the list generated gives the attacker an advantage at brute forcing passwords, its likely to have things such as children names, partners names, dates of birth specific to the target. Tools such as Cewl make the process of crawling a site and generating the list a relative simple task.

It also seems logical that other social networking sites could be attacked for lots of various other information about potential targets. It maybe possible to obtain every tweet if potential target has a Twitter account, using Twitter’s API obtaining a list of a targets Twitter history. This could be a good resources for further expanding the everyday words and terms that a potential target may use. Its fair to say that no one Twit may cause concern about privacy, however the full list of them may add to yet another great resource of information. However I believe that you would have to allow your Twitter account to be public, and this information could be obtained using tailored Google searches, however as previously stated it makes a lot more sense to take the data supplied.

A potential indicator to this sort of social inspired attack, could be to seed the group with a number of dummy user accounts. Using passwords generated out of web pages for that dummy user. We could watch the dummy user accounts for access, and all though not fool proof, if this account starts to generate unwelcome attention then someone may have tried to profile our organisation and careful vigilance should be applied.

I discussed my ideas and thoughts on this subject with Chris John Riley, Ryan Dewhurst and Tom Mackenzie on the tracSEC podcast technical segment which should be available for public release when this post hits the blog. It was an interesting chat and very enlightening for everyone involved. I learned a great deal of stuff when discussing this with them, and in this case four heads are better than one.

In closing I think to be worried about how third parties may abuse changes in Facebook’s privacy policy is warranted, I would urge you to think what a bad guy could do without the limitations of regulations of business. Some information can’t be put back into the bottle. We as a community need to accept a certain level of information about us is in the public domain, and mitigate that accordingly. However asking questions of how much data about us is being held by one commercial organisation and how other people assimilate that data is critical.

http://wiki.developers.facebook.com/index.php/How-to_Guides

http://developers.facebook.com/tools.php

http://en.wikipedia.org/wiki/Api

http://www.willmcgugan.com/2008/02/09/writing-a-facebook-application-with-python-pt-i/

http://arstechnica.com/open-source/news/2009/04/how-to-using-the-new-facebook-stream-api-in-a-desktop-app.ars

http://wiki.developers.facebook.com/index.php/User:PyFacebook_Tutorial

http://www.digininja.org/projects/cewl.php

http://www.theregister.co.uk/2009/12/14/facebook_photo_privacy_snafu/

http://voices.washingtonpost.com/securityfix/2009/12/check_your_facebook_privacy_se.html

http://www.scribd.com/doc/2458/Facebook-Threats-to-Privacy

http://tmacuk.co.uk/?p=76

http://www.spylogic.net/2009/12/new-facebook-privacy-settings-for-better-or-for-worse/

The tracSEC podcast can be downloaded from here

Null Prefix Attack Talk – Available On HPR

December 2nd, 2009

My recent talk at thelinuxsociety.org.uk on Moxie Marlinspike’s Null Prefix Attack, used in defeating SSL/TLS.  Has been released on HPR.  You can find the Notes and Slides that accompany the talk here

A .mp3 version of the talk can be found here

Finux

Note Added 10/12/09

Video (.avi) of the talk can be downloaded here

Google-Voice-And-Asterisk-Finux-Notes

November 30th, 2009

Hi Guys,

Well i thought that i would write this blog post on something that i played about with recently.  As some of you know i’m a little bit of an Asterisk junkie, and love playing with it.  I have to be honest as a geek its a pretty awesome tool to have.

If your unsure what Asterisk is, basically put its a telephone systems that you may have seen in your work place, its able to handle internal calls like extension to extension, and external calls.  It uses SIP (VoIP) to handle incoming and outgoing calls.  The really awesome thing is lots of companies will give you local land-line numbers for free, that regular telephones on PSTN (Public Switched Telephone Network) can call.

Now this post isn’t about installing and setting up Asterisk , they are plenty of resources on the Internet for that.  However what i do want to talk about is Google Voice and Asterisk.  Now if you are in the states the first part of this is useless to you, however getting it integrated into Asterisk maybe still something of interest.  Now really i want this to be just a collection of resources i found and my thoughts on them.

Google Voice is a nice service really, it gives you free calls in the US and Canada and a Universal number that you can assign to any of your phones.  There is a web interface for it.  So basically you can give this one number out and then you can decide which one of your phones it rings (Mobile Phone, House Phone, Work Phone, your mum and dad’s house that your visiting for the week).  It enables you to send SMS’s and it will take voice-mails and send them to you email inbox.  I probably not doing Google Voice much justice, but you get the idea.

You maybe wondering why a dude from the UK would want this, the short answer is; why not.  The long answer is, i have some friends and contacts in the states.  I have interviewed a few people from the states for podcasts and now i have a US number that rings to UK phones (doesn’t cost me a penny/cent either).

There is an important thing to point out here, that the service is only available to those in the states.  You need a US number to register for Google Voice and you need an invitation to the service as well.  Now at this point you start to worry that all of this sounds like a little bit of a pain in the arse, and having a US friend to register your number is the best you could hope for.  Wrong.  In fact i actually have the feeling that you maybe able to get this to work without using an Asterisk server, however i haven’t tried it so i’m hoping someone who reads this can confirm it.  I’ll make special note of the idea in this post

Firstly i’m going to list some resources and then i’m going to talk about them in stages.

tortunnel – One hop proxy for Tor by Moxie Marlinspike
FoxyProxy – Firefox add on for using proxies
IPKall/Sipgate – Free SIP providers that give you numbers, such as a free Seattle number.
PBXinAFlash – A CentOS distro designed to be a full Asterisk/FreePBX

Okay, so you have your Google Voice invite, your not in the states and every time you click the link Google tells you the service is not available in your country.  Which is an obvious problem and the beginning part of our problems.  I mentioned tortunnel by Moxie Marlinspike.

The answer to this problem is that we need to have a US IP address, now they are lots of proxy services on the web you could use and i would suggest that you go for that.  Personally i like tortunnel but that’s as a security bod i like that.  Tor is known for being slow, but its very good for getting out of your network segment.  Moxie wrote a program that instead of using the three hops Tor uses to make it hard for you to be tracked, it just uses one.  We choose the exit node that tortunnel uses.  So lets say that Boston University has a Tor exit node, and we use it for tortunnel, we go and check our IP on the one of those numerous sites and hey presto where in Boston.  So we go to our Google Voice invite and accept all the terms and conditions

The next problem is we need to have a US number to register for Google Voice, i know it sounds a little crazy at first, you need a US number to register for a US number however this is really the key concept behind Google Voice, it points to a number rather than being a ringing number.

So as i have an Asterisk install, i have what is termed as SIP Proxy which is an electronic address that VoIP clients can call, its basically an email address for VoIP.  so you could have fin...@voip.finux.co.uk and the lines would ring (however the new version of FreePBX there is an option when setting up a extension to give it URI).  Now a company called IPKall in the states will give you a free Washington state number and forward it to a SIP URI, i already had these setup in the past.

Now i know that Sipgate, who i have a few UK numbers with (www.sipgate.co.uk) also offer US numbers.  Now as i have said i haven’t tried this but my idea to do this without Asterisk and still have a ringing phone (well client or VoIP hardware phone) is to register a US number with Sipgate, you should be able to find on their site or with a little Google kung-fu how to configure that service for a SIP client like Ekiga or if your lucky enough to have a VoIP hardware phone then setup the details for Sipgate in that.

Once you have your US number its time to pop back to Google Voice and give it the US number you got from either IPKall or Sipgate, it will give you an Authorization code which you input.  Hey presto you have registered for Google Voice and you have your Google Voice number that should ring your IPKall/Sipgate US number.

Its also worth noting that once you have registered with Google Voice and the phone number has been activated you no longer need tortunnel or you American proxy to go to the web interface.

Now as an Asterisk user i want to be able to pick up the phone dial a special outward call code which will use the Google Voice line and make the US call for free.  Thankfully the leg work on this is done, thanks to the legend at Nerd Vittles (Very handy site, here is the specific guide http://nerdvittles.com/?p=635).  Now if you don’t use FreePBX then it shouldn’t be too difficult to reverse engineer what he is doing.

So in summary, if your outside the US then your going to need to get a US IP address, if you fancy the challenge then try and compile and install tortunnel (might be a bit much if your a windows user i’m not sure if it has been ported, i also found the apt-file command available on Debian Linux distro’s very useful, and have used it a lot since.  Its basically a tool, that you can query the apt source list for a specific dependency).  I managed to get it installed on Ubuntu 9.04 and 9.10, a little Google kung-fu and you should be able to find some how-to guides.

As i said this is more a collection of ideas about ways that you can get Google Voice outside the US and the process for getting it integrated into a Asterisk server.  Like i say if anyone tries the Sipgate process let me know, be pretty awesome if people could use Ekiga on their computers and make and receive Free US calls.

TRACsec

November 9th, 2009

Well guys, its sort of news.

I’m very glad to announce that as well as my HackerPublicRadio.Org show, i have been in talks with a few people and we have a new podcast in the making.  Its still very early days, and a couple more logistics things to be sorted but TRACsec podcast was born yesterday.

Its a security show which follows a pretty much tried and tested format, however half the crew are currently studying Ethical Hacking at a British university and the the other half of the crew involved in it in a full time basis.

I’m very excited about this show, I think its going to be something a little different as the crew have all varying expertise.  So it should be nice to take ideas and stories and work it from the ground up.

You can bet your arse I’ll let you know more when i do

Finux

Hacker Public Radio – Previous Finux Shows

October 4th, 2009

Well just to get this out of the way, i have listed all the podcast shows that i have done on HackerPublicRadio.Org, with a very short write up about each.

If you don’t know what HackerPublicRadio.Org, well basically its a daily podcast show. It has a number of correspondents that produce shows on a number of different things. I have been doing a regular show for them for a little while, generally speaking my shows tend to be focused on Ethical Hacking, or Linux.

Sure it will be of no interest to people but here goes;

0082 – Root kits | 2008-04-23

This was my first venture into podcasting, and it was originally recorded for Linux Basement as segment in their security season.

I did some rootkit research as part of some university course work, and its just a very basic run down of what are rootkits.

Download Here

0086 – Kismet | 2008-04-29

This was my second, and all though the title suggests its about Kismet, its actually about how to set up a war driving rig using Linux and Google Maps.

This was also originally recorded for Linux Basement

If your wondering what war driving is, its basically looking for wireless access points, and plotting their geographical location on a map.

Download Here

0161 – Hacking WEP | 2008-08-12

This was my first proper episode for HackerPublicRadio.Org and is how you can crack WEP encryption using Linux. Its a very rough episode and really its proving a point that really anyone can break WEP, with a little research. Like now at the time ISP’s where sending out Wireless Routers with this very weak encryption on as default. It offers NO PROTECTION

Download Here

0170 – Resetting Windows Passwords | 2008-08-25

This was just a short episode on how you can use Linux to reset a lost Windows XP admin password.

Not very exciting but it may of been of some use to someone.

Download Here

0193 – What is Free Software | 2008-09-25

This was recorded at Dundee’s first Software Freedom Day. Really its just about what is, and why is free software important.

As many know i’m very passionate about free software, and how it can help to empower people.

Download Here

0215 – Guide to using linux Rainbow tables | 2008-10-27

This was a guide to Rainbow tables, which is a set of lookup tables we can use to discover password hashes. The tool could be used in connection with a hack to steal the sam password file on some Window systems.

If i remember correctly i also talk about some countermeasures that you can use so you are not victim to it.

Download Here

0315 – Interview with ChrisJohnRiley | 2009-03-16

Probably a turning moment for my HackerPublicRadio.Org show, its is a beginning of a mini-series i had in mind. The idea was to speak to people from the Ethical Hacking world, about what it is we do, how to get involved, and their experiences. I had four scheduled.

It sorted of grew from there, and really since then my shows have been more a list of interviews than technical guides

ChrisJohnRiley is a penetration tester who i interviewed, i have done a few shows with him since. All round good guy

Download Here

0333 – BruCON Interview | 2009-04-09

I was very lucky to get to interview Benny from BruCON a couple of months before the event. He’s an awesome dude, and BruCON was a super success.

Download Here

0353 – Pete Wood Interview | 2009-05-07

Awesome, awesome, awesome. I was very happy to get The Famous Pete Wood from First Base Technologies. The man is a UK hacking legend, and like me a media whore to boot.

Download Here

0420 – Defcon 17 Interview | 2009-08-12

I was really lucky to get ChrisJohnRiley and Frank Breedjik about their trip to Defcon 17 in Vegas. Was nice to get their views and impressions from the event. I’m a jealous, hell yeah

Download Here

0445 – HAR Update with Chris n’ Frank | 2009-09-15

Awesome got Frank and Chris on the line again, after their trip to Hacking At Random.

Download Here

0451 – Podcasting: From Mic to Audience | 2009-09-23

This was one of my talks at this years (2009) Software Freedom Day Dundee. It was an awesome event, and i enjoyed doing my talks.

The talks about how anyone can get into podcasting and it how you can even get into it for free.

Download Here

0454 – BruCon Interview | 2009-09-29

I was over the moon to get this interview, i managed to get Benny from BruCON but this time after the event. ChrisJohnRiley also joined us on the call too. It was nice to get him after the high of BruCON, and it was nice to get Chris’s impressions from the event too.

Download Here

0456 – What is Free Software | 2009-10-01

This was me again at Software Freedom Day Dundee doing a talk about free software again. It was loosely based on the one i did the year before. As you can tell i like free software

Download Here