Skip to content

erpscanteam/SecStoreDec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Requirements

You need pyjks package to use this script.

pip install pyjks

Usage

This program decrypts SAP SecStore.key and SecStore.properties files and encrypted data from the J2EE_CONFIGENTRY table.

SecStoreDec.py can work in two modes:

  • dss: Decrypt SecStore (used to decypt SecStore.properties with SecStore.key)
  • dd: Decrypt raw data

SecStore decryption

If SecStore.key and SecStore.properties files are located in the same directory you can omit them as arguments:

python SecStoreDec.py dss

else you can set any path you like:

python SecStoreDec.py dss ../SecStore.properties ../SecStore.key

Raw data decryption

The second mode is used to decrypt encrypted data in J2EE_CONFIGENTRY. You need the keyphrase and the encrypted data in hex format. Example:

python SecStoreDec.py dd -k MYKEYPHRASE -d 01011c...

NB: The keyphrase is obtained via decryption of the SecStore.properties file

Special thanks to @gelim and @_chipik

About

Python script for SAP secure storage decrypton

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages