您现在的位置是:网站首页> 编程资料编程资料

MT.EXE 中文使用教程_工具使用_网络安全_

2023-05-24 352人已围观

简介 MT.EXE 中文使用教程_工具使用_网络安全_

mt.exe下载
D:\>mt.exe
Usage: mt.exe 
Opintion :
 -filter          ---Change TCP/IP filter to on/off status.
 -addport         ---Add ports to the filter' allowed portlist.
 -setport         ---Set ports as the filter' allowed portlist.
 -nicinfo         ---List TCP/IP interface info.
 -pslist          ---List active processes.
 -pskill          ---Kill a specified process.
 -dlllist         ---List dlls of a specified process.
 -sysinfo         ---List system info.
 -shutdown         ---Shutdown system.
 -reboot          ---Reboot system.
 -poweroff         ---Turn off power.
 -logoff          ---Logoff current user's session.
 -chkts          ---Check Terminal Service info.
 -setupts         ---Install Terminal Service.
 -remts          ---Remove Terminal Service.
 -chgtsp          ---Reset Terminal Service port.
 -clog           ---Clean system log.
 -enumsrv         ---List all services.
 -querysrv         ---List detail info of a specified service.
 -instsrv         ---Install a service.
 -cfgsrv          ---Changes the configuration of a service.
 -remsrv          ---Remove a specified service.
 -startsrv         ---Start a specified service.
 -stopsrv         ---Stop a specified service.
 -netget          ---Download from http/ftp.
 -redirect         ---Port redirect.
 -chkuser         ---List all account、sid and anti clone.
 -clone          ---Clone from admin to dest.
 -never          ---Set account looks like never logged on.
 -killuser         ---Del account. Even "guest" account.
 -su            ---Run process as Local_System privilege.
 -findpass         ---Show all logged on user's pass.
 -netstat         ---List TCP connections.
 -killtcp         ---Kill TCP connection.
 -psport          ---Map ports to processes.
 -touch          ---Set the file times for a specified file.
 -secdel          ---Secure delete files and directory or zap free
pace.
 -regshell         ---Enter a console registry editor.
 -chkdll          ---Detect gina dll backdoor.
大家可以看见的是,.他的功能一共有34项,包含我们我们平时使用的大部分软件.下面我就来一项一项的测试,条件和能力有限,希望大家能够指出其中的不足.
一,MT.EXE –filter
Usage:
MT -filter   ----Enabld&line;Disable TCP/IP Filter.
从上面的说明可以知道,这个是打开关闭TCP/IP筛选的,我们先来试一下,输入命令:
D:\>MT -FILTER on
Enable TCP/IP Filter successful!
这个时候我们看看试不试打开了TCP/IP筛选,打开网络连接选项,右键本地连接---Internet协议(TCP/IP)属性----高级---选项----TCP/IP筛选-----属性,我们看到的这样的情况,如图:
可以看见,我们已经启用了这个TCP/IP筛选,再次输入命令:
D:\>MT -FILTER off
Disable TCP/IP Filter successful!
查看属性:
有了这个工具,我们就不必那样的麻烦的点击鼠标了,一切都很简单.
二, D:\>mt -addport
Usage:
mt -addport  NIC PortList  ----Add ports to the allowed portlist.
                     Use "-nicinfo" get Nic number first.
从说明上面看,是增加端口列表中允许通讯的端口,还是和上面的一样,我们来看看这个功能是如何的强大:
五, -pslist          ---List active processes.
列出活动进程,经常用PSTOOLS的很熟悉这个功能了,在这里,我将这个工具和pstools的工具相比较,看看他们的功能怎么样?
D:\>mt -pslist
PID   Path
0    [Idle Process]
4    l[System]
464   \SystemRoot\System32\smss.exe
524   \??\C:\WINDOWS\system32\csrss.exe
548   \??\C:\WINDOWS\system32\winlogon.exe
592   C:\WINDOWS\system32\services.exe
604   C:\WINDOWS\system32\lsass.exe
780   C:\WINDOWS\system32\svchost.exe
844   C:\WINDOWS\System32\svchost.exe
876   C:\Program Files\TGTSoft\StyleXP\StyleXPService.exe
932   C:\WINDOWS\System32\svchost.exe
960   C:\WINDOWS\System32\svchost.exe
1128  C:\WINDOWS\System32\alg.exe
1160  C:\WINDOWS\System32\inetsrv\inetinfo.exe
1188  D:\mysql\bin\mysqld-nt.exe
1280  C:\WINDOWS\System32\nvsvc32.exe
1728  C:\WINDOWS\Explorer.EXE
212   C:\WINDOWS\System32\ctfmon.exe
504   D:\Program Files\Microsoft Office\Office10\WINWORD.EXE
924   D:\Program Files\MYIE2\myie.exe
1348  C:\WINDOWS\System32\dllhost.exe
1516  C:\WINDOWS\System32\dllhost.exe
1856  C:\WINDOWS\System32\msdtc.exe
1356  C:\WINDOWS\System32\cmd.exe
1004  C:\WINDOWS\System32\conime.exe
1748  D:\Program Files\HyperSnap-DX 5\HprSnap5.exe
1272  D:\MT.exe
我们使用PSLIST得到的结果:
D:\hack>pslist
PsList v1.12 - Process Information Lister
Copyright (C) 1999-2000 Mark Russinovich
Systems Internals - http://www.sysinternals.com
Process information for LIN:
Name     Pid Pri Thd Hnd  Mem   User Time  Kernel Time  Elapsed Time
Idle      0  0  1  0   20  0:00:00.000  0:40:22.453  0:00:00.000
System     4  8 56 258   40  0:00:00.000  0:00:06.098  0:00:00.000
smss     464 11  3  21   44  0:00:00.010  0:00:00.100  0:43:10.565
csrss    524 13 11 416  3892  0:00:02.042  0:00:14.240  0:43:06.449
winlogon   548 13 19 443  1044  0:00:01.171  0:00:01.882  0:43:04.185
services   592  9 21 307  940  0:00:00.721  0:00:01.662  0:43:01.582
lsass    604  9 19 304  1132  0:00:00.540  0:00:00.690  0:43:01.532
svchost   780  8  8 255  824  0:00:00.200  0:00:00.160  0:42:58.687
svchost   844  8 55 1214  5740  0:00:02.393  0:00:01.932  0:42:58.457
StyleXPSer  876  8  2  38  416  0:00:00.110  0:00:00.070  0:42:58.357
svchost   932  8  5  46  396  0:00:00.020  0:00:00.040  0:42:56.705
svchost   960  8  7  90  204  0:00:00.060  0:00:00.040  0:42:56.244
alg     1128  8  5 116  220  0:00:00.020  0:00:00.060  0:42:49.144
inetinfo  1160  8 17 281  864  0:00:00.210  0:00:00.330  0:42:49.054
mysqld-nt  1188  8  6  81   76  0:00:00.010  0:00:00.050  0:42:47.602
nvsvc32   1280  8  3  74   92  0:00:00.090  0:00:00.160  0:42:45.378
Explorer  1728  8 20 583 19548  0:00:11.436  0:00:27.519  0:42:37.607
ctfmon    212  8  1 109  1596  0:00:00.340  0:00:01.031  0:42:26.982
WINWORD   504  8  5 394 43428  0:01:04.072  0:00:25.757  0:41:26.194
myie     924  8  9 312  3116  0:00:09.623  0:00:07.460  0:35:36.582
dllhost   1348  8 23 240  1540  0:00:01.982  0:00:00.460  0:35:24.414
dllhost   1516  8 15 200  784  0:00:00.190  0:00:00.230  0:35:22.912
msdtc    1856  8 18 149  372  0:00:00.080  0:00:00.090  0:35:18.896
cmd     1356  8  1  21  592  0:00:00.080  0:00:00.100  0:32:44.414
conime   1004  8  1  25  664  0:00:00.050  0:00:00.030  0:32:42.652
HprSnap5  1748  8  6 168  1648  0:00:01.932  0:00:03.414  0:18:38.798
cmd     1548  8  1  20  1392  0:00:00.020  0:00:00.010  0:00:28.020
pslist   1716  8  2  82  1672  0:00:00.030  0:00:00.050  0:00:00.400
使用PULIST得到的结果:
E:\HACK>pulist
Process      PID User
Idle       0
System      4
smss.exe     464 NT AUTHORITY\SYS
csrss.exe     524 NT AUTHORITY\SYS
winlogon.exe   548 NT AUTHORITY\SYS
services.exe   592 NT AUTHORITY\SYS
lsass.exe     604 NT AUTHORITY\SYS
svchost.exe    780 NT AUTHORITY\SYS
svchost.exe    844 NT AUTHORITY\SYS
StyleXPService.exe 876 NT AUTHORITY\SY
svchost.exe    932
svchost.exe    960
alg.exe      1128
inetinfo.exe   1160 NT AUTHORITY\SYS
mysqld-nt.exe   1188 NT AUTHORITY\SYS
nvsvc32.exe    1280 NT AUTHORITY\SYS
Explorer.EXE   1728 LIN\lin
ctfmon.exe    212 LIN\lin
WINWORD.EXE    504 LIN\lin
MyIE.exe     924 LIN\lin
dllhost.exe    1348
dllhost.exe    1516 NT AUTHORITY\SYS
msdtc.exe     1856
cmd.exe      1356 LIN\lin
conime.exe    1004 LIN\lin
HprSnap5.exe   1748 LIN\lin
cmd.exe      1548 LIN\lin
pulist.exe    1788 LIN\lin
从上面的情况可以知道,输入MT还没有PSLIST功能的强大,能够列出Name,Pid,Pri,Thd Hnd,Mem,User Time,Kernel Time,Elapsed Time,但是较于PULIST,已经是很好的了,能够列出进程名和运行路径,已经能够满足我们平时的使用了.
六, D:\>mt -pskill
Usage:
mt -pskill
同样也是PSTOOLS的工具之一了,我们使用MyIE.exe这个软件作为测试,看看他们能不能杀死这个进程,首先是使用MT,通过上面的MT –PSLIST,我们知道MyIE.exe的PID值是924,于是输入:
D:\>mt -pskill 924
Kill process sccuessful!
很快,MYIE就消失了,也就是被KILL了,再使用PSKILL.EXE,我们表示公平统一性,我们还是有PSLIST取得MYIE的PID值,重新打开MYIE,得到它的PID值为220,我们输入:
D:\hack>pskill 220
PsKill v1.03 - local and remote process killer
Copyright (C) 2000 Mark Russinovich
http://www.sysinternals.com
Process 220 killed.
同样也是很快被KILL,说明MT和PSKILL的功能是一样的,使用MT也可以达到和PSKILL一样的效果.
我们发现MT一个比较弱的功能的就是没有和PSKILL一样支持网络功能,在PSKILL中可以通过pskill [\\RemoteComputer [-u Username]]
  -u  Specifies optional user name for login to
     remote computer.
杀死远程的计算机进程,当然,我们不可能指望MT也能有这样强大的功能,毕竟我们用的仅仅才只有40K.
七, D:\>mt -dlllist
Usage:
mt -dlllist
列出进程中相关的DLL文件,于这个相关功能的软件我没有找到,不过我们使用Windows优化大师,我们先来测试一下,这次我们选中的进程是StyleXPService.exe.还是使用MT –pslist得到其PID值876,输入:
D:\>mt -dlllist 876
C:\Program Files\TGTSoft\StyleXP\StyleXPService.exe
C:\WINDOWS\System32\ntdll.dll
C:\WINDOWS\system32\kernel32.dll
C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\GDI32.dll
C:\WINDOWS\system32\ADVAPI32.dll
C:\WINDOWS\system32\RPCRT4.dll
C:\WINDOWS\system32\ole32.dll
C:\WINDOWS\system32\OLEAUT32.dll
C:\WINDOWS\system32\MSVCRT.DLL
C:\WINDOWS\system32\VERSION.dll
C:\WINDOWS\System32\SETUPAPI.dll
C:\WINDOWS\System32\NETAPI32.dll
C:\WINDOWS\System32\IMM32.DLL
C:\WINDOWS\System32\LPK.DLL
C:\WINDOWS\System32\USP10.dll
C:\WINDOWS\System32\UXTHEME.DLL
C:\WINDOWS\System32\rsaenh.dll
打开Windows优化大师,看看它得到的相关DLL文件是什么?如图:
使用MT得到的DLL相关文件和Windows优化大师的是一摸一样的,我们可以肯定使用MT绝对比使用Windows优化大师方便快捷.
八, mt –sysinfo
列出系统信息,还是使用Windows优化大师与之作比较,发现几乎没有任何的失误,可见准确性特别强的,由于页面的关系,数据不再展示. 这个功能和程序sysinfo.exe是一样的.
九,  -shutdown         ---Shutdown system.
-reboot          ---Reboot system.
  -poweroff         ---Turn off power.
  -logoff          ---Logoff current user's session.
这4个命令就不说了,和系统工具shutdown不一样的是,输入之后没有任何的提示,直接关机,我已经试过了,幸亏还记得保存.
十,  -chkts          ---Check Terminal Service info.
 -setupts         ---Install Terminal Service.
 -remts          ---Remove

-六神源码网