百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
B

beamgun

> 安全
开源

用于检测和击败恶意 USB 设备的 Windows 工具。

188 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

用于检测和击败恶意 USB 设备的 Windows 工具。

Installing Beamgun

Beamgun v0.2.4 is available as an MSI installer and as a portable .exe. We recommend you use the MSI installer so that Beamgun restarts on reboot.

Whitelisting devices

create a whitelist.cfg file in the apps root directory and include a DeviceID per line, this is the last value written out by beamgun when it reports a lock. example: USB\VID_XXXX&PID_XXXX&MI_XX\XXXXXXXXXXXXXXXXXXXXXXXX HID\VID_XXXX&PID_XXXXX&MI_XX&COLXX\XXXXXXXXXXXXXXXXX

Building from source

Simply clone the repository:

bash
git clone [email protected]:JLospinoso/beamgun.git

Open Beamgun.sln and build. The installer can be found in the bin directory of the BeamgunInstaller project.

Read more

Check out these two blog posts for more information:

  • Original

  • Update

Beamgun's homepage is jlospinoso.github.io/beamgun/.

Notes

Beamgun will run with low-user and elevated privileges (i.e. as administrator), but it will ask for the highest privileges that the logged in user has. When running without administrator privileges, you will be unable to (a) disable network adapters, and (b) disable USB mass storage. This is a feature of Windows security, not a design choice! Thanks to @AlexIljin for pointing this out.

If a network adapter has already been installed on your computer, Beamgun will not alert on its insertion. This has to do with the way Beamgun registers with Windows Management Instrumentation for alerts; it only subscribes to notifications of new Win32_NetworkAdapters. When an already-installed network adapter is inserted, it generates a Win32_PnPEntity instance (which Beamgun doesn't currently subscribe to). The upshot of this is, when testing Beamgun, you'll need to uninstall the network adapter you are testing in between tests. From a user perspective, this should be expected behavior; if I've already permitted a particular network adapter once, it's probably not a rogue adapter!

Version history

  • BeamgunInstaller-0.2.4.msi | BeamgunApp-0.2.4.zip: Fixing bug with portable .exe not starting under certain circumstances when registry root key doesn't exist.

  • BeamgunInstaller-0.2.3.msi | BeamgunApp-0.2.3.zip: Removing steal focus option. Fixed bugs when disabling. Async-ified version checking.

  • BeamgunInstaller-0.2.2.msi | BeamgunApp-0.2.2.zip: Fixes to registry access; graceful handling of cast exceptions.

  • BeamgunInstaller-0.2.1.msi | BeamgunApp-0.2.1.zip: Improvement to network adapter alerting; fixes issue where Windows re-enables some adapters if they are immediately disabled after insertion.

  • BeamgunInstaller-0.2.0.msi | BeamgunApp-0.2.0.zip: Major overhaul to alerting mechanism, reimplemented using WMI. Added USB storage disable. Added detection for LAN Turtles. Replaced autorun with Windows Task for elevation.

  • BeamgunInstaller-0.1.1.msi | BeamgunApp-0.1.1.zip: Fixes to focus stealing, cleaned up WIX installer

  • BeamgunInstaller-0.1.0.msi | BeamgunApp-0.1.0.zip: First version

2172 downloads (as of 3/3/2018)

Press

  • Security Now! Episode 589: Q&A 244 Show notes here.
  • ISC StormCast for Friday, December 2nd 2016
  • Information Security News, Northwestern University
  • Sans Newsbites, Volume XVIII, Issue #95

Contribute

Please report any bugs you find (both feature- and security-related!) right here on Github.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C#beamguncsharpdefensive-toolingdotnet

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.