The Kali Linux Dojo - Rolling Your Own ISOs



Similar documents
The BackTrack Successor

QuickStart Guide for Managing Computers. Version 9.2

LINUX DESKTOP HACKS. Nicholas Petreley andjono Bacon. O'REILLY 4 Beijing Cambridge Farnham Kbln Paris Sebastopol Taipei Tokyo

Backing Up Your System With rsnapshot

Author A.Kishore/Sachin VNC Background

How to Use? SKALICLOUD DEMO

EVault Software. Course 361 Protecting Linux and UNIX with EVault

Red Hat Linux 7.2 Installation Guide

Cloud-init. Marc Skinner - Principal Solutions Architect Michael Heldebrant - Solutions Architect Red Hat

Five standard procedures for building the android system. Figure1. Procedures for building android embedded systems

Installing an IBM Workplace/Portal Server on Linux

AlienVault. Unified Security Management x Offline Update and Software Restoration Procedures

Plexxi Control Installation Guide Release 2.1.0

Extending Remote Desktop for Large Installations. Distributed Package Installs

A+ Guide to Software: Managing, Maintaining, and Troubleshooting, 5e. Chapter 3 Installing Windows

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Week Overview. Running Live Linux Sending from command line scp and sftp utilities

Backtrack 4 Bootable USB Thumb Drive with Full Disk Encryption

In order to upload a VM you need to have a VM image in one of the following formats:

Git Fusion Guide August 2015 Update

Introduction to Operating Systems

Using the IPMI interface

LSN 10 Linux Overview

Developing Embedded Linux Devices Using the Yocto Project

Linux Disaster Recovery best practices with rear

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

OS Installation Guide Red Hat Linux 9.0

Intel Do-It-Yourself Challenge Lab 2: Intel Galileo s Linux side Nicolas Vailliet

Windows 10 and Enterprise Mobility

MOOSE-Based Application Development on GitLab

Capture and analysis of wireless traffic

Shellshock Security Patch for X86

Specialized Programme on Internetworking Design and LAN WAN Administration

Information Sheet IS13011A. VS Series - Recovering / Installing the Operating System. (For Software Version 4.x) Issue

Remote Unix Lab Environment (RULE)

DTC & DTC-Xen Running a VPS business with Xen Thomas Goirand, GPLHost CEO. Xen Summit Asia at Intel 2009

Oracle Solaris Remote Lab User Guide for Release 1.01

Symantec Cyber Readiness Challenge Player s Manual

Remote Desktop In OpenSUSE 10.3

What s New in Centrify Server Suite 2013 Update 2

Quick Start Guide for VMware and Windows 7

Advanced Network and System Administration

integration tools setup guide SIM 3 Remote Guide to controlling a SIM 3 Audio Analyzer remotely over a network connection from a laptop

Operating System Today s Operating Systems File Basics File Management Application Software

Building a Private Cloud Cloud Infrastructure Using Opensource

Getting Started with Mplus Version 7.31 Demo for Mac OS X and Linux

Lab 8: Configuring Backups

II. Installing Debian Linux:

Parallels Cloud Server 6.0

Virtualization. Michael Tsai 2015/06/08

CS197U: A Hands on Introduction to Unix

Other trademarks and Registered trademarks include: LONE-TAR. AIR-BAG. RESCUE-RANGER TAPE-TELL. CRONY. BUTTSAVER. SHELL-LOCK

HOWTO: Set up a Vyatta device with ThreatSTOP in bridge mode

CISE Research Infrastructure: Mid-Scale Infrastructure - NSFCloud (CRI: NSFCloud)

Chapter 4. Operating Systems and File Management

13.1 Backup virtual machines running on VMware ESXi / ESX Server

ovirt: Open Your Virtual Data Center

HOWTO: Set up a Vyatta device with ThreatSTOP in router mode

ATT8231: Creating a Customized USB Thumb Drive for ZCM Imaging Methods for creating a customized bootable USB Thumb Drive

What is included in the ATRC server support

Fedora 19. Fedora Documentation Project

Windows Template Creation Guide. How to build your own Windows VM templates for deployment in Cloudturk.

Buildroot for Vortex86EX (2016/04/20)

Automated Configuration of Open Stack Instances at Boot Time

EVault for Data Protection Manager. Course 361 Protecting Linux and UNIX with EVault

Getting Started in Red Hat Linux An Overview of Red Hat Linux p. 3 Introducing Red Hat Linux p. 4 What Is Linux? p. 5 Linux's Roots in UNIX p.

Reboot the ExtraHop System and Test Hardware with the Rescue USB Flash Drive


Installing the Operating System or Hypervisor

Version Control with Git. Kate Hedstrom ARSC, UAF

EXPLORING LINUX KERNEL: THE EASY WAY!

Navigating the Rescue Mode for Linux

Connections and wiring Diagram

PARALLELS SERVER 4 BARE METAL README

MATLAB & Git Versioning: The Very Basics

GroundWork Monitor Community Edition Install Guide VMware Virtual Appliance

IS L06 Protect Servers and Defend Against APTs with Symantec Critical System Protection

Chapter Contents. Operating System Activities. Operating System Basics. Operating System Activities. Operating System Activities 25/03/2014

Linux Disaster Recovery best practices with rear

Installing and Using No Machine to connect to the Redhawk Cluster. Mac version

Linux Operating System Security

ARMSDK-VM Virtual Appliance A preconfigured Linux system

System Administration: The Complete Reference

Updates Click to check for a newer version of the CD Press next and confirm the disc burner selection before pressing finish.

How to Create a Free Private GitHub Repository Educational Account

Using Network Attached Storage with Linux. by Andy Pepperdine

The Virtual Environment

QuickStart Guide for Client Management. Version 8.7

NASA Workflow Tool. User Guide. September 29, 2010

How To Migrate To Redhat Enterprise Linux 4

VOICE IMPROVEMENT PROCESSOR (VIP) BACKUP AND RECOVERY PROCEDURES - Draft Version 1.0

Red Hat Enterprise Linux OpenStack Platform 7 OpenStack Data Processing

Transcription:

The Kali Linux Dojo - Rolling Your Own ISOs

Before We Begin Update Your Kali Linux OS MAKE SURE YOU RE CONNECTED Verify you re connected to the wired network and are getting an IP address. Also verify that http.kali.org resolves locally. UPDATE THE CORE TOOLS WE LL BE USING Update your toolsets, specifically git, live-build, and cdeboostrap, as shown on the image on the left.

Kali Linux Dojo - Introduction A Tale of Two Workshops Mati Aharoni, Kali Linux Developer Back to back workshops around the Kali Linux OS Dojo 01 - Rolling Your Own Dojo 02 - Ultimate Kali on USB Big thanks to Black Hat & DEF CON for hosting us! ISO WORKSHOP 01 Rolling Your Own ISOs Customize all aspects of the Kali 2.0 ISO build using Live Build. USB WORKSHOP 02 Ultimate Kali USB Create Kali 2.0 Live USB images with persistence and encrypted storage.

What is Kali Linux? More Than a Collection of Penetration Testing Tools. An Open-Source Penetration Testing Distribution Developed by Offensive Security Kali Linux is more than a collection of security tools Kali LUKS Nuke - Show of hands? Allows for the self destruction of your LUKS encrypted drive This Dojo is a great opportunity to demonstrate advanced features of Kali

More Than A Collection Of Tools You Keep Using That Word

Kali Linux 2.0 Teaser Video

Kali Linux 2.0 - What s New? Now a Rolling Distribution Kernel 4.0, Gnome 3.14 Based on Debian Jessie Now a rolling distribution - big implications Upstream monitoring of tool updates Better workflow, new UI, reworked menus If Kali 1.0 was focused on building a solid infrastructure then Kali 2.0 is focused on overhauling the user experience and maintaining updated packages and tool repositories.

Building Kali Linux ISOs Getting the Right Tool for the Job, Every Time. LIVE BUILD LIVE BUILD 4.0 Live build is a set of wrapper scripts around deboostrap which contain the components to build a live system from a configuration directory. Allows you full customization of generated Kali Linux ISOs. GNOME WIFI E17 WEB MATE KDE SDR XFCE4 LXDE PASSWD THE FREEDOM TO CHOOSE Live build allows you to choose different Desktop Managers as well as customize your toolsets - down to adding custom files, scripts, and hooks to your custom Kali ISO.

Stages Of Live Build Live build divides the ISO creation process into 3 distinct phases: BOOTSTRAP CHROOT BINARY 1 2 3 The initial phase of populating the chroot with packages to make a barebones Kali system. Completes the construction of the chroot directory, populating it with listed packages. Builds a bootable image including installer using the parameters and configurations set.

Live Build Config Directory Layout git clone git://git.kali.org/live-build-config.git kali-config - templates for various Kali build flavours kali-config/common/includes.installer - preseeding kali-config/config/package-lists - list of packages kali-config/config/hooks - bash script hooks kali-config/config/includes.chroot - overlaying files

Building Kali Linux ISOs Which Flavour Do You Like?./build.sh --variant {gnome,kde,xfce,mate,e17,lxde,i3wm,light}./build.sh --arch {i386,amd64,armel*,armhf*}./build.sh --distribution {moto,sana,kali-rolling} *cough*./build.sh --distribution sana./build.sh --distribution sana --variant kde --arch amd64 --verbose

Hold On to Your Horses Let s Make a *Really* Cool Kali 2.0 ISO. Let s get even more granular and make deeper customizations to our build. For the sake of local bandwidth and build time, we ll build light, minimal versions of Kali. Depending on your computer speed and network performance, it could take a good 20 minutes. You are welcome to try this at home!

Try It Yourself http://archive.kali.org/workshop01.txt 1 Self-Installing ISO 3 Custom Wallpaper The ISO will self-install in an unattended way Change the custom wallpaper with one of your in a Virtual environment with a predictable set own by simply overwriting the existing one. A of answers. well-styled Kali / Black Hat wallpaper will do! Start SSHD at Boot Time 2 4 As services are disabled by default in Kali, we need to explicitly allow the SSH service to start at boot time using update-rc.d commands. We can do this with hooks. Add Your Own SSH Public Key As SSH only allows root login with a key (by default) in Kali 2.0, let s add our SSH key to the ISO ahead of time by overlaying the file in ~/.ssh/authorized_keys

Preseeding Unattended Installations Adding Some Foo to Our Boot Menu

Kali Linux ISO Of Doom

QUESTIONS and ANSWERS Go ahead. Ask away. muts@kali.org

THANK YOU FOR JOINING