Security
Articles in the Security category (13).
Articles in the Security category (13).
- Active Directory: audit security with PingCastle — Overview of PingCastle, a free Active Directory security audit tool.
- Ansible: bootstrap a service account (user, sudoers, SSH key) via a bastion — Create a dedicated Ansible account with ad-hoc commands (user, copy, authorized_key), then test with ping and an SSH bastion.
- Check a DKIM record with dig and drill — Find the DKIM selector in an e-mail header and check the public key published in DNS.
- Check TLS certificate revocation via CRL with OpenSSL — Step-by-step procedure to check whether a website's TLS certificate appears in its certificate authority's revocation list (CRL).
- ClamAV: test the clamd connection (PING and VERSION) — How to check that the clamd daemon answers on its UNIX socket or TCP port, and how to align client applications with it.
- Create a local CA and a TLS certificate with OpenSSL — Create a local certificate authority, issue a server certificate with SAN, verify it and install the CA on a Linux workstation.
- GnuPG (PGP) cheat sheet — GnuPG commands to manage keys, encrypt, sign and verify files.
- Inspect a TLS certificate with openssl s_client — Display a TLS server's certificate chain and read certificate details with openssl s_client and openssl x509.
- Mitigate Log4j in SSIS jars and list Log4j jars — Rename the Log4j 1.2 jars of the SQL Server 2019 SSIS extensions and list the Log4j jars found on the drives.
- Security: IP reputation feeds (ThreatFeeds.io) — Where to find an IP reputation feed (AlienVault) to feed blocklists or enrich logs.
- SELinux essential commands on RHEL — Check SELinux state, diagnose denials, manage booleans and file contexts, and disable SELinux if needed.
- Verify file hashes on Windows and Linux — PowerShell and Linux commands to compute and verify SHA-256 and MD5 file hashes.
- YubiKey: GPG keys and SSH authentication — Use a YubiKey as an OpenPGP card: PINs, SSH authentication through the GPG agent and troubleshooting on Windows.