EvilZone

Hacking and Security => Hacking and Security => : m1kesanders April 21, 2014, 09:47:55 AM

: how to access another computer on the same network as me?
: m1kesanders April 21, 2014, 09:47:55 AM
So basically I want to play a joke on my little brother and take control of his computer tonight just to mess with him, however I do want to make this a learning experience for me, do you know of any resource or if you can give me a tip on how to write a program in java that does this for me? thanks :)
: Re: how to access another computer on the same network as me?
: d4rkcat April 21, 2014, 10:10:21 AM
msfconsole, i think it's in ruby but there is no point in re-inventing the wheel.
: Re: how to access another computer on the same network as me?
: NHAS April 21, 2014, 10:18:17 AM
It really depends, if you have access to his computer you could properly find a remote control java program on here...

If not then you should use msfconsole (as d4rkcat said) to try and break into his computer over the network. But be warned this properly wont work on fully patched operating systems.
: Re: how to access another computer on the same network as me?
: Kulverstukas April 21, 2014, 10:32:19 AM
One does not need fancy exploits to pull a prank on a computer on the same LAN. IMO netcat would work fine. You'll need to disable a firewall and probably turn off any AV's he has, or at least include netcat as an exception.
Netcat is a nice little tool and it can be set as a simple backdoor to listen for incoming connections, and when you connect it drops you a shell in which you can do pretty much anything, that is if you know how :D

http://netcat.sourceforge.net/
This might help, but you really don't need such a lengthy "tutorial" complete with images lol:

:
http://www.hacking-tutorial.com/hacking-tutorial/10-steps-to-use-netcat-as-a-backdoor-in-windows-7-system/#sthash.lwJNjCI8.dpbs
: Re: how to access another computer on the same network as me?
: techb April 21, 2014, 02:47:53 PM
If you want to learn with Java, then google how to control the mouse pointer and send key strokes to the system. I don't do Java, but I know it is more than possible.

Hell, make a botnet where you can log into it via IRC or something and send it commands like to open the notepad and write random shit. Or to randomly put on caps lock or send random keystrokes or something. Learn how to do that stuff in Java and code something.

Some links:
http://stackoverflow.com/questions/10770205/how-to-send-keyboard-outputs

http://www.daniweb.com/software-development/java/threads/7710/how-to-run-external-.exe-programs-from-java

http://stackoverflow.com/questions/2750422/building-an-irc-bot-in-java
: Re: how to access another computer on the same network as me?
: ThePH30N1X April 21, 2014, 03:38:43 PM
Like Kulverstukas said, just set up a netcat backdoor. Another good resource for this is http://www.offensive-security.com/metasploit-unleashed/Persistent_Netcat_Backdoor. This is for setting up the backdoor after getting a meterpreter session on the machine with the Metasploit framework.
: Re: how to access another computer on the same network as me?
: Axon April 21, 2014, 08:11:28 PM
Telnet FTW
: Re: how to access another computer on the same network as me?
: voodoo April 30, 2014, 03:38:30 AM
If you wanted to do this in Java, you need to learn about Sockets and reading / writing to them.

On the other hand, if you have physical access to the machine and don't really care to learn about Sockets, you can use netcat / cryptcat.  Or if you want to tinker around with the metasploit framework and some social engineering trickery, you can try to trick him into downloading something malicious that looks legitimate (like a java update).  Or if he is running an un-patched OS, you can use nmap to check for certain CVEs and then try to exploit them.
: Re: how to access another computer on the same network as me?
: proxx April 30, 2014, 08:27:07 AM
Windows RDP.
Under properties of "computer" you can enable remote access.
You just need to add another user and put him in the allow list.
You can than connect to it using "mstsc /v some.ip.addr.here"
: Re: how to access another computer on the same network as me?
: M1lak0 May 15, 2014, 10:11:22 AM
msfconsole i guess is the best way with some social engg. trick to ask your li'll brother too add this cool add-on in this browser or a pdf! ;)
: Re: how to access another computer on the same network as me?
: ThePH30N1X May 17, 2014, 02:48:41 PM
: (java)
import java.hacking.lan.LANConnection;
import java.hacking.lan.LANProcess;

public class LanHack {
   
    String addr = "192.168.0.1"; //The IP Address to hack
   
    public static void main(String[] args) {
        LANConnection con = System.getLan().connect(addr);
        con.shutdown(); //Shutdown machine
        con.showMessage("Hacked"); //Shows a popup box
        LANProcess np = con.startProc("notepad.exe");
            np.getIO().write("You have been h4ck3d!");
        con.disconnect();
    }
}
: Re: how to access another computer on the same network as me?
: techb May 17, 2014, 04:51:35 PM
: (java)
import java.hacking.lan.LANConnection;
import java.hacking.lan.LANProcess;

public class LanHack {
   
    String addr = "192.168.0.1"; //The IP Address to hack
   
    public static void main(String[] args) {
        LANConnection con = System.getLan().connect(addr);
        con.shutdown(); //Shutdown machine
        con.showMessage("Hacked"); //Shows a popup box
        LANProcess np = con.startProc("notepad.exe");
            np.getIO().write("You have been h4ck3d!");
        con.disconnect();
    }
}

lol, leet codes brah.