I am just asking for information as I want to counter the effect of the worm.
To the mods if this topic is in violation of the rules please delete the thread. Though I can help to undo the effects of the worm though. I am particularly interested in the simple encryption of the sowar worm and am thinking of adapting the encryption to php and provide security to my data.
Edit:
Code:
Function Decrypt(strInput)
strInputCopy = strInput
strInputCopy = Replace(strInputCopy, Chr(28), String(3, Chr(9)))
strInputCopy = Replace(strInputCopy, Chr(27), String(3, Chr(32)))
strInputCopy = Replace(strInputCopy, Chr(29), vbCrLf)
strInputCopy = Replace(strInputCopy, Chr(18), Chr(34))
d = Left(strInputCopy, InStr(1, strInputCopy, Chr(25)) - 1)
strInputCopy = Mid(strInputCopy, Len(d) + 2, Len(strInputCopy))
e = 1
f = 0
For i = 1 To Len(d) / 2
g = Mid(d, e, 2)
strInputCopy = Replace(strInputCopy, Chr(128 + f), g)
e = e + 2
f = f + 1
Next
a = strInputCopy
End Function
This vbs script will provide decryption. I want the whole file so as to create an equivalent Encrypt() function to enable me to encrypt some file and use this decryption to decrypt it, unless someone is able to create an encryption process based on this code snippet...
Edit:
Code:
Function Encrypt(a)
b = a
b = Replace(b, Chr(34), Chr(18))
b = Replace(b, vbCrLf, Chr(29))
b = Replace(b, String(3, Chr(32)), Chr(27))
b = Replace(b, String(3, Chr(9)), Chr(28))
End Function
I am stumped here.