In order to automate BeEF, we will be using the BeEF Autorun Rule Engine (ARE). With ARE, we can automatically run commands on a browser when it is hooked, provided it meets the requirements we specify. As an example, we would only want to run Google Chrome commands if the browser that is hooked is Google Chrome:
- BeEF comes prepackaged with a number of ARE rules. On Kali, we can view them by navigating to the /usr/share/beef-xss/arerules/ directory and viewing its contents, as shown in the following screenshot:
- Although BeEF comes prepackaged with ARE commands, these commands are continually being updated and added to. To ...