2012-11-28

Fedora Activity Day: 1

On Tuesday the main part of the hack fest began. People got up and going to the Tower by 9am which was quite good since most people are from several time zones later and also had been working to 1am on various parts. Bill Nottingham had gotten a nice enclave for us off the 16th floor lunchroom where we spent the rest of the day in and out of.

The main goals for the morning hackfest was to make sure that the plan for two factor authorization made sense: Who would be affected (those people with access to critical hardware) and those who would not (everyone else), What would be covered (sudo and some FAS functions) and what would not (wiki, ssh logins, and many other applications), and How it would be done (pam_url, yubikey, google authenticator) and how it would not (pam_otp, linotp, home made app, etc). This took up a good portion of the morning because while we had worked out many similar ideas the night before we ended up finding slight differences. It also helped to make sure we had covered what corner cases would trip us up and which ones we didn't care about because the people affected were the ones making the changes.

At a late lunch time, we decided not to walk to the places that had been closed the night before, but stay on the block finding a nice sandwich place called Sosa's. It was actually about closing time for them, but the owner was very excellent to us keeping it open for an extra hour. The sandwiches were great and we got back to hacking around 3pm. We ended up working til around 7pm getting an initial set of packages together. By this time, the skys had been raining for a couple of hours (which for someone used to the deserts of New Mexico was quite amazing...) but we decided to walk to the restaurant we had wanted to go the night before. Sadly, it was packed as were the next 3 places we tried. In the end, we ended up at the Raleigh News which is a lovely food and pub place where food and hacking was done til about 9pm. A long walk back to the hotel and more hacking followed. I crashed but others kept up til around 2 am I was told. [Sorry for a lack of hacking details today.. most of my day was working out Fedora hardware purchases and other arcane issues.. ]





Fedora Activity Day 0

Monday was a day of travelling for most people with airflights from various places in the country. I drove up from South Carolina and got to Raleigh around 1pm. The new Red Hat offices are very nice but still under construction with some people already in the floors and others still over at the old location on North Carolina State. I got to meet with various old friends (Bill Nottingham, Rob Landry, James Laska and Doug Ledford). Other people I hoped to run in would have to take trips across town later.

Later in the afternoon, Seth rolled in like MCA, and we began doing tag team pickups from the airport. By around 6pm we had enough for a dinner run, and found that many downtown places are closed on Monday night. In the end we ended up at Bu Ku and had a nice mix of "Street Foods". Icon (Konstantin) and MC Vidal ordered the Red Tree mix which was all the vegetarian mixes... others filled out their meats and a good time was had by all. The best part is outside of the restaurant is the open source cow.. while not spherical it does have nice red horns.




After dinner, we retired back to the hotel while I went back to pick up Nick Bebout from a late flight. People back at the hotel caught up with email from the day and scoped out what items would be needed to get two factor authorization working.

2012-11-25

Fedora Infrastructure Security FAD: Day -1

Today was mainly spent writing a paper... well attempting to write a paper on Password Security in Fedora. The process of writing seems to be the following:


  1.  Open up a text document in a simple editor. Over the years I found that writing first drafts in fancy office programs to make things worse as I spend hours trying to figure out which font to use, how large to make the margins, etc. etc. would derail the paper. For a simple editor I use Emacs .. well its not simple or small but it is a good OS while I look for a simple editor :).
  2. Get all the distractions of the day out of the way. That means read through my Facebook queue to find out if I have cat pictures to like, friends political posts to ignore, and family birthdays to say "Happy .." to. Go through the large Fedora email queue and find out which emails I need to answer and what tickets needs to get done. 
  3. Stare at the empty editor page for an hour. Try various first sentences and delete them. Realize you don't know where you will be meeting people tomorrow.
  4. Figure out where I need to go tomorrow in Raleigh. Red Hat moved offices during the summer and I need to get to the new ones in downtown. Go look at various maps to figure the best way to get to the offices. 
  5. Look intently at the empty page... put a bunch of ideas down for what should be noted in the paper and what should not. Go research some papers by Alec Muffet (the writer of Crack and other tools). 
  6. Get some tea.
  7. Take the ideas from the page and put them in a different file. See an empty page and type lalalalala for a while.
  8. Run out of the house yelling "You will never take me alive!!!!" For extra points remember half-way that clothes would be a good idea.
  9. Go back and start typing in the page. Get about 4 paragraphs done.
  10. Get a page about systems and go do steps 1-9 again.
  11. Remember that you needed to post a before the FAD post and go do that. 
  12. Go back to typing because you have nothing left to distract yourself for a good 10 minutes.

2012-11-24

Fedora Infrastructure Security FAD: Day -2

From Monday evening til Thursday morning, various system administrators will be meeting in Raleigh, North Carolina for a Fedora Activity Day (FAD). We will be discussing and working on improving the security of Fedora's Infrastructure to bring in various 2 factor security methods via Yubikeys and Google Authentication. Many of the parts have been worked on in the past, but getting all the people in the same place to focus on them took a lot longer than expected :). Most people will be travelling to North Carolina by plane on Monday, but I decided to come in early and spend the weekend with my parents in South Carolina. Then on Monday I will drive up and pick up people from the airport and get them to the hotel and such.

My original goal was to use my parent's truck and put people in the back, but the laws have changed and system administrators are no longer classified as cattle. So I have had to borrow a different car and people will just have to get in the trunk :). After I get them to the hotel, we will all check in and do an evening get together of what our goals for Tuesday are and anything that is thought hackable starting off.

While I won't be working on the Fedora Account System (FAS) integration of 2 factor, I will be working on mapping our security controls with the top 20 Critical Controls and the Top 35 Mitigation Strategies. These aren't much different from other security documents but I decided to pick something and SANS looked like a good place (and going through the 400+ pages of NIST documents usually makes people insane.) This will basically be a goal of just pointing out our good practices, figuring out what we might want to check, and where we could improve in a way that outsiders can compare with their own tools (if they use those security documents and not one of the myriad other ones). [This isn't about locking down a system but more about how to protect as much as usable and deal with the eventual breakins and problems that occur.]

I also plan to finish off a talk on what  changes in Password Security over the last 3 years have "bought" us as an organization. I want to have this as a finished talk at FUDcon as this all started from FUDcon Phoenix.

Anyway, happy hacking.

2012-11-06

Voted Today

Wow, I have not posted in a long long time. Well I will start doing so with today's topic starting with a non-Fedora one... US Elections. I voted. It was easy, it was fast, and I think our local county clerk did a great job in making it so that every voting place could be 'your' voting place by moving the printing of ballots to each place. There were multiple receipts and coverage so that verification of the correct ballot and correct voter could be done after the election. Which is nice after watching the videos of people who are trying to vote for X candidate but getting Y chosen for them due to either capacitive touch problems (or possibly other issues.)

In the backyard right now I am watching the mountain birds begin to arrive at the bird feeders. They haven't found the "suet" feeder as attractive as the Nyger seed or the regular seed. The local pigeons have grown fat over the summer... the dog actually was able to grab one yesterday.. which after eating her share, decided to give the rest to me. Good doggie... but I am not sure I want rat-bird to eat. But it has meant that the back yard has fewer pigeons in it today so I am happy.

In Fedora news. I am working on some papers for the FUDcon.. have to finish them up in the next week or so. For relaxation, I built a box out of various spare parts from friends.. it is about 2 year old hardware and probably the fastest system in my house :). The story of Frankenbox will be my next post.

2012-06-06

Deleting your LinkedIn Account

So I decided it was better to just deleted the account. With no idea if the hackers are still there, and what little benefit I personally get from it.. it is not worth keeping it open. If you are paying for a professional account etc it is a different matter, but for me I just can not trust a company that stores passwords in unsalted format. [Hopefully all the other sites, I trust but can't look at their source code don't.. *snort*.]

Anyway to delete your LinkedIn account. I pretty much followed the settings that LinkedIn's help page gave. Login, go to settings, go to account settings, and click close account. Tada, closed account... supposedly.  The reason I say this is that I didn't receive any email telling me that the account has been closed. And there is no proof that someone who has my password can not just open it up again. Oh well. One step at a time.

Why I am not immediately changing my LinkedIn password

So supposedly LinkedIn has had a massive breach, and 2->6 million password hashes have been harvested from some system. While this is bad, and most people watching it are urging people to go change their passwords on LinkedIn, I am waiting and will probably close my account if the problem is confirmed.

  1. There is no indication that the hacker is "out" of LinkedIn at the moment. So any passwords that are being changed currently could end up going to the hackers again. And with the fact that the most likely password a person is going to use is one they use elsewhere.. that means the hackers have a much larger set to use.
  2. The password hashes are stored in an Unsalted SHA1 format. This is criminally poor judgement of whoever implemented this part of the password system. The SHA1sum is a very very fast to match passwords to. This means that even 5 year old hardware can work through a terabyte dictionary in a day or so even with millions of hashes to check against. So most passwords less than 8 characters is going to be found within months and passwords longer than that but easily found via "rulesets" will be found in a similar timeframe. 
If passwords are being stored in this format, then how are credit cards and other data being stored? That is the main "kicker" to me, and why I would be very concerned about information stored there. I would also be wary of any "LinkedIn invites" for a bit. Who is the person making them and are they really that person or some hacker using their identity to see what they can social engineer out of you.

The passwords being found in this set look very corporate in how they are setup. People were using "good" password rules: mixing Uppercase, Punctuation, LowerCased, Number, longer than 10 characters, etc. These are probably the ones most likely used elsewhere. 

If you used your LinkedIn password anywhere else, or you use a similar pattern (say your password was 123LinkedInQ@$ and you use that pattern elsewhere so your Fedora password was 123FedoraQ@$, please change your password at those other locations, and please please use a different pattern.