vbeDecoder 1.0.1
See the version list below for details.
dotnet add package vbeDecoder --version 1.0.1
NuGet\Install-Package vbeDecoder -Version 1.0.1
<PackageReference Include="vbeDecoder" Version="1.0.1" />
paket add vbeDecoder --version 1.0.1
#r "nuget: vbeDecoder, 1.0.1"
// Install vbeDecoder as a Cake Addin #addin nuget:?package=vbeDecoder&version=1.0.1 // Install vbeDecoder as a Cake Tool #tool nuget:?package=vbeDecoder&version=1.0.1
vbeDecoder
VBE decoder for encoded Visual Basic Script Encoded scripts (VBE) and JScript Encoded scripts (JSE), written in C#, and provided as a library for .Net Standard.
What is a VBE ?
The obfuscated VBE and JSE scripts are the result of a proprietary encoding of VBS (Visual Basic Script) and JS (JScript) scripts introduced by Microsoft in version 5 of those.
The intention was to give script authors the possibility to keep their source code confidential by obfucating it. While this feature has been abandoned by most developers, it is now very popular among malware writers to obfuscate their script in a easy way.
Various script formats can be encoded in this way:
- client scripts (
<script language="VBScript.Encode"
) - the server scripts of the classic ASP pages (
<%@Language="VBScript.Encode"
) - script files (
.vbs
⇒.vbe
)
Developers / malware authors can encode their scripts by using the Microsoft's 'screnc.exe' command-line tool:
screnc.exe in.htm out.htm
Library
Nuggets
You can use the library by using Nuget package. For this purpose, please use one of the following methods.
Package Manager
Install-Package vbeDecoder -Version 1.0.0
.NET CLI
dotnet add package vbeDecoder --version 1.0.0
How to use ?
It's as simple as it sounds.
***Decoding a file 😗**
decodedScript = ScriptDecoder.DecodeFile(encodedScriptPath)
Decoding a raw script from a string:
decodedScript = ScriptDecoder.DecodeScript(encodedRawScript)
Decoding a raw script from a stream:
decodedScript = ScriptDecoder.DecodeStream(stream)
CLI
How to use ?
Arguments:
--stdin (Group: input) (Default: false) Read from stdin
-i, --input (Group: input) (Default: true) Input files to be processed.
-o, --output Output path.
--help Display this help screen.
--version Display version information.
Windows:
vbeDecoder.CLI.Core -i script.vbe -o decoded_script.vbs
Mutli-platform:
dotnet vbeDecoder.CLI.Core.dll -i script.vbe -o decoded_script.vbs
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.0 was computed. netcoreapp1.1 was computed. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard1.3 is compatible. netstandard1.4 was computed. netstandard1.5 was computed. netstandard1.6 was computed. netstandard2.0 was computed. netstandard2.1 was computed. |
.NET Framework | net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen30 was computed. tizen40 was computed. tizen60 was computed. |
Universal Windows Platform | uap was computed. uap10.0 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 1.3
- NETStandard.Library (>= 1.6.1)
- System.IO.FileSystem (>= 4.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on vbeDecoder:
Package | Downloads |
---|---|
vbSparkle
vbSparkle is a source-to-source multi-platform Visual Basic deobfuscator based on partial-evaluation and is mainly dedicated to the analysis of malicious code written in VBScript and VBA (Office Macro). It is written in native C# and provides a .Net Standard library, and works on Windows, Linux, MacOS, etc.. The parsing of Visual Basic Script and VBA is processed through the use of ANTLR grammar & lexer parsers. |
GitHub repositories
This package is not used by any popular GitHub repositories.