A Batch File With Multiple Payloads, (Fri, Jan 26th)

This post was originally published on this site

Windows batch files (.bat) are often seen by people as very simple but they can be pretty complex or.. contain interesting encoded payloads! I found one that contains multiple payloads decoded and used by a Powershell process. The magic is behind how comments can be added to such files. The default (or very common way) is to use the "REM" keyword. But you can also use a double-colon:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.