Black Hat Python, 2nd Edition


Book Description

Fully-updated for Python 3, the second edition of this worldwide bestseller (over 100,000 copies sold) explores the stealthier side of programming and brings you all new strategies for your hacking projects. When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. In Black Hat Python, 2nd Edition, you’ll explore the darker side of Python’s capabilities—writing network sniffers, stealing email credentials, brute forcing directories, crafting mutation fuzzers, infecting virtual machines, creating stealthy trojans, and more. The second edition of this bestselling hacking book contains code updated for the latest version of Python 3, as well as new techniques that reflect current industry best practices. You’ll also find expanded explanations of Python libraries such as ctypes, struct, lxml, and BeautifulSoup, and dig deeper into strategies, from splitting bytes to leveraging computer-vision libraries, that you can apply to future hacking projects. You’ll learn how to: • Create a trojan command-and-control using GitHub • Detect sandboxing and automate common 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 When it comes to offensive security, your ability to create powerful tools on the fly is indispensable. Learn how with the second edition of Black Hat Python. New to this edition: All Python code has been updated to cover Python 3 and includes updated libraries used in current Python applications. Additionally, there are more in-depth explanations of the code and the programming techniques have been updated to current, common tactics. Examples of new material that you'll learn include how to sniff network traffic, evade anti-virus software, brute-force web applications, and set up a command-and-control (C2) system using GitHub.




I Wear the Black Hat


Book Description

One-of-a-kind cultural critic and New York Times bestselling author Chuck Klosterman “offers up great facts, interesting cultural insights, and thought-provoking moral calculations in this look at our love affair with the anti-hero” (New York magazine). Chuck Klosterman, “The Ethicist” for The New York Times Magazine, has walked into the darkness. In I Wear the Black Hat, he questions the modern understanding of villainy. When we classify someone as a bad person, what are we really saying, and why are we so obsessed with saying it? How does the culture of malevolence operate? What was so Machiavellian about Machiavelli? Why don’t we see Bernhard Goetz the same way we see Batman? Who is more worthy of our vitriol—Bill Clinton or Don Henley? What was O.J. Simpson’s second-worst decision? And why is Klosterman still haunted by some kid he knew for one week in 1985? Masterfully blending cultural analysis with self-interrogation and imaginative hypotheticals, I Wear the Black Hat delivers perceptive observations on the complexity of the antihero (seemingly the only kind of hero America still creates). As the Los Angeles Times notes: “By underscoring the contradictory, often knee-jerk ways we encounter the heroes and villains of our culture, Klosterman illustrates the passionate but incomplete computations that have come to define American culture—and maybe even American morality.” I Wear the Black Hat is a rare example of serious criticism that’s instantly accessible and really, really funny.




Black Hat Go


Book Description

Like the best-selling Black Hat Python, Black Hat Go explores the darker side of the popular Go programming language. This collection of short scripts will help you test your systems, build and automate tools to fit your needs, and improve your offensive security skillset. Black Hat Go explores the darker side of Go, the popular programming language revered by hackers for its simplicity, efficiency, and reliability. It provides an arsenal of practical tactics from the perspective of security practitioners and hackers to help you test your systems, build and automate tools to fit your needs, and improve your offensive security skillset, all using the power of Go. You'll begin your journey with a basic overview of Go's syntax and philosophy and then start to explore examples that you can leverage for tool development, including common network protocols like HTTP, DNS, and SMB. You'll then dig into various tactics and problems that penetration testers encounter, addressing things like data pilfering, packet sniffing, and exploit development. You'll create dynamic, pluggable tools before diving into cryptography, attacking Microsoft Windows, and implementing steganography. You'll learn how to: Make performant tools that can be used for your own security projects Create usable tools that interact with remote APIs Scrape arbitrary HTML data Use Go's standard package, net/http, for building HTTP servers Write your own DNS server and proxy Use DNS tunneling to establish a C2 channel out of a restrictive network Create a vulnerability fuzzer to discover an application's security weaknesses Use plug-ins and extensions to future-proof productsBuild an RC2 symmetric-key brute-forcer Implant data within a Portable Network Graphics (PNG) image. Are you ready to add to your arsenal of security tools? Then let's Go!




White Coat, Black Hat


Book Description

By New Yorker and Atlantic writer Carl Elliott, a readable and even funny account of the serious business of medicine. A tongue-in-cheek account of the changes that have transformed medicine into big business. Physician and medical ethicist Carl Elliott tracks the new world of commercialized medicine from start to finish, introducing the professional guinea pigs, ghostwriters, thought leaders, drug reps, public relations pros, and even medical ethicists who use medicine for (sometimes huge) financial gain. Along the way, he uncovers the cost to patients lost in a health-care universe centered around consumerism.




Black Hat Python, 2nd Edition


Book Description

Fully-updated for Python 3, the second edition of this worldwide bestseller (over 100,000 copies sold) explores the stealthier side of programming and brings you all new strategies for your hacking projects. When it comes to creating powerful and effective hacking tools, Python is the language of choice for most security analysts. In this second edition of the bestselling Black Hat Python, you’ll explore the darker side of Python’s capabilities: everything from writing network sniffers, stealing email credentials, and bruteforcing directories to crafting mutation fuzzers, investigating virtual machines, and creating stealthy trojans. All of the code in this edition has been updated to Python 3.x. You’ll also find new coverage of bit shifting, code hygiene, and offensive forensics with the Volatility Framework as well as expanded explanations of the Python libraries ctypes, struct, lxml, and BeautifulSoup, and offensive hacking strategies like splitting bytes, leveraging computer vision libraries, and scraping websites. You’ll even learn how to: Create a trojan command-and-control server using GitHub Detect sandboxing and automate common malware tasks like keylogging and screenshotting Extend the Burp Suite web-hacking tool Escalate Windows privileges with creative process control Use offensive memory forensics tricks to retrieve password hashes and find vulnerabilities on a virtual machine Abuse Windows COM automation Exfiltrate data from a network undetected When it comes to offensive security, you need to be able to create powerful tools on the fly. Learn how with Black Hat Python.




Professional Penetration Testing


Book Description

Professional Penetration Testing walks you through the entire process of setting up and running a pen test lab. Penetration testing—the act of testing a computer network to find security vulnerabilities before they are maliciously exploited—is a crucial component of information security in any organization. With this book, you will find out how to turn hacking skills into a professional career. Chapters cover planning, metrics, and methodologies; the details of running a pen test, including identifying and verifying vulnerabilities; and archiving, reporting and management practices. Author Thomas Wilhelm has delivered penetration testing training to countless security professionals, and now through the pages of this book you can benefit from his years of experience as a professional penetration tester and educator. After reading this book, you will be able to create a personal penetration test lab that can deal with real-world vulnerability scenarios. All disc-based content for this title is now available on the Web. - Find out how to turn hacking and pen testing skills into a professional career - Understand how to conduct controlled attacks on a network through real-world examples of vulnerable and exploitable servers - Master project management skills necessary for running a formal penetration test and setting up a professional ethical hacking business - Discover metrics and reporting methodologies that provide experience crucial to a professional penetration tester




Black Hat


Book Description

* Accessible to both lay readers and decision-makers * These stories are as exciting, if even more exciting, than even the most fast-paced movie adventure. Hackers strike quickly and with disastrous results. The story and post-mortems are fascinating * Homes are becoming increasingly wired and, thanks to Wi-Fi, unwired. What are the associated risks of fast Internet? * Technology is everywhere. People who subvert and damage technology will soon by enemy #1. * The author is an internationally recognized authority on computer security




White Horse, Black Hat


Book Description

From the silent era into the early days of television, hundreds of small production companies turned out low-budget films that were played as second features in this country and abroad. As might be expected, a high percentage of these films were Westerns. The people who made these films—producers, directors, writers, actors, and technicians—inhabited what came to be known as Poverty Row, eking out a living doing a job they loved. Author C. Jack Lewis spent 25 years in this world of low-budget Westerns, and here he portrays the human side of the industry through the many people with whom he came into contact as he worked his way from film to film. Highly personal, filled with rare glimpses of a life that lives only in the memory of a few, this narrative is a nostalgic memoir of a bygone time, of those who shared life on Poverty Row—and of the hard work, failures, successes, and dreams made or broken. Liberal use of photos helps readers identify the faces they have seen on their television screens in the reruns of these pictures still making the rounds. A must-read for students of film and popular culture—great for fans of Westerns as well.




Under the Black Hat


Book Description

From legendary wrestling announcer Jim Ross, this candid, colorful memoir about the inner workings of the WWE and the personal crises he weathered at the height of his career is “a must-read for wrestling fans” (Charleston Post Courier). If you’ve caught a televised wrestling match anytime in the past thirty years, you’ve probably heard Jim Ross’s throaty Oklahoma twang. The beloved longtime announcer of the WWE “has been a driving force behind a generation of wrestling fans” (Mark Cuban), and he’s not slowing down, having signed on as the announcer of the starry new wrestling venture All Elite Wrestling. In this follow-up to his bestselling memoir Slobberknocker, he dishes out about not only his long career, which includes nurturing global stars like Stone Cold Steve Austin, The Rock, and John Cena, but also about his challenges of aging and disability, his split from collaborator Vince McMahon, and the sudden death of his beloved wife, Jan. The result is a gruff, endearing, and remarkably human-scale portrait, set against the larger than life backdrop of professional wrestling. Ross’s ascent in WWE mirrors the rise of professional wrestling itself from a DIY sideshow to a billion-dollar business. Under the Black Hat traces all the highs and lows of that wild ride, in which Jim served not only as on-air commentator, but talent manager, payroll master, and even occasional in-ring foil to threats like Paul “Triple H” Levesque and Undertaker. While his role brought him riches and exposure he had never dreamed of, he chafed against the strictures of a fickle corporate culture and what he saw as a narrow vision of what makes great wrestlers—and great story lines. When suddenly stricken with Bell’s palsy, a form of facial paralysis that makes it impossible to smile, he started down his greatest fear—being cast out of the announcing booth for good. Picking up where Slobberknocker left off and ending on the cusp of a new career in a reimagined industry, Under the Black Hat is the triumphant tale of a country boy who made it to the top, took a few knocks, and stuck around—just where his fans like him. Not only being one of the greatest wrestlers of the WWE, Ross is also “a master storyteller, and this book is the perfect forum for his forty years’ worth of tales” (Chris Jericho, former WWE champion).




Black Hat Physical Device Security: Exploiting Hardware and Software


Book Description

Black Hat, Inc. is the premier, worldwide provider of security training, consulting, and conferences. In Black Hat Physical Device Security: Exploiting Hardware and Software, the Black Hat experts show readers the types of attacks that can be done to physical devices such as motion detectors, video monitoring and closed circuit systems, authentication systems, thumbprint and voice print devices, retina scans, and more. The Black Hat Briefings held every year in Las Vegas, Washington DC, Amsterdam, and Singapore continually expose the greatest threats to cyber security and provide IT mind leaders with ground breaking defensive techniques. There are no books that show security and networking professionals how to protect physical security devices. This unique book provides step-by-step instructions for assessing the vulnerability of a security device such as a retina scanner, seeing how it might be compromised, and taking protective measures. The book covers the actual device as well as the software that runs it. By way of example, a thumbprint scanner that allows the thumbprint to remain on the glass from the last person could be bypassed by pressing a "gummy bear" piece of candy against the glass so that the scan works against the last thumbprint that was used on the device. This is a simple example of an attack against a physical authentication system. - First book by world-renowned Black Hat, Inc. security consultants and trainers - First book that details methods for attacking and defending physical security devices - Black Hat, Inc. is the premier, worldwide provider of security training, consulting, and conferences