![]() |
China DOS Union-- Unite DOS · Advance DOS · Grow DOS --Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum |
| Guest | Log in | Register | Members | Search | China DOS Union |
|
中国DOS联盟论坛 The time now is 2026-08-11 07:57 |
47,811 topics / 349,897 posts / today 0 new / 48,256 members |
| DOS批处理 & 脚本技术(批处理室) » [Closed] VBS Decryption |
| Printable Version 2,492 / 14 |
| Floor1 6688 | Posted 2008-11-21 15:41 |
| 新手上路 Posts 7 Credits 7 | |
|
I don't know how it's encrypted~ Can't understand~
The original file is here http://upload.cn-dos.net/img/1118.rar This is the code (directly copying the code won't run) |
|
| Floor2 5872169 | Posted 2008-11-21 16:27 |
| 高级用户 Posts 474 Credits 959 | |
|
It's like天书! There are many free decryption websites online. Just search for them.
|
|
| Floor3 slore | Posted 2008-11-21 22:20 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
```vb
Const HKEY_CURRENT_USER = &H80000001 Set oReg = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\default:StdRegProv") strKeyPath = "Console\%SystemRoot%_system32_cmd.exe" oReg.CreateKey HKEY_CURRENT_USER, strKeyPath strValueName1 = "CodePage" dwValue1 = 936 strValueName2 = "ScreenBufferSize" dwValue2 = 98304200 strValueName3 = "WindowSize" dwValue3 = 2818173 strValueName4 = "HistoryNoDup" dwValue4 = 0 strValueName5 = "WindowPosition" dwValue5 = 131068 strValueName6 = "QuickEdit" dwValue6 = 2048 oReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName1, dwValue1 oReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName2, dwValue2 oReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName3, dwValue3 oReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName4, dwValue4 oReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName5, dwValue5 oReg.SetDWORDValue HKEY_CURRENT_USER, strKeyPath, strValueName6, dwValue6 Dim objWSH, FinalPath Set objWSH = WScript.CreateObject("WScript.Shell") If LCase(Right(WScript.Fullname, 11)) = "wscript.exe" Then FinalPath = "'" & WScript.ScriptFullName & "'" objWSH.Run("cmd.exe /k cscript //nologo " & Replace(FinalPath, "'", """")) WScript.Quit End If oReg.DeleteKey HKEY_CURRENT_USER, strKeyPath Set oReg = Nothing Wscript.Echo vbCr Wscript.echo " Code by " & "野球小子" Wscript.echo " Time at: 2008-10-9 9:27" Wscript.Sleep 1000 WScript.Echo 'WScript.Sleep 3000 WScript.Echo "当前正在运行的进程信息列表如下:" 'WScript.Sleep 2000 Dim MyOBJProcessName Set OBJWMIProcess = GetObject("winmgmts:\\.\root\cimv2").ExecQuery("Select * From Win32_Process") WScript.Echo "Name: PID: Owner: ExecutablePath: " WScript.Echo "---------------------------------------------------------------------------------------" For Each OBJProcess In OBJWMIProcess MyOBJProcessName = OBJProcess.Name & " " colProperties = OBJProcess.GetOwner(strNameOfUser, strUserDomain) WScript.Echo Mid(MyOBJProcessName, 1, 20) & vbTab & OBJProcess.ProcessID & vbTab & strNameOfUser & vbTab & vbTab & OBJProcess.ExecutablePath Next ``` |
|
| Floor4 6688 | Posted 2008-11-21 22:28 |
| 新手上路 Posts 7 Credits 7 | |
Originally posted by slore at 2008-11-21 22:20: |
|
| Floor5 slore | Posted 2008-11-21 22:35 |
| 铂金会员 Posts 2,478 Credits 5,212 | |
|
vbe is official encryption... There are many web pages on the Internet that can
decode |
|
| Floor6 6688 | Posted 2008-11-21 22:41 |
| 新手上路 Posts 7 Credits 7 | |
|
Sweat~
Is VBE the same as VBS? I tried searching for VBS before and couldn't find it for a long time~ Now I search for VBE and find it right away~ |
|
| Floor7 6688 | Posted 2008-11-21 22:46 |
| 新手上路 Posts 7 Credits 7 | |
|
And before decryption, it can only run with the VBE suffix~ The VBS suffix cannot run~
|
|
| Floor8 HAT | Posted 2008-11-23 01:59 |
| 版主 Posts 5,017 Credits 9,023 | |
|
1. Save the encrypted code as a.vbe
2. Use the third-party command tool scrdec18.exe to decrypt scrdec18.exe can be downloaded here: Special Thread for Batch Processing Room Attachment Collection The result is saved in b.txt: 3. Rename b.txt to b.vbs, modify b.vbs, replace the last Excute with interception code 4. Double-click to run the modified b.vbs, and the result is saved in DecodeVBS.txt: [ Last edited by HAT on 2008-11-23 at 02:10 ] |
|
| Floor9 kioskboy | Posted 2008-11-23 08:43 |
| 初级用户 Posts 103 Credits 153 | |
3. Rename b.txt to b.vbs, modify b.vbs, and replace the last Excute with the interception code I'm in an internet cafe, and I can't change the image hijacking in the registry. I don't know the reason. What is the specific code used for interception? |
|
| Floor10 HAT | Posted 2008-11-23 09:45 |
| 版主 Posts 5,017 Credits 9,023 | |
|
Without using image hijacking, the interception code refers to the last added Intercept sub - function.
|
|
| Floor11 kioskboy | Posted 2008-11-23 10:24 |
| 初级用户 Posts 103 Credits 153 | |
|
Oh, so that's how it is. Thanks. Then, what could be the reason that I can't modify the image hijacking part in the registry here?
|
|
| Floor12 HAT | Posted 2008-11-23 10:43 |
| 版主 Posts 5,017 Credits 9,023 | |
|
There are many possible reasons, such as: the read and write permissions of the registry branch have been modified, or there are other programs or services monitoring the read and write of the registry, etc.
|
|
| Floor13 kioskboy | Posted 2008-11-23 10:48 |
| 初级用户 Posts 103 Credits 153 | |
|
Yes, that's how it is. It makes sense. Then where is the permission to modify this place? (I can modify other places) Or how to make the program or service detect it and then find it out?
|
|
| Floor14 HAT | Posted 2008-11-23 10:58 |
| 版主 Posts 5,017 Credits 9,023 | |
|
1. Right-click on a certain registry branch -> Permissions
2. If you have sufficient knowledge of the system processes and services, you can try to end all processes/services except the necessary system ones. |
|
| Floor15 ggaking | Posted 2009-12-20 01:04 |
| 新手上路 Posts 8 Credits 19 | |
|
Oh, dizzy here:
Use the third-party command tool scrdec18.exe to decrypt scrdec18.exe can be downloaded from here: Batch Processing Room Attachment Collection Dedicated Post Then the Batch Processing Room Attachment Collection Dedicated Post prompts to download: scrdec18.exe: Decrypt VBS code encrypted by Windows Script Encoder http://www.cn-dos.net/forum/viewthread.php?tid=44587#pid312387 The two are playing Tai Chi? Crazy dizzy. Win32 command line executable : scrdec18.exe (53 Kb) http://www.virtualconspiracy.com/download/scrdec18.exe Source (will compile cleanly on most Unix systems): scrdec18.c http://www.virtualconspiracy.com/download/scrdec18.c |
|
|
[ Contact the Union admin team -
中国DOS联盟 -
Standard version ] Sponsored by ifanr Inc | © 2001–2023 |