offensive-tools/cryptography/openssl/SKILL.md
Auth/lab ref: OpenSSL CLI for encryption, decryption, digesting, certificate inspection, and key handling.
npx skillsauth add aeondave/malskill opensslInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Swiss Army knife for practical crypto plumbing. Also a terrific way to learn that syntax is a form of weather.
Use OpenSSL when you need to:
# SHA-256 digest
openssl dgst -sha256 file.bin
# Inspect a certificate
openssl x509 -in cert.pem -text -noout
# Check an RSA private key
openssl rsa -in key.pem -check
openssl enc -aes-256-cbc -d -in cipher.bin -out plain.txt -pbkdf2 -pass pass:secret
openssl enc -aes-128-cbc -in plain.txt -out cipher.bin -pbkdf2 -pass pass:secret
openssl x509 -in cert.pem -text -noout
openssl pkey -in key.pem -text -noout
openssl rsa -pubin -in pub.pem -text -noout
openssl x509 -in cert.pem -outform der -out cert.der
openssl x509 -inform der -in cert.der -out cert.pem
-pbkdf2 instead of trusting old defaults.dgst, enc, x509, pkey, and rsa cover most day-to-day shell work.cyberchef, sagemath, or application-specific tooling when the task moves beyond basic transforms.No bundled scripts/, references/, or assets/.
Use openssl help and the version-matched man pages for command-specific flags.
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.