You can configure interpreters to control the execution of additional scripts.
Map an interpreter with a file or script extension:
sadmin scripts add extension interpreter1 [interpreter2]...sadmin scripts add .vbs wscript.exe cscript.exeThis command enables Application Control to enforce that
wscript.exeandcscript.execan execute a.vbsscript (when the script file and interpreters are allow listed). After the association is defined,wscript.exeandcscript.execan also execute other script files (provided the interpreter can read and understand the instructions in the script file). The association is effective immediately and applies to all new interpreter instances initiated after running this command.If needed, you can associate additional interpreters with a script or file type. For example:
sadmin scripts add .vbs zscript.exeIf you try to add an interpreter that is already associated with a file or extension type, no action is taken.
Note
Application Control supports a special tag 16 Bits as a synthetic extension for the 16-bit binaries. To control execution for the 16-bit binaries, execute these commands.
sadmin scripts add 16Bit wowexec.exesadmin scripts add 16Bit ntvdm.exe
View interpreter and file extension associations
sadmin scripts listSample output appears like this:
.ps1 "powershell.exe" .bat "cmd.exe" .cmd "cmd.exe" .pif "ntvdm.exe" .sys "ntvdm.exe" .vbe "cscript.exe" "wscript.exe" 16Bit "ntvdm.exe" "wowexec.exe" .vbs "cscript.exe" "wscript.exe" .exe "ntvdm.exe"
Remove interpreter and file extension associations.
sadmin scripts remove extension [interpreter1 [interpreter2]]...— Removes the specified interpreter associations for the file or script type.sadmin scripts remove extension— Removes all interpreter associations for the specified file or script type.