Clicky

20141010

TPM embedded security



Spotted on the IT-SA conference in Nuremberg this week: The "NCP Secure VPN GovNet Box", an ultra secure VPN appliance that utilizes the Trusted Platform Module for Trusted Startup. If the TPM detecteds tampering or a change in the start-up environment, the device will not work. Platform Integrity in its purest form:
Nice...

(Datasheet: download)

20140913

CalDAV/CardDAV on Windows Phone 8.1 (Lumia Cyan)

In WP8 it was possible to (mis)use the Google account settings to add CalDAV/CardDAV support for calendar synchronization to your own CalDAV/CardDAV server. That method is broken in WP8.1.

The solution is simple. Just add an iCloud account and configure that for your CalDAV server. Check (action from 0:50):
http://www.heise.de/ct/artikel/Praxis-Windows-Phone-8-1-synchronisieren-2281900.html

Result:



20140911

stunnel, hMailserver's security panacea

UPDATE 17-Oct-2014: The POODLE attack has made SSLv3 vulnerable. The stunnel.conf configuration below is modified to disable SSLv3 too.

I am using hMailserver to handle the mail for my email domains. hMailserver has an option to secure the email traffic with SSL. Under the hood it is using OpenSSL for that.

There is a small problem with this configuration:  weak encryption is enabled in hMailserver. It seems that the SSL configuration is hardcoded in hMailserver, I needed a better method to establish and maintain SSL sessions to my mailserver.

An attacker is able to read emails when SSLv2 is used
To make a long story short, stunnel (http://www.stunnel.org) solves this problem. stunnel is an SSL wrapper also based on OpenSSL. It is very flexible and highly configurable. In this case we want to tunnel IMAP and SMTP traffic in an SSL tunnel.

There are only two steps to make hMailserver only accessible through very secure SSL communications.

1. Remove the SSL support in hMailserver

Go to your hMailserver console and remove all SSL protocols leaving only IMAP (port 143) and SMTP (port 25):


2. Add and configure stunnel

Download stunnel (https://www.stunnel.org/downloads/stunnel-5.03-installer.exe) and install in the default or other folder. Have are create the Private Key, Server Certificate (and root certificate) PEM file. Make an stunnel configuration file. 

This  is an example stunnnel.conf:

; Debugging stuff (may useful for troubleshooting)
; 5=normal
; 7=debug
; See:http://www.stunnel.org/static/stunnel.html
debug = 5
output = m:\log\stunnel.log

; Initialize Microsoft CryptoAPI interface
engine = capi

; Certificate/key is needed in server mode and optional in client mode
cert = hmailserver.domain.com.pem
key = hmailserver.domain.com.pem

; Security configuration no.1...
; Disable support for insecure SSLv2 protocol...
options = NO_SSLv2
; Disable also SSLv3 against the POODLE attack...
options = NO_SSLv3

; Security configuration no.2: Allow only stong ciphers...
; Normally the next configuration is secure (enough):
; ciphers = ALL:!ADH:!LOW:!EXP:!MD5:@STRENGTH
; However if you are really paranoid, allow only strongest:
ciphers = ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA

; Security configuration no.3...; These options provide additional security at some performance degradation
options = SINGLE_ECDH_USE
options = SINGLE_DH_USE

[imap]
client = no
accept = 993
connect = 143

[smtp]
client = no
accept = 465
connect = 25

Test the config file with the stunnel GUI (stunnel startmenu:"stunnel GUI start").This enables to check the logfile on screen for errors. When this works fine, install the stunnel services (stunnel startmenu:"stunnel Service Install"). Start the stunnel service and check the connectivity.

When everything works hMailserver is only accessible through strong encryption protocols:

stunnels's strong encryption prevents attackers to read your email

Happy emailing!

20140207

Add .NET Framework 3.5 SP1 to Windows 8.1

Many applications are build with .NET 3.5 SP1 libraries. .NET Framework 3.5 SP1 is not a standard Windows 8.1 Feature. Adding this feature can be cumbersome. This method shows the easy way.

1. Start a command prompt with Administrative privileges. You should see this:



2. Place the Windows 8.1 installation DVD in the DVD drive of the computer. It will pop up with a drive letter in Explorer. In this example drive D: is mapped.

3. Type the next command in the command prompt:

C:\> DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:d:\sources\sxs

The process will take a couple of minutes. When ready you can check Programs and Features in Control Panel:

20140117

Aubade 2014 Calendar

The Aubade Calendar 2014 was "only" available if you spend EUR120 or more on their nickers. However, now the calendar is also available for paupers like you and me: download.

Aubade 2014 calendar



Real Time Web Analytics