Skip to main content

HoneyPot WarGames (WFH edition) - Improving your password game.

Improving your password game.

Many companies around the world are settling into a future where most people work from home, at least for a while.


Working from home comes with many benefits, but there are downsides from a security point of view. Most modern enterprises have spent significant chunks of their security budget on securing their perimeter. Sure everything is moving to the cloud and most of the workforce has been mobile for some time, but many IT departments still rely on people either physically coming into the office or using VPN. Without this patches cannot to be pushed to machines, updates cannot be applied, and perimeter IPS and IDS systems cannot pick up connections to C2 and malicious URLs that traditional AV missed.

When it comes to security, most enterprises aren't set up for people to work outside the wire for sustained periods.

What are the risks of working outside the wire?

The chances are that when your employees are working from home, the only thing protecting them from the internet is the router supplied by their ISP. A mis-configured router could expose your laptop directly to the internet, or a compromised device expose you to hackers and bots.

No one is probably monitoring the devices on your network at home for malicious activity and a company can't assume that everyone has a home network that is free from compromised machines, viruses and malware.

90% of enterprise security usually comes down to network segregation, patching, and identity management. 

90% of enterprise security usually comes down to network segregation, patching, and identity management. There's not much a company can do to enforce network segregation on home networks your patching and identity management games are going to have to be really strong.

Password management at home

People chose rubbish passwords. Hackers know this and will hit anything exposed to the internet.

This is a visualization of real attacks against a honeypot exposed to the internet. These aren't port scans or people connecting by accident, these are real failed login attempts by bots and hackers.

This single honeypot is being hit with over 3000 login attempts a day. There are many ways to mitigate these sorts of attacks on an enterprise level, or even at the hobbyist level. A simple IPS, basic WAF or the humble fail2ban will easily protect against basic attacks like this.

Very few household networks have any protection against brute force attacks.

Unfortunately very few household networks have any protection against brute force attacks in place. This means that now more than ever it is important to have good strong passwords and multi-factor authentication in place.

If you want to see what passwords hackers are currently using, click on the image here to see a semi-regularly updated list of usernames and passwords collected by honeypots.

Hackers do their best to reduce the amount of time they waste in brute force attacks, so we can infer that the most common passwords that they try are the most common passwords that they have success with. The top 20 passwords include hello, password, 123456, qwerty and admin123.

Just making it in at number 20 is 1qaz2wsx. For a second this seems like a good password until you notice it's a pattern on the keyboard. Non-dictionary words and patterns on keyboards are not good enough anymore.

There are some really strong passwords in the list such as J5cmmu=Kyf0-br8CsW. Some of these stronger ones are interesting because they appear to be passwords used by botnets that have taken over devices. I'll do a separate blog post on this in the future.

When your team are working from home, passwords need to be able to withstand a beating that they might not be exposed to in the office. Security professionals always recommend password managers however people still aren't using them. There are also plenty of passwordless options and hardware tokens such a yubikeys to protect accounts. These all take time to implement but now is the time to roll those tools out.

Bottom line on passwords

If you can only do one thing, stop expecting users to think of good passwords. Get them to use their password manager to generate the passwords or at least use tools like https://toughpassword.com to generate passwords that are tough to brute force or crack.

Comments

Popular posts from this blog

Snagging creds with Raspberry Pi Zero and Responder

So this is not all my own original work. This is a bringing together of the ethernet gadget tutorial by lady ada at adafruit and the beautiful work by Mubix at room362 which uses Laurent Gaffie's from SpiderLabs responder.py scripts. I'm still using Mubix's recipe of USB Ethernet + DHCP + Responder == Creds but here we are using a £4.00 Raspberry Pi Zero instead of the USB armoury or the HAK5 LAN turtle. Both are awesome products. Please note that this only works on the RPi Zero. Other RPi's will not work!   1.0 Setup the the RPi Zero for Ethernet over USB Download and install the latest Jessie Lite from here onto an SD Card. Pop the card out of the card reader and re-insert it to mount it. Take your favorite text editor and edit the following two files in the boot partition. config.txt Go to the bottom and add dtoverlay=dwc2 as the last line: Save the config.txt file. cmdline.txt After rootwait (the last word on the first line) add a spa

Munging Passwords

Password munging is the art of changing a word that is easy to remember until it becomes a strong password. This is how most people make up passwords. Munge stands for M odify U ntil N ot G uessed E asily. The trouble is that it doesn't work very well. We can guess the modifications. Password selection. Take the average office worker that is told that it's time to change their password and come up with a new one. They have just been on holiday to New York with their family and so following common advice they choose that as their password. newyork No! They are told they must include capital letters NewYork No! They are told they must include numbers N3wY0rk No! They are told they must include a special character N3wY0rk! There, now that's a password that meets security requirements and our office worker can get on with their actual job instead of playing with passwords. Scripting similar munges There are a number of ways that they could munge the

Anatomy of a phishing campaign

This is the story of a phishing email that came across my desk. It's good to take a look at what the bad guys are doing sometimes. It's often not rocket science but it's handy to keep an eye on the simple techniques used. And if this isn't your day job you probably don't get forwarded a huge number of phishing emails, malware to analyse or dodgy sites to investigate. In fact hopefully you do your best to avoid all of those things. The Attack Chain So this particular phishing campaign started as many others do with a simple phishing email. It's not an aggressive email, it's not selling itself too hard, no spelling mistakes, no funny looking URLs and it's pretty simple. There's only one link to click on. Just a quick note here about clicking on links in nefarious emails. Don't do it unless you are ready to. This link could trigger some malware, it could be unique to the targeted email (so the attacker knows the email address is valid