EH-Net

Ethical Hacking Discussions and Related Certifications => Programming => Topic started by: sh4vL10n on September 11, 2010, 11:19:49 AM



Title: Assembly Language use for Networking
Post by: sh4vL10n on September 11, 2010, 11:19:49 AM
Guys Wanna help me out? I'm learning C now, a little bout Perl, Java and Python. I am trying to learn assembly as it is best enhancements but i want to focus on network exploiting with better automation and speed. I need Ideas Guys... :)


Title: Re: Assembly Language use for Networking
Post by: mallaigh on September 11, 2010, 01:36:03 PM
Recently Awesec wrote a review on The Art of Assembly Language 2nd Ed http://www.ethicalhacker.net/content/view/319/1/.  Its on the front page.  

Oh and search the forums, and you will find the answer to your question.


Title: Re: Assembly Language use for Networking
Post by: sh4vL10n on September 12, 2010, 04:03:10 AM
Malaigh thanks for it by i already had that... I just wanted to know if it could be suited for networking.. cause from my readings about assembly programming, it focuses on a specific architecture. but now a days the more common processor is x86 and  i just thought in mind if i cud use it for networking to develop some applications or maybe a small system enhanced with its speed, as assembly is known with it..


Title: Re: Assembly Language use for Networking
Post by: ajohnson on September 12, 2010, 10:35:51 AM
I'm not entirely sure what you're asking. You can certainly use assembly for networking. If you were writing a tool from scratch, it would be beneficial to use a higher-level language (although, using assembly would be a great exercise). You're not going to see performance improvements since the network, not the system resources, will likely be the bottleneck. You'll use assembly more on the exploitation/reverse-engineering side of things.


Title: Re: Assembly Language use for Networking
Post by: mallaigh on September 12, 2010, 10:52:40 PM
Malaigh thanks for it by i already had that... I just wanted to know if it could be suited for networking.. cause from my readings about assembly programming, it focuses on a specific architecture. but now a days the more common processor is x86 and  i just thought in mind if i cud use it for networking to develop some applications or maybe a small system enhanced with its speed, as assembly is known with it..

Sorry about that; I also wasn't quite sure what you were asking.  Its been a while since I have used assembly (a machine logic class), but as I'm sure you know assembly is a low level language.  In comparison to C (or pick any of the other languages you mentioned), it takes a lot more code (in assembly) to achieve the same/similar task in comparison to a high level language


Title: Re: Assembly Language use for Networking
Post by: b1u3 on November 16, 2010, 09:05:40 PM
Modern compilers do a great job of turning C into assembly or machine language ;) . But if you really wanted to learn assembly, Professional Assembly Language (Programmer to Programmer) is another (dated but still good) resource.


Title: Re: Assembly Language use for Networking
Post by: manoj9372 on November 18, 2010, 04:03:16 AM
TBH i don't know asm,

but this is what i felt from my experience,Assembly language is a very-useful one ,it can be used in network related purposes,I will explain with you an example,i am sure you are aware of the "stuxnet" worm,Assume you as one of the Administrator of a high profile network, and you have been detected signs of a "unknown" in your network,if you  are equipped with Assembly language you can Disassemble or study the internal operations of the worm and can implement a solution of your own before any severe damage happens to your network,it would be more handy for an administrator if a network is facing attacks from a "unknown" worm or unknown malware attacks..

Sorry if my story bored you ;D

here are some helpful links for you
Code:
http://www.asmcommunity.net/board/
http://www.amazon.com/Professional-Assembly-Language-Programmer/dp/0764579010/ref=sr_1_4?ie=UTF8&qid=1287317491&sr=8-4