BeEF
- Capabilities
- Initial access
- Delivery
- PhishingWatering holeLanding page
- Platforms
- WindowsAndroidiOSmacOSLinux
BeEF (Browser Exploitation Framework) is an open-source browser-exploitation and penetration-testing framework that is also abused in malicious campaigns. It uses JavaScript loaded by web pages to expose visiting browsers to attacker-controlled functionality and support browser-based exploitation. It is an offensive security tool rather than a distinct malware family.
Threat actors have deployed BeEF through injected scripts on compromised websites, copied news pages, and phishing pages, including fraudulent application-download pages. Its malicious use includes watering-hole operations and infrastructure supporting malware delivery. Earth Empusa, also known as Evil Eye and POISON CARP, deployed BeEF on Uyghur-themed pages and an Android application-download phishing page alongside ScanBox. LuckyMouse, also known as APT27 and Emissary Panda, used malicious websites hosting BeEF and ScanBox in a campaign that redirected visitors from compromised Central Asian government websites and attempted to deliver the HyperBro remote access trojan. These deployments demonstrate its use in targeted espionage without making it exclusive to any particular actor, industry, or operating system.
Associated threat actors
4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
All pages were injected with a script to load the cross-site scripting framework BeEF. We suspect the attacker used the framework to deliver their malicious script when they found a targeted victim browsing the said sites.
"...redirected users to malicious sites hosting exploitation tools such as ScanBox and BEeF (Browser Exploitation Framework)."
"...redirected users to malicious sites hosting exploitation tools such as ScanBox and BEeF (Browser Exploitation Framework)."
Techniques & procedures
8 distinct techniques documented for this family, organized by ATT&CK tactic.
Reconnaissance
1 technique
Reconnaissance
WebRTC + STUN
Initial Access
3 techniques
Initial Access
JavaScript - Individual Risks ... Drive-by-exploitation still a topic in 2015 ... Great Cannon: Easier than Man-on-the-side
XSS can also be user together with tools such as the browser exploitation framework (BeEF) to trick users into downloading malicious executables and compromise their clients.
Earth Empusa also used social engineering lures to trick its targets into visiting the phishing pages.
Execution
3 techniques
Execution
The forum thread describes a cross-site scripting (XSS) vulnerability with the Common Vulnerability and Exposures (CVE) ID of CVE-2020-7750. | The popup proves that we're capable of running arbitrary JavaScript within the application... you can replace the proof-of-concept code with any JavaScript you like.
Suppose there’s a stored XSS in the comments section... When an admin user later views the comments moderation page, the XSS triggers in their browser.
Annotations ID Technique Tactic T1204.003 Malicious Image Execution Default Configuration
Command and Control
1 technique
Command and Control
Recorded Future tracks the creation and modification of new malicious infrastructure for a multitude of post-exploitation toolkits, custom malware, and open-source remote access trojans (RATs). We observed over 17,000 unique command-and-control (C2) servers during 2022...
Observables
4 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
13 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.