From d27f6a45191c2a2f1223824d373b791a644f1217 Mon Sep 17 00:00:00 2001
From: Anthony Rose <20302208+Cx01N@users.noreply.github.com>
Date: Mon, 9 Sep 2024 23:34:20 -0400
Subject: [PATCH 1/5] Added AC3 sponsor logo (#746)
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 9e8b85212..ca698e5e7 100644
--- a/README.md
+++ b/README.md
@@ -53,10 +53,10 @@ Empire is a post-exploitation and adversary emulation framework that is used to
[
](https://www.route4me.com//)
+
+
+[
](https://www.instagram.com/purpl3_cult/)
-
## Release Notes
From 2cc827c044078428b1c5efe066b700bf93e5a08c Mon Sep 17 00:00:00 2001
From: Arnaud Rebillout
Date: Thu, 19 Sep 2024 13:05:33 +0700
Subject: [PATCH 2/5] Fix various Python 3.12 SyntaxWarning (#748)
---
CHANGELOG.md | 2 ++
empire/server/data/agent/ironpython_agent.py | 2 +-
.../module_source/python/privesc/linuxprivchecker.py | 10 +++++-----
3 files changed, 8 insertions(+), 6 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c663361fc..d0b09d8f6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+- Fixed various Python 3.12 SyntaxWarning
+
## [5.11.4] - 2024-09-04
### Added
diff --git a/empire/server/data/agent/ironpython_agent.py b/empire/server/data/agent/ironpython_agent.py
index 13fdcb04c..15636ea82 100644
--- a/empire/server/data/agent/ironpython_agent.py
+++ b/empire/server/data/agent/ironpython_agent.py
@@ -1393,7 +1393,7 @@ def run_command(self, command, cmdargs=None):
if (-not $($o.User)) {
$o = 'N/A'
} else {
- $o = "$($o.Domain)\$($o.User)"
+ $o = "$($o.Domain)\\$($o.User)"
}
} catch {
$o = 'N/A'
diff --git a/empire/server/data/module_source/python/privesc/linuxprivchecker.py b/empire/server/data/module_source/python/privesc/linuxprivchecker.py
index 3b2721966..cf4b8648b 100644
--- a/empire/server/data/module_source/python/privesc/linuxprivchecker.py
+++ b/empire/server/data/module_source/python/privesc/linuxprivchecker.py
@@ -333,22 +333,22 @@ def search_file_perms():
fdperms = {
"WWDIRSROOT": {
- "cmd": "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' 2>/dev/null | grep root",
+ "cmd": r"find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' 2>/dev/null | grep root",
"msg": "World Writeable Directories for User/Group 'Root'",
"results": [],
},
"WWDIRS": {
- "cmd": "find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' 2>/dev/null | grep -v root",
+ "cmd": r"find / \( -wholename '/home/homedir*' -prune \) -o \( -type d -perm -0002 \) -exec ls -ld '{}' ';' 2>/dev/null | grep -v root",
"msg": "World Writeable Directories for Users other than Root",
"results": [],
},
"WWFILES": {
- "cmd": "find / \( -wholename '/home/homedir/*' -prune -o -wholename '/proc/*' -prune \) -o \( -type f -perm -0002 \) -exec ls -l '{}' ';' 2>/dev/null",
+ "cmd": r"find / \( -wholename '/home/homedir/*' -prune -o -wholename '/proc/*' -prune \) -o \( -type f -perm -0002 \) -exec ls -l '{}' ';' 2>/dev/null",
"msg": "World Writable Files",
"results": [],
},
"SUID": {
- "cmd": "find / \( -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; 2>/dev/null",
+ "cmd": r"find / \( -perm -2000 -o -perm -4000 \) -exec ls -ld {} \; 2>/dev/null",
"msg": "SUID/SGID Files and Directories",
"results": [],
},
@@ -1171,7 +1171,7 @@ def write(self, message):
bigline = "======================================================================================="
print(bigline)
print(
- """
+ r"""
__ _ ____ _ ________ __
/ / (_)___ __ ___ __/ __ \_____(_) __/ ____/ /_ ___ _____/ /_____ _____
/ / / / __ \/ / / / |/_/ /_/ / ___/ / | / / / / __ \/ _ \/ ___/ //_/ _ \/ ___/
From a4a84ef5f8f1b8efebf4f26004a639b1980d3acf Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 22 Sep 2024 18:37:51 +0000
Subject: [PATCH 3/5] Prepare release 5.11.5 private
---
CHANGELOG.md | 6 +++++-
empire/server/common/empire.py | 2 +-
pyproject.toml | 2 +-
3 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d0b09d8f6..379331f3e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -14,6 +14,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
+## [5.11.5] - 2024-09-22
+
- Fixed various Python 3.12 SyntaxWarning
## [5.11.4] - 2024-09-04
@@ -918,7 +920,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Updated shellcoderdi to newest version (@Cx01N)
- Added a Nim launcher (@Hubbl3)
-[Unreleased]: https://github.com/BC-SECURITY/Empire-Sponsors/compare/v5.11.4...HEAD
+[Unreleased]: https://github.com/BC-SECURITY/Empire-Sponsors/compare/v5.11.5...HEAD
+
+[5.11.5]: https://github.com/BC-SECURITY/Empire-Sponsors/compare/v5.11.4...v5.11.5
[5.11.4]: https://github.com/BC-SECURITY/Empire-Sponsors/compare/v5.11.3...v5.11.4
diff --git a/empire/server/common/empire.py b/empire/server/common/empire.py
index 09fddaf9c..749e06c0a 100755
--- a/empire/server/common/empire.py
+++ b/empire/server/common/empire.py
@@ -38,7 +38,7 @@
from . import agents, credentials, listeners, stagers
-VERSION = "5.11.4 BC Security Fork"
+VERSION = "5.11.5 BC Security Fork"
log = logging.getLogger(__name__)
diff --git a/pyproject.toml b/pyproject.toml
index c6a969a6e..2a2c71cda 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -1,6 +1,6 @@
[tool.poetry]
name = "empire-bc-security-fork"
-version = "5.11.4"
+version = "5.11.5"
description = ""
authors = ["BC Security "]
readme = "README.md"
From 2daeb232c4b6fcd91dc153c57f94315ce210b296 Mon Sep 17 00:00:00 2001
From: GitHub Actions
Date: Sun, 22 Sep 2024 19:14:10 +0000
Subject: [PATCH 4/5] Update starkiller version to v2.8.2
---
CHANGELOG.md | 1 +
empire/server/config.yaml | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 379331f3e..30172d10b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [5.11.5] - 2024-09-22
+- Updated Starkiller to v2.8.2
- Fixed various Python 3.12 SyntaxWarning
diff --git a/empire/server/config.yaml b/empire/server/config.yaml
index 1825b9db0..2ce05e548 100644
--- a/empire/server/config.yaml
+++ b/empire/server/config.yaml
@@ -44,10 +44,10 @@ database:
ip-blacklist: ""
starkiller:
enabled: true
- repo: git@github.com:BC-SECURITY/Starkiller-Sponsors.git
+ repo: https://github.com/BC-SECURITY/Starkiller.git
directory: empire/server/api/v2/starkiller
# Can be a branch, tag, or commit hash
- ref: sponsors-main
+ ref: v2.8.2
auto_update: true
submodules:
auto_update: true
From 9617a16157dea59ce7aec4a1715cce686d3455b5 Mon Sep 17 00:00:00 2001
From: Vincent Rose
Date: Sun, 22 Sep 2024 12:14:44 -0700
Subject: [PATCH 5/5] Update CHANGELOG.md
---
CHANGELOG.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 30172d10b..d106dd561 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -15,8 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [5.11.5] - 2024-09-22
-- Updated Starkiller to v2.8.2
+- Updated Starkiller to v2.8.2
- Fixed various Python 3.12 SyntaxWarning
## [5.11.4] - 2024-09-04