2016-10-23

A baseline set of software and services for a home or professional Windows computer

This is a first installment on a post I've been writing (on and off, with lots of distractions) for the last month or two.  I started walking a friend through a list of security concerns and recommendations for their Windows computer, but soon found the subject complex enough that I needed to write it all down.  Later, as I started to document it all, I realized that others would benefit from it too.  Then it ballooned into a much larger task than I could have imagined, so it's still not ready.

So here is the Coles Notes version.  I'll finish the full write-up as soon as I find the time.

Area
Setting, Software, or Service
Router
WPA2 Personal/PSK, AES


Computer
TPM, ideally
Windows OS
Windows 10 Pro or
Windows 10 Home
Regular updates
Full disk encryption
BitLocker -- ideally using TPM-and-PIN mode
or
Device Encryption


Firewall
Windows Defender
Antivirus
AVG Free
or
Avast Free
Antimalware
VoodooShield Free
Browser privacy - Chrome
HTTPS Everywhere
uBlock Origin
Internet usage monitoring
GlassWire
VPN
TunnelBear


Password manager
LastPass Premium
Authenticator for 2FA
Authy


Container encryption
VeraCrypt -- needed if your computer drive isn't encrypted
Drive free space wiping
CCleaner -- needed if your computer drive isn't encrypted


Cloud sync/storage - zero knowledge
Sync.com
or
Boxcryptor 2.0
Cloud sync/storage - regular
Dropbox, OneDrive, Google Drive, Apple iCloud, etc.,


Cloud backup
CrashPlan
BackBlaze (Added 2020-11-15)
Sync.com (Added 2020-11-15)
Local backup
CrashPlan
SyncBackSE --  to a drive encrypted with FDE (e.g., BitLocker To Go)
N.B. SyncBackFree won't give you the critical Versioning feature; for that you need SyncBackSE (Added 2020-11-15)
Apple Time Machine (Added 2020-11-15)
Image backup
Windows system image backup


Drive cleanup
CCleaner
Update monitoring
Secunia PSI


Credentials monitoring
haveibeenpwned.com


Mobile security
Device encryption
Regular updates
Mobile local storage
Documents by Readdle

. o O o .

2016-09-06

Automated Code Inspection Tools for C Code

I recently had to draw up a list of C code automated inspection tools for a client.  It took me several hours to find and distill good reviews on the web so I thought I'd share it here for what's worth.  If I wind up using (or trying to use) any of the tools on the client's code base, I'll report my experience here.

This is a list of tools that, based on seven reviews I found, look like good candidates to run.  Since C has been around forever, some of the reviews are from as far back as 2009 and 2010.


Tool
# Recom­mendations
Type
Web page / Notes
OPEN SOURCE



Flawfinder
5
Open source
Last update: 2014
Cppcheck
4
Open source
Last update: 2016
RATS
3
Open source
Last update: 2013
YASCA
3
Open source & Commercial
Last update: 2014
COMMERCIAL



Coverity (Synopsys)
3
Commercial
Klocwork
2
Commercial
Fortify Static Code Analyzer (SCA) (HP)
1
Commercial

. o O o . 

2016-09-03

The chicken and egg of password security


It's easy to argue that, because Last.fm isn't a sensitive service, it's OK for users to pick insecure passwords.  But I suspect that this is a slippery slope: as a user uses more and more insecure passwords without anything bad happening, they become desensitized to security concerns (if they were ever sensitized in the first place) and move on to using such passwords on more and more sensitive services.  Eventually reality will bite them. (N.1)

How can you blame uses for doing this?  They just want to use the services they like.  They aren't security experts and they don't understand the threat model or how dangerous the connected world is.

You can blame service providers that allow stupidly insecure passwords like "123456", "password", the name of the service, etc.  Microsoft disallows such passwords but the vast majority of service providers don't.

Now, a tougher question: can you blame service providers that allow passwords that are shorter than, say, 12 characters and not complex and random?  Anything less than that, as a bare minimum, is probably not secure enough against offline attacks.

But here's the chicken and egg:
  1. Since the vast majority of users don't use password managers, a service provider that required secure-enough passwords would likely be out of business in short order.
  2. If service providers don't require secure-enough passwords, why would users use them?  You can easily imagine the usability (and security issues) that such passwords would create for users that don't use a password manager.
  3. If users aren't forced to use secure-enough passwords, and given that they don't understand the need for unique passwords across all their services, why would they go to the trouble (they imagine) of using a password manager?  (That "trouble", by the way, is well worth it.)
As someone fascinated by security architecture -- and especially by how much better it could be -- this is the kind of problem I love to ponder.  My post Open Kimono Security presented one way to address this chicken-and-egg situation, but we might need something a bit more mainstream.

---

If you want to get a feel for password cracking time as a function of password length and complexity, try this:


Don't use a real password; instead compose a fake password that is similar to the password you want to test.  So if your password is "ChriSlove45" (don't laugh), use something like "CaseYbest92".  But then you probably already know that you shouldn't be using such passwords anyway: your passwords should all be long random (and unique) strings.

BTW, I suspect that the "MacBook Pro" times shown for that kind of password ("ChriSlove45", etc.) are wrong and should really be much shorter.
---
N.1: Update 2021-02-14: Given that most people reuse passwords like there's no tomorrow, their last.fm password was probably one that they had already used on a number of important services. Credential stuffing follows.

. o O o .

2016-08-30

A good telescope for starting out in astronomy

Astronomy is an amazing hobby that can take you as far as you want to go, in all sorts of observing and scientific directions.  For people looking to get into astronomy, here is some great advice for buying a beginner telescope.  This is from Douglas George, Ottawa-based expert amateur astronomer and comet hunter, who was responding to a question from another friend of mine:
In the "few hundred dollar" range, telescopes vary from utter crap to quite decent.  Don't buy a telescope from anything but a specialty shop.  Don't buy anything that lists some huge magnification (800X !!!).  High magnification in a small aperture instrument is an attempt to violate the laws of physics.  Tip: physics win.  You'll only see a blur.

If you want a good telescope in that price range, it's going to be no-frills. That doesn't mean it won't be a very capable telescope; you just need to put your money into decent optics and a good solid mounting.  This means a "Dobsonian" style instrument.

Here is an example of a good beginner telescope:

Orion SkyQuest XT6 Classic Dobsonian Telescope | Orion Telescopes

This has a 6" diameter mirror, which means the telescope is actually quite capable.  At the same time, it is not too bulky.  The mount is a very stable design, being a simple up/down, left/right affair.  If you can't point the telescope at an object, you can't see it.  This is a far better design than a spindly tripod.

Another important factor is you need a good aiming device.  Telescopes have tunnel vision, so you need some help.  Many beginner telescopes are sold with really poor quality finder scopes, which are beyond difficult to use.  The telescope linked above has an "EZ Finder".  Another similar device is a "Telrad".  These devices don't magnify, they simply point - and are not just very easy to use, they are quite accurate.

If you can't afford a 6" telescope, go for a slightly smaller unit - say 4.5" diameter.  Don't go smaller than that.
. o O o . 

2016-08-03

The Wrong Way to Embed Links in Emails

It's no surprise that many users are generally confused about computer and Internet security. One of the reasons is that the companies they deal with don't care enough about security and therefore force users to do insecure things in order to use their services. A very good and very vexing example of this is links embedded in emails that businesses send to their customers.

Over the weekend I had to use BCAA's roadside assistance service. The next day I received the following email asking me to give them feedback on the service. The service was excellent and I'd like to tell them that, but take a careful look at the email:

From: BCAA Customer Experience Team [mailto:BCAAQualityAssurance@hermes.responsetek.com]
Sent: Tuesday, August 2, 2016 06:21
To: Garland Sharratt
Subject: BCAA Roadside Assistance Quality Assurance Survey

Dear GARLAND SHARRATT,

Your participation and feedback are critical to helping us understand your needs. Please take a moment to share your experience during the interaction you recently had with BCAA’s Roadside Assistance and suggest ways in which we can serve you better.

The web link below will connect you to a short survey that will take less than five minutes to complete.

Click here to begin the survey.

On behalf of the BCAA Customer Experience team, thank you for taking the time to share your insight with us and helping us improve.


If you do not wish to participate in future email surveys from us, please
click here to unsubscribe.

Note: If you have difficulty with the survey link above, please copy the URL shown below and Paste it into your browser:
https://ecol-na3.responsetek.com/collection/Greeting.aspx?iguid=DETAILSMASKED&LangID=1&rt=1
Notice anything fishy?  All the links in the email -- one for the survey and another to unsubscribe -- (and even the sending email address) have a domain name of responsetek.com, not bcaa.com as I would expect for an email coming from BCAA. How do I know that this isn't a fishing email trying to get me to install malware hosted at responstek.com? I have to do some research before I can be somewhat sure that the links are safe.

I'm just using BCAA as an example; these days most of the business emails I get have third-party domain links -- especially for the link I most want to click, the unsubscribe link. No wonder users click links they shouldn't and get malware delivered to them.

What's the solution? There's nothing wrong with businesses using third-party services but they should do the tiny amount of work required to hide this from users. BCAA should have created one or two URLs on the bcaa.com website that redirect to the responsetek.com website, and embedded those bcaa.com URLs in the email.

So a link embedded in the email looking something like
https://bcaa.com/redirect/dest=responsetek.com&iguid=DETAILSMASKED&LangID=1&rt=1
would send my browser to
https://ecol-na3.responsetek.com/collection/Greeting.aspx?iguid=DETAILSMASKED&LangID=1&rt=1

With all links in the email going to bcaa.com, a domain I trust, I wouldn't have to worry (nearly as much) that it's a fishing email. If all businesses did this with their emails it would be a big step toward reducing user confusion around security and, eventually, reducing incidents of malware attacks.

. o O o .