Skip to content
HomeVideosBooks
AllTopicsTrends
BlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    Cover of Black Hat Python

    Black Hat Python

    Justin Seitz, Tim Arnold · 2014

    When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. But just how does the magic happen? In Black Hat Python, the latest from Justin Seitz (author of the best-selling Gray Hat Python), you’ll explore the darker side of Python’s capabilities—writing network sniffers, manipulating packets, infecting virtual machines, creating stealthy trojans, and more. You’ll learn how to: –Create a trojan command-and-control using GitHub –Detect sandboxing and automate com­mon malware tasks, like keylogging and screenshotting –Escalate Windows privileges with creative process control –Use offensive memory forensics tricks to retrieve password hashes and inject shellcode into a virtual machine –Extend the popular Burp Suite web-hacking tool –Abuse Windows COM automation to perform a man-in-the-browser attack –Exfiltrate data from a network most sneakily Insider techniques and creative challenges throughout show you how to extend the hacks and how to write your own exploits. When it comes to offensive security, your ability to create powerful tools on the fly is indispensable. Learn how in Black Hat Python. Uses Python 2

    ProgrammingSecurity & Privacy
    Open LibraryAmazon
    Stats for nerds
    7recommend
    12mentions
    11people
    2015–2024years
    58% recommend42% neutral

    Mentions per year

    2015201620172018201920202021202220232024

    What Hacker News says

    1. dijitDec 2024
      Black Hat Python, along with RTFM: Red Team Field Manual; are excellent resources for binpacking your brain with some simple effective uses of tools to serve a need.

      I don't feel the same about this book.

      Python is pretty ubiquitous, and RTFM focuses on oneliners and easily composable programs with utilities that already exist on target systems.

      A lot of what makes Red Team work harder is the need for portability, which pushes people to need to learn lots of interpreted languages and OS internals.

      My memory of using Rust for interop with the OS, is syscalls in win32 api; which consumed the better part of a couple weeks to get right, and required the use of unsafe, a lot.

      thread
    2. bloblawAug 2020
      I'll just add to what others have already provided.

        - "Black Hat Go" - https://nostarch.com/blackhatgo  
        - "Black Hat Python" - https://nostarch.com/blackhatpython  
        - "Web Security for Developers" - https://nostarch.com  /websecurity  
        - "Cracking Codes with Python" - https://nostarch.com/crackingcodes
      
      Highly recommend those NoStarch books. Of course, depends what you want to pentest, but this is good general information to get started.
      thread
    3. padraic7aFeb 2020
      Ubuntu Security Podcast is a weekly podcast discussing the latest updates and developments from the Ubuntu Security Team. It discusses the weekly bug fixes the team implement which might interest you if you're technical enough. I'm not, and what I like about it is the chattier discussions between the two hosts.

      In this episode Joe and Alex discuss their recommended reading list for infosec beginners and practitioners. This section starts at 10:17.

          - Red Team Field Manual | Ben Clark
          - Head First Programming
          - Linux System Administrators Handbook | Nemeth, et al
          - Robert Seacord’s Secure Coding in C/C++
          - CERT Resilience Management Model (CERT-RMM)
          - The Code Book | Simon Singh
          - The Tao of Network Security Monitoring: Beyond Intrusion Detection | Richard Bejtlich
          - The Cuckoos Egg | Cliff Stoll
          - Linux Pro Magazine
          - Black Hat Python | Justin Seitz
          - Hacking: The Art Of Exploitation | Jon Erickson
      thread
    4. colundDec 2015
      How Google Works

      - Gives interesting insights in the healthy values at Google.

      How Not to Be Wrong: The Power of Mathematical Thinking

      - Interesting discussions about correct/incorrect interpretations of data/statistics.

      Black Hat Python

      - Gives short code examples of what can be possible to do.

      Programming Collective Intelligence

      - Outdated but very inspiring hands on examples of ML in Python

      thread
    5. 001spartanDec 2015
      Thanks for the link! I will definitely have to listen to this later. Black Hat Python and Grey Hat Python are great cookbooks and references for learning offensive Python skills, and I've used both books quite a bit to help others learn Python for security.
      thread
    6. jmdukeSep 2015
      I just finished up Modern Romance by Aziz Ansari -- which, while not groundbreaking, was supremely interesting and readable. If you like Aziz's standup, it's basically him playing sociologist for 200 pages.

      Right now I'm going back and forth between Black Hat Python (because I owe it to myself to at least learn a little bit of this stuff) and What We Talk About When We Talk About Love by Carver. Two totally separate ends of the spectrum, but they're both great.

      thread

    Related

    Cover of Gray hat Python
    2009–2017

    Gray hat Python

    Justin Seitz
    5 recommend · 11
    Cover of Head First Programming
    2010–2020

    Head First Programming

    Paul Barry
    4 recommend · 4
    Cover of Hacking
    2009–2024

    Hacking

    Jon Erickson
    9 recommend · 13
    Cover of Learning Python
    2007–2026

    Learning Python

    Mark Lutz
    26 recommend · 49
    Cover of The Code Book
    2007–2026

    The Code Book

    Simon Singh
    98 recommend · 148
    Cover of Code Complete
    2007–2026

    Code Complete

    Steve McConnell
    393 recommend · 894
    Cover of The Rust Programming Language
    2015–2026

    The Rust Programming Language

    Steve Klabnik
    170 recommend · 257
    Cover of Dive into Python
    2008–2026

    Dive into Python

    Mark Pilgrim
    94 recommend · 185