Recommendation for Assembly book

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • OS-19900
    Junior Member
    • 2016-Jan
    • 1

    #1

    Recommendation for Assembly book

    I am currently enrolled in the PWK course and just finished the "writing exploits" section. I wanted to know if anyone could recommend a good book on Assembly, so that I can understand exploit writing in more detail. I have over 20 years experience writing C and C++.
  • OS-14188
    Junior Member
    • 2014-Sep
    • 20

    #2
    There's some useful resources here, https://github.com/vhf/free-programm...embly-language. Also Practical Malware Analysis has a crash course on x86 assembly that's pretty awesome. It's decently priced and you could probably find a PDF copy floating around until you're able to get a copy. There's also the Shellcoder's Handbook which would probably help with both assembly and writing exploits.

    As for exploit writing you should check out The Corelan Team's exploit articles, https://www.corelan.be/index.php/articles/#cat_exploits.

    Not a book but I found this the other day, https://gcc.godbolt.org/, an interactive compiler for C++ (it appears to also work for C) that shows how the code translates to assembly and has options for compiling with various versions of gcc.

    I'll go through my bookmarks and see if I have anything else. Should keep you busy for the time being. Hope this helps!

    Comment

    • OS-16982
      Junior Member
      • 2015-Jun
      • 13

      #3
      In our assembly course back at my university, we used Irvine's
      Assembly Language for x86 Processors
      Also,even though it's not a book, opensecuritytraining has 3 courses on assembly which are quiet useful.

      Comment

      • superkojiman
        Senior Member
        • 2012-Apr
        • 194

        #4
        Assembly Language Step-by-Step: Programming with Linux gets my recommendation. http://www.amazon.com/Assembly-Langu.../dp/0470497025
        Web: http://www.techorganic.com
        Twitter: @superkojiman

        Comment

        • OS-4213
          Junior Member
          • 2009-Sep
          • 18

          #5
          Has anyone tried "Programming from the ground up"? It's a free book that can be found here: http://security.di.unimi.it/sicurezz...rogramming.pdf.

          I've just started reading it and would like to hear someones thought that has read it.

          I think it has good value as it is free and seems pretty decent.
          OSCP | OSWP

          Comment

          • OS-13359
            Senior Member
            • 2014-Jun
            • 114

            #6
            During my asm course at school, that was one of the books I read, which is quite good.
            Another one was the one by Dr Paul Carter: http://www.drpaulcarter.com/pcasm/.

            There is also Introduction to 64 Bit Assembly Language Programming for Linux and OS X (http://rayseyfarth.com/asm/)
            [OSCE|OSCP|GREM]
            Twitter: @meikk

            Comment

            • OS-14171
              Junior Member
              • 2014-Sep
              • 2

              #7
              if you want some vids, i recommend the Assembly Primer for Hackers


              -or-

              Comment

              • Capt
                Member
                • 2016-Oct
                • 81

                #8
                recently I started writing a full guide to assembly language, Intel architecture and Windows/Linux Internals.
                You can take a look here:



                I would be happy if you can review my work and refer it to your friends if you think it's good.
                Thanks.
                OSCP OSCE

                Comment

                • OS-26241
                  Senior Member
                  • 2016-Dec
                  • 112

                  #9
                  Originally posted by Capt
                  recently I started writing a full guide to assembly language, Intel architecture and Windows/Linux Internals.
                  You can take a look here:



                  I would be happy if you can review my work and refer it to your friends if you think it's good.
                  Thanks.
                  Man that is a great contribution thank you
                  OSCP OSWP

                  Comment

                  • OS-26241
                    Senior Member
                    • 2016-Dec
                    • 112

                    #10


                    This is one of the books i used to learn Assembly language.

                    It teaches 32-bit AT&T syntax and is geared towards coding on Linux and debugging with GDB which is what i wanted.

                    Its a good book imo and teaches well. I would highly recommened
                    OSCP OSWP

                    Comment

                    • Capt
                      Member
                      • 2016-Oct
                      • 81

                      #11
                      Originally posted by OS-26241
                      Man that is a great contribution thank you
                      You're welcome! I honestly do it so I teach myself first. I will be very happy if I find some other contributors or technical reviewers.
                      OSCP OSCE

                      Comment

                      • OS-22820
                        Member
                        • 2016-Jun
                        • 41

                        #12
                        Thanks for sharing!

                        Originally posted by Capt
                        recently I started writing a full guide to assembly language, Intel architecture and Windows/Linux Internals.
                        You can take a look here:



                        I would be happy if you can review my work and refer it to your friends if you think it's good.
                        Thanks.
                        Great write-up. Thanks for sharing with the community. I'm looking to start my OSCE and this is another useful tool to add to the arsenal.
                        OSCP

                        Comment

                        • Capt
                          Member
                          • 2016-Oct
                          • 81

                          #13
                          Thank you! You're all welcome!
                          OSCP OSCE

                          Comment

                          • Capt
                            Member
                            • 2016-Oct
                            • 81

                            #14
                            And now I published “The Holy Book of X86 - Vol 1” on Amazon. Check it out:
                            OSCP OSCE

                            Comment

                            • Capt
                              Member
                              • 2016-Oct
                              • 81

                              #15
                              Check this tutorial on shellcoding for Windows:

                              OSCP OSCE

                              Comment

                              Working...