Jun 28, 2016

Linux - Tails OS (Safe Surfing)

With the ever increasing security risks nowadays such as phishing, viruses, malware, spammers and worst the ransomware. A more secure system/protection is required and for an IT person like myself, I do most of my transactions online.

A recent attack of "ransomware" on one of my friend's computers make me wonders, is my computer really safe ? No ? How could I secure it at on a more robust way ?

So after some studies and research, I've decided to setup a few things in my home network :-
  • Firewall Server.
  • Backup/Storage Server.
  • Norton Security Standard (Anti-Virus & Anti-Malware).
For this particular post, I will be showing how to create a portable OS (not just any OS, it must be safe, secure & lightweight) for my internet browsing & online transactions.

I came across this Linux distribution called "Tails OS", based on a Debian kernel and fully customised with one thing in mind, safe, secured & leaves no traces.

1. Download the latest version of Tails OS v.2.4 iso file (1.2GB).

2. Download the Tails 2.4 Signature file and the Tails Signing Key file. These files is also available in their download page, same page where you download the iso file.

Note : You need to ensure that all Tails files (iso, signature & key) resides in the same folder.

3. Download the latest version of Gpg4Win utility (this is to verify whether you're downloading the correct iso file and its not being tampered with).

4. Install the Gpg4Win (aka Kleopatra) utility, the installations is simple, just follow the on-screen instructions.

Don't worry, it's in "English" language.


5. After Gpg4Win is installed, run the program called "Kleopatra" and the following screen will be shown. Click on "Import Certificates" button.



6. Browse the signature file you have downloaded earlier. Select "tails-signing.key" file.



7. Once successfully imported, the following certificate will shown as below. Now you can exit the utility.



8. Now run "CMD" program and change the directory to where you have saved the Tails files earlier. This steps is required, as Gpg4Win cannot work if the signature key & iso file is not in the same folder.




9. Type the following command --> gpg --keyed-format 0xlong --verify tails-i386-2.4.iso.sig tails-i386-2.4.iso --> press [ENTER] key.



10. Please be patience & let it run, once completed you should have the results as shown below. This shows that the iso file is verified and confirmed correct.



11. Download another utility called "Universal USB Installer", you can visit their website at PenDrivelinux.com for more information. This utility is portable thus no installations required.

12. You will need a USB flash drive (at least 4GB) and then run the utility & you will see the screen as shown below, now follows the screenshot steps.

--> Step 1 : Tails
--> Step 2 : [ISO file location]
--> Step 3 : Select the correct USB flash drive.
--> Step 4 : Select "We will format...." option.
--> Step 5 : Click "Create" button.

!!! WARNING !!!
Ensure the flash drive is empty as this steps will format it, also ensure it's the correct USB drive selected, please unplug all USB storage devices before proceeding.



13. The progress display as shown. Please be patience and let it complete.



14. Click "Close" button when completed.



15. Unplug the USB flash drive, let's name it USB#1 for the convenience of this tutorial.

16. You will need another empty USB flash drive (USB#2), this flash drive will be your working drive and may contains your data thus a larger capacity is required.

17. Now restart your computer with USB#1 plugin and select boot from USB drive (booting to USB drive steps differs & depends on manufacturer), once booted you should see the following screenshot, select "Live" boot option and press [ENTER] key to continue booting.



18. You will be prompted with the following screen, click "Login" button to continue.



19. Once successfully booted, you will the following desktop as shown below.



20. Now plugin the empty USB#2 drive (note that the first USB drive aka USB#1 drive is still plugin) and then goto --> Applications --> Tails --> Tails Installer.



21. Click on "Install by cloning" option as shown below.



22. When prompted, select USB#2 drive as shown below. Ensure its the correct drive.



23. When prompted, click "Yes" button to continue.



24. The following progress will be displayed, please be patience and wait for it complete. If you disrupt this process it will rendered your USB#2 drive unusable.



25. Once the installation completed, click "Close" button.



26. Now you will need to shutdown the system, on the top right corner click on the drop-down arrow and the sub-menu will be displayed, click on the "Power" icon as shown to shutdown.



27. Once shutdown, unplug USB#1 drive but leave the USB#2 drive plugin. Then switch on back the computer & select boot from USB drive. Select "Live" boot option when prompted.



28. Click "Login" button to continue.



29. This steps is optional if you want to read/write your data files into the flash drive. Now to enable the "Persistent Volume" option, where you can read/write your data files into the flash drive, goto --> Application --> Tails --> Configure persistent volume.



30. It will prompt you for a "Passphrase", key-in your preferred passphrase (recommended to have at least 6 alphanumeric with special characters & hard to guess name, such as your favourite foods or drinks, your pet's name etc.). Next click "Create" button.



31. Wait for the installation to be completed, the progress screen is as shown below.



32. Now you will be prompted to select which services can be saved into the flash drive, the default selection is enough (unless you know what kind of services you will be using, then you can select more). Click "Save" button when you are done.



33. Just close the windows when prompted.



34. Now you need to restart the system in order for the new features to be activated, once restarted you will be prompted a new login screen as shown below. Click "Yes" button under "Use persistence ?" option and then click "Login" button to continue.



35. That's all, you can now surf the web safely.

So what do you do with USB#1 drive ? Well its entirely up to you, it can be reformatted for other purposes or leave it as a backup in case you need it.

So whenever I travel, I will surely bring this USB#2 drive along. You will never knows when you need it. It is very suitable when used in public computers (eg. Internet Café) or using your friend's computer (when you are unsure its safe or not). Whatever the reasons, it is better safe than sorry later.

I have tested this OS on the following models and it works :-
  • HP ProBook 6470b.
  • HP EliteBook Folio 9470m Ultrabook.
  • HP Compaq Presario CQ42.
  • HP Compaq Pro 3000 MT.
  • Lenovo IdeaPad Z500.
On my next weekend project, I will be setting up a firewall server and configure it. So stay tune and until next week then.

HAPPY COMPUTING & SAFE SURFING !!!

Jun 27, 2016

Windows - Corrupted USB Flash Drive

From time to time you might be testing some sort of OS or trying to make an USB flash drive bootable. For me it is very often whereby I will try lots of utilities and OSes.

Over the time the flash drive will get corrupted or rendered it unreadable or worst a wrong partition table thus causing some read/write errors. Example of the problems as below screenshot :



Well don't worry, I have a simple solution to this problems..... just "zero fill" the flash drive.

I'm not going to explain what the heck is "zero fill" technology and for those who understand it..... well we need an utility to perform such task. When you "googled" it you will definitely found tons of utilities that does that, I'm suggesting this "LowVel" utility due to its easy to use and only perform a single functions, which is "Zero Fill" or "Low Level Format" task.

1. Download the utility here. For more information, please visit http://www.lowlevelformat.info/Default.aspx website. Or if you prefer, you can also download it from the author's website directly.

2. Once download complete, you need to install it. Now don't be scared by the intimidating splash screen when you first run it.



3. Now when install complete, just run the utility and you will have the following screen displayed.



4. Use the drop-down box to select your USB Flash Drive.

!!! WARNING !!!
Please ensure you are selecting the correct drive, as this utility can also detects your local HDD or any connected drives. There is no way to undo this.



5. Once the correct drive is selected, just click on the "Start" button as shown.



6. Now a warning message will be prompted, verify the USB flash drive information whether you are selecting the correct drive or not. After verification, click on the "Erase" button as shown.

!!! WARNING !!!
Please ensure the correct drive information is displayed before continue.



7. Once started, you will see the following progress. Depending's on the size of the USB Flash Drive, the time required for the completion varies and also the type of USB (eg. USB2.0 & USB3.0) also varies.

Also you need to disabled screen saver from running and ensuring your computer have sufficient battery status (if running from a notebook).



8. Once completed, you may proceed to close the program and unplug/remove the USB flash drive from the computer.

9. Now plug back the USB flash drive and Windows will automatically prompts you to format the drive, this is normal after the drive is "zero fill", please proceed to format it.

10. Once completed, you need to verify whether it fixes your problems or not. As below screenshot, you can see that the USB flash drive's volume & partition table returns back to normal.



11. Now you can use back the USB flash drive like normal.

HAPPY COMPUTING !!!

Jun 2, 2016

Samsung - Peel Smart Remote

This apps have been around for some time and yet I have ignore it for almost the entire year. I just so happens to tried out this apps as my very old LCD TV's remote went broken.

To my surprise it does works, so I have proceeded to add more remotes into the apps such as my Home Theatre System, the new LCD TV, Blu-Ray Player, DVD Player and Air-Conditioner.

Yes, air-conditioner and works flawlessly. Though some appliances couldn't be controlled due to incorrect iR frequency or its not listed in their database but heck you can send them the make & model and maybe... maybe they will add it in on the next release of updates.





You can also visit their website for more information at https://www.peel.com/

Oh did I mentioned it also works on Astro decoder & HyppTV Set-Top-Box ? Yupe, you heard me right it does works. Give it a try and you'll never regret it.

HAPPY COMPUTING !!!

May 29, 2016

VoIP - Part #2 SoftPhone Installations & Configurations

Now since your VoIP server is up & running and you have completed creating the "Extensions", it's time to install the softphone in your computer.

Depending on which softphone you choose, the configurations might be different. I'm using both Zoiper and X-Lite Free on my computer. Now take note that X-Lite does have version for Android & iOS devices but you'll need to pay for it. While Zoiper on the other hand is FREE for all types of devices.

Zoiper Softphone.

1. Download & install Zoiper.

2. Once installed, run the program. Goto --> Settings --> Preferences menu.



3. In the General tab, type-in the IP address of the FreePBX server, your username, password. Configure the same also for the "Outbound options" as show below.



4. Now at Advanced tab, type-in your FreePBX IP address into the "STUN options" as shown below. Once done click "OK" button.



5. You may need to wait for a few seconds before the softphone is registered with the server.

6. Once completed, you can continue to setup the same on another computer and the only differences is the extension number.

Now for some extra note, if you subscribe to Zoiper's VoIP package, the STUN options are already pre-configured thus no changes required. But in my case, I setup my own server thus the changes must be configured according to my FreePBX server's IP address.

Also if you have setup DDNS like me, configuring your mobile devices is slightly different, whereby instead of specifying the IP address, you must specify the FQDN of your DDNS services (eg. myfreepbx.dyndns.net)

HAPPY COMPUTING !!!

VoIP - Part #1 Installations & Basic Configurations

VoIP have been in the IT for sometimes, yet seldom people see the benefits of implementing until recently where similar apps such as WhatsApp, WeChat, Line etc. comes popping up into your SmartPhone.

But all this are cloud based apps, how about on-premises apps ? Meaning hosting your very own chat & voice server ?

Yes, Microsoft already have their own Skype for Business product. I mean really, do you really wanna pay for your own home use ?

Let me introduce Asterisk, an open source framework for building communications applications. It mostly focuses on IP PBX system. The only drawback is that it doesn't have GUI available, so most of the configurations are done via CLI. Luckily there are some good Samaritans that took the efforts to developed a GUI for the public and its called FreePBX.

As both software matured, more and more functions & features being made available and are more stable than ever before.

A full installations & configurations tutorials is available on YouTube. So I'm not going thru the installations but just a quick run down on the basic configurations to make it work.

1. Once the installations complete, you can login via the GUI. Just open any preferred browser http://192.168.2.100 (assuming the server you have installed is using that IP address). Select "FreePBX Administration" icon.



2. When prompted, key-in the username & password you have setup at initialization stage.



3. Once you login, you will be presented the "Dashboard" view as shown below.



4. Browse to --> Applications menu --> Extensions options.



5. Once you are in the "Extensions" windows, click on the "Quick Create Extension" button.



6. Leave the default "Chan_SIP" type, now you need to plan a proper extension number (min. 3 digits) and the "Display Name" option.



7. You might want to configure "Enable Voicemail" functions, but not compulsory. Just click "Finish" button once all are completed.



8. Once completed, the new extension will be displayed as shown, you will need to click on the"Edit" button as shown.



9. You will need to note down the "Secret" settings for configuration on either the Softphone or Hardphone. Click "Submit" button at the bottom of the screen and then click "Apply Settings" button located on top of the browser.


10. Now browse to "Admin" tab and select "Asterisk CLI" option as show below.



11. Type the following command into the box "sip show peers", this command will list out all the connected account. The status must be "OK" for all account.



HAPPY COMPUTING !!!

May 25, 2016

Norton Live Update URL

Norton Security is a great software protecting your computer while running on a small foot-print (not resource hungry) and I like it very much.

But as a home user, getting the live update to run was not a problems until you're connected back in your office network whereby the updates failed.

This is because the corporate's firewall have blocked all un-approved downloads, as such an exceptions in the firewall is required.

Below are the links to Norton's Live Update servers, just add this link into the exception list in your firewall to enable seamless updates.

Depending's on your firewall type, you may need to exclude the "https://" and the port number from the line.

Mine just works without the "https://" and port ":80" number in my line. All clients are now able to download the definitions updates from Norton servers.

HAPPY COMPUTING & SAFE BROWSING !!!

May 22, 2016

Windows - UltraViewer (alternative to TeamViewer)

All of us have been very familiar with TeamViewer in one way or another, either getting help or providing help to your associates, friends and family.

But the TeamViewer's commercial version detection sometimes does give us a headache with a limited 5 minutes remote then an auto-disconnection. The worst thing is we have to wait for 15 minutes before any re-connection.

Well for those business/corporate user(s), we always recommend to buy the commercial version but to home users like us the limitation is a crap.

A recent search by Mr. Tristan Lee (and many thanks to him) found an alternative to TeamViewer and it's called UltraViewer. The interface looks almost the same, works almost the same and the best part is its FREE !

Yes, its FREE even for business user(s) !

Now please take note that this UltraViewer is still in development, but so far is supports almost all Windows OS from XP to 10 and it did say it also runs in Windows Servers. As for MAC OS, Android & iOS will be their future development.

Please visit their website for more information at http://www.ultraviewer.net


HAPPY REMOTING !!!