Giter Club home page Giter Club logo

oschameleon's Introduction

tests

OSChameleon

OS Fingerprint Obfuscation for modern Linux Kernels. Author: Anton Hinterleitner [email protected]

Description: Fools the probes of nmap scanner

Prerequisites:

  • Linux (tested with Debian/Ubuntu 18.04)
  • Python 2.7+
  • python-nfqueue=0.6 (apt-get install python-nfqueue)
  • requirements.txt

Recorded logs are stored to /var/log/honeypot/

Usage:

python2.7 oschameleonRun.py
    --template path to the nmap fingerprint, either absolute or relative to the execution folder  the iptables to access over ssh. the ssh port should either be changed to 63712 or the port number in stack_packet/helper.py
    --public_ip either fetches the server public ip or gets the ip set for the interface 
    --interface the network interface
    --debug debugging output

Note: This script flushes iptables before and after usage!

oschameleon's People

Contributors

dependabot[bot] avatar glaslos 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

oschameleon's Issues

TypeError: run() takes at most 4 arguments (5 given)

I just installed the OSChameleon application few minutes ago and i get the below error message when I try to run it. Kindly help resolve.

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 534, in run
    result = self._run(*self.args, **self.kwargs)
  File "oschameleonRun.py", line 52, in root_process
    data = OSFuscation.run(self.args.public_ip, self.args.debug, self.args.template, self.args.server)
TypeError: run() takes at most 4 arguments (5 given)
<Greenlet at 0x7febd77f8eb0: <bound method OSChameleon.root_process of <__main__.OSChameleon object at 0x7febd77cd9d0>>> failed with TypeError

from parse_fp import get_os_pattern

  File "osfuscation.py", line 58, in <module>
    from parse_fp import get_os_pattern
  File "/git/oschameleon/build/lib.linux-x86_64-2.7/oschameleon/parse_fp.py", line 3, in <module>
    import osfuscation
  File "/git/oschameleon/build/lib.linux-x86_64-2.7/oschameleon/osfuscation.py", line 58, in <module>
    from parse_fp import get_os_pattern

running version

I reworked the source structure and got it working for the Siemens 300 PLC. I am working on the extension for usage with all templates in the nma-db, which is not yet complete.
The current version is not installed in the python package structure (whatever it is really called), but instead run as a normal script.
Do you want to keep maintaining the project, then I will upload it to this project

Doesn't build or install correctly, because of debian package dependency

This package depends on the nfqueue module, which is (AFAIK) only provided by a debian package. nfqueue is not in pypi, so it can't be satisfied as a requirement when installing through pip, or with setup.py.

I'm interested in helping to resolve this issue, and perhaps migrate to a different module for handling nfqueue. I've tweeted pollux (gh@chifflier) about this, and waiting to hear back.

TypeError 3 parameters expected 2 given.

I am running Kali 2017. I tried to install and use but had some issues. It hangs until an NMAP scan then crashes. asking for another parameter. I am sorry I am a noob when it comes to this.

oschameleon error
Below Is how I was got to the error

                                    echo "OSChemeleon"
				cp -a ./Bin/oschameleon /opt/oschameleon
				myvar="$PWD"
				cd /opt/oschameleon
				
				apt-get install python-nfqueue
				apt-get install python-scapy
				apt-get install python-gevent
				apt-get install python-netifaces
				echo -e "\e[42m====Install Dependecies Complete!============="
				echo -e "\e[49m"
				
				sudo python /opt/oschameleon/setup.py build
			        sudo python /opt/oschameleon/setup.py install
				echo -e "\e[42m====Build install Complete!============="
				echo -e "\e[49m"
					
				cd /opt/oschameleon/oschameleon
				sudo python /opt/oschameleon/oschameleon/oschameleonRun.py --template template/SIMATIC_300_PLC.txt
				cd "$myvar"
				echo "===== Complete ======="

Help: Make Linux Appear as Windows

Can this program be used to make a Linux machine appear to be Windows based on network fingerprint? Goal is to run Tor browser with user agent and such showing Windows but prevent the network stack from giving away in Linux. If this can be done do you mind giving an example of how to pull it off with emulating windows networking fingerprint.

RAM usage keeps on growing over time.

If oschameleon runs for a longer duration, RAM usage over the time increases gradually.

Note:
Usage is always strictly increasing over the time.
Entry from system command Top
14091 root 20 0 560460 498312 4284 S 4.3 24.4 231:53.08 python

This memory leak should be fix soon.

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.