shARPWatcher Protect your android phone from faceniff and droidsheep

February 19, 2012 Leave a comment

shARPWatcher is an application to protect your android phone against arp spoof attacks, used by software like faceniff and droidsheep. 

This application has two modes:

  1. Rooted phone – Preemptive mode: As soon has your device connects to a network it prevents all spoof attacks, rendering them useless (Low battery consumption and 100% bullet proof).
  2. UnRooted phone – Best Effort mode: It keeps monitoring your phone, from time to time, searching for attacks if it detects one and the disconnect on attack option is on it deactivates your wifi, otherwise sends an alert.

To be completely protected against these attacks you need to have a rooted phone, otherwise there’s always the chance  the attacker gets what he wants.

[How to install]

Simply go to android market and search for “sharpwatcher”, follow this market link or read the qrcode. 🙂

[How to use]

It’s very simple to use and you almost don’t need to configure anything.

  1. Tap the shield image to turn on or off (Green WiFi symbol On, Red WiFi symbol off)
  2. You need to turn on or off with your WiFi disabled, turning on with an already connected WiFi may not protect you.

Rooted phone (Preemptive mode) it’s all you need to know… 🙂

For UnRooted devices (Best Effort) you still have one more option!

  • Disconnect under attack check box

If you have this option checked when an attack is detected shARPWatcher will disable your WiFi preventing any further damage. If this option if off then it will send a notification warning you that it detected an attack.

IMPORTANT: If sometimes on preemptive mode your connection seems to stop working for a while it’s not shARPWatcher fault. It means that you are under attack and it’s not working for the attacker 🙂

shARPWatcher UI

shARPWatcher UI

sslstrip mod to support plugins

December 4, 2011 Leave a comment

This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU

This is my modification of sslstrip to support plugins.
setup.py was removed so you cant install directly this version
use it only from the folder

I created this to help me on some tests I did, it got a lot easier. This code isn’t perfect, far from it…
For someone that hasn’t much experience in python this was made in record time… don’t be too hard on the errors
it might have.

Screen shots:

Starting sslstrip example

Some actions printed

Some more

Installing:

  • Do it like you where installing normaly sslstrip
  • Don’t use setup.py wont work. This is a experimental version.

Running:

  • To activate plugins add the -x or --s1plugin option in the command line

####### Plugin Info #########

File structure:
s1plugin
|____ plugins (All plugins are here)
|                 |____    _OSFinder (Plugin folders, each plugin has it’s own folder)
|____ * (All the other files, you don’t need to change anything)
It’s easy, so if you know what you are doing you shouldn’t have a problem understanding
if you can’t then don’t change anything 🙂

About plugins folder:

  • A plugin is only loaded if it’s folder HAS the file __init__.py
  • Deactivating a plugin Rename or remove “__init__.py”
  • To be loaded a Plugin must have a file named S1Plugin.py with a class named S1Plugin respecting the rules

Plugin class:

  • EventSender it’s an empty plugin, you want to create a new one use that and remove what you don’t need
  • What can you do and listen: (I think I don’t need to explain)
  1. onResolveHost(self,client,host,result)
  2. onHostResolvedSuccess(self,client,address)
  3. onHostResolvedError(self,client,error)
  4. onCleanHeaders(self,client,headers,result)
  5. onClientConnection(self,host,headers,client,path,postData,url)
  6. onSendSpoofedFaviconResponse(self,client,icon_path)
  7. onProxy(self,client,host, method, path, postData, headers, port, ssl)
  8. hijackConnection(self,client,url,clientConnection)
  9. onVisitUrl(self,client,url,postData)
  10. injectContent(self,client,contentType,data)
  • Store and read values on disk (settings.db) -> sqlite3
  1. storeValue(“key1″,”ohhyeah”)
  2. readValue(“key1”)
  • Communicate between plugins
  1. View _OSFinder and UrlLogger plugins for reference

Modifications on sslstrip.py:

Find this:
print “\nsslstrip ” + gVersion + ” by Moxie Marlinspike running…”
Here:
# —— SizeOne Mod —————————————
# import The event manager class if detected
if(os.path.exists(“s1plugin”)):
from s1plugin.S1StrippingProxy import S1StrippingProxy
#create replace normal classes
strippingFactory.protocol = S1StrippingProxy
# ———————————————————-

I think it’s all I have to say for now

More Info:
https://github.com/lbragues/sslstrip

install wine on debian squeeze

September 13, 2011 Leave a comment

Just a quick tip that got me to spend more time than I anticipated…

Installing wine on Debian squeeze (source: http://www.lamaresh.net/).

Run these commands:

  1. sudo gedit /etc/apt/sources.list (Add this line: deb http://www.lamaresh.net/apt squeeze main). Save and exit.
  2. sudo wget http://www.lamaresh.net/apt/key.gpg && sudo apt-key add key.gpg
  3. sudo apt-get update
  4. sudo apt-get install wine

[SizeOneHoNRes] First Tutorial

August 8, 2011 1 comment

This is the tutorial on how to use the resource editor.

Here is the home page of this tool.

Now let’s start, to run this tool you need to be able to run *.jar files (Double click or Google).

First steps:

  1. Download the latest build
  2. Extract the zip file
  3. Run “SizeOneHoNRELauncher.jar”

After this a window like this should open…

Launcher Screen

Launcher Screen

This is the application that will keep your copy up-to-date. Every time it starts it will check your version against the one on the server and update it if necessary.

Here you can view the change log for the newest version by pressing the button “Change Log” . There is a small message containing important information about the application.

After all the necessary checks are made the launcher will enable the update or the launch button.

By pressing update the application will be… wait for it……. updated! 🙂 and so on… I think I don’t need to explain more about the launcher.

Main application

Main Screen

Main Window Screen

This is where you can edit your mods. As you can see there is a text field to insert the path to the file you want to load, you can do this by manually  writing the path or pressing the “…” button and choose the file.

Next if you press load with a valid path on the text field it will be loaded into the application.

Loading Screen

Loading Screen

After the load is complete your main window should look similar to this one.

Main Window

Main Window

Has you can see you have the file contents listed like a tree. In this example I have loaded the resources0.s2z file and as you can see in red there’s a small warning that you can’t edit this file, for safety you can’t edit a file named “resources0.s2z” and “textures.s2z”.

Here it is an example of a file that isn’t locked for edition

Main Unlocked

Main Unlocked

As you can see you can remove, extract, view and replace all the files that you see in the tree. you can even use multiple selection or right click on a folder, some actions let you choose more than one file.

Multiple Selection

Multiple Selection

You can also add new files to the mod…

Add New

Add New

In red you have the local path to the file and in green the path and name it will have on the mod file.

So after the initial feeling and basic options of the application lets start by giving you a small usage example…

Example 1 – Creating a mod

In this example I will show you how simple it is to create a mod using this tool. Let’s imagine that i want to make a mod that changes some or all the guides for the heroes. How do I do this…

First you have to load the resources0.s2z

Next you have to click on the “New Mod” button a question dialog will popup with three possible answers.

Question: “Create a copy of the current open file?”

  1. “Yes, please. I’m editing a file like textures.s2z”
  2. “No! It’s a mod of the resources0.s2z let me choose.”
  3. “No! I’m creating a *.honmod help me with defaults only.”
Question

Question

The first is just like duplicating a file. Useful when you want to backup before changing anything.

In this example we wan’t the second one, because we want to change the content of the hero guides. Select the second option and click “Ok”.

A new window like this should popup.

New mod

New mod

This window has a textbox containing the path and file name where it will store your mod and a tree view wich displays your selected files to be replaced on your mod.

Now if you right click on the main window tree view you will have another option available…

New option

New option

Click and your tree on the custom file should ne updated with your selected files.

result

result

Now you can save and load this new file to the main window.

By now you should have your new mod loaded into your main window. Now you just need to replace the files by those you want and copy your new mod to the right folder. And it’s done.

The “No! I’m creating a *.honmod help me with defaults only.” answer.

For now this option is pretty much like the second, the only diference it’s that it will add a file named mod.xml and an icon.

New features regarding the edition and creation of *.honmod files are going to be released in a near future. Keep posted! 🙂

 

Well for now I thing it’s all i have to say.

Any Suggestion or bug report please email-me or post a comment here.

Thanks,

SizeOneDev

Heroes of Newerth Resource Editor

August 7, 2011 1 comment

Hi, before anything else, this is a tool to edit the s2z files of the HoN (Heroes of Newerth) game.

This tool isn’t any thing “new” since these files format is public, it’s aim is to make their edition easier to every one with a few clicks. Don’t be expecting something completely overwhelming it’s in the early stage and it has a lot of bugs. It’s evolution depends directly on the acceptance it will have on the community and the number of people using it. It’s completely free, there aren’t any drawbacks or pro versions.

Keep in mind that this tool isn’t made by any company and it’s made exclusively on the spare time of a single person. So if you wish to contribute with anything use the Paypal buttons. 🙂

IMPORTANT: I will not take any responsibility for any harm done by this tool. USE AT YOUR OWN RISK!

So I think now is the time to start explaining how this works…

Requirements:

  • Java Virtual machine installed and on the latest version.

Operating Systems:

  • Windows 7 (Working)
  • MacOSX Snow Leopard (Working)
  • Linux (Not tested should be working)
  • It Should work on any System that has JavaVM installed.

(If you test it on any other platform send some feedback and I’ll update these infos)

So if you download the tool you should have the following files and folders.

  • default.png – Default icon used when you create a *.honmod
  • SizeOneHoNRELauncher.jar – This is the one you should run it will check for updates
  • SizeOneHoNResources.jar – The application, if you run this it will start the launcher
  • extract – (Folder) It’s where all the files you extract will go to.
  • lib – (Folder) This folder contains all the necessary libs to run the application (Don’t mess with this folder)
  • mods – (Folder) This is the default folder where the program stores your mods.
  • tmp – (Folder) Folder to store temporary files (You may delete it’s contents if you want)

If your application crashes it will send me a report with your operating system application version and the actual error.

You shouldn’t be able to run the SizeOneHoNResources.jar directly.

Features:

  • Viewing and Extracting contents of an *.s2z, *.honmod file (Any zip file :))
  • Creating New mod files (resourcesXXX.s2z or *.honmod)
  • Editing this files (add, remove, replace)

(Expect a few more features in the near future)

Tutorial:

Downloads:

  1. V1.0.0.2 – Here
  2. V1.0.0.1 – Here
  3. V1.0.0.0 – Here

Special Thanks to bezta that made the icons and graphics 🙂

Any suggestions just send me an email 🙂

DropPrint – Share a printer using Dropbox

December 12, 2010 Leave a comment

Dropprint is a small application to share a printer using Dropbox.

Requirements:

  • Dropbox Account (If you don’t have one create here)
  • Java Virtual Machine installed (Download from Oracle)
  • A copy of Dropprint (here)
  • And a working printer 🙂

This application is very simple, only has one option it’s the Dropbox folder location, you should run this application on the machine that is connected to a printer. 🙂

Dropprint Window

Dropprint Window

After Setting the correct path to your Dropbox folder, press start. If you are running this for the first time you should see some messages saying that two folders were created, “printQueue” and “logPrint”. If you get a message saying that the Dropbox folder couldn’t be found check the path.

  • printQueueEvery file that you copy to this folder will be printed!
  • logPrint – All printed files will be moved to this folder.

Now that you have the Dropbox installed on the computer connected to the printer and the application running, let’s talk about the Dropbox configuration!

To be able to print something using another computer, you need to share printQueue with the different Dropbox accounts. If you are using the same Dropbox account on all computers you don’t need to do that since Dropbox does all the sync for you.

So if you are using the same account on all the computers you it’s done! To try you just need to copy a file to printQueue. 🙂 If you are using different accounts you need to access the website and share printQueue with every account that you want to be able to use the printer.
And it’s done! 🙂

Any question leave a comment 😉