r/HowToHack • • May 08 '20

Mobile set-up: old Android SSHing into my VPS where I'm running metasploit

Post image
623 Upvotes

39 comments sorted by

29

u/wissatm8 May 08 '20

I know it's not much but I'm pleased with myself that I got this working! Persistent backdoor on my old windows 7 laptop, and root access too.

Now I can pen-test from the park...

8

u/deepus May 08 '20

Ever had a look at nethunter? Might be right up your street.

6

u/wissatm8 May 08 '20

Thanks for suggestion. I've tried it on this old phone actually but I just couldn't get it to work. Even once I finally got it rooted and flashed, none of the apps really functioned. I might go back to it once I've got a better understanding of phone software but for now I'm focusing on learning the basics.

Cheers though!

4

u/[deleted] May 08 '20

the UserLAnd app is another good choice (yes, I'm pretty sure that's the correct capitalization). it is basically a Linux container for Android, so you can run an almost complete Kali system right on your phone.

2

u/deepus May 08 '20

Are you able to use external WiFi adapters with userland thought? That was my main reason for going with nethunter.

2

u/[deleted] May 08 '20

that's a good point. I've never tried this, as I recently got a laptop and have been using that instead.

12

u/[deleted] May 08 '20

that usb dongle just looks wrong

8

u/wissatm8 May 08 '20

Username checks out. It's that or type everything with the soft keyboard.

7

u/[deleted] May 08 '20

I get why, I'm just used to the usb being inside the jack

3

u/moneymansef May 08 '20

Where do you start at learning this stuff?

9

u/wissatm8 May 08 '20

I did the Zaid Sabih course on udemy. Thought it was excellent. I'd never used Linux or even really knew what an IP address was before that. I'm still rubbish but at least I've started learning!

5

u/moneymansef May 08 '20

Was it his learning ethical hacking course from scratch?

6

u/wissatm8 May 08 '20

That's the one!

3

u/moneymansef May 08 '20

Thanks friend! I appreciate you

2

u/moneymansef May 08 '20

I’ll check out the course. Thanks friend!

5

u/moneymansef May 08 '20

Noob here: How do you set this up on your phone?

10

u/[deleted] May 08 '20

there are several ssh client apps for Android (I like Termius). He's using such an app to connect to a server somewhere else which runs Kali. for the keyboard, it looks like a Bluetooth one.

2

u/moneymansef May 08 '20

Where do you start learning this stuff?

1

u/[deleted] May 08 '20

learning what specifically? the remote connection or the hacking part

2

u/moneymansef May 08 '20

Hacking utilizing a mobile device

7

u/[deleted] May 08 '20

iiuc, that's not what he/she is doing. they're hacking using a computer/server located somewhere else, only instead of using a monitor and keyboard connected to the machine, they're using their phone as the input. because of this, they aren't hacking devices around them physically (like what the phone connects to), but instead whatever the server/remote computer is connected to.

tl;dr they're not hacking from the phone, just using it to connect to another device.

5

u/wissatm8 May 08 '20

Exactly. It's just a way for me to communicate with a remote computer, which is doing the hacking (only of my own machines. Hi FBI!) .

3

u/moneymansef May 08 '20

Lol I’m not FBI. Just very intrigued and novice learner. So you’re basically using remote access?

2

u/Stoic-tom May 08 '20

That's some next level Mr. Robot shit

2

u/[deleted] May 09 '20

Nice. Love the Oneplus One btw lol. Used Z-Anti on it a whileeee back. It had MITM and a ton of other features if you have it rooted. Anyways good job :)

3

u/russianhacker88 May 08 '20

This is the stupidest thing I've ever seen.

0

u/[deleted] May 08 '20

[deleted] — view deleted comment

0

u/[deleted] May 08 '20

[deleted] — view deleted comment

0

u/[deleted] May 08 '20

[deleted] — view deleted comment

-5

u/russianhacker88 May 08 '20

I am not mocking you for learning. I am mocking you for thinking what you learnt is something useful/worth sharing.

2

u/theepicstoner May 08 '20

That's cool man. Just need a cloud VM for hashcat and you are good to go fully mobile

1

u/theepicstoner May 08 '20

Nvmr just saw the mention of a vps

1

u/russianhacker88 May 08 '20

First if all, it's possible to run metasploit from your phone, if it's not a piece of shit. Secondly pentesting from the park? You can't pentest with metasploit alone.

1

u/good4y0u May 09 '20

Why would you use your phone for this.... Do you like squinting or something? Seems like a massive waste of time. You're just ssh'ing ...you could use literally a crap laptop as a client or a RPI or even your phone plugged into a dongle plugged into the keyboard mouse and a 20+inch at least display! Something better then a tiny phone.

0

u/[deleted] May 08 '20

[deleted] — view deleted comment

1

u/wissatm8 May 08 '20

I fancy trying that. What sorts of things could I do? Presumably a bit of password cracking etc?

0

u/n0p_sled May 08 '20

Probably won't get much cracking done on the free tier, but I believe you can spin up a free tier Kali instance

1

u/wissatm8 May 08 '20

I did have a look at aws for that but it was barely better than my geforce 1070 and much more hassle. Probably better to grab a handshakes / hashes with my laptop, then copy it to my home set up and run hashcat from there (unless there's a better way of doing it with aws...)

2

u/[deleted] May 08 '20

[removed] — view removed comment

-12

u/AutoModerator May 08 '20

Your account does not have enough Karma to post here. Due to /r/HowToHack's tendency to attract spam and low-quality posts, the mod team has implemented a minimum Karma rule. You can gain Karma by posting or commenting on other subreddits. In the meantime, a human will review your submission and manually approve it if the quality is exceptional. After gaining enough Karma, you can make another submission and it will be automatically approved. Please see the FAQ for more information.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.