Giter Club home page Giter Club logo

behave's People

Contributors

jennings avatar totalcaesar659 avatar wisec 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

behave's Issues

Detects IPFS/Companion using websites

I am not entirely sure if this is a bug or intented behaviour, but Behave! detects sites accessing resources from IPFS when using a local gateway (IPFS Desktop and IPFS Companion) and I think there should possibly be an option to whitelist it as it's the expected behaviour of IPFS Companion.

Example steps:

  1. Install IPFS Desktop from https://github.com/ipfs-shipyard/ipfs-desktop/releases/
  2. Install IPFS Companion (browser-extension) from https://addons.mozilla.org/firefox/addon/ipfs-companion/ or https://chrome.google.com/webstore/detail/ipfs-companion/nibjojkomfdiaoajekhjakgkdhaomnch
  3. Select IPFS Companion from browser toolbar and click on "Go To My Node" and Behave! will warn about access to 127.0.0.1:5001 (IPFS default API port).
  4. Alternatively visit a webiste such as mine, https://mikaela.info/, which fetches resources (in my case my avatar and favicon) from IPFS and Behave! warns about mikaela.info accessing 127.0.0.1:8080 (default IPFS Gateway port).
    • when the user isn't using IPFS Companion and IPFS Desktop/daemon, the site currently makes requests to ipfs.dweb.link instead. The purpose of IPFS Companion is to redirect the request to local gateway instead of a public one.

XPI for Basilisk

Please make a XPI file for this addon because I cannot install it on Basilisk browser
I have tried to copy paste the XPI file from Firefox extensions folder but it seems not to be supported.
maybe I am wrong and I should first contact the person behind Basilisk @mattatobin

Proxy ports are flagged as red

Describe the bug
I have defined a proxy that uses an rfc1918 address (configured via addon foxyproxy but that is probably not relevant)
now every website I access (including mindedsecurity.com ...) is flagged as accessing private IPs

Desktop (please complete the following information):

  • OS: Linux
  • Browser Firefox
  • Version 78.0.1

To Reproduce
Steps to reproduce the behavior:

  1. Configure a proxy, for example squid on the same host or another in the local LAN
  2. Define the proxy host /port in firefox or via an addon such as foxyproxy
  3. Access any website
  4. The arbitrary site is flagged accessing a local IP which is the proxy port

Please note foxyproxy allows different proxies for different (parts of) websites (hosted on different domains), so actually I see two local IPs being accessed, the one for a squid proxy and the other for a polipo / tor proxy.

Expected behavior

It should potentially be possible to detect a proxy (or more) is (are) being configured an internally whitelist that (those) host / port (s).

Screenshots
n/a

Additional context
n/a

(Suggestion) consecutive entries - group by the common host, as a single collapsible event

Greetings

Thanks for your work with this extension!

I'd like to make one suggestion please:
to consider adding another column with the timestamps of each log entry,
and group(by the common host) the consecutive entries as a single collapsible entry (as a distinct "event").

This is what I have in mind (based on the main page screenshot):

Target IP:Port     Target Host                 From Host      Timestamp
127.0.5.1:43534    127.0.5.1                   at.tack.er     21:00:00
127.0.5.1:43534    127.0.5.1                   at.tack.er     21:00:00
127.0.5.1:http:    project.127.0.5.1.xip.io    at.tack.er     21:00:00
127.0.5.1:43534    127.0.5.1                   at.tack.er     21:00:01
127.0.5.1:http:    project.127.0.5.1.xip.io    at.tack.er     21:00:01
127.0.130.1:http:  project.127.0.130.1.xip.io  at.tack.er     21:00:01

which collapsed would become:

Target IP:Port     Target Host                 From Host      Timestamp
     1 event/6 entries                         at.tack.er     21:00:00
          \/                                       \/            \/

This would make the logs easier to scan.

Thank you

Add toggle to disable addon in specific tabs/pages

Hello. First and foremost, I really like this extension, so good job.

As I tried to use this extension in my everyday browser, I identified the need to be able to disable it in certain pages, since it becomes impossible to use in development environments (localhost).

Thanks!

Firefox (and maybe Edge) details.ip = null causes False Positives

Firefox from time to time seems to not populate details.ip and sets it to null.
Chrome/Chromium, so far, has always set details.ip.

https://github.com/mindedsecurity/behave/blob/master/background.js#L481

chrome.webRequest.onResponseStarted.addListener(function (details) {
  if (shouldMonitor()) {
    const requestInfo = requestMap[details.requestId];
    if (details.tabId !== -1 && requestInfo) {
      debuglog(details, requestInfo);

      maybeRebinding(details.ip, requestInfo);
[...]

This might lead to False Positives or False Negatives on Firefox - and maybe Edge too.

notifications

hi
on firefox regarded i have notifications enabled i dont get any notification tested with the websites you recomend but nothing pop ups.

Removed from Chrome Web Store (and Edge) as malicious/malware

Describe the bug

I opened Edge today and was given a prompt that an extension has been disabled for being malware and going to extensions says that it has been removed from Chrome Web Store due to being untrusted.

Tämä laajennus on poistettu käytöstä, koska Chrome Web Store on merkinnyt sen epäluotettavaksi.

The extension link is also 404 error.

Desktop (please complete the following information):

  • OS: Fedora 35
  • Browser: Microsoft Edge
  • Version: 98.0.1108.43 (Virallinen koontiversio) (64-bittinen)

To Reproduce

N/A

Expected behavior

Not being detected as malware.

Screenshots

N/A

Additional context

N/A

Extension triggers on local domains

Hey there,
apps like pgAdmin hosted locally trigger the portscanning and rebind monitoring (Tested in firefox, dont know about chrome).

Portscan log:
Portscan log

DNS Rebind log:
DNS Rebind log

I don't know if this expected behaviour, but either disabling the monitoring for localhost or allowing the user to manage a whitelist would prob. mitigate this problem.

Feature Request: Option to Whitelist IP's

This addon is great for anyone who is not using a hosts file or some other router host based blocker, which results in false positives cluttering this addon's logs, please consider adding an option to disable individual scanning components to help alleviate false positives... and please consider adding ability to whitelist specific ips to eliminate false positives.

Big warning lists will freeze the popup window

Due to the lack of limit of the locally collected data when the popup is opened a table is created according to the data list, resulting in rendering delays which would eventually block the popup, making the extension unusable.

No red flab in toolbar icon

Sigh. In title: flag, not flab.

Firefox 82.0.2 and several previous versions.
Windows 10 Pro 1909
Behave! 0.9.7.1

There's never been that little red alert flag for the toolbar icon as shown in the screenshot at addons.mozilla.

Thanks for Behave!

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.