Skip to content

Tera0017/SDBbot-Unpacker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDBbot Unpacker

SDBbot Unpacker is a python 2.7 script that is able to unpack/dump statically modules of x86 and x64 SDBbot packed samples.

SDBbot Infection process

More information:

Usage

$ python sdbbot_unpacker.py --help

  ____  ____  ____  _           _     _   _                  _         
 / ___||  _ \| __ )| |__   ___ | |_  | | | |_ __  _ __   ___| | ___ __ 
 \___ \| | | |  _ \| '_ \ / _ \| __| | | | | '_ \| '_ \ / __| |/ / '__|
  ___) | |_| | |_) | |_) | (_) | |_  | |_| | | | | |_) | (__|   <| |   
 |____/|____/|____/|_.__/ \___/ \__|  \___/|_| |_| .__/ \___|_|\_\_|   
                                                 |_|
|--> SDBbot Unpacker
usage: sdbbot_unpacker.py [-h] [-f FILE]

SDBbot Modules Unpacker

optional arguments:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  File to unpack modules.

Example x86

$ python sdbbot_unpacker.py -f png1

  ____  ____  ____  _           _     _   _                  _         
 / ___||  _ \| __ )| |__   ___ | |_  | | | |_ __  _ __   ___| | ___ __ 
 \___ \| | | |  _ \| '_ \ / _ \| __| | | | | '_ \| '_ \ / __| |/ / '__|
  ___) | |_| | |_) | |_) | (_) | |_  | |_| | | | | |_) | (__|   <| |   
 |____/|____/|____/|_.__/ \___/ \__|  \___/|_| |_| .__/ \___|_|\_\_|   
                                                 |_|
|--> SDBbot Unpacker
|--> Encoded code ROL 3
|--> Encoded code XOR Key: 0X1D24
|--> Encoded code Size: 0X270
|--> Encoded Binary ROL 3
|--> Encoded Binary XOR Key: 0X7178
|--> Encoded Binary Size: 0XF432
|--> SdbInstallerDll successfully dumped: SDBbot_SdbInstallerDll_png1
|--> RegCodeLoader successfully dumped: SDBbot_RegCodeLoader_png1
|--> RegBlob successfully dumped: SDBbot_RegBlob_png1
|--> BotDLL successfully dumped: SDBbot_RAT_BotDLL_png1

Example x64

$ python sdbbot_unpacker.py -f png2

  ____  ____  ____  _           _     _   _                  _         
 / ___||  _ \| __ )| |__   ___ | |_  | | | |_ __  _ __   ___| | ___ __ 
 \___ \| | | |  _ \| '_ \ / _ \| __| | | | | '_ \| '_ \ / __| |/ / '__|
  ___) | |_| | |_) | |_) | (_) | |_  | |_| | | | | |_) | (__|   <| |   
 |____/|____/|____/|_.__/ \___/ \__|  \___/|_| |_| .__/ \___|_|\_\_|   
                                                 |_|
|--> SDBbot Unpacker
|--> Encoded code ROL 7
|--> Encoded code XOR Key: 0XA82
|--> Encoded code Size: 0X375
|--> Encoded Binary ROL 7
|--> Encoded Binary XOR Key: 0X55EE
|--> Encoded Binary Size: 0X12786
|--> SdbInstallerDll successfully dumped: SDBbot_SdbInstallerDll_png2
|--> RegCodeLoader successfully dumped: SDBbot_RegCodeLoader_png2
|--> RegBlob successfully dumped: SDBbot_RegBlob_png2
|--> BotDLL successfully dumped: SDBbot_RAT_BotDLL_png2

Requirements

Support

In case some files are not working, please make sure it is a packed SDBbot, if yes please provide me the hash in a DM @Tera0017.

Regards

About

SDBbot Unpacker Python 2.7

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages