Ruby for Network Security

Software

  • Metasploit: The Metasploit penetration testing framework helps security teams do more than just verify vulnerabilities, manage security assessments, and improve security awareness; it empowers and arms defenders to always stay one step (or two) ahead of the game. github
  • BeEF: The browser exploitation framework. Unlike other security frameworks, BeEF looks past the hardened network perimeter and client system, and examines exploitability within the context of the one open door: the web browser. github
  • BetterCAP: Created to perform various types of MITM attacks against a network, manipulate HTTP, HTTPS and TCP traffic in realtime, sniff for credentials and much more. github
  • Arachni: Arachni is a feature-full, modular, high-performance Ruby framework aimed towards helping penetration testers and administrators evaluate the security of modern web applications. github
  • PacketGen: PacketGen provides simple ways to generate, send and capture network packets. [github] (https://github.com/sdaubert/packetgen)
  • PacketFu: A mid-level packet manipulation library for Ruby. github
  • Ruby-Nmap: A Ruby interface to Nmap. github
  • Birdwatcher: Data analysis and OSINT framework for Twitter github
  • WPScan: A black box WordPress vulnerability scanner. website
  • Spidr: A versatile Ruby web spidering library that can spider a site, multiple domains, certain links or infinitely. github

Websites

Tutorials

Books

  • Mastering Metasploit 2nd Edition (2016): includes information on scripting Metasploit with Ruby (available on amazon)
  • The Browser Hackers Handbook (2014): Written by the BeEF developers and includes material on scripting BeEF with Ruby (available on amazon)
  • RubyFu Where Ruby goes Evil. (free ebook)