Paranoid Penguin - Limitations of shc, a Shell Encryption Utility
An approach to extract the shell source code successfully from shc version 3.7 generated binary executable was demonstrated. The pub.sh script was used for illustrative purposes only. I have indeed tested the deshc program on executables that I did not create and without access to the source code or the original shell script.
Francisco García, the author of shc, recently released version 3.8. It uses somewhat different data structures and improves upon the security of the previous version. Nevertheless, I believe that embedding the encryption password within the binary executable is dangerous and prone to extraction as discussed in this article.
Nalneesh Gaur, CISSP, ISAAP, works at Diamond Cluster International as a BS7799 Lead Auditor.
- Secret Agent Man
- NSA: Linux Journal is an "extremist forum" and its readers get flagged for extra surveillance
- Own Your DNS Data
- Smoothwall Express
- Returning Values from Bash Functions
- Bash Shell Script: Building a Better March Madness Bracket
- From vs. to + for Microsoft and Linux
- March 2017 Video Preview
- Simple Server Hardening
- Machine Learning Everywhere