IP-tables configuration for sending traffic into local proxy

Quite often I find myself in the need in order to analyse traffic for applications on an jailbroken Android device which ignore the global system proxy settings.

In such cases I usually leverage iptables in order to send the traffic into a forwarding proxy by using:

You have got to make sure that you configure the proper NAT routing though:

 

Posted in Backtrack / Kali-Linux, General Stuff | Comments Off on IP-tables configuration for sending traffic into local proxy

Tunneling ports via SSH

People often forget that they can use SSH in order to access remote services which are only reachable from the network of the SSH server. Here is the snippet you want to use:

So as a general example:
You want to use the the local port 1000 and access a remote service on port 8080 running on another machine in the local network of the remote SSH host:

your localhost: 127.0.0.1
local IP of target host in remote network: 192.168.1.2
SSH-Server address: 88.88.50.50

 

Posted in Backtrack / Kali-Linux, General Stuff | Comments Off on Tunneling ports via SSH

Parsing a line based hosts file to Firefox under Windows

I just needed to parse a line based file containing hosts and access the hosts with Firefox under Windows in multiple tabs. Here is what I did:

If you want to slow things down and the sleep command is no option, you can use this workaround to slow things down:

Posted in Windows | Comments Off on Parsing a line based hosts file to Firefox under Windows

Arpspoofing within Linux

For ARP based spoofing simply go for arpspoof

Syntax is quite simple and goes like this:

 

Posted in Backtrack / Kali-Linux | Comments Off on Arpspoofing within Linux

Enhanced security controlls for Internet Explorer on windows servers

Due to enforced security controlls you will often find yourself unable to access any website while running the Internet Explorer on a windows server.

This is related towards the Enhanced Security Configuration (ESC).

You can manually disable it by jumping into the Programs and Functionality settings (or just hit up the server manager).

There you can disable the enhanced security controlls for the IE by going to:

 

Posted in Windows | Comments Off on Enhanced security controlls for Internet Explorer on windows servers

Dumping of installed programs and services within Windows

I use the following snippets to dump installed programs on Windows machines via WMIC (Windows Management Instrumentation Commandline):

The output can be processed as CSV

Posted in Windows | Comments Off on Dumping of installed programs and services within Windows

Broken packages with Backtrack 5

People still running on Backtrack 5 R2 are not able to pull updates anymore.

In oder to fix this make sure to modify your /etc/apt/sources.list by adding this entry:

 

Posted in Backtrack / Kali-Linux | Comments Off on Broken packages with Backtrack 5