China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-03 06:27
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Decrypt Batch Script View 2,096 Replies 14
Original Poster Posted 2007-01-26 10:41 ·  中国 广东 佛山 顺德区 电信
初级用户
Credits 99
Posts 30
Joined 2007-01-19 05:46
19-year member
UID 76980
Gender Male
Status Offline
The kill.bat in the attachment is encrypted and cannot be learned or studied.
I hope someone can help decrypt it. Thank you


──────────────── Moderator's Note ────────────────
  This attachment is the special killing tool for Panda Burning Incense virus. The kill.bat in it is not a real batch processing file, but a PE format exe executable file. It is impractical to operate in the way of decrypting batch processing files.
──────────────── Moderator's Note ────────────────


[ Last edited by namejm on 2007-1-26 at 10:24 AM ]
Attachments
xmzsbz.rar (94.98 KiB, Credits to download 1 pts, Downloads: 77)
Floor 2 Posted 2007-01-26 13:26 ·  中国 福建 泉州 石狮市 电信
银牌会员
★★★
Credits 1,276
Posts 469
Joined 2002-12-23 13:00
23-year member
UID 586
Gender Male
From 福建泉州
Status Offline
This KILL.BAT is not a batch file. It is an executable file. Renaming it to KILL.EXE can still make it run.
QQ:366840202
http://chenall.net
Floor 3 Posted 2007-01-26 22:47 ·  中国 广东 深圳 宝安区 电信
中级用户
★★
Credits 358
Posts 130
Joined 2005-11-12 16:29
20-year member
UID 45117
Status Offline
Yes, it is an executable file
Floor 4 Posted 2007-01-26 23:16 ·  中国 广东 佛山 顺德区 电信
初级用户
Credits 99
Posts 30
Joined 2007-01-19 05:46
19-year member
UID 76980
Gender Male
Status Offline
Oh! It's too dark! You tricked me so badly!
Thanks to the third floor and the two brothers on the second floor!
Floor 5 Posted 2007-01-28 10:51 ·  中国 江苏 南京 电信
初级用户
★★
Credits 138
Posts 50
Joined 2007-01-23 10:59
19-year member
UID 77428
Gender Male
Status Offline
This is to prevent being infected as soon as downloaded. EXE files can also run when renamed to BAT.
Floor 6 Posted 2007-01-29 01:32 ·  中国 江苏 苏州 广电网(移动出口)
初级用户
Credits 72
Posts 35
Joined 2006-11-13 01:26
19-year member
UID 70380
Gender Male
Status Offline
At that time, I also thought there was such an amazing encryption method, and I even wanted to learn about the encryption method.
Floor 7 Posted 2007-02-01 02:05 ·  中国 湖南 长沙 联通
社区乞丐
★★
gaoshou
Credits -16
Posts 77
Joined 2007-01-30 09:11
19-year member
UID 78105
Gender Male
Status Offline
:cool:
Floor 8 Posted 2007-02-04 06:44 ·  中国 四川 成都 移动
新手上路
Credits 10
Posts 4
Joined 2007-01-16 09:45
19-year member
UID 76677
Gender Male
Status Offline
Floor 9 Posted 2007-03-16 07:48 ·  中国 湖北 武汉 江夏区 电信
初级用户
Credits 76
Posts 38
Joined 2007-03-13 02:54
19-year member
UID 81544
Gender Male
Status Offline
Bump
Floor 10 Posted 2007-10-20 21:58 ·  中国 山西 运城 联通
中级用户
★★
Credits 241
Posts 131
Joined 2005-09-28 19:01
20-year member
UID 42920
Gender Male
Status Offline
Hehe, today I found the same file in Yongyou's Financial Messenger. A file named "MSDEStp2000.bat" is actually an executable program. The execution environments of.exe and.bat are different. Why can they achieve the effect of being able to execute after changing the suffixes? What's the reason?
房东说:这娃是个好孩子!
Floor 11 Posted 2008-05-23 22:17 ·  中国 广东 广州 电信
新手上路
Credits 2
Posts 1
Joined 2008-05-20 07:29
18-year member
UID 119155
Gender Male
Status Offline
Not bad, not bad,,, very powerful! I like it.
Floor 12 Posted 2008-05-24 04:53 ·  法国 奥弗涅-罗讷-阿尔卑斯 里昂大都会 里昂
高级用户
★★
Credits 783
Posts 268
Joined 2006-12-26 17:18
19-year member
UID 74627
Gender Male
Status Offline
Originally posted by maya0su at 2007-10-20 09:58 PM:

The execution environments of .exe and .bat are different. Why can they achieve the effect of being able to run after changing the file extensions?

What is the reason?



After looking at the following display results, I believe everyone can understand a little bit

ftype|find "batfile"
batfile="%1" %*
ftype|find "exefile"
exefile="%1" %*


By the same token, changing the exe to the following file types with the same extension should also be able to run


batfile="%1" %*
cmdfile="%1" %*
comfile="%1" %*
exefile="%1" %*
piffile="%1" %*


Extension:

If you run the following lines of commands:

ftype PPdos="%1" %*
assoc .cn-dos=PPdos
assoc .ppdos=PPdos


Even if you change that kill.exe to kill.cn-dos or kill.ppdos, it can still run
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
aries215 +1 2009-12-01 20:45
菩提本无树,明镜亦非台,本来无一物,何处惹尘埃.
Floor 13 Posted 2009-12-01 14:56 ·  中国 北京 联通
初级用户
Credits 39
Posts 27
Joined 2007-09-10 17:46
18-year member
UID 97038
Gender Male
Status Offline
I wonder if the code mentioned by the person upstairs already exists in the file. It can modify the file type association by itself. Before opening, modify:
ftype|find "batfile"
batfile="%1" %*
After using, change it back:
ftype|find "exefile"
exefile="%1" %*
Floor 14 Posted 2009-12-01 21:06 ·  中国 山东 济南 联通
新手上路
Credits 8
Posts 5
Joined 2007-07-09 10:47
19-year member
UID 93512
Gender Male
Status Offline
Hey there, upstairs. If it's really like this, the antivirus software will go wild.
Floor 15 Posted 2009-12-02 21:31 ·  中国 山东 烟台 联通
新手上路
Credits 2
Posts 2
Joined 2009-12-01 22:35
16-year member
UID 155759
Gender Male
From 山东
Status Offline
Forum Jump: