The function responsible for handling commands compares each command received from C2 with one of the following strings:
Then, based on the results, it performs several validation checks on its arguments before executing the actual command.
Commands Supported by SBIDIOT
The TCP command asks the bot to send TCP segments destined for a specified host/port combination for a specified interval of time. Additionally, it allows the operator to set a number of optional TCP flags.