DebianをParrotOSに変換してみる

Debian から ParrotOS に変換する Debian Conversion Script を試してみました．

Parrot Security

ParrotOS のダウンロードページでいろいろな選択肢があるなと見ていると，

Choose the right edition for you
Follow the steps below to determine the edition of ParrotOS that best suits your needs and preferences.

Debian Conversion Script というのを見かけて試してみました．

Debian Conversion Script

Quick script to convert an existing Debian installation to Parrot (all editions).

まず Debian stable 12.7.0 を netinst iso(debian-12.7.0-amd64-netinst.iso)から導入して起動しました．

そしてこちらのリポジトリの script を利用します．

parrotsec / project / Debian Conversion Script · GitLab

初期状態では入っていない git を導入して clone，インストールスクリプトに実行権を付けて実行します．

$ sudo apt install git
$ git clone https://gitlab.com/parrotsec/project/debian-conversion-script.git
$ cd debian-conversion-script
$ sudo chmod +x ./install.sh
$ script
$ sudo ./install.sh

以下のような選択肢が出てくるので好みの Edition を選択します．今回はまず 2 のデスクトップの日常用途を選びました．

========== ParrotOS Editions Installer ==========
1) Install Core Edition: Minimal installation for server use.
2) Install Home Edition: Full desktop environment for daily use.
3) Install Security Edition: Tools for security testing and auditing.
4) Install Hack The Box Edition: Customized environment for Hack The Box labs.
5) Install Headless Edition: Minimal installation without GUI for servers.
6) Exit
=================================================
Enter the option number: 2

しばらく待つと導入されるので再起動して ParrotOS になっているのを確認します．
Xfce でしたが，MATE になり壁紙なども Parrot に．Home Edition だとアプリケーションなどはあまり変わらなそうです．パッケージリストは ./config/packages/ 以下に Edition ごとに置いてあります．

という感じで簡単に ParrotOS になりました．再度インストール script を実行して他の Edition を選択し直すこともできました．

Debian でも forensics-* あたりの metapackage を入れれば良いのではと思ったりしますがしばらく ParrotOS も試してみようと思います．

$ apt-cache search ^forensic
foremost - forensic program to recover lost files
forensic-artifacts - knowledge base of forensic artifacts (data files)
forensics-all - Debian Forensics Environment - essential components (metapackage)
forensics-all-gui - Debian Forensics Environment - GUI components (metapackage)
forensics-colorize - show differences between files using color graphics
forensics-extra - Forensics Environment - extra console components (metapackage)
forensics-extra-gui - Forensics Environment - extra GUI components (metapackage)
forensics-full - Full forensics station (metapackage)
forensics-samples-all - Set of files to help learn/test forensics tools and techniques (metapackage)
forensics-samples-btrfs - Set of files to help learn/test forensics tools and techniques (btrfs)
forensics-samples-exfat - Set of files to help learn/test forensics tools and techniques (exFAT)
forensics-samples-ext2 - Set of files to help learn/test forensics tools and techniques (ext2)
forensics-samples-ext4 - Set of files to help learn/test forensics tools and techniques (ext4)
forensics-samples-files - Set of files to help learn/test forensics tools and techniques (files)
forensics-samples-multiple - Set of files to help learn/test forensics tools and techniques (multiple FS)
forensics-samples-ntfs - Set of files to help learn/test forensics tools and techniques (ntfs)
forensics-samples-tools - Set of files to help learn/test forensics tools and techniques (tools)
forensics-samples-vfat - Set of files to help learn/test forensics tools and techniques (vfat)
guymager - Forensic imaging tool based on Qt
unhide - forensic tool to find hidden processes and ports
unhide.rb - Forensics tool to find processes hidden by rootkits
vinetto - forensics tool to examine Thumbs.db files