mushorg / oschameleon Goto Github PK
View Code? Open in Web Editor NEWOS Fingerprint Obfuscation for modern Linux Kernels
License: MIT License
OS Fingerprint Obfuscation for modern Linux Kernels
License: MIT License
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.
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
We should have a basic sample demonstrating the libraries capabilities.
dpkt seems to be superior to scapy. Latest version can be found here: https://github.com/kbandla/dpkt
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.
The usual fun...
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
Some initial work was done here: https://github.com/glastopf/oschameleon/blob/master/oschameleon/parse_fp.py
We should have some basic coverage for the core functionality.
When I used provided windows7_sp1 template and did a Nmap it doesn't seem to work. Nmap showed No OS matches for host (If you know what OS is running on it, see http://nmap.org/submit/ ).
Also, I tried using other signatures for other OSs from Nmap database and those don't work too.
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.
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 ======="
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.