so i tried to hack android using msfvenom and metasploit on LAN and everything worked fine but that only happens when i am connected to that specific wlan ip adress with which i created the apk ,i want to do a WAN attack but i have no idea how to port forward , the problem is that i used my mobile hotspot to do the LAN attack and i dont have a router , i use a modem to access the net ,however when i created another apk for LAN attack and i use the computer's in built kali hotspot and used its ip to attack and it worked fine but i need to make it work so i can attack even if the victim is on a cellular data , please help me how do i do it
- Hot
- Active
-
Forum Thread: Whatsapp Hack? 16 Replies
6 hrs ago -
Forum Thread: How to Track Who Is Sms Bombing Me . 4 Replies
2 mo ago -
Forum Thread: Removing Pay-as-You-Go Meter on Loan Phones. 1 Replies
2 mo ago -
Forum Thread: Hydra Syntax Issue Stops After 16 Attempts 3 Replies
2 mo ago -
Forum Thread: moab5.Sh Error While Running Metasploit 17 Replies
3 mo ago -
Forum Thread: Execute Reverse PHP Shell with Metasploit 1 Replies
5 mo ago -
Forum Thread: Install Metasploit Framework in Termux No Root Needed M-Wiz Tool 1 Replies
5 mo ago -
Forum Thread: Hack and Track People's Device Constantly Using TRAPE 35 Replies
6 mo ago -
Forum Thread: When My Kali Linux Finishes Installing (It Is Ready to Boot), and When I Try to Boot It All I Get Is a Black Screen. 8 Replies
7 mo ago -
Forum Thread: HACK ANDROID with KALI USING PORT FORWARDING(portmap.io) 12 Replies
7 mo ago -
Forum Thread: Hack Instagram Account Using BruteForce 208 Replies
8 mo ago -
Forum Thread: Metasploit reverse_tcp Handler Problem 47 Replies
9 mo ago -
Forum Thread: How to Train to Be an IT Security Professional (Ethical Hacker) 22 Replies
9 mo ago -
Metasploit Error: Handler Failed to Bind 41 Replies
10 mo ago -
Forum Thread: How to Hack Android Phone Using Same Wifi 21 Replies
10 mo ago -
How to: HACK Android Device with TermuX on Android | Part #1 - Over the Internet [Ultimate Guide] 177 Replies
10 mo ago -
How to: Crack Instagram Passwords Using Instainsane 36 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device Remotely, to Gain Acces to Gmail, Facebook, Twitter and More 5 Replies
10 mo ago -
Forum Thread: How Many Hackers Have Played Watch_Dogs Game Before? 13 Replies
10 mo ago -
Forum Thread: How to Hack an Android Device with Only a Ip Adress 55 Replies
11 mo ago
-
How To: Find Identifying Information from a Phone Number Using OSINT Tools
-
How To: Make Your Own Bad USB
-
How To: Dox Anyone
-
How To: Run USB Rubber Ducky Scripts on a Super Inexpensive Digispark Board
-
How To: Use the Buscador OSINT VM for Conducting Online Investigations
-
How To: Crack Password-Protected Microsoft Office Files, Including Word Docs & Excel Spreadsheets
-
How To: Use Burp & FoxyProxy to Easily Switch Between Proxy Settings
-
How To: Use Kismet to Watch Wi-Fi User Activity Through Walls
-
How to Hack Wi-Fi: Stealing Wi-Fi Passwords with an Evil Twin Attack
-
How To: Automate Wi-Fi Hacking with Wifite2
-
Become an Elite Hacker Part 4: Hacking a Website. [Part 1]
-
How To: Create a Bump Key to Open Any Door
-
How To: Easily Detect CVEs with Nmap Scripts
-
How To: Hack WPA & WPA2 Wi-Fi Passwords with a Pixie-Dust Attack Using Airgeddon
-
How To: Crack Any Master Combination Lock in 8 Tries or Less Using This Calculator
-
How To: Pick an Antenna for Wi-Fi Hacking
-
How To: Scan Websites for Potential Vulnerabilities Using the Vega Vulnerability Scanner in Kali Linux
-
How To: Gain Complete Control of Any Android Phone with the AhMyth RAT
-
How To: Spy on Network Relationships with Airgraph-Ng
-
How To: Hack Any Account That Has Recovery via Phone Option Enabled (SMS) On Android:
33 Responses
basically you have to set up your pc to see from internet ...
you need set up port forwarding or dmz on your pc/laptop and set up some dynamic dns if you don't pay many for static ip.
Just be careful because it could happened that you get caught because no anonymity
i dont know how to port forward thats the problem , and i dont even know which port i should forward , i am new to linux and kali so i am abit confused and i dont use it on a virtual machine ,i have installed kali on my laptop
Can any help me with setting up Metasploit with DNS and portfowarding for wan
Try to search up your specific modem to see if you can port forward with it, also look in the manual on how to do it.
Cheers,
Washu
i tried there is nothing on google about it ,however i have the WAN ipadress because when i open the modem settings on the browser using this ip it says its connected to WAN but not sure about port forwarding because there is no such option there
Since each modem settings are different I'm afraid it will be hard to help for your individual case.
Make sure you really look through all your settings. If that doesn't work you may consider a VPN that can also do port forwarding (i.e. AirVPN). Last option would be to buy a new modem that you're sure can port forward.
Cheers,
Washu
thanks for your reply , i think my modem does not support port forwarding ,i will try the airvpn
thanks alot :)
if you're using a 3G dongle, look for some comments I made in this forum about using PortMapper to open your ports
Most of the modems is having setting called virtual server.u can just add the incoming and outgoing ports in it to the local IP address of your pc
if we use 3G network (Eg: Dialog Axiata) , is ISP blocking incoming connection ?
Most likely, it IS blocking connections due to either 'security measures' or ipv4 shorage. It's easy to find out tho.. just forward a port on your router and do the canyouseeme test I mentioned above.
hi triphat can you please tell me what ports to forward to which IP to attack on WAN for android hackinh
it's not a matter of WHAT ports, but IF you can succesfully forward them !! Port choice is arbitrary... you can use default 4444 or can pick 1337, 8008, or anything.
Moreover, if you don't have a router and you're using your android to tether the connection, it's even more complicated...
I suggest you try in an easier and more friendly environment. When you understand how it works, you can experiment on harsh conditions like mobile hotspot, natted connection, etc... just start easy and make sure you know what you are doing !
thank you very much for you reply , i just needed to know that do these ports need to be forward to your internal ip or public ?
so the source port shiuld be 4444 and the destination should be 4444 ?
i am trying to port forward using my android it has root access so i can do it and use it as router
so please explain me to which ip
so you set up iptables and ip forwarding correctly on your phone ?? nice !!! Haven't tried myself because my mobile is NATted, but that should work and it's totally cool.
Yeah, you can map 4444 to 4444, and the IP will be the one of your Kali machine listening. Usually android make something like 192.168.43.1 for router, others are arbitraty, you can find yours with ifconfig and add that to the forward rules of iptables.
yes so everything i set accordingly and when i scan for open ports it shows that 4444 is open and it has also successfully forwarded to my internal ip (kali machine) i set my first command lhost to my public ip and the metasploit command i use my internal but when i exploit and tap open on my android i get this
* Started reverse handler on 1.1.1.1:333
* Starting the payload handler...
* Sending stage (56173 bytes) to 1.1.1.1
* - Meterpreter session 1 closed. Reason: Died
* Meterpreter session 1 opened )1.1.1.1 -> 1.1.1.1) at 2015-11-06 09:32:31 +0300
the ip adress in sending stage is correct its the ip which my andoid is using
NOTE: the phone i am using for port forwarding is the one i am trying to hack so i dont know if the error is because of that ,,the other whicch i have runs android 5.1.1 i doubt it will work
This is somewhat a messed up setup, a scenario that is unlikely to happen in real life ... it SHOULD work, but you'd actually want a more real scenario, either on LAN or with proper internet connection (no 3G - android router..)
Also, lollipop might cause problems, read here my post (that will link to more posts... lol)
i figured it out and made it work through using my mobile hotspot i can now attack on WAN thank you so much for your help :D
hey please tell me how you figured it out
thank you for your reply , i have tried on LAN it worked fine no problems and now it works on WAN too :D
Nice !!
Glad I could help... somehow...
Is it possible to do WAN attack without router port forwarding ?
only using 3g dongle (Huawei E3531) ? ( I try to use UPnP PortMapper , but got only errors)
WAN attack without router port forwarding is not possible, as a router must forward ports in order to allow the victim to connect back at you, the attacker.
Your 3g dongle is a modem, not a router, so you should be exposed to the internet already, every port you open on your pc is right accessible from your ip, but IF an only IF you are assigned a unique ip addess and not be behind some carrier NAT (that is most, if not all cases when using these keys nowadays). In this case, either you buy a VPN access that allows port forwarding. (and you still can connect with a limited connection where you have almost no control over routing your packets, and gain that ability with a VPN tunnel), or you ask your phone operator if they can give you a unique IP (extra charges may apply, or they simply could tell you it's not possible)
Upnp port mapper won't work in your case, it's useful only when you have a router AND the upnp service is active in its settings.
Also, keep in mind that Huawei has a long story of vulnerabilities, so it's fine as long as you're learning, but it's not good when your safety and privacy depend on it.
i used port forewarding with port 80 but its not working in kali linux 1.0. is it because apache2 is using the same port? how do i solve this
? help!!!!!!!!!!!!
ammar montana ,you ve said u figured out to work on wan, which I ddnt succeeded yet, any help? bcz i'm not familier with port forwarding....
hey folks,i'm new here.i tried every thing but no result. i set up port forwarding,called my isp but no ports are available for my public ip. please help
sir what to do of port fowarding when using usb dongle 'vodafone 3g K3800" i want to hack anothe mobile which is not connected to my wifi. i want to hack the phone that is connected through his personal mobile data not to my wifi.. please help me :-(
HI i want to ask that i don't have modem i hack a WiFi and i am using i am a noob or you can say i am new in hacking so how can i forward the port plz help me
I m using Router without net and Internet on my device by connecting it as LAN. So I have to put eth IP address in port forward or wlan0 IP address in Port Forward.
When I check port forward status of any port its showing closed. Any solution??
hello guys help me i cant figure out how to port forward in jiofi router
Hey I have A Little Doubt I Use To Use In Internet In My Linux Machines By USB thethring When I Make A MSF Payload disconnect My Net And Copy File .....And Reconnect My Ney And Exploit It Won't Work it get stuck in starting MSF paylod listener .....PLEASE HELP ME.....
go to this..ITS ALL YOU WANT
github.com/stormshadow07/BeeF-Over-Wan.git
Share Your Thoughts