Category Archives: Security

Powershell: En- and Decrypt string with AES256

Hi,

if you have the requierment to encrypt strings in Powershell the .NET Framework offers some classes for this case. This is a symmetric encryption. Receiver and Sender uses the same Password/Key to en- and decrypt the message.
Continue reading Powershell: En- and Decrypt string with AES256

Windows: Disable DES and Triple DES (3DES)

Hi,

a measure to protect your Windows System against Sweet32 attacks is to disable the DES and Triple DES.

To do this, add 2 Registry Keys to the SCHANNEL Section of the registry.
Continue reading Windows: Disable DES and Triple DES (3DES)

Openssl: Setup an intermediate CA

Hi,

first ramp up your root CA as described in my previous post.
Steps to create a intermediate CA. Create the intermediate CA structure in filesystem
Continue reading Openssl: Setup an intermediate CA

Openssl: Create a root CA

Hi,

steps to create a CA. Create the CA structure in filesystem
Continue reading Openssl: Create a root CA

Mail: Connect TLS encrypted to a smtp server by telnet

Hi,

the SMTP protocol is ASCII based. In the past, the SMTP protocol goes unencrypted over the wire means you can simply send emails by connecting to the SMTP port 25 and enter some SMTP commands via telnet:

michael@debdev ~ # telnet smtp.yourdomain.org 25
EHLO test.example.com
MAIL FROM:info@yourdomain.org
RCPT TO:receiver@receiversdomain.org
DATA
Subject: Testmessage
<ENTER>
<ENTER>
This is a test message. End with <ENTER><ENTER> and point

.
QUIT

Continue reading Mail: Connect TLS encrypted to a smtp server by telnet