Coder Social home page Coder Social logo

nzymedefense / nzyme Goto Github PK

View Code? Open in Web Editor NEW
1.3K 54.0 147.0 63.75 MB

Network Defense System.

Home Page: https://www.nzyme.org/

License: Other

Java 50.90% Shell 0.01% Python 0.16% C++ 0.09% FreeMarker 10.92% JavaScript 28.38% CSS 0.97% HTML 0.19% Rust 8.37%
wifi security detection ethernet ids ndr network response visibility wireless

nzyme's People

Contributors

airbone42 avatar dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar lennartkoopmann avatar lts-rad avatar marnick39 avatar paralax avatar snyk-bot avatar uskr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nzyme's Issues

ALFA AWUS036ACH

Not really a bug or anything but the documentation uses the ALFA AWUS036ACH as one of its examples. I bought that one off of amazon and it doesn't seem to support monitor mode anymore (or I'm doing something horribly wrong, always possible). Just wanted to bring that up. Great project.

Read in PCAP files

It would be very useful to input PCAP files from other sources or previous sessions to perform analysis with this tool.

Detect WEP networks

Detect WEP networks by looking at beacon and probe-resp frames. Those frames should include that information. (Open System / Shared Key capabilities?)

Request for clarifications in README

For those not familiar with Graylog, it would be helpful to have a brief description about creating a GELF input when discussing the graylog_addresses configuration option. While not for the current version, this page helped me understand what I needed to do http://docs.graylog.org/en/2.1/pages/getting_started/config_input.html

The README does not show to run java with sudo. If I try to start it as documented on Ubuntu, nzyme fails to start when setting up the PCAP handle. Do you recommend setting capabilities on the java executable so that sudo is not required?

When running on Ubuntu, I had to disable NetworkManager, or create an entry for my wireless network interface in /etc/network/interfaces which prevents NetworkManager from managing the device. Otherwise NetworkManager would interfere with the device and prevent any frames from being captured. Also, I had to make sure that the interface was up or the capture wouldn't start.

This is an amazing 0.1 release and your Derbycon presentation was fantastic. Thank you for yet another contribution to the Open Source world.

Error running jar

Hello,

I would like to extend nzyme to capture more package information. Therefore I built a jar-file with mvn package and executed it (without modifying any code). Unfortunately, when executing the jar, I cannot connect to my graylog instance (error message below).

Running the deb package works fine though.
You know what's wrong?


10:51:06.888 [gelfTcpTransport-1-1] INFO  org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
10:51:07.948 [gelfTcpTransport-1-1] ERROR org.graylog2.gelfclient.transport.GelfTcpTransport - Exception caught
java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_171]
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_171]
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_171]
	at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_171]
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_171]
	at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447) ~[nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) ~[nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242) ~[nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [nzyme-0.2-SNAPSHOT.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]
10:51:07.960 [gelfTcpTransport-1-1] ERROR org.graylog2.gelfclient.encoder.GelfMessageJsonEncoder - JSON encoding error
java.io.IOException: Connection reset by peer
	at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_171]
	at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_171]
	at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_171]
	at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_171]
	at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_171]
	at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447) ~[nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) ~[nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242) ~[nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111) [nzyme-0.2-SNAPSHOT.jar:?]
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [nzyme-0.2-SNAPSHOT.jar:?]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_171]

Support all relevant management frame types

  • Authentication
  • Disassociation
  • De-authentication
  • Association request
  • Association response
  • Probe request
  • Probe response
  • Beacon

Parked for more noisy environment:

  • Re-association request
  • Re-association response

GelfTcpTransport - Channel disconnected!

I'm running Nzyme on Ubuntu I'm using Atheros ar9271 as my WiFi adapter. I configured my wifi interface "channel_hop_command = sudo /sbin/iwconfig wlan0mon channel 14" Wlan0mon is my WiFi interface.
Nzyme is active and running but the channel is disconnecting. Please HELP

$ sudo systemctl status nzyme
● nzyme.service - Nzyme
Loaded: loaded (/usr/lib/systemd/system/nzyme.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2018-11-18 22:22:32 IST; 3s ago
Docs: https://github.com/lennartkoopmann/nzyme
Main PID: 8279 (nzyme)
Tasks: 19 (limit: 4915)
CGroup: /system.slice/nzyme.service
├─8279 /bin/sh /usr/share/nzyme/bin/nzyme
└─8280 /usr/bin/java -jar -Dlog4j.configurationFile=file:///etc/nzyme/log4j2-debian.xml /usr/share/nzyme/nzyme.jar -c /etc/nzyme/nzyme.conf

Nov 18 22:22:32 richard-Inspiron-560s systemd[1]: Started Nzyme.

tail -f /var/log/nzyme/nzyme.log
22:22:35.211 [periodicals-0] INFO horse.wtf.nzyme.periodicals.versioncheck.VersioncheckThread - Starting to check for most recent Nzyme version.
22:22:35.890 [main] INFO horse.wtf.nzyme.Nzyme - Building PCAP handle on interface [wlan0mon]
22:22:35.943 [main] INFO horse.wtf.nzyme.Nzyme - PCAP handle for [wlan0mon] acquired. Cycling through channels <1,2,3,4,5,6,7,8,9,10,11,12,13,14>.
22:22:35.949 [nzyme-loop-0] INFO horse.wtf.nzyme.Nzyme - Commencing 802.11 frame processing on [wlan0mon] ... (⌐■_■)–︻╦╤─ – – pew pew
22:22:37.392 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:37.670 [periodicals-0] INFO horse.wtf.nzyme.periodicals.Periodical - Periodical [Versionchecks] finished in <2458 ms>.
22:22:38.844 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:40.194 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:41.649 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:43.105 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:44.563 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:46.017 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:47.474 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:48.832 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:50.287 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:51.746 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:53.204 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:54.451 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:55.909 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:57.367 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:22:58.822 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:00.277 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:01.733 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:03.189 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:04.650 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:06.105 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:07.569 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:08.913 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:10.373 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:11.830 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:13.285 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:14.741 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:16.197 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:17.653 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:18.901 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:20.357 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:21.817 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:23.273 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:24.625 [gelfTcpTransport-1-1] ERROR org.graylog2.gelfclient.transport.GelfTcpTransport - Exception caught
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_181]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_181]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_181]
at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_181]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_181]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447) ~[nzyme-0.2.1.jar:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) ~[nzyme-0.2.1.jar:?]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242) ~[nzyme-0.2.1.jar:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [nzyme-0.2.1.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111) [nzyme-0.2.1.jar:?]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [nzyme-0.2.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
22:23:24.634 [gelfTcpTransport-1-1] ERROR org.graylog2.gelfclient.encoder.GelfMessageJsonEncoder - JSON encoding error
java.io.IOException: Connection reset by peer
at sun.nio.ch.FileDispatcherImpl.read0(Native Method) ~[?:1.8.0_181]
at sun.nio.ch.SocketDispatcher.read(SocketDispatcher.java:39) ~[?:1.8.0_181]
at sun.nio.ch.IOUtil.readIntoNativeBuffer(IOUtil.java:223) ~[?:1.8.0_181]
at sun.nio.ch.IOUtil.read(IOUtil.java:192) ~[?:1.8.0_181]
at sun.nio.ch.SocketChannelImpl.read(SocketChannelImpl.java:380) ~[?:1.8.0_181]
at io.netty.buffer.UnpooledUnsafeDirectByteBuf.setBytes(UnpooledUnsafeDirectByteBuf.java:447) ~[nzyme-0.2.1.jar:?]
at io.netty.buffer.AbstractByteBuf.writeBytes(AbstractByteBuf.java:881) ~[nzyme-0.2.1.jar:?]
at io.netty.channel.socket.nio.NioSocketChannel.doReadBytes(NioSocketChannel.java:242) ~[nzyme-0.2.1.jar:?]
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:119) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:468) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:382) [nzyme-0.2.1.jar:?]
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) [nzyme-0.2.1.jar:?]
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:111) [nzyme-0.2.1.jar:?]
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) [nzyme-0.2.1.jar:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181]
22:23:24.635 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:26.081 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:27.537 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:28.893 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:30.348 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:31.804 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:33.261 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!
22:23:34.160 [statistics-0] INFO horse.wtf.nzyme.Main -
+++++ Statistics: +++++
Total frames considered: 773 (0 malformed), beacon: 757, probe-resp: 3, probe-req: 13
Frames per channel: 1: 773
Malformed Frames per channel:
Probing devices: 1 (last 60s)
Access points: 1 (last 60s)
Beaconing networks: 1 (last 60s)
22:23:34.716 [gelfTcpTransport-1-1] INFO org.graylog2.gelfclient.transport.GelfTcpTransport - Channel disconnected!

Add "Testing on Ubuntu" to README

sudo vim /etc/NetworkManager/NetworkManager.conf
[keyfile]
unmanaged-devices=mac:00:c0:ca:95:68:56
sudo /etc/init.d/network-manager restart

Graylog webserver error

so i setted up everything as you had described using a alfa AWUS036H wifi adapter my gray log is receiving messages from the gelf tcp input but when i veiw the messages it gives me this error : Loading field information failed with status: cannot get http://127.0.0.1:9000/api/system/fields (500) kindly help i am new to using graylog looked for solutions and i haven't find one could you kindly guide me on how you really configured your graylog webserver plus the lookup tables should i follow every single step from the documentation?

ALFA AWUS036ACH throws error when Nzyme starts.

When trying to use the ALFA AWUS036ACH on a Raspberry Pi 3 B with Nzyme I am getting errors.
I am opening an issue because README states that this device has been proven with Nzyme.

The RaspberryPI did not recognize the AWUS036ACH on initial plugin of so I found a post on raspberrypi forums where someone had a made a wifi driver tool found here: https://www.raspberrypi.org/forums/viewtopic.php?p=1210087#p1210087

Here is the error that was generated by Nzyme:

13:50:49.030 [main] INFO horse.wtf.nzyme.Nzyme - Building PCAP handle on interface [wlx00c0ca964d63]
13:50:49.075 [main] ERROR horse.wtf.nzyme.Main - Boot error.
horse.wtf.nzyme.NzymeInitializationException: Could not build PCAP handle.
at horse.wtf.nzyme.NzymeImpl.(NzymeImpl.java:128) ~[nzyme-0.2-SNAPSHOT.jar:?]
at horse.wtf.nzyme.Main.main(Main.java:100) [nzyme-0.2-SNAPSHOT.jar:?]
Caused by: org.pcap4j.core.PcapNativeException: wlx00c0ca964d63: SIOCGIWPRIV: Argument list too long
at org.pcap4j.core.PcapHandle.(PcapHandle.java:166) ~[nzyme-0.2-SNAPSHOT.jar:?]
at org.pcap4j.core.PcapHandle.(PcapHandle.java:47) ~[nzyme-0.2-SNAPSHOT.jar:?]
at org.pcap4j.core.PcapHandle$Builder.build(PcapHandle.java:1671) ~[nzyme-0.2-SNAPSHOT.jar:?]
at horse.wtf.nzyme.NzymeImpl.(NzymeImpl.java:122) ~[nzyme-0.2-SNAPSHOT.jar:?]
... 1 more
13:50:49.091 [shutdown-hook] INFO horse.wtf.nzyme.Main - Shutting down.

I have Nzyme successfully running with a ALFA AWUS036NH (also listed in README) but this device is only 2.4 ghz (README states that it is 2.4/5ghz that is wrong) and I want to include 5ghz which is why the ALFA AWUS036ACH.

Write README

  • what is thing thing even doing. link to blog post?
  • list supported frame types
  • explain that you'll need a second interface because you'll lose network connection. link to ALFA on Amazon
  • it only works if network interface not connected to a wifi. channel will not change otherwise.
  • explain config file. reference example config
  • startup, CLI parameters
  • examples of what to do with the data in graylog and how to set up input, lookup tables, ...
  • examples for high-traffic environment and required graylog hardware
  • explain that there is a chance you miss important indicators when cycling over too many channels. set low cycle time and split up channels over multiple sensors. or use multiple interfaces!
  • channel hopping conf on osx and linux, with sudo
  • beacon sampling
  • Raspberry Pi / ARM issues
  • Lookup Tables / Pipeline Rules
  • 5GHz range. (i.e. channel 153)
  • root on linux
  • startup parameters
  • explain why assoc-resp and auth will usually always be succesful (open system (non-WEP) will always let you in and then deauth if you provided wrong key/password)
  • Legal notice
  • requires OpenJDK or Oracle 7 or 8
  • How to rename interface on Raspberry
  • Describe CLI parameters, --help

How to rename interface on Raspberry

pi@parabola:~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:0f:0e:d4  
          inet addr:172.16.0.136  Bcast:172.16.0.255  Mask:255.255.255.0
          inet6 addr: fe80::8966:2353:4688:c9a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1327 errors:0 dropped:22 overruns:0 frame:0
          TX packets:1118 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:290630 (283.8 KiB)  TX bytes:233228 (227.7 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:304 errors:0 dropped:0 overruns:0 frame:0
          TX packets:304 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:24552 (23.9 KiB)  TX bytes:24552 (23.9 KiB)

wlan0     Link encap:Ethernet  HWaddr b8:27:eb:5a:5b:81  
          inet6 addr: fe80::77be:fb8a:ad75:cca9/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

zt0       Link encap:Ethernet  HWaddr 66:78:18:42:62:39  
          inet addr:10.243.255.212  Bcast:10.243.255.255  Mask:255.255.0.0
          inet6 addr: fe80::6478:18ff:fe42:6239/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2800  Metric:1
          RX packets:685 errors:0 dropped:0 overruns:0 frame:0
          TX packets:488 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:60458 (59.0 KiB)  TX bytes:101160 (98.7 KiB)
sudo vim /lib/udev/rules.d/75-persistent-net-generator.rules
# device name whitelist
KERNEL!="wlan*|ath*|msh*|ra*|sta*|ctc*|lcs*|hsi*", \
                                        GOTO="persistent_net_generator_end"

# add wlan*

reboot

sudo vim /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="b8:27:eb:5a:5b:81", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

# change NAME

reboot

pi@parabola:~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr b8:27:eb:0f:0e:d4  
          inet addr:172.16.0.136  Bcast:172.16.0.255  Mask:255.255.255.0
          inet6 addr: fe80::8966:2353:4688:c9a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:349 errors:0 dropped:8 overruns:0 frame:0
          TX packets:378 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:75761 (73.9 KiB)  TX bytes:69865 (68.2 KiB)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:228 errors:0 dropped:0 overruns:0 frame:0
          TX packets:228 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1 
          RX bytes:18624 (18.1 KiB)  TX bytes:18624 (18.1 KiB)

wlanBoard Link encap:Ethernet  HWaddr b8:27:eb:5a:5b:81  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

zt0       Link encap:Ethernet  HWaddr 66:78:18:42:62:39  
          inet addr:10.243.255.212  Bcast:10.243.255.255  Mask:255.255.0.0
          inet6 addr: fe80::6478:18ff:fe42:6239/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:2800  Metric:1
          RX packets:44 errors:0 dropped:0 overruns:0 frame:0
          TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:6028 (5.8 KiB)  TX bytes:16118 (15.7 KiB)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.