Veil icon indicating copy to clipboard operation
Veil copied to clipboard

SLEEP option doesn't seem to work if longer then 30 seconds

Open maxbarkouras opened this issue 4 years ago • 0 comments

Veil version

3.1.14

OS Used - all info (architecture, linux flavor, etc)

Kali Linux 2021.2 on VirtualBox (Host: Windows) Architecture: AMD64

How did you install Veil? (Apt, Clone from Github, etc.)

Apt

Did you run the setup script?

N/A

Pastebin link to error you are encountering (include console actions you took prior to error)

Sleep command doesn't seem to connect if I set it for longer than 30 seconds

Expected behavior

After the time set the script checks if its in a sandbox and if not continues with the code

Any additional info you want to tell me

Every time I attempt to use the sleep command and set it past 30 seconds I do not get a connection back to my host after the time supplied. Even if all antivirus is off and I run a reverse shell with a 60-second sleep timer, no connection is made back to my host after 60 seconds. However, if I set the sleep timer to something like 30 or lower, a connection will be established after this time. This creates an issue because most anti-virus sandboxes will run the program longer than 30 seconds which will stop my script from running at all once the AV is turned on. If I could encode a sleep timer with something like 300 seconds I could easily evade the sandboxes; however, as of now, I cant seem to do that.

maxbarkouras avatar Jul 18 '21 23:07 maxbarkouras