今天在C:\WINNT发现个_MSRSTRT.EXE,十分可疑
反编译了一下,原来是个重启程序,会删除自身,代码很短:
00401000 >/$ >PUSH EBP
00401001 |. >MOV EBP,ESP
00401003 |. >SUB ESP,114
00401009 |. >PUSH ESI
0040100A |. >LEA EAX,DWORD PTR SS:[EBP-114]
00401010 |. >PUSH 104 ; /BufSize = 104 (260.)
00401015 |. >PUSH EAX ; |PathBuffer
00401016 |. >PUSH DWORD PTR SS:[EBP+8] ; |hModule
00401019 |. >CALL DWORD PTR DS:[<&KERNEL32.GetModuleF>; \GetModuleFileNameA
0040101F |. >XOR ESI,ESI
00401021 |. >TEST EAX,EAX
00401023 |. >JE SHORT _MSRSTRT.00401035
00401025 |. >PUSH 5 ; /Flags = REPLACE_EXISTING|DELAY_UNTIL_REBOOT
00401027 |. >LEA EAX,DWORD PTR SS:[EBP-114] ; |
0040102D |. >PUSH ESI ; |NewName => NULL
0040102E |. >PUSH EAX ; |ExistingName
0040102F |. >CALL DWORD PTR DS:[<&KERNEL32.MoveFileEx>; \MoveFileExA
00401035 |> >LEA EAX,DWORD PTR SS:[EBP+8]
00401038 |. >PUSH EAX ; /phToken
00401039 |. >PUSH 28 ; |DesiredAccess = TOKEN_QUERY|TOKEN_ADJUST_PRIVILEGES
0040103B |. >CALL DWORD PTR DS:[<&KERNEL32.GetCurrent>; |[GetCurrentProcess
00401041 |. >PUSH EAX ; |hProcess
00401042 |. >CALL DWORD PTR DS:[<&ADVAPI32.OpenProces>; \OpenProcessToken
00401048 |. >TEST EAX,EAX
0040104A |. >JE SHORT _MSRSTRT.00401088
0040104C |. >LEA EAX,DWORD PTR SS:[EBP-C]
0040104F |. >PUSH EAX ; /pLocalId
00401050 |. >PUSH _MSRSTRT.00403000 ; |Privilege = "SeShutdownPrivilege"
00401055 |. >PUSH ESI ; |SystemName
00401056 |. >CALL DWORD PTR DS:[<&ADVAPI32.LookupPriv>; \LookupPrivilegeValueA
0040105C |. >PUSH ESI ; /pRetLen
0040105D |. >PUSH ESI ; |pPrevState
0040105E |. >LEA EAX,DWORD PTR SS:[EBP-10] ; |
00401061 |. >PUSH ESI ; |PrevStateSize
00401062 |. >PUSH EAX ; |pNewState
00401063 |. >PUSH ESI ; |DisableAllPrivileges
00401064 |. >PUSH DWORD PTR SS:[EBP+8] ; |hToken
00401067 |. >MOV DWORD PTR SS:[EBP-10],1 ; |
0040106E |. >MOV DWORD PTR SS:[EBP-4],2 ; |
00401075 |. >CALL DWORD PTR DS:[<&ADVAPI32.AdjustToke>; \AdjustTokenPrivileges
0040107B |. >TEST EAX,EAX
0040107D |. >JE SHORT _MSRSTRT.00401088
0040107F |. >PUSH ESI ; /Reserved
00401080 |. >PUSH 2 ; |Options = EWX_REBOOT
00401082 |. >CALL DWORD PTR DS:[<&USER32.ExitWindowsE>; \ExitWindowsEx
00401088 |> >XOR EAX,EAX
0040108A |. >POP ESI
0040108B |. >LEAVE
0040108C \. >RETN 10
与楼主自杀代码很类似哦