1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Powershell Empireのインストール方法

Last updated at Posted at 2021-12-28

はじめに

Powershell Empireは仕様の大きな変更があり、googleで調べた操作方法と違うことがあります。そこで、今回はPowershell Empire(2021年12月現在)のインストール方法と簡単な操作方法を紹介します。

インストール方法

インストール方法によって、若干操作が変わるので、注意が必要です。

今のヴァージョンでは、毎回サーバーを立てる必要があります。

尚、環境はVirtulBox上のkali linux(ver. 2021/4)を使っています。

git cloneでインストール

GitHubは以下の通りです。

cd /opt
sudo git clone https://github.com/BC-SECURITY/Empire.git
cd /opt/Empire/setup/install.sh

もし、インストール時にエラーが出た場合は、以下のurlを参考にすると解決するかもしれません。

terminalのtabを二つ作り、Powershell Empireを起動します。

server側

/opt/Empire/ps-empire server

以下の画面が出てくれば、成功です。

server.png

client側

/opt/Empire/ps-empire client

以下の画面が出てくれば、成功です。

client.png

packageでインストール

packageでインストールでインストールした方が簡単です。

sudo apt install powershell-empire

terminalのtabを二つ作り、Powershell Empireを起動します。

server側

sudo powershell-empire server

以下の画面が出てくれば、成功です。

server.png

client側

sudo powershell-empire client

以下の画面が出てくれば、成功です。

client.png

簡単な操作方法

listeners一覧を見る

リバースシェルでアクセスするsudo powershell-empire serverコマンドで立てたサーバの一覧です。

初めてのログイン時は何も出現しません。

Screen Shot 2021-12-28 at 10.45.07.png

listeners詳細を見る。

色々とセッティングした後の画面です。
portを設定しないとエラーが出ます。
192.168.56.30はkalilinuxのipアドレスです。

Screen Shot 2021-12-28 at 10.50.35.png

設定する時は、以下のコマンドを実行してください。

set Port 80

設定を反映させるには、以下のコマンド打ってください。

execute
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?