Many offensive actions require spawning a new process to inject something into. 'forfiles /p "%~dp0.Previously, I wrote a blog post to answer the question: why is notepad.exe connecting to the internet? This post was written in response to a generation of defenders zeroing in on the notepad.exe malware epidemic that was plaguing them. Here's the script: call soundplayer.bat "C:\Windows\Media\tada.wav"Īnd here's a way to use the BEL character to produce sound with easy to copy-paste code (I've called it a beeper.bat): off It also can play mp3 files: call mediarunner.bat "C:\Windows\Media\Ring03.wav"Īnd one that is a little bit obscure - using the tag from internet explorer (which also can play mp3 files). On Windows XP it was not installed by default but I think for the newer Windows versions it is. You can use this script: spplayer.bat "C:\Windows\Media\Windows Navigation Start.wav"Īnother option: Using the windows media player active-x objects to play a sound. SAPI.SpVoice can be used for playing wav files and you have some packaged with the default Windows installation. Here this is wrapped in a batch file and the words can be passed as an argument. Using the speaking capabilities of the SAPI.SpVoice: mshta "javascript:code(close((V=(v=new ActiveXObject('SAPI.SpVoice')).GetVoices()).count
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |