Category Archives: Security

Windows: Certificate locations

Hi,

the Windows certificates MMC plugin allows to view and edit the most (expect the enterprise store) of the certificates Windows uses. But the location of the certificates is not really transparent.

Here is a list where those certificates resides physically.
Continue reading Windows: Certificate locations

Advertisment to support michlstechblog.info

SSL/TLS: Enumerate all security ciphers a Web- or Mailserver offers

Hi,

you want to know which security ciphers a particular server supports?
Continue reading SSL/TLS: Enumerate all security ciphers a Web- or Mailserver offers

Powershell: Export/Convert a X509 Certificate to pem format

Hi,

powershell respectively the .NET framework does not offer a method to export a X509 certificate in PEM format. The pem format is a Base64 encoded view from the raw data with a header and a footer.

An example to export the machine certificate (with Thumbprint: 1C0381278083E3CB026E46A7FF09FC4B79543D) of an computer
Continue reading Powershell: Export/Convert a X509 Certificate to pem format

Powershell/Excel: Check if a excel document contains macros

Hi,

this script can be used to check if excel contains some active code. It opens the excel file in an safe way and looks for VB content and write the full file path to the console if macros are found.
Continue reading Powershell/Excel: Check if a excel document contains macros

OpenSSL: Asymmetric en- and decryption of a file


Hi,

this post describes the en- and decryption of a file with a asymmetric encryption algorithm.

Asymmetric encryption means you encrypt data by a public key and can only decrypt this data with a private key associated with the public key.
Continue reading OpenSSL: Asymmetric en- and decryption of a file