Shell Encryption SHC Vulnerability

Source: Internet
Author: User

Recent work has been compiled shell script to the customer use, will inevitably encounter some sensitive information do not want to let customers know, so the SHC script encryption method compiled binary file submitted to the customer use, found that SHC encryption will appear to the fate of the vulnerability. This article describes the vulnerability method:

SHC version: shc-3.8.3

Shell script code Volume: 300 lines +

Shell script logic processing is more complex

SHC compilation parameters: Shc-v-t-r-F (specific meaning can be found online, no longer stated here)


Because the shell script code is more, and the logic processing is slightly complex, each time the execution of the PS process will always see the shell script code, always be plagued by this vulnerability, as shown in:


TEST_V12 for a script-compiled binary file execution:




Open a shell window during execution to see the PS process, as shown below (due to information-sensitive, truncated partial script description):


the above two graphs can fully illustrate that SHC encryption is not so reliable when the amount of shell script is slightly more or the logic is slightly more complex.


Original statement: This document is produced so that the content is original, not reproduced, author e-mail: [Email protected]

Shell Encryption SHC Vulnerability

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.