View Issue Details

IDProjectCategoryView StatusLast Update
0005311Kali Linux[All Projects] Kali Package Bugpublic2019-03-14 08:44
ReporterSkyr Assigned Tosbrun  
Status resolvedResolutionfixed 
Product Version2019.1 
Target VersionFixed in Version 
Summary0005311: beef-xss: Unable to execute any commands
DescriptionBug experiences with beef-xss version

beef service starts as expected, it is possible to log into the web console, hooked browsers appear as expected. Executing any command yields no result; beef logs "Module not found". In the network tab of the browser's developer tools, the periodic requests for hook.js end with 500 internal server error.

The good news: I found the cause ;-)
Steps To ReproduceStart beef service: systemctl start beef-xss.service
Log into beef console (localhost:3000)
Open a "victim" browser, use the demo hook link from the beef start page
Open network tab in victim browser - the hook.js is successfully requested every second
In beef: Execute any command (e.g. get browser plugins)
In network tab of victim browsers: The requests to hook.js turn red (status code 500)
Additional InformationSolution: beef searches the commands in subdirectories relative to the working directory of the server. To get beef working properly again, add a "WorkingDirectory" statement to the systemd service description /lib/systemd/system/beef-xss.service which points to the beef installation directory:




2019-03-14 08:44

manager   ~0010417

Thanks for the report and the fix.

New version is now in kali-rolling

Issue History

Date Modified Username Field Change
2019-03-13 14:55 Skyr New Issue
2019-03-14 08:44 sbrun Assigned To => sbrun
2019-03-14 08:44 sbrun Status new => resolved
2019-03-14 08:44 sbrun Resolution open => fixed
2019-03-14 08:44 sbrun Note Added: 0010417