Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 31 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Programmingarrow Place to start
EH-Net
May 25, 2013, 06:23:02 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Place to start  (Read 5101 times)
0 Members and 1 Guest are viewing this topic.
nknacd
Newbie
*
Offline Offline

Posts: 2


View Profile
« on: March 16, 2010, 10:27:54 AM »

Hi all,

Does anyone know of a good place to start for learning how to reverse engineer software/malware? Basically looking for a good foundation to start learning how to find vulnerabilities. Having searched the interwebs, It's hard to find any free information on this learning this and due to my lack of funds am unable to purchase anything, ie books.

any insight would be greatly appreciated.
Logged
pizza1337
Full Member
***
Offline Offline

Posts: 156

Resource is Power.


View Profile
« Reply #1 on: March 16, 2010, 10:57:03 AM »

http://tuts4you.com/
Logged

Knowledge Resource is Power.
unsupported
Sr. Member
****
Offline Offline

Posts: 318


Unofficial Newbie Moderator


View Profile
« Reply #2 on: March 16, 2010, 11:38:22 AM »

http://www.amazon.com/Malware-Fighting-Malicious-Ed-Skoudis/dp/0131014056/ref=sr_1_2?ie=UTF8&s=books&qid=1268757474&sr=8-2
Logged

-Un
CISSP, GCIH, GCIA, C|EH, Sec+, Net+, MCP
zeroflaw
Full Member
***
Offline Offline

Posts: 208



View Profile
« Reply #3 on: March 16, 2010, 01:32:41 PM »

You might find OllyDbg useful, it's a free reverse engineering tool.

http://www.ollydbg.de/

I would suggest learning some programming, especially assembly.

@Pizza, http://tuts4you.com looks really good, thanks Tongue

Logged

ZF
UNIX
Hero Member
*****
Offline Offline

Posts: 1235


View Profile
« Reply #4 on: March 16, 2010, 02:39:25 PM »

Additionally I'd recommend Reversing: Secrets of Reverse Engineering and Hacking: The Art of Exploitation.
Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #5 on: March 16, 2010, 04:32:02 PM »

I second pizza's recommendation.   This is probably the best set of reversing tutorials I am aware of.   I when through a bunch of them and learned quite a bit.  Lena knows her stuff.

http://www.tuts4you.com/download.php?list.17
Logged

~~~~~~~~~~~~~~
Ketchup
n1p
Jr. Member
**
Offline Offline

Posts: 89


View Profile WWW
« Reply #6 on: March 16, 2010, 05:45:49 PM »

Agreed, the Lena151 tutorials are extremely useful for using Ollydbg and understanding the logic of disassembly. I would also suggest looking for Tigas tutorials. They will give you some insight into usage with IDA Pro.

If you are serious about RE and malware analysis. You will need to consider looking at gaining a basic / moderate understanding of ASM. You will not need to develop with it, but rather appreciate how it works and have the ability to understand loops, counters and jumps.

For that, there are plenty of examples and books that are free. The main one being The Art of Assembly.

A great way for beginners is also to start compiling simple hello world examples and viewing them in a debugger. Then improving on this with inclusion of functions, pointers and structs etc to see how these are represented in disassembly. This can also be used to code vulnerable apps and view how buffer overflows look in disassembly.

Additional to that, I would also begin to explore the PE (Portable executable) format. This will assist you with reversing in a windows environment.

Improving on this, start with simple UPX unpacking tutorials and crackmes (crackmes.de) to get an intro to file packing and obfuscation. Identify how you can unpack these files and navigate from the packed layer to unpacked code. This will then introduce you to the world of import rebuilding with tools such as ImpRec / LordPE which is vital for reversing malware. All the while gaining an appreciation for manual tracing and executable dumping using dynamic analysis with debuggers.

Going further... You will then be introduced to anti-debugging mechanisms (as a result of file packers / cryptors ). These are used by programs and malware alike and serve to make your life as a reverser difficult.

Less technical, but equally important is learning to use virtualisation. So I would suggest setting up a VMware/VirtualBox lab. You can then use this to test/reverse malware on. This lab will also contain your debugger, hex editor and dynamic analysis tools (see sysinternals tools, iDefense malware pack). These labs can also contain IRC servers etc which can then be used to view how malware interacts with C&C irc servers. Again, this is more advanced, but the sort of thing you can look forward to doing after a small but of learning and research!

Apologies for large post and info overload. Happy to discuss further if any of this is overly complicated and needs clarification.

« Last Edit: March 16, 2010, 05:49:00 PM by n1p » Logged
zeroflaw
Full Member
***
Offline Offline

Posts: 208



View Profile
« Reply #7 on: March 17, 2010, 09:16:42 AM »

A great way for beginners is also to start compiling simple hello world examples and viewing them in a debugger. Then improving on this with inclusion of functions, pointers and structs etc to see how these are represented in disassembly. This can also be used to code vulnerable apps and view how buffer overflows look in disassembly.

Exactly how I started. Write simple programs and view them in a debugger. Good suggestion Tongue
Logged

ZF
nknacd
Newbie
*
Offline Offline

Posts: 2


View Profile
« Reply #8 on: March 17, 2010, 09:39:24 AM »

thanks for the suggestions, the tuts4you seems like exactly what i was looking for. guess my google kung fu still needs some work.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.573 seconds with 23 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
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:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.