Skip to content

Commit

Permalink
Merge pull request #119 from BC-SECURITY/dev
Browse files Browse the repository at this point in the history
3.1.1
  • Loading branch information
Cx01N authored Mar 9, 2020
2 parents ea8e73e + c734d1e commit eac54b9
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Empire is developed by [@harmj0y](https://twitter.com/harmj0y), [@sixdub](https:
## Release Notes
In Empire 3.1, we will no longer be actively supporting the Python 2.7 base code. If you wish to continue to leverage Python 2.7 then please use the [3.0.x Releases](https://github.com/BC-SECURITY/Empire/releases), since they were built to ensure backward compatibility.

One of the most significant updates in 3.1 is the addition of Multi-User Collaboration to the API. This update adds the ability of users to interact with Empire in an entirely new way. Previously, API users would share a single login and be unable to track individual taskings. This has been completely reworked to allow User Management through the API. This feature is essential for the upcoming release of [Starkiller](https://twitter.com/BCSecurity1/status/1231992100394160130).
One of the most significant updates in 3.1 is the addition of Multi-User Collaboration to the API. This update adds the ability of users to interact with Empire in an entirely new way. Previously, API users would share a single login and be unable to track individual taskings. This has been completely reworked to allow User Management through the API. This feature is essential for integration with [Starkiller](https://github.com/BC-SECURITY/Starkiller).

Next, we have added Function Name Aliasing, which automates the ability to randomize function names inside of Empire. This proof of concept is a huge step forward in evasion since it tests the ability to mask individual functions inside of Empire. Function name aliasing is currently only built for Invoke-Empire and Invoke-Mimikatz currently, but we will be expanding this functionality in the future.

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.0
3.1.1
5 changes: 5 additions & 0 deletions changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
3/8/2020
- Version 3.1.1 Master Release
- Updated the /me endpoint that was added in 3.1.0 to return the full user object (@Vinnybod)
- Updated install script for Kali Powershell install - #118 (@Vinnybod)

3/2/2020
------------
- Version 3.1.0 Master Release
Expand Down
2 changes: 1 addition & 1 deletion empire
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ def start_restful_api(empireMenu, suppress=False, username=None, password=None,
"""
Returns the current user.
"""
return jsonify(str({g.user['id']}))
return jsonify(g.user)

@app.route('/api/users', methods=['POST'])
def create_user():
Expand Down
2 changes: 1 addition & 1 deletion lib/common/empire.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
from builtins import str
from builtins import range

VERSION = "3.1.0 BC-Security Fork"
VERSION = "3.1.1 BC-Security Fork"

from pydispatch import dispatcher

Expand Down
20 changes: 4 additions & 16 deletions setup/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,7 @@ function install_powershell() {
sudo apt-get install -y powershell
#Kali Linux
elif lsb_release -d | grep -q "Kali"; then
# Download & Install prerequisites
wget http://ftp.us.debian.org/debian/pool/main/i/icu/libicu57_57.1-6+deb9u2_amd64.deb
dpkg -i libicu57_57.1-6+deb9u2_amd64.deb
apt-get update && apt-get install -y curl gnupg apt-transport-https

# Add Microsoft public repository key to APT
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -

# Add Microsoft package repository to the source list
echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-stretch-prod stretch main" | tee /etc/apt/sources.list.d/powershell.list

# Install PowerShell package
apt-get update && apt-get install -y powershell
apt update && apt -y install powershell
fi
if ls /opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY; then
rm /opt/microsoft/powershell/*/DELETE_ME_TO_DISABLE_CONSOLEHOST_TELEMETRY
Expand Down Expand Up @@ -132,7 +120,7 @@ Pip_file="requirements.txt"

if lsb_release -d | grep -q "Kali"; then
apt-get update
sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk zlib1g-dev libssl1.1 build-essential libssl-dev libxml2-dev zlib1g-dev
sudo apt-get install -y make autoconf g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk zlib1g-dev libssl1.1 build-essential libssl-dev libxml2-dev zlib1g-dev
elif lsb_release -d | grep -q "Ubuntu"; then
if is_libssl_1_0; then
LibSSL_pkgs="libssl1.0.0 libssl-dev"
Expand All @@ -141,7 +129,7 @@ elif lsb_release -d | grep -q "Ubuntu"; then
LibSSL_pkgs="libssl1.1 libssl-dev"
fi
sudo apt-get update
sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk $LibSSL_pkgs build-essential
sudo apt-get install -y make autoconf g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk $LibSSL_pkgs build-essential
else
echo "Unknown distro - Debian/Ubuntu Fallback"
if is_libssl_1_0; then
Expand All @@ -151,7 +139,7 @@ else
LibSSL_pkgs="libssl1.1 libssl-dev"
fi
sudo apt-get update
sudo apt-get install -y make g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libffi-dev $LibSSL_pkgs build-essential
sudo apt-get install -y make autoconf g++ python-dev python-m2crypto swig python-pip libxml2-dev default-jdk libffi-dev $LibSSL_pkgs build-essential
fi

install_xar
Expand Down

0 comments on commit eac54b9

Please sign in to comment.