Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Disable Echo Command!, in MS_DOS
RemoteConnection
post Aug 3 2005, 05:07 AM
Post #1


Advanced Member
*******

Group: Members
Posts: 119
Joined: 3-August 05
Member No.: 10,207



well , we can disable echo command for security ... let's go on:


WARNING: make a backup copy of cmd.exe first!!

open cmd.exe ( if you don't know where is it, use windows search) with a hex editor, and then search for echo ... you should get this results :
0002F8D0 | 5000 4400 0000 0000 4100 5300 5300 4F00 | P.D.....A.S.S.O.
0002F8E0 | 4300 0000 4600 5400 5900 5000 4500 0000 | C...F.T.Y.P.E...
0002F8F0 | 4400 4500 4C00 0000 4500 4300 4800 4F00 | D.E.L...E.C.H.O.
0002F900 | 0000 0000 4500 4E00 4400 4C00 4F00 4300 | ....E.N.D.L.O.C.
0002F910 | 4100 4C00 0000 0000 4500 5200 4100 5300 | A.L.....E.R.A.S.

Now just change just change "4500 4300 4800 4F00" to "0000 0000
save and exit from editor ... now run cmd.exe smile.gif
* edit to fix typo in Topic Title and add Topic Description *
Go to the top of the page
 
+Quote Post
Bad-Boy
post Apr 26 2006, 06:12 PM
Post #2


Member [Level 1]
****

Group: Members
Posts: 54
Joined: 24-April 06
Member No.: 22,375



Would any one like to tell me what is " Echo Command " and for which purpose it is to be disabled...
Go to the top of the page
 
+Quote Post
Inspiron
post Apr 26 2006, 06:34 PM
Post #3


Trap Grand Marshal Member
***********

Group: Members
Posts: 1,205
Joined: 25-March 05
Member No.: 4,883



QUOTE(Bad-Boy @ Apr 27 2006, 02:12 AM) *

Would any one like to tell me what is " Echo Command " and for which purpose it is to be disabled...

Echo is basically a command to send back the output to you on your screen. For example, in command prompt, you can type "echo abc"., it simply writes "abc" on the next line. It's nothing but just for debugging or notification purposes. It does not execute any functions or make security changes.

As for RemoteConnection's post, I don't understand your point. At most I think the command prompt hangs and gives a blue screen of death or somewhat similar. Otherwise, the command prompt will not be executable as the hex codes have been changed. Even if it is still executable and nothing weird seem to happen, I don't think the effect will be as a security exploit. Hence, what is the effect of doing so? You should have stated its effects.

This post has been edited by Inspiron: Apr 26 2006, 07:16 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post Apr 26 2006, 07:12 PM
Post #4


A computer once beat me at chess, but it was no match for me at kick boxing.
Group Icon

Group: [MODERATOR]
Posts: 3,880
Joined: 24-July 05
From: In Trouble Again... still?
Member No.: 9,787
Spam Patrol



Another thing is that how does the system recognize 16 Hex characters being replaced with only 8 Hex characters? and is this really a Security Issue? As noted above, all the MS-DOS echo command does is define the Std-output back to the display terminal.
Go to the top of the page
 
+Quote Post
Magic1492
post Jun 20 2006, 12:57 AM
Post #5


Member [Level 1]
****

Group: Members
Posts: 53
Joined: 21-May 06
Member No.: 24,065



Wouldn't you also be able to use an "@echo off" command?
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics


 



- Lo-Fi Version Time is now: 25th July 2008 - 09:38 AM