{"id":183314,"date":"2013-06-14T12:12:03","date_gmt":"2013-06-14T08:12:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=183314"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=183314","title":{"rendered":"<span class=\"post_title\">Backdoor \u0432 \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u0445 D-Link<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t\u0412 \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u0445 D-Link (DIR-300revA, DIR-300revB, DIR-600revB) \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%91%D1%8D%D0%BA%D0%B4%D0%BE%D1%80\">backdoor<\/a>.<\/p>\n<p>  \u041d\u0435\u043c\u0435\u0446\u043a\u0438\u0439 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 D-Link <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Nmap\">nmap<\/a>-\u043e\u043c \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u043f\u043e\u0440\u0442 23\\tcp (<a href=\"http:\/\/ru.wikipedia.org\/wiki\/Telnet\">telnet<\/a>).<br \/>  <a name=\"habracut\"><\/a><\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u044b \u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f nmap<\/b><\/p>\n<div class=\"spoiler_text\">root@bt:~# nmap -sSV -p 23 192.168.178.133,144,222<br \/>  Starting Nmap 6.01 ( <a href=\"http:\/\/nmap.org\">nmap.org<\/a> ) at 2013-04-30 13:42 CEST<br \/>  Nmap scan report for 192.168.178.133<br \/>  Host is up (0.0067s latency).<br \/>  PORT STATE SERVICE VERSION<br \/>  23\/tcp open telnet D-Link 524, DIR-300, or WBR-1310 WAP telnetd<br \/>  MAC Address: 1C:BD:B9:A7:7F:74 (D-link International PTE Limited)<br \/>  Service Info: Device: WAP<\/p>\n<p>  Nmap scan report for 192.168.178.144<br \/>  Host is up (0.0068s latency).<br \/>  PORT STATE SERVICE VERSION<br \/>  23\/tcp open telnet D-Link 524, DIR-300, or WBR-1310 WAP telnetd<br \/>  MAC Address: 00:26:5A:38:7D:77 (D-Link)<br \/>  Service Info: Device: WAP<\/p>\n<p>  Nmap scan report for 192.168.178.222<br \/>  Host is up (0.0031s latency).<br \/>  PORT STATE SERVICE VERSION<br \/>  23\/tcp open telnet D-Link 524, DIR-300, or WBR-1310 WAP telnetd<br \/>  MAC Address: 34:08:04:DB:6D:FE (D-Link)<br \/>  Service Info: Device: WAP  <\/div>\n<\/div>\n<p>  \u041f\u043e\u0440\u0441\u043b\u0435 \u044d\u0442\u043e\u0433\u043e \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0437\u0430\u0433\u043b\u044f\u043d\u0443\u043b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433-\u0444\u0430\u0439\u043b \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u043a\u043e\u0434, \u043e\u0442\u0432\u0435\u0447\u0430\u044e\u0449\u0438\u0439 \u0437\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044e backdoor<\/b><\/p>\n<div class=\"spoiler_text\">.\/rootfs\/etc\/scripts\/misc\/telnetd.sh<br \/>  #!\/bin\/sh<br \/>  image_sign=`cat \/etc\/config\/image_sign`<br \/>  TELNETD=`rgdb -g \/sys\/telnetd`<br \/>  if [ &quot;$TELNETD&quot; = \u00abtrue\u00bb ]; then<br \/>   echo \u00abStart telnetd &#8230;\u00bb &gt; \/dev\/console<br \/>   if [ -f &quot;\/usr\/sbin\/login&quot; ]; then<br \/>   lf=`rgdb -i -g \/runtime\/layout\/lanif`<br \/>   telnetd -l &quot;\/usr\/sbin\/login&quot; -u Alphanetworks:$image_sign -i $lf &#038;<br \/>   else<br \/>   telnetd &#038;<br \/>   fi<br \/>  fi<br \/>  root@bt:~\/firmware\/DIR300-extracted# cat rootfs\/etc\/config\/image_sign<br \/>  wrgg19_c_dlwbr_dir300<\/div>\n<\/div>\n<p>  \u0422.\u0435. \u043f\u0430\u0440\u043e\u043b\u044c \u0437\u0430\u0432\u0438\u0441\u0438\u0442 \u043e\u0442 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a\u0430\u044f \u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u0432\u0435\u0440\u0441\u0438\u044f \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438. \u041f\u0440\u0438 \u0447\u0451\u043c \u043f\u0430\u0440\u043e\u043b\u044c \u044d\u0442\u043e\u0442 \u0434\u0430\u0451\u0442 root-\u043f\u0440\u0438\u0432\u0435\u043b\u0435\u0433\u0438\u0438 \u043a \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0443 (\u0441\u043c. \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u043d\u0438\u0436\u0435):<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/e02\/42c\/91a\/e0242c91a3d65f0d9c20a9355c48c8b1.png\"\/><\/p>\n<p>  \u041f\u043e\u043b\u0443\u0447\u0438\u0432 \u0440\u0443\u0442\u043e\u0432\u044b\u0439 \u043f\u0430\u0440\u043e\u043b\u044c, \u0432\u044b \u0442\u0430\u043a\u0436\u0435 \u043c\u043e\u0436\u0435\u0442\u0435 <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u0442\u044c \u0432 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0435 \u043b\u043e\u0433\u0438\u043d\\\u043f\u0430\u0440\u043e\u043b\u044c \u043a \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0443 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 \u0432 \u043e\u0442\u043a\u0440\u044b\u0442\u043e\u043c \u0432\u0438\u0434\u0435<\/b><\/p>\n<div class=\"spoiler_text\">  # cat var\/etc\/httpasswd<br \/>  admin:admin<\/p>\n<p>  \u0438\u043b\u0438 \u0442\u0430\u043a:<br \/>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/141\/ed1\/4fe\/141ed14fe14fc3e95176c2144c8f9959.png\"\/><\/div>\n<\/div>\n<p>  \u041d\u0430\u0434\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u044c, \u044d\u0442\u043e\u0442 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u0443\u0436\u0435 \u043d\u0435 \u043f\u0435\u0440\u0432\u044b\u0439 \u0440\u0430\u0437 <a href=\"http:\/\/habrahabr.ru\/post\/168683\/\">\u043a\u043e\u0432\u044b\u0440\u044f\u0435\u0442 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0435 D-Link \u0438 \u0441\u043e\u043e\u0431\u0449\u0430\u0435\u0442 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044e \u043e \u0431\u0430\u0433\u0430\u0445<\/a>. \u041e\u0434\u043d\u0430\u043a\u043e D-Link \u043a\u0430\u043a-\u0442\u043e \u043d\u0435 \u0432\u0441\u0435\u0433\u0434\u0430 \u0442\u043e\u0440\u043e\u043f\u0438\u0442\u0441\u044f \u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0442\u044c \u0438\u0445. \u0418\u043b\u0438 \u0432\u043e\u043e\u0431\u0449\u0435 \u0437\u0430\u044f\u0432\u043b\u044f\u0435\u0442, \u0447\u0442\u043e \u0447\u0442\u043e \u0444\u0438\u043a\u0441\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u0442.\u043a. \u043f\u043e \u0438\u0445 \u043c\u043d\u0435\u043d\u0438\u044e, \u044d\u0442\u043e \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043d\u0435 \u0432 \u0438\u0445 \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u0438, \u0430 \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430\u0445 \u0438 \u0441\u0430\u043c\u0438\u0445 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f\u0445 \u0438\u0445 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432.<\/p>\n<p>  <a href=\"http:\/\/www.s3cur1ty.de\/dlink-telnet-backdoor\">\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a<\/a>    \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/183314\/\"> http:\/\/habrahabr.ru\/post\/183314\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t\u0412 \u0440\u043e\u0443\u0442\u0435\u0440\u0430\u0445 D-Link (DIR-300revA, DIR-300revB, DIR-600revB) \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0435\u043d <a href=\"http:\/\/ru.wikipedia.org\/wiki\/%D0%91%D1%8D%D0%BA%D0%B4%D0%BE%D1%80\">backdoor<\/a>.<\/p>\n<p>  \u041d\u0435\u043c\u0435\u0446\u043a\u0438\u0439 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c \u043f\u0440\u043e\u0441\u043a\u0430\u043d\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0441\u0442\u0440\u043e\u0439\u0441\u0442\u0432\u0430 D-Link <a href=\"http:\/\/ru.wikipedia.org\/wiki\/Nmap\">nmap<\/a>-\u043e\u043c \u0438 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u043c \u043f\u043e\u0440\u0442 23\\tcp (<a href=\"http:\/\/ru.wikipedia.org\/wiki\/Telnet\">telnet<\/a>).  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-183314","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/183314","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=183314"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/183314\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=183314"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=183314"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=183314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}