Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 63 guests online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Do you need to know programming to hack?
EH-Net
May 19, 2013, 02:51:40 AM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Do you need to know programming to hack?
Pages: [
1
]
2
3
Go Down
« previous
next »
Print
Author
Topic: Do you need to know programming to hack? (Read 42743 times)
0 Members and 1 Guest are viewing this topic.
Kev
Guest
Do you need to know programming to hack?
«
on:
February 20, 2007, 11:49:10 AM »
Do you need to know programming to be a hacker? That has to be the question I get asked the most. I would say yes and no. It all depends on your view. The problem is no one agrees what a hacker is! I posted in the past what it takes to be a hacker and every body had their own and different idea, lol!
You can be a fairly good pen tester now without knowing any programming. In fact, the most famous hacker of all time, Kevin Mitnick didn’t know programming. If you understand all the tools and know them well, you can do some effective hacking. I am sure that’s good news to all the script kiddies out there.
My honest feeling is you should learn some programming. At least the basics. It will give you a deeper understanding of what’s going on. Yes it’s true we don’t always breach a system by running an exploit. Sometimes things are just wide open and not configured correctly. Even to this day, Admins use weak passwords.
If you have never leaned programming I would suggest starting with HTML. Its very easy and you will get results quickly. Actually its fun. Also, it will help you learn to read the source code on a website.
From there I would say to go into C. C programming is the mother of it all. Most exploits were written in C. Also many hacking tools were also written in C and once you know it, you can make changes to the code to facilitate a tool to do something a little different for you. Come up with an idea of a program and then write it. My very first program was a simple code to ping all the IPs in a network. Easy to write and I suggest that one if you are stumped.
Don’t settle for being a point and click hacker. Don’t run blind. If you take the time to understand even just the basics of programming, an entire new world will open up for you
«
Last Edit: February 20, 2007, 11:52:08 AM by Kev
»
Logged
Cutaway
Jr. Member
Offline
Posts: 96
Cutaway
Re: Do you need to know programming to hack?
«
Reply #1 on:
February 22, 2007, 09:11:58 PM »
I believe that you are correct with your "yes and no" answer. It really depends on where the individual wants to focus his/her skill set.
If the focus is assessments then being able to compile exploits and generate quick shell/perl/c programs may not be necessary. A basic understanding of coding will help but knowing how to use the tools, write reports, mitigate problems, and educate admins and end-users is more important.
To be a penetration tester, however, I believe that it is a necessity to have at least a simple understanding of how to program. You have to be able to compile exploits. You have to be able to look at shell scripts, html code, open source code, and other programs to understand how to they work. (this is my skill level) As you get better you will begin to move into understanding and generating shell code and exploits.
To be a security researcher then you definitely have to be a good to outstanding programmer. Coding is what is required to make and break things.
Logged
Go forth and do good things,
Cutaway
Kev
Guest
Re: Do you need to know programming to hack?
«
Reply #2 on:
February 23, 2007, 07:48:19 PM »
Thanks for the reply Cutaway and those are good points you made.
Imagine for a moment you’re a black hat cracker and you have discovered a vulnerability that no one else has discovered. It would be a license rape, plunder and pillage. If you had the right connections and knew where to sell the information that you gathered, you would become worth millions. That is the dark temptation for crackers that have good programming skills. The only thing that would stop you would be if the security was tight enough to react to you quickly once you were “in”. This of course has nothing to do with pen testing, but cracking into systems.
How does one go about learning that kind of programming? The easiest way is to write a program yourself with lots of flaws. Use the well known poor programming practices. Make sure it’s a program that goes through the entire TCP/IP stack. If it doesn’t then it will have no value. Once you have done that, write an exploit targeting the flaws you purposely placed in the program. There are a number of good books that show you how exploits have been written. After that, see if your exploit actually runs and gives you a shell. You might say that’s cheating and you would be correct. But it is a good basic exercise that gets you started and from there you should be able to move to deeper things. The hardest part of exploring is discovering vulnerabilities without being given the source code. Once you know how to deal with that, you are on your way.
PS- I am using the term "cracker" for lack of a better term. The only problem for me with that term personally speaking is that I grew up in the South. In the South the term cracker meant something totally different and certainly not someone intelligent enough to break into systems, lol! I am sure some of you know what I mean.
«
Last Edit: February 24, 2007, 07:58:52 AM by Kev
»
Logged
Cutaway
Jr. Member
Offline
Posts: 96
Cutaway
Re: Do you need to know programming to hack?
«
Reply #3 on:
February 23, 2007, 10:24:37 PM »
Good example, Kev. Here is the capper for your last addition:
http://milw0rm.com/papers/125
. It runs through a basic version of what you just covered.
I just read this yesterday after listening to PaulDotCom's last episode:
http://pauldotcom.com/wiki/index.php/ListenerFeedback5
.
It is definitely a good place to start.
Logged
Go forth and do good things,
Cutaway
slimjim100
EH-Net Columnist
Sr. Member
Offline
Posts: 385
Re: Do you need to know programming to hack?
«
Reply #4 on:
February 25, 2007, 08:12:56 PM »
Hey Kev... I'm a "Georgia Cracker" and it's not a technical term.
Just kidding. Anyway I was forced to post by your added comments about the term "Cracker" and how alot of terms can mean alot of different things to people in different areas.
Brian
aka Slimjim100
«
Last Edit: February 25, 2007, 10:32:40 PM by slimjim100
»
Logged
CISSP, CCSE, CCNA, CCAI, Network+, Security+, JNCIA, & MCP
Kev
Guest
Re: Do you need to know programming to hack?
«
Reply #5 on:
February 25, 2007, 09:05:40 PM »
LOL, no problem.
Logged
Kevan
Jr. Member
Offline
Posts: 95
Re: Do you need to know programming to hack?
«
Reply #6 on:
March 18, 2007, 11:46:36 AM »
Is this a forum for hackers or crackers? I know that there is a significant difference, and that most crackers do not seem to have the 'code of honor' hackers tend to portray. And cracking itself is so much easier than it used to be, programs have been written to do almost any dirty work 'needed' with a graphical interface and no skill. How many programs have been written that can hack into a network, find a problem, and fix it? I know that there are not as many as the programs designed to crack. Don't get me wrong, I have used dvd rippers, cd rippers, air snort tools, etc, but never to sell or ruin something, and why/how can a person be considered a cracker if their tool is not their brain, but a USB pen with hundreds of malicious programs?
Logged
I may be a newbie, but I am willing to learn.
LSOChris
Guest
Re: Do you need to know programming to hack?
«
Reply #7 on:
March 18, 2007, 04:41:58 PM »
this a site for security professionals or people that want to be security professionals. there are plenty of other l33t script kiddie sites out there that can keep the whole hacker/cracker/i wear this color hat crap.
my own opinion though...
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 4165
Editor-In-Chief
Re: Do you need to know programming to hack?
«
Reply #8 on:
March 18, 2007, 06:11:07 PM »
Just as clarification, a cracker in ethical hacking terms is not someone who cracks code. A cracker is someone who does the same thing a hacker does but does so illegally. So what's a hacker? In simple terms, a hacker is known as someone with the skill to make something (software, hardware, a car, etc) perform a task it was not originally meant to do.
And ChrisG is absolutely correct. This site is for the security professional. We are all here to help people with their careers. This is how we give back to the community that we feel gave so much to us.
Hope this helps,
Don
Logged
CISSP, MCSE, CSTA, Security+ SME
Kevan
Jr. Member
Offline
Posts: 95
Re: Do you need to know programming to hack?
«
Reply #9 on:
March 18, 2007, 06:55:54 PM »
I guess my idea of the talent I want to have it the person that is hired to monitor and fix a given network or computer. I want to be IT Security, but to me it only makes sense to learn how to hack so that I know the methods I will be up against.
Logged
I may be a newbie, but I am willing to learn.
talkinelf
Newbie
Offline
Posts: 13
Re: Do you need to know programming to hack?
«
Reply #10 on:
March 19, 2007, 01:47:47 PM »
by reading you posts i get it that you really are someone who is looking for the right thing and unlike most others you are looking for it at the right place
you get what i mean
any ways from what i have read and what i know u need to know and think like a cracker if u are up to securing your network. you need to know how cracking softwares work, how they work on your network what results they display. As by thinking how a cracker thinks you get to know a lot vulnarabilties in you network than you think like the network admin. but the difference between us and the crackers is that we do it the legal and ethical way.
Logged
WireSploit
Newbie
Offline
Posts: 1
Re: Do you need to know programming to hack?
«
Reply #11 on:
March 20, 2007, 05:25:53 PM »
you only need to be able to do programming if you want to write exploits, or programs.
Exploit code can easily be used, as you can easily get hold of the code, copy, past and execute it.
Logged
jimbob
Guest
Re: Do you need to know programming to hack?
«
Reply #12 on:
March 21, 2007, 07:55:47 AM »
Quote from: WireSploit on March 20, 2007, 05:25:53 PM
you only need to be able to do programming if you want to write exploits, or programs.
Exploit code can easily be used, as you can easily get hold of the code, copy, past and execute it.
I think a certain level of programming knowledge is required for ethical hacking. Not every engagement will be as straightforward as find hole, run script. If your only tool is a hammer every problem will look like a nail and you'll get quickly frustrated when it doesn't work.
Programming is much more than writing programs. One big bonus is that it enables you to understand code that you find. I am not a PHP coder but I can read PHP scripts and assess them because my programming experience allows me to. Many languages share a common ancestry that knowing one can help you understand another even if you can't code with it.
On the point about exploit code you should always cast a wary eye over it before you execute it. It is now unknown for exploit writers insert deliberate mistakes into exploit so that the reader is force to fix it before it will work. Even worse it may contain malicious code that will end up 0wning you if your not careful.
Jimbob
Logged
slimjim100
EH-Net Columnist
Sr. Member
Offline
Posts: 385
Re: Do you need to know programming to hack?
«
Reply #13 on:
March 21, 2007, 08:18:32 AM »
Jimbob Very good points!
I agree you should understand how to read code at the very minimum and it's always good to know how to code. There are so many areas in the network security field you may not have to worry about coding so I would just say the more you know the better off you will be. There is no check list to becoming a security professional (or a hacker). Any job field in IT now has a security aspect so just pick what interests you and learn to apply a security mindset to that job.
my 2 cents
Brian
(aka Slimjim100)
Logged
CISSP, CCSE, CCNA, CCAI, Network+, Security+, JNCIA, & MCP
LSOChris
Guest
Re: Do you need to know programming to hack?
«
Reply #14 on:
March 21, 2007, 04:24:41 PM »
knowing how to code a bit will help you from making a boo boo and running some evil code like the latest new "Apache 1.X Remote Buffer Overflow getRoot() Exploit"
Logged
Pages: [
1
]
2
3
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
SANSFIRE 2013
June 15 - 22
5% Off
w/ Code
:
EHN_5
SANS Deals 4 EH-Netters
5% OFF
Any
SANS Course
in Any Format!
Coupon Code:
EHN_5
Including
SANS Rocky Mountain 2013
&
SANS Boston 2013
Polls
Compared to this year, 2013 will be:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
General Certification
: CPT Practical Submission
(0) by
z28power4u
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(5) by
MrTuxracer
Career Central
: Starter cert?
(0) by
Alert
Web Applications
: Nessus and Nikto
(4) by
Seen
Tutorials
: Need guidance
(7) by
impelse
Malware
: EICAR?
(2) by
SephStorm
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.