Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Best tools for reverse engineering dos programs? (https://forum.exetools.com/showthread.php?t=17152)

jonwil 09-26-2015 18:03

Best tools for reverse engineering dos programs?
 
Can anyone tell me what tools are the best for reverse engineering old 16-bit DOS programs?

If Hex-Rays worked on 16-bit x86, I would use that but it doesn't so can anyone suggest something suitable (either a usable decent decompiler if one exists or if not, the best way to disassemble it and in particular match up the data segment so that when you look at the disassembly all the data references line up.

wilson bibe 09-26-2015 18:33

I believe that you can use to debug the PEbrowse, to disassembling the HDasm and to recompile the executable if necessary the ETU-Dasm.
Regards

Syoma 09-26-2015 19:46

IDA Pro + Borland TurboDebugger

Naides 09-26-2015 22:32

Old but powerful
 
SoftIce as a 16 bit debugger.
The learning curve is a little steep, but it is still the classical RCE Tool.

N0P 09-27-2015 01:51

IDA + IDA dosbox plugin (https://github.com/wjp/idados)

BlackWhite 09-30-2015 23:14

TR (Super Program TRace V2.52) may be your choice.

giv 10-01-2015 01:02

I think SoftIce is suitable for that.

RedBlkJck 10-01-2015 09:15

Insight worked well for me.
http://www.bttr-software.de/products/insight/

Description

Insight is a very small debugger for analyzing real-mode DOS programs. It features an i80486 disassembler, an i8086 assembler, 'Trace into' and 'Step over' functions, simple breakpoint handling, extended code or data navigation, simple color-highlighting, and a nice menu-driven interface comparable to Borland's Turbo Debugger.

nuemga2000 10-01-2015 13:13

Normally i use IDA, and if this not sufficient, i have an old box with Periscope installed ...

maktm 10-02-2015 14:51

What i have running on a daily instance:

- IDA
- OllyDbg
- x64Dbg (Don't ask why I have both. I know I need 'em both)
- RadASM
- Notepad(++)
- Cmd (Quick navigation)
- Chrome

giv 10-02-2015 15:33

I think your debuggers can't debug a 16 bit app.
I don't know that Olly or X64DBG can handle a 16 bit program.

tonyweb 10-02-2015 19:11

Try using this plugin (FullDisasm) with the old and good OllyDbg ...
Code:

https://tuts4you.com/download.php?view.1757
IIRC it should be able to debug 16 bit code.

Regards,
Tony

chessgod101 10-02-2015 19:30

TRW2000 is a good 16-bit debugger from the saintly days of yore. It is a lot like ollydbg. I used it quite a few times with older applications. I do not quite remember if it works on XP. I think I may have used it on XP, but I don't fully recall how or if it worked.
Download:
Code:

https://exelab.ru/download.php?action=get&n=MzQw

athapa 11-05-2015 11:21

Agree with Naides & Giv. SoftIce is great for 16bit debugging.

an0rma1 11-09-2015 20:07

Hi, usually i try different approaches for debugging/reversing old DOS programs

1. Using a dos debugger under a old machine emulator

best dos debuggers are (in my opinion, there are many):
TR 2.52 by Liu Taotao (emulate instructions, very very good),
SoftIce (2.80 or 2.62, i remember 2.62 was better, but don't remember why) (also i don't think sice works under dosbox, maybe under Pcem)
Turbo Debugger o TD386 by Borland (3.1 or 5.0 versions are ok) (best gui ever)
Cup386 unpacker by Sage, contains a useful debugger, 3 versions, clasical, virtualized and emulated (a true work of art)
G3x by Wong Wing Kin, it s game oriented debugger, but useful, i've cracked many things with it

For running these programs in modern machines, i usually use dosbox (get last svn compiles in emucr.com),
but also i've set up a 486 emulated machine under PCem emulator (recently a 0.10 has been released)

Finally, dosbox has a emulated CPU debugger inside, but i've had problems using it, and sometimes don't work, but it's a very powerful option

2. Run these tools under a true dos box machine, an old 486 it's ok, but some very old softwares, need a 286, some antidebugger tricks don't work in "modern" machines (>386)

3. IDA disassembler for dos 16bit is very good, i always use it in another monitor while debugging with dosbox and TR, to make annotations, name functions, etc...

If you need some of these tools just ask me, i've already compiled a huge repository of old msdos tools time ago, and posted here, look for DOSEXE tools.

Also if you need it, i also compiled a huge pack of DOS compilers and linkers, look for DOSEXE compilers pack, already posted in this forum

if Links are not working or whatever just ask me

DOS cracking and reversing is very fun for me, i prefer it to modern windows protections

edit:
I've tried many times to use ida plugin for dos debugging with dosbox, but not been able to make it working.
Also take in account that many tips in this thread are plain wrong, for debugging old 16bit dos programs you need specific programs, not common modern tools.

LouCypher 11-10-2015 16:52

Quote:

Originally Posted by an0rma1 (Post 102801)
SoftIce (2.80 or 2.62, i remember 2.62 was better, but don't remember why)

2.80 had a problem displaying MCBs in memory dumps.

computerline 11-11-2015 16:48

Quote:

Originally Posted by an0rma1 (Post 102801)
I've tried many times to use ida plugin for dos debugging with dosbox, but not been able to make it working.

What problem you got ? you could try my dosbox build, I use it for IDA 6.6 https://mega.nz/#!YAcRCRaC!rmh_sleyg...VCCvDHTIgSzxQ8

bilbo 11-11-2015 22:11

I remembered in my old days, when I discovered the happiness of reverse
engineering DOS programs, I was a big fan of Sourcer, the "commented disassembler". IDA wasn't yet born!

The last version is available here:
http://xlb.es/Disassemblers/Disassemblers/Sourcer8.01/

Best regards

TQN 11-12-2015 12:38

The debugger which I first used is Turbo Debug (Borland)

taos 11-12-2015 17:03

Debug.com and the Norton Guide with the list of interrupts IBM PC/AT. All in 5 1/4 diskette
GOD!!! I'm very old X-)

Sorry for the offtopic!

pp2 11-13-2015 06:42

You should use dosbox or qemu for debugging or reversing. The main reason - these programs can emulate _every_ instruction and both opensource, so you can modify them to accompany your research.

E.g. you can add some unique feature: breakpoint on register value (break, when ax=3), breakpoint on memory value, breakpoint on register access, etc. This helps reversing a lot.

an0rma1 11-16-2015 21:36

This is what i have in my DOSEXE tools folder:

Quote:

386swat.604-qualitas
ac.010198-Veit Kannegieser
ac.110398-Veit Kannegieser
addcode.10-unique
afdpro.10-adtec
aplib.012-jibz
aplib.017-jibz
aplib.018-jibz
aplib.019-jibz
aplib.020-jibz
avputil.22-vadim bogdanov
axehack.230
bp7pat.100-phax
BWS GAME CRACKER'S TOOLKIT.101-bws
com2txt.111-nide naoyuki
com2txt.12a-darkstalker
crackermate.210-ChanWaiKwong Wilfred
Deb16fw.296-japheth
Deb32f.296-japheth
debug.118-paul vojta
debug.125-paul vojta
deglucker.004rc-vsl
deglucker.004src-vsl
deglucker.005-vsl
dog.212a-k3
edb.015-Serge Pachkovsky
emulation extra-romlsoft
es.240498-Veit Kannegieser
execom.11-thomas hanlin
execombine.10-jeremy lilley
exetools.21-dismember
filter.5-elicz
flux show.164
game wizard 32.30-Ray Hsu & Gerald Ryckman
game wizard 32.30-Ray Hsu & Gerald Ryckman-registered
game wizard 32.30a-Ray Hsu & Gerald Ryckman
gametools.321-Wong Wing Kin
gametools.323-Wong Wing Kin
glue.110
hacktools.294
hacktools.300-Oleg N Kolesnikov
insight debugger.10
insight debugger.101
insight debugger.123
insight debugger.124
kartz.03-tai pan
keymaker & tools.30
keypro emu.421-werong ho
megadebugger.10-nps
Mephistopheles II Beelzebub.229-Sir Raorn & Pentium
MicroCosm CopyControl full patch.303-unforgiven
MicroCosm CopyControl Master Disk Editor.1002-unforgiven
MicroCosm CopyControl Master Disk Generic Copier.135-unforgiven
MicroCosm CopyControl Master Disk Generic Copier.300-unforgiven
MicroCosm CopyControl SheLL ProtectioN RemoveR 301 MZ.100-unforgiven
MicroCosm CopyControl SheLL ProtectioN RemoveR 4 MZ.100-unforgiven
minichainer.10-the beatles
nowhere utils.20
open watcom debugger.19-japeth
pack-turbo power
patching engine.35-xoanon
patchpas.10-basile vorontsov
peek.10-gurtyak
player's tool.40a-uhc
player's tool.50b-uhc
program cracker.730-dr stein labs
program cracker.740b-dr stein labs
propack.214-rob northen
pwmodew.133-Charles Scheffold & Thomas Pytel
rose faq
rtd_dat.10-mr wicked
search and destroy patch.10b-stone
sice.262-numega
sice.280-numega
snapshot.30-dale co
superkey.113-kmz
tbfence.400-tbav
tdhack.142-meteo
tecc.003-jibz
tp7tpl patch.duckling
tracer.20-earsoft
trw2000.103-liu taotao
trw2000.105-liu taotao
trw2000.122-liu taotao
trw2000.122superbpm-liu taotao
trw2000.123-liu taotao
trw2000.123r-liu taotao
turbo debugger 32.55-borland
turbo debugger.20-borland
turbo debugger.31-borland
turbo debugger.50-borland
turbochainer.103-twt
ultra crack.12-animadei
undog-doublestar
vload.09b-onyx
windows keypro emu.170-werong ho
windows keypro emu.180-werong ho
windows keypro emu.181-werong ho
xck2com.170-leon
xckmaker.105-psh
xckview-snow panther
xlink.202-jinx
xray.15-Tom Kihlken
If anyone needs something i can reup the complete collection to somewhere

Kurapica 11-17-2015 00:49

1 Attachment(s)
Good old W32Dasm can never let you down !

https://tuts4you.com/download.php?view.1138

an0rma1 11-17-2015 17:02

Quote:

Originally Posted by Kurapica (Post 102898)
Good old W32Dasm can never let you down !

https://tuts4you.com/download.php?view.1138

Unfortunately, W32dasm (very good in its time,btw) only is for Windows programs, for msdos exes, you need IDA, or if running in DOS Sourcer (best disassembler for DOS)

an0rma1 04-19-2016 19:12

Some user asked me for a updated version of DOSEXE pack, so i uploaded:

Quote:

check here newest dosexe pack

http://www.multiupfile.com/f/d4bad142

please share if you want, also please please if you could contribute anything just tell me, i am always looking for more material

dogfriend 04-20-2016 14:52

if you are familiar with IDA you should give it a try with the DOSBox plugin ;)

ranadharm 04-21-2016 02:34

also give a try to Olly

sendersu 04-21-2016 03:19

Olly for DOS? :))

ycloud 04-26-2016 14:00

SoftICE
Turbo Debugger
debug.com
TRW

sendersu 11-13-2022 20:24

Pardon me bumping this old good thread, but
@an0rma1 - any chance to reup your great ancient DOS collection?
thx in advance

LordGarfio 11-13-2022 20:48

Sorry, I think I asked about it too but in the wrong thread (https://forum.exetools.com/showpost.php?p=126381&postcount=8).

Quote:

Hello an0rma1,

Can you reupload your ExeTools Pack with the Gametools trainer ?

Your above mega.nz link is died.

Thanks in advanced.

MarcElBichon 11-13-2022 23:05

https://forum.exetools.com/showthread.php?t=19599
>
ftp://ftp.oldskool.org/pub/ANORMAL%20executable%20tools/DOSEXE%20Executable%20Tools%20Pack%202020-07-28.rar
ftp://ftp.oldskool.org/pub/ANORMAL%20executable%20tools/MUSTREAD.TXT

sendersu 11-14-2022 03:36

Interesting fact that FTP support was fully removed in modern browsers!
https://www.howtogeek.com/744569/chrome-and-firefox-killed-ftp-support-heres-an-easy-alternative/

but one could use http:// for above links, works like a charm
eg:
http://ftp.oldskool.org/pub/ANORMAL%20executable%20tools/

an0rma1 11-28-2022 04:22

Hi,

As a TRUE DOS FANATIC :D, I've keep the collection upgraded all these years, downloading from old warez cd in archive, etc, etc ... So lots of new stuff.

I guess I can upload a new updated pack, give some days ...

Also, these last years I've been building a DOS Scene cracks release collection, that is, releases from old DOS groups, UCF, PC, CIA, CORE, etc, etc... If it's a crack for a DOS program, I want it in the collection. Is this of enough interested to anyone to be uploaded and maintained in github for example, a LOT of releases are missing.

If anyone thinks old DOS scene software is worth preserving, just write here :D


All times are GMT +8. The time now is 04:55.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX