School of Hacks – Part 2
The following is a guest post by Anonymous915. This is the second part in a series of articles on his view of hacking. If you are interested in writing for MrCracker.com, click here. Otherwise, Enjoy.
I’m glad to have seen a positive response on the first part of this series. Before I elaborate in programming in python or other hacking languages, I want to discuss with you the second important skill in hacking. In case you have not guessed it, if you want to become a hacker, you need know an Open Source UNIX operating system.
Can you hack in Windows? Yes. Windows is a good operating system, and you can install Python and run programs in C on Windows. But Windows is not Open Source. Windows is distributed in binary, in other words, you can only install Windows and not change nor manipulate the code of the operating system (OS). An open source OS has the option to download the source code and contribute to it by programming features, utilities or tools for it. There are two lessons to be thought in this here skill today, and they go hand in hand. One, if you want to be a hacker, you have use and contribute to the Free and Open Source Software (FOSS). This is a cultural trait. You can contribute in such a community as SourceForge, where you can download and develop FOSS. Hackers share software with their community, they test FOSS they didn’t program, write documentation for it, debug it, and eventually, write their own open source software. That is one reason why hackers use a FOSS UNIX Operating System. There are different variants of UNIX or UX operating systems, free or proprietary such as AIX, BSD, Solaris, SCO, HP-UX and the most popular, Linux, which leads us to the second lesson.
UNIX has been the operating system for scientist by scientists. It goes without saying, that hacking is a science. In the days before the Mac OS and Windows, UNIX was king and in the 1970’s, UNIX creators at Bell Labs, provided the source code to the OS to be taught in universities or enhanced by researchers. A US born professor at Vrije University in Amsterdam wrote his own UNIX (MINIX, or Minimal UNIX) and provided the 12,000 lines of C and Assembly code when you bought his book “’Operating Systems: Design and Implementation” by Andrew S. Tanenbaum. MINIX was created to teach university students how an operating system works. One student, Linus Torvalds, took the source code provided by the book in floppy disks, programmed a kernel, and according to his newsgroup post on compo.os.minix took “feedback on things people like/dislike in minix” and programmed “features most people would want”. As he shared it with the online community, like a good hacker boy that he was, it gained a lot of attention and within one month of releasing Linux 0.01 (or Linus UX) on the Internet, many hackers contributed to 0.02. Eventually Linux grew into the hundreds of Linux distributions today.
There are other Free OSS UNIX operating systems around that are used for hacking, these include FreeBSD and OpenSolaris. However, the importance to becoming a good hacker is to understand UNIX and how it works on the Internet. To do so, one must know the UNIX and Internet Fundamentals. The question here is now, what do you want read about next: should I contribute in detail on programming Python, or would you rather me show you the different ways to run Linux, including Live Distro, virtual or full installation or running Linux off a network. My next part of this series will depend on the reader, this is subliminally training you to a hacker lessons learned, contribute to this by commenting, and you’re on your way to becoming a hacker.”"



Hey .. David
I have a Ubuntu 9.10 on my laptop and is willing to edit its source code.. etc..etc.
I just downloaded its source and am understanding not even a bit from it..
I am in C programming since 8 months.
What do you suggest..
Aneesh,
like most Linux distros, the source code uses GIT, code management tool. The Ubuntu GIT guide is here (https://wiki.ubuntu.com/KernelTeam/KernelGitGuide) and utilize with wiki to guide you. You can read more about repositories and version control, you should also be able to find documentation regarding the structure. Have you been programming for 8 months in total, or is that only your C experience?
Personally I would prefer more programming discussion than distros/installation topics. Maybe a brief breakdown of popular languages and their popularity (with advantages outlined) related to hacking techniques. Thanks for sharing your knowledge, I hope to be able to share my input soon with some more experience : )
hi, i don’t understand one thig ,
do we download linux ? and where do we get code from? ( please paste it in your reply)
i really want be ahacker
and i want to learn how to use linux.
Linux is an Operating System, like Windows. You download it online, burn an image of it on a disk, and install it on your computer.. like you do with windows. Maybe Anonymous915 will get into more about Linux in a future post. If not , I may.
hacker,
I will be writing more about Linux and Programming. I think I will create two tracks, one for OS and one for Programming. Stay tuned and thanks for reading.
The next article should be about programming. There are vast labyrinths of knowledge and info. about installing a popular version of Linux such as ubuntu or OpenSUSE. I figured it out fine…Bye bye crappy Windows!
I would recommend C++ because it can be used in SO many different aspects of your computer based life. It is quite a low level language so it can be a bit difficult for newbies…but hey that’s why we have brains right?! Let’s put em’ to work!
Snayke16, yes, unfortunately many people don’t want to use their brains lol
Hi i m the begginer in hacking platform.i want to know about python.
Arif, that’s great. You should get a book on it and start learning and practicing today.
HII.. MR.DAVID
HOW CAN I KNOW THE IP ADDRESS AND PORT OF MY FRIEND CHATIING WITH ME ON THE GMAIL
HII.DAVID
HOW CAN I SPY ON A PERSON VIA INTERNET
IS THERE ANY SOFTWARE WHICH SILENTLY INSTALL ON COMPUTER BACKGROUND!!??
CAN THAT SOFTWARE BEING DIRECTLY INSTALLED ON VICTIM THE COMPUTER AND I CAN SEE EACH AND EVERYTHING WHATS GOING ON THE SCREEN LIVE!!!!!!
Hi i m new in hacking field.i want to know about XSS and all
The simple way to do it would be to create a page that stores the ip addresses of people that visit it.. then point that person it it while you are chatting with him.
Yes, it’s called a trojan.. you can find many online.
Govinda, good place to start.. you should learn javascript with that.
Hi, hi have the hacker’s handbook; but it seems to be wrote for windows and i am on linux, could you give some tips to install other program that ubuntu provided in his software center? thx
Hey David ,
I am facing a bit problem in Raw sockets and Selectors in C…I have not found any good tutorials in this topic and was seeking help….Can you help me….
Angelo, check your email.
No reply …. David!!!
Aneesh, have you checked out Beej’s guide to socket programming?
Yeah!! David… It doesn’t introduce us to raw sockets the guide only deals with STREAM/UDP sockets….I have already done that and I am searching for a guide on Raw sockets and Selectors…
Waiting for response…………!!!!!!!!!!!!!!>|?????????????????????
Still Waiting!!!!!—————-
What is it you want to learn about Brutus.
No!!!!! About Raw sockets…
please can you go deep on phython code
Hey David! Just came across this site and your articles have pulled me in. I have been coding in c/c++/c# for a couple years now, but it has been based primarily around gaming/opengl/DX. I persoanlly would be interested in learning more on UNIX, and your recommendations on what I should start reading on in the future and perhaps great books for building a good foundation. A number of years back a friend of mine and I were playing around wiht backtrack tools, but as you stated in your first post, I would like to get more in depth and start perhaps writing my own tools. Aside form a basic understanding of linux, I would really like to see more on what OS you recommend, and perhaps what IDE, tools etc you have found useful in your expereince.
Also, I know from reading online, that there is a big push to smartphone security now and I would be interested in perhaps writing little apps on my iphone to do testing in some way. I tried my luck with obj-c and didn’t like it too much. Now with Airplay sdk out I can wrtie my apps in c++ and compile them for the phone. Have you played with this at all? I recently have been wanting to brish up on my networking and take this approach, just wondering what your ideas on smartphone hacking may be. Personally I think there will be some moeny in this area for the future, in securing these devices up but need to break them down first.
Thanks again for starting these posts, really look forward to finding out more form you in the future.
@Dank, You should definitely get more familiar with UNIX operating systems.. try putting it on one of you PC’s or if you have one.. duel boot. Then try coding programs solely for it… you’ll be a pro in no time. There are so many Unix books out there I can’t recommend one. It depends on what you want to learn about it.. just the basics.. how to code for it.. etc.. simply do an Amazon search and read the review.. that should help you decide on whether a book is worth investing in. When you ask what OS I recommend, I am assuming you mean what distribution of Linux? If you are a complete beginner.. Ubuntu will be nice and easy to start with.. if you want a challenge.. try Gentoo .. try out a few distros until you find something that suits you.. check out http://distrowatch.com/.
Yes, smart phone’s are becoming a large target… actually there was a rootkit released for Android at DEFCON this year.. so yes, there will definitely be money in it. Just pick a phone OS and learn how it works.. how it handles things from the security point of view.. how these rootkits work … how these phones are turned into botnets..does it require you download a program? or is it more of a worm like attack? etc.. and then figure out how you can defend against being infected.. how to detect if you are.. and you have yourself a program lol.
[...] out, and I disappeared for a while doing some stuff for business purposes. So last time I wrote, School of Hacks – Part 2, I emphasized the use or learning and understanding a UNIX/Linux Operating System. Based on the [...]
Thank you David,
I have made the switch to linux u(noob)tu and it is glorious.
Can you post aobout the different ways to run Linux?
Deos this mean the different distributions of it? i do not quite understand what you mean by live distro, et al.
Please advise and a python programming post would also be appreciated….
I finally ran 1+1 and it only took me a few minutes to find the terminal prompt…
I am such a noob but I hope you can help
Jefe
@jefeperro, haha, thats great, You can run linux by installing it on your computer, or by installing it in a separate partition and run 2 operating systems on your computer (windows/ubuntu), you can run it from a live disc, but you won’t be allowed to save anything on it, and you can run it from a USB drive (both live and persistent). You don’t have to completely switch over to Ubuntu right away, you can slowly start using it along with what you use now, and as you learn you can start doing more things on Ubuntu that you would normally do on your main OS.. this way you won’t get frustrated.
Hey David
im totally new to hacking….
i read ur articles school of hacks 1 and 2
so far i havent learnt python nor hav i learnt a UNIX based OS
i have learnt C, C++ and JAVA (basics)
so now do i start with python or wat?
temme wer do i start from….
and also wat i shud do next…
@Bomberman, it doesn’t really matter which one you start with.. just start
.. you can do lots of things with both
Hi David.I have been reading hacking articles for a few months now but haven’t started out a branch and i know i have been wasting my time.Can you guide me and tell me which branch should I should start learning because i can’t decide.
I am sorry but my question has not been answered i asked you a few days ago.please reply.:)
Leave your response!
MrCracker.com Hacker Newsletter
MrCracker.com Hacker Newsletter
Subscribe via RSS or Subscribe via email.
Archives
Blogroll
Categories
Recent Posts
Most Commented
Most Viewed