View Issue Details

IDProjectCategoryView StatusLast Update
0007006Kali Linux[All Projects] Kali Package Bugpublic2021-01-22 15:46
ReporterOS-74160 Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version2020.4 
Target VersionFixed in Version 
Summary0007006: powershell-empire versions 3.6.2 and 3.6.3 require sudo on Kali
DescriptionGood day. I raised this issue on gitlab about a month ago after raising it with the upstream BC-Security powershell-empire project, who said it was a Kali package maintainer decision. I received no response on gitlab so I'm raising it here in case this is the right place.

Since upgrading from 3.6.0-0 to 3.6.2-0, powershell-empire requires sudo. This is a less secure setup than previous. I would prefer to run as an unprivileged user when not using a privileged port, as was possible before. This change/decision is actually a security downgrade. It should be possible to run powershell-empire without sudo, and it shouldn't have to be enforced by not allowing the unprivileged user to do so.

Thank you.
Steps To Reproduceapt upgrade from powershell-empire 3.6.0-0kali1 to 3.6.2-0kali1
run powershell-empire as unprivileged user, as worked before
observe the new message and program exit: Please run powershell-empire with sudo: 'sudo powershell-empire'
Additional InformationReferences:

https://github.com/BC-SECURITY/Empire/issues/416
https://gitlab.com/kalilinux/packages/powershell-empire/-/issues/5

Activities

sbrun

2021-01-22 15:46

manager   ~0014137

Thanks for the report. I should have answered the Gitlab issue before.

We (Kali team) first packaged powershell-empire to use it with or without sudo. But there were issues with this packaging that can't be fixed easily if we run without sudo.
That's why now sudo is required.
I need to work with upstream to find a solution to run without sudo if they think it's important.

Issue History

Date Modified Username Field Change
2021-01-22 15:26 OS-74160 New Issue
2021-01-22 15:46 sbrun Note Added: 0014137
2021-01-22 15:46 sbrun Assigned To => sbrun
2021-01-22 15:46 sbrun Status new => assigned