ShinoEncode is an encoding method used in obfuscated strings in ShinoBOT and its C2 communication. The purpose is to make it difficult to be detected by signature.
Let's have an example string '
ABC'.
- Convert each character to ascii code (not decimal but HEXADECIMAL)
ABC
➜
41 42 43
- Split the digit.
41 42 43 ➜ 4 1 4 2 4 3
- Add 2 to each digit.
4 1 4 2 4 3 ➜ 6 3 6 4 6 5
- Pick any word which has the length of each digit.
6 3 6 4 6 5 ➜ thanks for trying this encode means
- You can add any symbols, uppercase to make the string more natural.
thanks for trying this encode means ➜Thanks for trying this coding means!!
Let's have an example string '
Thanks for trying this coding means!!'.
- Replace all symbol, space to delimiter.
Thanks for trying this coding means!! ➜ Thanks|for|trying|this|coding|means|
- Calculate the length of each word.
Thanks|for|trying|this|coding|means| ➜ 6|3|6|4|6|5|
- Merge two digit.
6|3|6|4|6|5| ➜ 63|64|65
- Convert each number to character using the ascii code.
63|64|65 ➜ ABC