• Stars
    star
    186
  • Rank 207,316 (Top 5 %)
  • Language
    C#
  • License
    GNU Affero Genera...
  • Created about 8 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A rogue-USB-device defeat program for Windows.

Beamgun Infographic

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:

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:

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

2172 downloads (as of 3/3/2018)

Press

Contribute

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

More Repositories

1

gargoyle

A memory scanning evasion technique
C++
691
star
2

ccc

Companion Code for C++ Crash Course
C++
304
star
3

memcachedump

Use your Shodan API Key to dump all the contents of exposed memcached servers.
Python
144
star
4

cpp-implant

A simple implant showcasing modern C++
C++
86
star
5

unfurl

An Entropy-Based Link Vulnerability Tool
Python
54
star
6

abrade

A fast Web API scraper written in C++ and built on Boost ASIO
C++
44
star
7

matterbot

A native Mattermost/Slack bot framework
C++
40
star
8

doh

A Privacy-Conscious, DNS-over-HTTP-Enabled, Blacklist-Incorporating SOCKS5 Proxy
C
26
star
9

rivestment

A game of MD5 Collisions
JavaScript
7
star
10

x86CallingConventions

Common x86 Calling Conventions - Code for blog
C++
6
star
11

cmf-cce-talk

C++
6
star
12

ReverseEngineering

https://jlospinoso.github.io/developing/software/software%20engineering/reverse%20engineering/assembly/2015/03/06/reversing-with-ida.html
C
6
star
13

lut

.NET utilities for common statistical manipulations of generics and more
C#
3
star
14

docker-libpoco

Dockerfile for building a base image containing Poco Project libraries. http://pocoproject.org
3
star
15

jlospinoso.github.io

Personal blog of Josh Lospinoso
JavaScript
3
star
16

covid-airlines

Datasets for blog post about mashing CDC and air travel data to show correlations between infections at the state level.
Python
3
star
17

twitter-subliminal

Encode subliminal messages using only Twitter's Streaming API and retweets.
C++
2
star
18

facewash

A user script for deleting/unliking/hiding posts from Facebook.
JavaScript
2
star
19

LambdasCpp11

Code to get you started using Lambdas in C++11
C++
2
star
20

underhandedc-2015

My submission to the Underhanded C Contest of 2015
C
2
star
21

dailyc

A simple, batch multimedia messaging and email service
Java
2
star
22

bsides2018

Slides for BSidesNOVA 2018 presentation
2
star
23

uvi-sunburn

Supplementary data and scripts for "The Impact of Ultraviolet Radiation on Sunburn-related Search Activity," pending publication in Dermatology Online Journal
Python
2
star
24

snuckme

https://jlospinoso.github.io/node/javascript/security/cryptography/privacy/2017/02/20/snuckme-cert-query.html
HTML
2
star
25

cppbuild

Boost, Cmake, and Openssl in a container
Dockerfile
1
star
26

cppbuildx86

Dockerfile
1
star
27

arduino

My explorational arduino projects
C++
1
star