Monday, March 10, 2014

Cyber Security

The online world can be a dangerous place. Bots are searching the internet for open ports  every second of everyday. My journey into the online world started with a raspberry PI. Working with my raspberry PI I created a server I used for streaming, cloud service, and as a webpage server. After putting my PI online for the world I was immediately attacked by bots from Poland and China.

A  raspberry pi

The server didn't even have a domain name and came under fire after being online for only 48 hours. Attempting to use brute force, bots worked to hack my server by trying hundreds and hundreds of user names and passwords in a short amount of time. The port attacked was #22, a port I opened so I could remotely controller the raspberry PI using a protocol called SSH. That morning I was shocked and horrified to read “-POSSIBLE BREAK-IN ATTEMPT!” repeatedly on the log file. Hundreds of attempts were made with login names such as  “daniel”, “leonob”, “nagios” , and “dasusr1” to name a few. Although my server was not hacked I immediately took my server offline to determine the extent of the damage done, if any.


This is when started to research the origin of the attacks. I found many sites that track suspicious IP addresses to help server admins with security. According to Badips.com the first step in sever security is to block suspicious IP's. Following this I changed the open port on my router, although still able to connect remotely the changes made it harder for bots to find their way in. In addition to this my server now bans IP addresses after 5 failed log-ins in a row. After improving my “Cyber Security”  my server has been attack free since “Dec 23 [2013]12:39:02”.

Before this experience I wouldn't have imagined spending more time on server security than server content. I am continually working to keep my server secure, constantly checking logs for suspicious activity as well as updating software when needed . My next step is to give others access to my server, creating a whole new area of security to tackle.

"Cyber Security Primer." What Is Cyber Security? Web. 17 May 2014. <http://www.umuc.edu/cybersecurity/about/cybersecurity-basics.cfm>.

"Cybersecurity: How Safe Are Your Data?" Nature.com. Nature Publishing Group, 28 Apr. 2010. Web. 17 May 2014. <http://www.nature.com/news/2010/100428/full/4641260a.html>.

2 comments:

Anonymous said...

I was not aware of the severity of random attacks against unknown servers. I had previously been under the impression that servers wee individually targeted, or at least some metric was being used to decide on the allocation of resources for the purpose of hacking.
The blog entry is interesting as anecdotal evidence, but it would have been more compelling if it had finished with statistics to demonstrate the trend.

Unknown said...

I will look into finding more statistics in addition to my own experience. Thanks.