NSA: Please Turn off the Lights When You Leave. Nothing to See Here.

Linux Advocate Dietrich Schmitz shows how the general public can take action to truly protect their privacy using GnuPG with Evolution email. Read the details.

Mailvelope for Chrome: PGP Encrypted Email Made Easy

Linux Advocate Dietrich Schmitz officially endorses what he deems is a truly secure, easy to use PGP email encryption program. Read the details.

Step off Microsoft's License Treadmill to FOSS Linux

Linux Advocate Dietrich Schmitz reminds CIOs that XP Desktops destined for MS end of life support can be reprovisioned with FOSS Linux to run like brand new. Read how.

Bitcoin is NOT Money -- it's a Commodity

Linux Advocate shares news that the U.S. Treasury will treat Bitcoin as a Commodity 'Investment'. Read the details.

Google Drive Gets a Failing Grade on Privacy Protection

Linux Advocate Dietrich Schmitz puts out a public service privacy warning. Google Drive gets a failing grade on protecting your privacy.

Email: A Fundamentally Broken System

Email needs an overhaul. Privacy must be integrated.

Opinion

Cookie Cutter Distros Don't Cut It

Opinion

The 'Linux Inside' Stigma - It's real and it's a problem.

U.S. Patent and Trademark Office Turn a Deaf Ear

Linux Advocate Dietrich Schmitz reminds readers of a long ago failed petition by Mathematician Prof. Donald Knuth for stopping issuance of Software Patents.

Showing posts with label Virtual private network. Show all posts
Showing posts with label Virtual private network. Show all posts

Sunday, July 21, 2013

Your Privacy and How Not to be Surveilled on the Internet

by Dietrich Schmitz

Now that the dust has settled over the disclosure that the NSA has been actively engaged in a surveillance program called PRISM for several years, we can now get down to the business at hand. (Image credit: www.techinasia.com)

Namely, this post highlights some of the ways you, the general public, can exercise your right to privacy on the Internet all on your own and for free.  The discussion is limited to Desktop systems only, not Tablets and Smartphones.

Some rules apply to this discussion:

1) Don't talk about private matters in a public place
2) Don't leave your valuables in an unsecured public place, lock them away for safe-keeping
3) Provide information only on a 'need to know' basis

If those rules seem obvious, it's because that's how you conduct yourself in the physical real world.  And, it's no different on the Internet.  That is common sense really when you think about it.

On-line Storage

Kim Dot Com and the MegaUpload ISP seizure by the U.S. government is a blazing roadside neon sign from which we can all learn.  It's an incomplete yet to be told story about how people used this site for storage of their personal things but turned into an International scandal when corporate entities assisted by the government brought pressure to bear with a website take down.  The whole issue of what happened and how it was handled is still unclear, but it is nonetheless emblematic of what potentially can happen if such a take down occurs and results in interrupted service for all ISP tenants, irrespective of whether they were negligent in any way.

It also points to the question of 'how' data is stored on Cloud ISPs.  Is the ISP doing anything to protect your data?  If so, what?  Those questions should be answered before storing any sensitive data in the Cloud.

In fact, MegaUpload did nothing to protect its customers' data.  As a result, the majority of tenants were held hostage to a takedown because of a few who used the site for illegal file sharing.

So what should you be looking for?  If you really have sensitive personal data then take the same precaution as you would in the real-world -- keep it locked away and don't give the key to anyone.

In the real world that is fairly easy to accomplish.  That's why we have a burgeoning business with locksmiths and safe manufacturers and such to maintain privacy.

As for the Internet, well, essentially the only way to guarantee your privacy is by employing encryption. That's it my Friends.  Encryption.  And, the only 100% fool-proof way to do defeat access thereto is with what is called Zero Knowledge Encryption (ZK).

Effectively, ZK encryption encrypts your data store at an ISP but only you have the private key to unlock the data. (Image credit: www.spideroak.com)

ZK cleans up a heretofore otherwise 'messy' relationship between the lessor of Cloud storage drive space and lessee who stores data in it for free or an agreed to periodic subscription fee.  As a direct side effect and benefit of using ZK technology, the lessor then has zero knowledge of what the lessee is storing.  Had this been the case with Kim Dot Com and MegaUpload, Kim could have asserted 'plausible deniability'.  In so doing, neither the RIAA nor the MPAA would have had reasonable and justifiable cause to legally challenge MegaUpload, as the ISP could irrefutably claim to possess no knowledge of what the lessee is storing.  Thus, commercial and governmental third-parties would have no choice but to come directly to the lessee to question how that space is being used and would be put in the position to present specific details for their inquiry directly related to suspicion of wrong doing and demonstrating probable cause for granting any search warrant.

Currently, the U.S. Patriot Act has a provision called a demand National Security Letter which allows U.S. governmental access to any ISP to obtain a copy of any account holder's private data and it legally restrains the ISP from communicating in any form that the event occurred to anyone.  Microsoft, Google and civil liberties group the Electronic Frontier Foundation, are petitioning that such represents a violation of our constitution's First Amendment rights with the Federal Intelligence Surveillance Court which oversees provisions of the Federal Intelligence Surveillance Act of 1978.

So, you can plainly see why it is coming to this.  Encryption.  Use it to protect your privacy.

Start looking for an ISP that offers Zero Knowledge, such as SpiderOak and Wuala.  Any other form of encryption in the Cloud is unacceptable.

(There are 'unofficial' rumors that Google is beginning to roll out encryption for their Google Drive storage.  If it is anything but ZK, don't use it for your personal data.)

Browsing the Internet

If you want to keep your Internet browsing habits truly private, deleting cookies, and setting the user agent string to 'DO NOT TRACK' are useless.  It's entirely up to the ISP to 'respect' the latter so don't rely upon it.

The best way to do anonymous surfing is by using a VPN proxy service.  Essentially, this service sets up the VPN service as a proxy connection encrypted tunnel between you and their end point.  The ip address given to you going out of the VPN's end point to the Internet is then randomized so that there is no relationship to your actual ip address and a translation mapping brings back all browsing over the VPN to you transparently.  Some VPNs are free, others will require a subscription fee payable monthly or yearly, such as vpnproxy, for example.

SocialNets and Chat

Being 'social' is the latest rage, of course, and the need to stay in touch with Friends encourages use of devices to text and chat.  Currently, Facebook and Google Plus use the open source standard Jabber/XMPP protocol.  By default, your chat log is stored in a central server.  And, Google very recently announced they will be phasing out Google Talk (the XMPP component) in favor of their own 'Hangout' proprietary protocol.

There is more than one way to keep your chat's fully private.  With Google's Hangout on Google Plus, you can explicitly set, for example, your chat as 'off the record' and there will be no persistent logging of your chat sessions.  Even then, if a third-party (cough PRISM) chooses to bridge your stream (aka 'Man in the Middle') they can eavesdrop on your voice, video, and text streams.

For the ultra-paranoid, currently there are a few solutions.  One is to use Pidgin with their 'Off the Record' (OTR) plugin, a name borrowed from the well-known cryptographic protocol of the same name.  This effectively allows taking any stream (AIM, Facebook, G+, etc.) and setting up an encrypted tunnel between you and the other person with whom you are communicating.




Another option is to install the Cryptocat plugin for Chrome or Firefox.  Cryptocat also uses the OTR cryptographic protocol for private messaging.

Otherwise, yet another alternative is to avoid using any of the standard messaging protocols in favor of a P2P decentralized encrypted connection via RetroShare.  I've written several stories regarding the importance of RetroShare.  Retroshare, being on its own P2P closed loop, has it's own secure messaging chat software.

Email

Email by default is clear text and if you use it to communicate it can be read along the path of mail transfer agents to its destination recipient.  And, in the case of Gmail, that email along with everything else on Drive is all unencrypted.  That means all of your data can be read by third-parties.

Encryption solutions include using GnuPG or PGP encryption.  The problem with methods like GPG encryption is that, while free, most software application implementations are not user-friendly and, as such, difficult to use by the general public.  Commercial solutions include Symantec Encryption Solutions and Phil Zimmerman's newest Silent Circle, and are both viable options to consider. (Image credit: www.philzimmerman.com)

One other realistic alternative is to use RetroShare's email.  Essentially, Retroshare's 2048-bit RSA encrypted F2F channels are totally encapsulated on a 'closed loop' away from the world wide web's non-encrypted email system.  As such, RetroShare email is guaranteed to be strictly private and devoid of any spam.

DarkNet

If you want to employ tools which offer guaranteed pure privacy, then your list of choices is only a few.  I'll save you some trouble -- the technology used is called DarkNet and, while it does sound subversive, it, however, represents the only form of software technology which is  100% 'effective' in combating Internet snooping of any kind.  Not all darknets are alike and I would encourage you to only consider RetroShare's product.  If you want to fully lock down your RetroShare environment, you are only a few click settings away from running in pure stealth darknet mode.  You need not feel embarrassed in employing this tool -- it is the NSA who should be ashamed of their activities, spying on Americans without the use of the traditional and appropriate procedural Judiciary search warrant oversight process, which provides constitutional checks and balances on the potential for abuse of authority.

RetroShare offers currently the best reference design for what should be integrated into all computer desktop GUIs.  We accept the need for integrated Office Automation tools and soon privacy-mandated applications will find their way onto the Desktop as part of a standard default deployment of operating system software.

RetroShare is written in C/C++ using the advanced Qt gui framework and is currently available for Windows, Linux, OSX, and BSD machines.

Be safe.

-- Dietrich





Enhanced by Zemanta

Tuesday, March 19, 2013

Linux Systems Administrator Tools to Die For

by Dietrich Schmitz

You are the 'go-to' Linux Systems Administrator for your organization.

The fact is, you have a lot to do and there are only so many hours in a day.  So, you are always looking for new ways to leverage the use of your time.

Here is a list of popular tools which should be in every Admin's toolbox that provide time-saving functions and features that will help in all manner of troubleshooting and problem-solving situations.

Nmap/Zenmap


Nmap is one of those tools that simply cannot be overlooked and will save hours of guess work when troubleshooting a network.  Used to discover hosts and services on a network from the command line an accompanying graphical package can be installed, called ZenMap.

Command Line Utilities

These command line tools are some of the most commonly-used system utility programs for every-day system administration.  To get help, read the respective man page for each.

ssh, screen, vim, awk, sed, Perl, Netcat, Nslookup, ping, whois, traceroute, Netstat, dig, dd, tcpdump, rsync

WireShark

Wireshark is an open source packet analyzer.  It is simply indispensable when it comes to troubleshooting network connections and provides visualization in a Gtk graphical display of every minutiae for the protocol being traced.

BitDefender System Rescue CD


System Rescue CD provides a Live bootable CD for performing Anti-Virus scanning of any volume.  It's advantage comes from being able to bootstrap (pen drive or CD) into Linux on a Windows PC and scan the Windows NTFS drive partition for virus detection off-line.  Doing a full scan off-line ensures the persistent signature of a virus will be detected.  Quite often, Viruses evade detection by on-line Windows AV software, so this is a good security tool to have for a network having both Windows and Linux PCs.

Virtual Network Computing (VNC)

VNC, was released as open source and licensed under GPL.  It has several derivative versions, including RealVNC, TightVNC, UltraVNC, all of which allow remote desktop access and control over a network.  This free tool is popular for performing IT support in an organization for obvious reasons.


FreeNX


FreeNX is a subset of the commercial NX thin client protocol for remote desktop computing.  FreeNX is open source and licensed under GPL and offers free NX-based thin client terminal access to a Linux Server.  NX has programming optimizations which reduce the amount of X Windows metadata semantics which must travel across a connection by only sending the 'delta' portion of a screen change.  This effectively results in near-local machine performance over long distances and even on low-bandwith 56K dial-up connections. NX by default is secured and running over a tunnel-encrypted secure shell (ssh) connection.

OpenVPN


OpenVPN is an open source GPL licensed Virtual Private Network (VPN) solution.  Linux NetworkManager plugin architecture provides an OpenVPN module for easily setting up Client PCs with access to a corporate-firewalled VPN private subnet.  VPNs by default expose both TCP and UDP port ranges for all ip-ranges defined in the OpenVPN configuration.  This effectively means a remote PC can see and use all corporate resources while tunneled over a VPN secure encrypted connection the same way as a locally connected PC.

Chrome Remote Desktop


Popular Google Chrome web browser has become an indispensable tool for so many reasons.  One need only visit Google's Chrome Web Store to see the array of applications and plug-in extensions available for download.

Among these extensions is found Chrome Remote Desktop.  Chrome Remote has become a popular easy way to provide remote PC assistance.  It is free and the only requirement is that both end-point PCs be running Chrome with the Chrome Remote extension loaded.  Chrome Remote doesn't require special firewall pass-through rules and uses it's own Google server tunnel encrypted protocol (middle-man) to bridge across any firewall for unimpeded access.

Kernel-based Virtual Machine (KVM)


Kernel-based Virtual Machine (KVM) is built into the Linux Kernel and free.  KVM is a type 1 hypervisor providing 'bare metal' performance and is competitive with other Virtual Machine host software vendors such as Citrix ZenHost, VMware, ProxMox, and most recent Linux Containers (LXC).

Virtual Machines offer many benefits not the least of which is quick deployment of servers as resource loads on a VM host without the need to procure additional server hardware.  All hardware is emulated in the virtual machine.  Many IT shops are trending with collapsing down racks upon racks of rack servers into a consolidated high-performance host virtual machine 'farm'.  The multi-core VM host handles the processor overhead of the former bare-metal hardware based processors transparently, reduces power consumption, increases 'high availability' (little or no down-time).  These features increasingly make transitioning to virtual machines a 'hot' technology, and a very competitive one.  Knowing a modicum about KVM will give the Linux System Administrator a sharp technical edge and automatic advantage in today's cost-cutting tight-budget IT environments.

SELinux/AppArmor

SELinux, a Linux Security Module (LSM) is at the very core of Linux's security design, originally developed with assistance from the National Security Agency.  SELinux essentially defines Mandatory Access Control for each application running in its sandbox.  Applications must adhere to a profile of expected or allowed normal behaviors and any deviation from those policies is automatically undefined and will be rejected by the SELinux kernel module.  The Mandatory Access Control is quite effective and you will find SELinux present in Red Hat Linux, Fedora Linux, and an LSM called AppArmor running by default in Ubuntu Linux.  Learning either SELinux or AppArmor is an imperative for today's Linux System Administrator to gain a competitive advantage in the IT job market.

Samba

Samba is an open source free software application which re-implements the  SMB/CIFS networking protocol for sharing files across a network.  SAMBA4, recently released, now includes support for acting as a wholesale replacement for a Windows Active Directory Primary Domain Controller (PDC).

If you watch technology trends as closely as I do, you will realize the implications of Samba4 are quite big.  Already there are Samba PDC stack vendors competing to sell Windows AD PDC implementations replacing Windows Hardware and unencumbering buyers of Windows Licensing restrictions and cost.  Learn as much as you can about Samba.  You'll definitely score high the more you know and IT retention usually takes into consideration those who have the most important skills.  Catch my drift? ;)


Nagios System Monitor


Nagios may not be the newest System Monitor on the block, but, still, its reputation precedes it.  That means its deployment will greatly lower some of the inherent risks that every IT department faces.  Nagios when properly configured will monitor your entire network of services and based on its rule set notify you if/when a service goes down.  That can keep your down-time vulnerability to just minutes when you are sitting at home and get an SMS text message that one of your servers is off-line.  Quickly responding from anywhere with remote corrective action might mean that no one will even know there was an issue or you will have a chance to act before reaching work on a Monday as opposed to having a down system during production hours--an IT manager's worst nightmare.  It's just good business practice in today's world to set up and configure a system monitor for your IT shop.  It will pay over and over for itself.  I promise.

Clonezilla


You know, in the proprietary software world, you can spend a lot of IT dollars without blinking an eye.  Every time you turn around Symantec has another License renewal that must be paid for.

Ghosting machines doesn't have to cost money.  In fact, Clonezilla does everything Symantec Ghost does for free.  So if you pre-image your PCs using Ghost, switch to Clonezilla and get those software license IT dollars back into the budget by doing the job for free.  This is another cutting edge skill you will want to get under your belt.

So, that's it.  I think that covers the range of skills areas over which a Linux System Administrator will want to have maximal efficient control.  Stay smart.  Use the 'best of breed' tools you can find and run a tight IT shop with open source Linux tools 'to die for'.

-- Dietrich



Enhanced by Zemanta

Friday, February 8, 2013

Free at Last with Linux





Katherine Noyes, aka
Linux Girl
I have been using and writing about Linux for roughly six years now, but it wasn't until just recently that I could appreciate its advantages to their fullest.

Why?

Because for most of the ensuing time I was dual-booting between Ubuntu Linux and Windows 7, and so—at least on one side of my PC—I was still subject to all the vulnerabilities and restrictions that afflict Windows users.