🔴 [PAYLOAD] Shark Jack Display 🦈
Transcript
Machine-transcribed by YouTube. Expect errors in names, commands and version numbers.
Hello and welcome to the payload power hour as it were. This is Hak5. I'm your host Darren Kitchen. I'm getting into some Shark Jack goodness. And I'm so excited to be here on this beautiful Saturday. Happy Father's Day to everybody. Um yeah, I have some really fun payloads
queued up. I can't wait to get into. I've just been testing some stuff out and uh yeah, I'm just like build up with technolust and ready to go. Uh can't wait to see your smiling faces in stream. We're getting into some shark goodness. I got my cute little toaster flying around. I got my little buddy over here just give me the thumbs up. And uh yeah, let's see. I'm I'm trying out some new stuff too with regards to
the uh the stream chat. So, we'll see how that works out. Haven't tried it before. Excited to uh to see the possibilities. Let me just bounce over to Discord and let folks know.
Boo-ya. All right. So, let me uh let me see about that chat. Hey, there we go. Airwolf is in. What's up Airwolf? Um all right. So, that tells me that my fancy chat thingy is working. There it is. Cool, cool, cool. I got a fancy chat thing on stream now. Uh yeah, I've been good. I am just like, you know, digging the vibes that I'm seeing. Uh I've been like, you know, happily watching uh the videos that people are are releasing now that uh you know, folks are getting the Shark in their hands and uh I'm excited
to see like it's it's such a um such a phenomenal feeling, you know, when you pour your heart into something for so long and then finally it's like out there in the world and in the hands and I've gotten to see some really cool like unboxings with just I love folks that do a like unscripted just like first impression unboxing and and uh to see like, you know, the the reaction when people like hold it in their hands and just like get it. It's like, man, what a good feeling. Um yeah, and uh oh, I I also have, let's
see, pull this guy over. We've got this guy going as well. We'll get to that in just a little bit, but we got our little sharky friend uh going by, but I figured, hey, why don't we get started? First payload
of uh of the stream um is by none other than Hakazilla Rex.
I uh it's called Network Hunter. I saw a really great video on the development of this, some little testing of the work in progress. And this is a really interesting payload. Just hit the PRs, so we're going to try to get that approved and check it out. Hey, and Hakazilla Rex is in chat, so that always makes it better. Uh and so this is a reconnaissance payload that, get this, uh it it finds various different protocols and then it tries brute force attacks against them. So, I think that's really cool. Uh it does a little network discovery. It scans for FTP, SSH, DNS.
Wow, didn't even realize a Kerberos, RPC, LDAP, HTTPS, SMB. I mean, there's
just so much in here, but what's really cool is the FTP credential spraying. And
I actually have this guy pulled up here in Payload Studio. Uh and I think what's so cool about this is the way that it actually does the FTP
stuff. Cuz when I first before we even running the payload, I was like, "Huh, wonder how they're going about that, right?" Because I'm I'm over here on my shark and I'm just going to issue FTP. Nope. I don't have an FTP client. You know, now okay, of course you can just like o package update and then then like o package install an FTP client, if you will. Uh but this doesn't have those dependencies. So, I was like I I kind of had a suspicion and then I was pleasantly surprised uh when I dug into the code a little more. And I really think this is a great example of like a well-constructed robust payload. It uses the list tools menu system and uh and I think it it's really well done the way that there's all of these functions. So, like for me reviewing these things, I I can tell it Okay, this is going to log the network info. You know, this function's going to do a ping sweep. Like, they're all very well um you know, even though it is like a nearly 500 line payload, it's well compartmentalized into these functions. And so, I like to just kind of collapse everything. I think there's actually a collapse all button in Payload Studio that I'm missing right now. But yeah, so so when you first fired up, of course you got your you know, uh you can't have a good payload without uh your um comments. And then everything is in functions and then basically we do, you know, set a payload, initialize the menu. And I love me a splash screen. Network hunter, obviously these are carriage returns or uh new lines. Uh and then, you know, bloop to start. So, there we go. And then it fires off the menu with start menu. Um when it's all said and done, when once we're out of that menu, then we're done when then we know the payload is finished, so we do an LED finish. Love using those standardized LED states.
Um, I need to move this chat over so I can see it a little bit better. Here we go, guys. Um, yeah, and it's like a really good example of uh of a well-put-together payload.
Oh, the docs for the system updates on the Shark Jack are linking to the download for the Pager. That is that is good to know. That's not right. Let's
um Let me see. docs.hak5.org
Shark Jack display software updates Okay. Download portal. Oh, you're so right. That's linking to the Pager. Easy fix, I'll take care of that on the stream. You hit the little menu over here, you get the Shark Jack. Um or or even just go to the home of download portal and then Shark Jack display. There you go. Um but yeah, good find, easy fix.
Um
Okay, and then uh P Bone 1111 said, "Did I hear that the Shark Jack display chip is the same as that used on the Wi-Fi Pineapple Pager? Does that mean there's already a bunch of ported binary already in working?" Okay, so similar sock. It's a slight variant because of the footprint of this. So, um I don't remember the exact uh variant ID. It's the MediaTek MT7628
and that's uh a sock that we use on the Wi-Fi Pineapple Pager. Sock that we use on the Mark VII. It's a sock that we use in the Shark Jack, both display, non-display, uh I guess OG we would call it, and the battery uh the the shark cable variant, but the reason is this is a variant that saves space in the packaging because that I believe and I can't remember if it's the RAM or the SPI flash. I think it's the SPI flash that's built in. Yeah, that's that's what it is. And um yeah, it's it's a good architecture. I mean, it's it's like a small, lightweight networking sock made for exactly this. So, you know, uh it also really helps when you've got experience with that and um on the development side of things, like having kind of like a baseline architecture just makes things really easy. Okay. Um So,
yeah, my DMs have been nuts. I don't even want to show you my my but I've got I it's impossible, but I I I do the best I can. Um but, you know, I'll I'll try to get to uh to that cuz I know Airwolf has a really cool pager payload that I want to check out on stream and I did just get both a black pager and a yellow pager now, so we're going to need both of those for Airwolf's payload. Uh you'll see why. It's pretty cool. Anyway, um I want to get into this
payload. What I thought was so cool about it was when you do the the spray attack, when you just brute force FTP, and is it in here? Nope. It is going to be spray FTP all, probably. Yeah, here
we go. So, get this. In lieu of having a uh an FTP client,
you know what it does? It literally echoes to /dev/tcp
the IP address it found, you know, our target, /21. Do you guys know you can do that? It's so cool. Uh dev/tcp is one of the like I love the fact that on Linux everything is a is is a file. You know, that directory and then you go into the directory of the IP address you want and then the directory of the port you want. So cool. Uh and so that's how we can actually do FTP uh communication without needing a client. Um I've seen the same thing done for like IRC in the past. In fact, actually now that I think about this, Hakazilla Rex did an IRC client for the
Wi-Fi Pineapple Pager. I wonder if it was the same technique. Anyway, this is a very cool payload. Let's just go ahead and demonstrate it. Uh so, I have running. If I come over to browse payloads, and my payloads, I've got my Network Hunter right here alongside pregnancy test and SMB spy. Let's go ahead and run this guy.
I know the mic is a little better today. I also have some fun tunes going, so I don't know how Yeah, you did just hear IRC random TNT and uh it is it is indeed a very cool protocol still, honestly. Like
I don't know if this payload supports TLS, but it absolutely does these days
and it's weird that we've all moved to Discord considering it's like not an open protocol, you know? But, hey.
No shame, you know, I I miss IRC, but at the same time I don't miss administrating it. So, >> [laughter] >> Uh all right, cool. So, let's get through our splash screen. Now, first thing we're going to do is be suggested to run this first, the network scan, but we can see it also has an FTP spray, the SSH recon, SMB enumeration, HTTP
enumeration. You can run all of them from this menu, view your loot files, and quit. So, let's just go ahead and run our test. And I've got this plugged into my little naked switch here, which is on um
I'm in this building where I I honestly don't know what the hell else is running on these networks, and it's Nothing in the lease said I couldn't. So, I'm going to take that as permission.
All right, so that bad boy is scanning.
I wonder where we are in this payload right now. I'm going to find it. All right. Scanning. Dot dot dot. Oh, I did not hit Let's find.
Find. Is it because I collapsed all of these? Interesting. Oh, way past it. Okay, cool. So, what do we got? Scan completed and saved to loot. Sweet. We can uh we can see here we've got client. So, we have an FTP
server on this network. Let's go ahead and now do that FTP spray.
Okay.
Oh, here we go. Guest.
And what this is doing is it looks like Was it here? Where is the um Yeah, the credentials. So, this credential list here is is stored in FTP creds and what I think is interesting about this is I could totally see this payload being uh expanded to use like a
wordlist file like rockyou or something uh something like that and actually do the brute force. This is obviously you can see these are the creds that are going to be like built in, but um I could totally see this expanded upon pretty easily, too. All right, so that's done. So, let's go ahead and uh quit our attack cuz I actually want to check out the loot now. And the log is quite verbose. So, it's all here in the log. I do find it a little easier to read here if we just head over to {slash}root{slash}loot
network hunter and you can see I've run this a few times. So, let's go ahead and check out that FTP spray log, the most recent one.
And I believe that's going to be yeah, this one. So, uh cat boop and
uh nope on {dot} one, nope on {dot} three,
{dot} 11 we got guest password, guest
guest, and guest nothing. And then I love that this actually gives you some next steps. Such a cool thing. Um this is this is a great payload and I'm excited for, you know, these kinds of things uh entering the repo and uh
and I think there's like a lot of opportunity for expansion on that. So, I'm going to just go ahead and let's uh merge this this guy here.
It's going to be PR number five.
Merge that guy. Thank you so much Hack is ill erect. Dude, this thing is sweet
and I think it like really kind of sets the tone for like what a good payload
looks like. It's not even just that like the payload is actually, you know, well written and compartmentalized in these functions and and using the ducky script we provide to make those you know, dynamic menus and such. But man, look at
this documentation. So, you know, that's a lot of work and I really appreciate it and uh it looks really good. So, hooray. So, now everybody at home if you run get payloads, you'll have Hack is ill erect's latest. So, very cool.
Uh now that leaves us with PR number three. Okay, so this is from Brent Mills Engineering. This is a big payload. Uh this is a big PR. This is 12 payloads and a tool for deployment after a firmware update, which I'm not I have that one's I I I really wish these were like 13 different PRs. It would make it a lot easier because now if there's any one thing that's not great about this,
it's going to hold up the rest. Uh but let fingers crossed. I have not actually looked at this. Hey random TNT, you have a good one. Thanks for popping in.
Hey, appreciate it Airwolf. I I do think the docs look pretty good. I feel pretty good about it. In fact, I um just finished writing up literally
the uh the book. >> [laughter] >> So, like yeah, these are just some some uh test prints, but uh very excited about that. We'll have this We'll have this guy at Def Con. There's some fun stuff waiting for everybody at Def Con. We'll try to make a virtual version of that for everybody that's not coming out to Vegas, but yeah, good good stuff coming.
Um yeah. I hope this chat overlay isn't annoying.
Let me know how you guys feel about that. I kind of just like threw it in the middle. You know? Anyway, let's dive into
these 12 payloads. Cuz there's a lot in here. All right, so we've got first one is remote debug bridge. All right. Here, let's uh let's view the file. Let's see that pretty markdown. Turns the Shark Jack into a temporary remote troubleshoot appliance. Plug it into standard network. Walk to the desk and we took care of the laptop instead of just uh I don't know. Pulls an address, opens a reverse SSH tunnel out to a jump host
you control. Exposes its own SSH. Okay, so it's a an auto reconnect. Oh, okay. So, it's it's um reverse shell. Got it.
Hm.
Okay. So, the setup SSH present. Okay, you have to configure your All right, so I'll Uh yep. Net mode. Yeah. It pings the Okay, so it pings to make sure that it can do that first. Yeah, there you go. Reverse shell. So,
Mhm.
Yep. Okay, so this is
Hey, how's it going, Crimson? It's good. Happy Father's Day, everyone. All right, so the one-time setup, yeah, so they do want So, this does expect you to set up a new user on All right, so
for this, I'm going to have to spin up a VM cuz I'm not doing this on Oh, let me try to think where I could do this real quick. If I have a VM I could use.
Mhm. Some things are easier not on stream. Um let's see. What server would I want to create a So, I'm not doing this on like my local machine here right now, but I see what it's doing. It's like, "Okay, cool, then create a key pair on the server." Going to get to that in just a moment. Um put in your authorized keys on on your server. So, this basically looks like it's just I wonder if it uses um Oh, what is it called? Not S tunnel. Hang on. Mhm, auto SSH. Do we have auto SSH on here? Probably do. Yeah, auto SSH. Guys, if you haven't checked out auto SSH, awesome little tool that essentially uh maintains SSH uh shells persistently.
So, if a SSH connection goes down, it will like, you know, automatically retry. It does all the keep-alive logic for you. Um it's very simple to set up. It's uh you know, you follows kind of the OpenWrt based stuff where everything lives in Etsy config. Uh and yeah, there's auto SSH. Uh Do I have anything in there? Let's Let's uh cat auto SSH and see. Probably not. Okay, yeah. You can see what the options would be. And essentially it monitors on this port and then pulls every so often and then will reinitialize it. So, love that. Um
I don't know if So, the auto reconnect behavior on this looks to me like it's probably doing it manually.
Which is fine. Yeah, so you got your retries. Um okay, open SSH client. Yeah, that's already on there. So, the SSH that's running on the shark is open SSH. Uh it's not dropbear. Okay, got some LED cues. Um man, this this looks really good, but it does mean that I have to set up a server. I don't want to do that on stream. I don't want to do that right now. Okay. See what one of the other payloads are.
Cuz it's wild that there are 12 in here. By the way, has anyone played with this this PR PR number three that's got 12 payloads in it? DHCP DNS AD payload. All right, this
this sounds good. Let's let's check this guy out. View that file. All right, so DHCP and DNS active directory profiler answering the question what kind of network is this. Reads the whole DHCP offer, finds active directory domain controllers, attempts a zone transfer. >> [laughter] >> Okay. Okay, getting a little spicy here.
Um man, do I want to run this on this building's network? I mean sure. Okay. I don't think there's an active directory server running running here. But, we'll see. Uh okay, cool. So, the configuration on the top of payload.txt, you can Okay, so they've got some defaults. So, shouldn't have to do anything. Try drones. Dude, the default is one. Like, it's going to attempt it. That is a That is a spicy out of the box, but sure. >> [laughter] >> Okay, Nmap which has it. TCPdump is optional for passive 802.1Q tag sniffing. Sweet. Um all right, well, let's let's check out the actual payload file here. Let's grab the raw and throw it into
our payload studio. Okay. I do love how much documentation there seemingly is here.
Mhm. Yeah, most people don't realize it. Like, DHCP, there's a lot of options that can be offered uh with the DHCP lease. And uh it's more than just like telling you like here's your gateway and here's your IP. Or at least it can be. I mean, um there's like special tags for I mean, you can use it to like provision iPhones if you want. You know what I'm saying? So, there's a lot of wild behavior that can be done. Interesting helpers have in field. Okay, sure. Just little baby Uh okay, VLAN aware scanning.
Man, this is just like bash foo galore.
Okay.
This is where best effort validation comes in. [laughter] Or we'd be here all day. Okay, so have Interesting. So, have is going to run the command tac V and dev null. Interesting. So we're going to run TCP dump and then
if that works out, we're going to set tags. And then we're going to set TCP dump again with those parameters. Wow.
Style-wise, this is this is quite the script. Okay.
Okay, we're going to add a IP link eth0. Interesting. Hmm.
I wonder if that's going to be destructive. Okay, so it lets you know the VLANs.
Okay. It uses DHCP. Tac ion. Okay, that's one way to do it. I would have used net mode, but you're you are creating a new virtual interface. Wow. Okay. I did not expect You know, that's the beautiful thing about making an open platform like this. Like you don't know what people are going to do with it. Um
I wonder See, this is one of those things where it's like how much do you
provide as ducky script and then you know, how much you should say hey, you know, if this is an edge case, go nuts in bash. And this feels like that, but it's also one of those things that I didn't really envision. Um But kind of cool. How it's going to uh enumerate all of those VLANs that way and then create new interfaces for them. So Okay. So then we clear the screen. We do a screen write, DHCP and a profiler. Um No, that's not going to happen cuz Nmap is going to be there. What am I missing?
Yeah. I mean, hey, nothing wrong with that. This is just It's just when you like look at it and you're like, "Ah, that's a lot of bash." But then again, if you were the one that wrote it, it's going to make complete sense to you, you know? Um and there's a lot of like
bashisms here that are um
I I I I don't mind. I I love a good like, you know, uh uh pipe pipe amp amp, you know, like let's just get it done quick and easy. But uh yeah, like like this is like shorthand.
It works. It's great. It's just a little less easy to read, but also i- if this block works. Okay. So, then we after our setup, create our loot file. All right, then we bring up our network. So, do LED special screen rate. Okay, and then we wait for the link, obviously. Okay. And then ooh >> [laughter] >> Okay. Yep.
All right, cool. So, we're just we're scraping uh the IP command.
We see if we have leases. We'll let the user note failed. Okay, we're just echoing that over to the report, so we can tell there's uh some loot here. Set the gateway, screen write. We let them know the IP and the prefix. Sweet. Okay, then we do a DHCP profile. Man, this just All right, what else? Then we do a DNS profile. This is actually a good use case, too, cuz I don't know this network that I'm connected to. I'm I'm here in my virtual studio somewhere in the planet and I
um >> [laughter] >> and I I really don't I kind of don't care. I don't care, you know? Nothing in the lease said that I couldn't uh inspect the DHCP leases. Mhm? So. >> [laughter] >> Part of me just wants to eat this over to the shark and and and go for it, you know? What's what's the worst that could happen, right? What is the worst that could happen?
Wow, that's quite the log, too. All right. I say we eat it. Uh what is this guy called? This is going to be recon/dhcpdnsad.
All right.
Uh library my payloads um so if I once these are merged then when you do get payloads, they're going to go into your downloaded directory within the recon uh category as DHCP DNSAD. Um since I'm moving since I'm just going to test season my payloads, we don't do the categorization in that. So, I'm just going to make the directory for DHCP DNSAD.
And we're going to vi payload.txt.
Bop all that in there.
Should we run this interactively with shark? I think we should. Hey, what's up, streets?
Uh shark. Let's run this interactively.
Then you can see it right here next to my buddy and you'll be able to see it in my shell. So, WSAD and E for flashlight. I mean, E for
Oh, am I still in a payload or arming mode? Confirm. There we go. Okay. So, let's come over to payloads. Browse
payloads. What terminal client is that? Oh, dude, this is uh it's called cool retro term.
Fricking love it because it looks and feels just like my IBM PC XT with its Hercules
graphics card. Downloaded. Oh, no, I'm sorry. Not downloaded. My payloads. DHCP DNS AD. All right, I'm going to run that in just a second. The AC just kicked on. It's freezing in here. I will be right back. I miss Half-Life too. Well, I I miss Half-Life as well. I do miss Half-Life too. Really, I'm missing Half-Life 3 if we want to get real about it. Uh But, yeah. I just I need more time with Barney. I'll tell you that.
>> Okay. Let's uh Let's hope there are no head grabs. Run payload.
>> Where did my >> Ah. You set glasses down. >> Where are they? >> Oh, there they're there. Got a different pair. Whoa. Okay. Yes, run payload.
Yo, what's up Rada? You are not too late to the party. We are just about to run
this DHCP DNS AD profiler payload. It's
getting a lease on F0, doing a DHCP discover. Wow, so much is happening. Uh great. Oh, something was refused. Good. All right.
And then we've got a a a flashing alert here. So, I don't know if that's I didn't check out Okay, payload complete. All right. So, now we can actually read through what happened. So, I'm going to just like spam W to get to the top of the log. Okay, DHCP DNS AD profiler, DHCP lease with F0. It got 10.2.6.24.10
{slash} 22. Oh, it's a {slash} 22 network. I thought it was a {slash} 24. I was wrong. Cool. Uh profiling DHCP AD lookup.
I I don't think there was an active directory server, that's why. All right, writing loot. Profile complete. Okay. I'm a Oh, AXFR. So, the zone transfer failed, which good. >> [laughter] >> You know? All right, so let's let's quit this now and head back to arming mode. Confirm.
All right, I'm going to control C and get back to my shell. There we go, and head over to loot. And DHCP DNS AD, and then we're going to cat that file. Oh, I'm sorry, that's a directory. I'm going to CD to it, and then looks like I need to run sync time here. Um wow, okay, cool. So, cat summary.txt.
Yeah. Oh, sweet. Okay, okay, that's the domain
that I'm on. Well, look at that. I'm on SN I This is the thing about being in this place on this virtual studio. I don't care about doxing myself. This isn't my This isn't my place. So, actually, if anything, I should run all of spicy payloads while I'm here. Uh
cool. So, yeah, this is the DNS server that it handed me was this and 8.8.8.8.
The fallback is Google. Kind of cool. Uh no uh TFTP is advertised.
Do TFTP is uh Oh man, that brings it back to like flashing Wi-Fi Pineapple Mark Ones uh cuz that's That was the recovery protocol for not even U-Boot. It was
RedBoot. And uh man, what a pain in the butt to have to set up. Uh so, WPAD/proxy, this is something you see more on Windows systems. This is something where you can convince the target to to use your proxy. Kind of cool. Uh there is an AD. Uh wait, that there is a domain. There is not a domain controller. Okay, well, I wouldn't expect one. We're not in a corporate environment. Uh zone transfer was refused, so that's good. Um what else? Okay, full DHCP discover output is in dhcp.txt. This is great. Nope. Okay. Uh what about the AD? There shouldn't be an AD, but yeah, there isn't. Uh DNS Okay, what else do we have? Um This should have failed. Yeah, nothing in there. Pointer names, nothing in there. VLAN profiles. Okay, nothing in there. It's not that excited of exciting of a network, but still kind of cool. This was um pretty impressive, I got to say. Let me grab my other glasses. I don't I don't like these as much. But, sweet little payload.
Okay. >> [sighs]
>> I think that actually um
I think that definitely gives me uh a lot more confidence to just kind of eat some of these other payloads.
Cuz if an author is is um I mean, there's there's 13 in here. That's a nice thing is we can get a feel for this. I got to say, I don't I'm not familiar with Brent Mills engineering. Uh or maybe I am over a different screen name cuz that that can for sure happen. Uh so, it looks like
Plenty of commits. Um kind of want to know more about Oh. Let me just uh go to your main repo.
Curious about you. Okay, director of engineering with 17 years building platform infrastructure and telephone experience. Former Wayfair and IBM engineer. Oh. Well, maybe that's why this is a good payload. >> [laughter] >> Okay. Well, we are lucky to have a talented
engineer out of Berkeley, California. Oh. Well, sweet. You're out of Berkeley. Maybe when we do the Bay Area meetup uh I can see your face. So.
I'm going to try to catch up on chat. Sorry, guys. Um
Yeah, remember to @Hak5 in chat to get my attention. Um
We are going to be at Def Con 34. We're going to have some exciting fun new stuff, too. So, uh I'm going to try to
make a virtual Def Con experience for those that won't be at the booth, but uh man, this is going to be our biggest Def Con ever. Uh can I check out your thermometer payload? Uh yeah, if there's a pull request, I will be checking it out. So.
Let's now check out the direct host profiler. Let's see what this does. Answer one question. Which physical device is host XYZ? Um when something on a network is noisy or eating bandwidth, it's not bad enough to justify blanket blocking its MAC with a switch. Unplug a suspect cable. Cable straight into the shark jack and run this. It gets The device gets a DHCP lease, announces who it is, gets scanned, and lands in an identification report. Okay. So, this is for checking out actual like devices. Okay, similar log output. Okay, we're checking out NetBIOS name and Mac vendor, a bunch of other stuff. You know what? Let's try it. Yeah, okay. OS guess, open port fingerprint. So, it can call out a printer, a camera, an NVR, Raspberry Pi. Um uses the built-in DHCP server.
Yep. Installation means
Okay. Looks very configurable. Requirements are stuff we already have. LED queues, we're using the normal stuff. Okay, notes. So, device must be a DHCP client. That's fine. Device Okay, no internet is offered, of course. Uh yeah, let's give it a shot. So, let me think about how I'm going to demonstrate this because I'm going to have to plug it into a host directly.
Now, I'm pretty sure
um I'm pretty sure that shouldn't be a problem for my connection here, but if the stream goes down, we'll know why. Okay, so let's just go ahead and take a
quick look at this payload here. I like to do it in Payload Studio for the syntax highlighting.
Mhm. All right. Lots of comments, very good, lots of configurability, great.
Oh, nice.
Ah. There we go. Checks for ESP32s and stuff
like that. Oh, Android. That's a good point. I wonder if I should just test this on my phone. See, part of me just wants to plug it into my computer that I have in front of me right now. But there's a chance. See, I'm dual homed right now. But if I unplug this on that network interface, there's a chance I could lose the stream. I'm still down to try. But the fact that this literally has a call out for Android makes me wonder. And I happen to have
I think I have a spare USB Ethernet adapter. Yes, I do. Literally haven't even unboxed this guy. So, let me just
pop this uh USB Ethernet adapter onto my phone.
Which is kind of awesome. I I wish there was more consistency in the Android landscape for for Ethernet, you know. But this might do the trick. Uh I know that for me at least, I'm you know uh um I'm rocking a a Z trifold, so Samsung. And plug that guy directly into my Wi-Fi Pineapple Pager, enumerates the A6 or no, sorry, the Realtek uh USB Ethernet adapter. Um
And so I wish that there was more consistency.
Hang on. Connections. Ethernet. Come on, show me Ethernet. Might need Ethernet to actually have a connection before it'll do it. Let me run a run it through the switch, you know? I'll just uh I've got a switch on my desk. Why not? Just need another Ethernet cable. You can never have too many. Ah!
Okay. Let's just
Ooh, an ARP discovery pay- payload. That would be pretty cool.
Okay. So, let's just get Let's see if this uh USB Ethernet adapter works on my phone because if it does, then I can use this payload to profile my phone instead of my computer Um and not risk bringing down the stream.
And for that, I'm going to go ahead and pop that on my switch and plug this into
Boop. Okay.
All right, Ethernet settings.
Okay. So, at least on my phone, I have Ethernet as an option. So, that is on. Let's configure device. Device ETH0 is
set for DHCP. Okay. I wish it would actually tell me turning on. Okay, tell me you get an IP.
It just says on. I hate that. Like I I really um ethernet connected to have to set up. It's it's set up. This is funny. Like of course they Why Why Why expose to a user scary things like MAC addresses and IP addresses? Well, enter the shark. Uh I guess that's what we'll do. So,
let me just yeet this payload over to my shark and then we'll just run it interactively.
Copy. Head over to the shark. What's this payload called? Uh direct host profiler.
Yeet. All right. Now,
I'm just going to nicely exit my shell,
unplug this guy, plug my Let's see. Uh this is set up for DHCP client. So, that's going to be So, let's go ahead and launch the payload and then
we'll uh plug it into my phone and see what happens. Browse payloads.
My payloads.
All right. Direct host profiler.
Run payload.
Okay. Plug it into our s- All right. Turning on ethernet on my phone, that happened automatically. Sweet, starting DHCP server. Great.
Waiting for client.
Oh, there's some audio buzz? Oh. Derp. Thanks, guys. I literally
wasn't even wearing my mic. Huh. Thank you. I promise you guys I'm a professional. I've been YouTubing for 21 years.
I know how to wear a mic. So, we're waiting for client.
Oh, there we go. Nice. Oh, yeah. Got my Mac. Direct host, done. So, it's leaving me on a blinking alert screen. I haven't read the payload enough to know if this is like where it expects it to Oh, payload complete. All right, cool. Uh sweet. Let's now unplug and take a look. So, lots written here.
Let's just read through. Okay, so, starting DHCP server, waiting for client. Client, MAC address of the client. Profiling host. Writing report. Direct host, done. IP,
and then Oh, looks like it got an IPv6. MAC, gets a MAC address. Name, Android-DHCP-16.
Well, that's kind of cool. This is the droid I was looking for. >> [laughter] >> Yes, Hakazilla Rex, indeed. Okay, cool. So, type Android/mobile
device, nice, ports none. Yeah, I not running in Oh, that's a fun trick. I actually I have a couple of servers I could run on here to see. But, um man, part of me really wants to risk running this against my computer. Part of me is smarter than to
do that midstream.
Ooh. Ooh, actually, you know what would be really cool? Hang on, do I have Do I have one? Do I have a prototype? Do I have a
You know, you give me a payload that profiles stuff and I just want to like plug it into um into toys. Oh, you know what? Hang on. >> [laughter] >> You know what I should um You know what I should plug it into? Get this. So, what I have over here may be familiar. And I actually have it connected to none other than the glitch Ethernet mod. So, why not? Why not? Let's profile our pager. What could go wrong? Uh we're going to quit this payload. And then, I love this, just run again cuz we know we're just going to like you know, save us the the hassle. Uh so, hit run again, confirm, plug that
bad boy into our pager.
Cuz I'm in having a lot of fun building proof of concept payloads between the pager and the Shark Jack. And I want to show you some techniques to make that come to life. But I figure hey, since I've got it on my desk, let's just do it, right?
Waiting for client.
I love I love the chains. I You know, somebody had a great idea in Discord the other day. They were They were saying it would be really cool to get a shell on the shark over USB-C, which has me noodling on that now, of course. It is just a charge port. That's how it is on the Shark Jack display and the OG Shark Jack. On the cable we did a UART, you know, we did a CP2101. I really like that because it makes it like super simple on a mobile device. Not every mobile device will enumerate, you know, a USB ethernet adapter like my phone just did here. But hey, direct host done. Cool cool cool. Let's check it out. Payload complete. We just profiled the pager. All right, let's scroll up. What do we got? What do we got? What did it come up with? That's All right, so client, yep. Okay. Got our MAC
address. Direct host done. MAC Name pager.
Nice. >> [laughter] >> Which by the way, like if you haven't changed the name of your pager from pager, it's kind of giving the You know, it's it's giving it away. >> [laughter] >> You know, you might want to change that as well as your default root password, but you know, type is unknown. Port's none. Aw. Really? It didn't try to query port 1471. Oh, well. Still very cool. Love it. Going to pop my other my uh black Shark Jack back onto that guy. We'll come back to the pager here in a little bit. Let me know if you guys want to see that cuz I I only have like very bare-bones proof-of-concept here. But, I'm really excited because I think there's so many possibilities of taking that and then running with it and uh making some integration. So, anyway, this is a very cool payload. I'm very happy with that. Let's head back to arming mode. Uh sweet, and then we'll SSH back in once we reconnect it to our little naked switch here. Everybody's happy. Look, even Talking Sasquatch is like Talking Sasquatch is like, "Hey, that's a really cool payload. Thanks for sharing that, Darren. I really like what you're doing." Well, thanks, Talking Sasquatch. Thanks for joining the stream and uh and always being cool little sticker guy on my on my desk. All right. Uh I need to sneak do a barrel roll in a payload somewhere. HackazillaRex says, "Dude, that is literally the proof-of-concept I just did on the uh on
the Wi-Fi Pineapple pager." Should I just dive right into that? You know what? Okay. Uh let me just Okay, let me just say uh Brent Mills Engineering, we are we're doing great. This pull request, you know, I've tried two of 12 and they've That's a 100% hit rate so far. I'm excited to see the rest of these. Damn, there's a PoE survey? I mean, uh I could be here all freaking day. I really wish these were individual pull requests. I might need to just leave a comment and say, "Hey, do that." so that I can like merge these as we go. I don't like to you know, because because the way that the payload system works on the Shark, when you hit get payloads, it downloads the the from GitHub and, you know, replaces or syncs your your your your downloaded folder. So, I'm a little hesitant to just like YOLO it because you know, we want to make sure there's no RM tack RF. We want to make sure these are high-quality payloads. So far, so good. I uh I wish I could literally just um I mean, voice camera discovery. What? Passively inventories the VoIP and physical security estate on the sec- What the What What? That's so cool. But, I want to come back to that cuz Hakazilla Rex has me has me in a flow now thinking let's do a barrel roll. Um I don't know if you guys have done this on your Hak5 gear, but do a barrel roll is an Easter egg, now very public Easter egg, but it is the most compatible ducky script in the entire Hak5 universe. Any Hak5 device
with some LEDs that runs ducky script is going to run do a barrel roll. And this goes back to like OG first squirrel, first shark, you know? So, it's on your Pager, it's on your Bash Bunny, it's on your uh LAN or your your Shark Jack, all of them. You know, Cable OG display.
Um So, yeah, let's uh Is it that one I want to SSH into? No. No, in fact, I think the best way to go about this would be for me to hit up my virtual Pager. So, let me just Let me just hop on virtual Pager. Boop boop. And uh
Where are we? Okay, cool.
So, fun thing about this, let me kind of
reset this up. How does that look okay, guys? We'll go with it. Yes, new Shark Jack. Shark Jack display. So, um I'm going to
be doing this with my black Shark Jack. Okay, so I'm going to move this over here. Sorry Sorry, Sasquatch. Here. Why don't you Why don't you just chill over here? All right. So, um so this Shark Jack right here is connected to This is the uh Glitch Ethernet mod for the
Wi-Fi Pineapple Pager. And I have it on
a USB uh extension cable so that I can
direct connect to it uh it over USB Ethernet. Um because I'm developing this payload. Now, once I'm done with that, then I won't need to do that. Um however, uh In fact, the other way to do it would be for me to like Wi-Fi connect to the Wi-Fi Pineapple Pager's management AP. However, I'm using the Wi-Fi on my computer and the network with the stream, and it's just So, bear with me, but that's what we're doing. I'm doing awesome. Thanks for asking, Mr. Monkey. And um and happy Father's Day to everybody. As the As the father of Ducky Script, I'm taking a victory lap, I guess. Oh. So, let's head over to from within our Pager. So, let me do it on this terminal. I really like this terminal. SSH root@pager.
If you guys haven't already set up your SSH configs to have those custom names, highly recommend it. All right, so from within my Pager, if I ifconfig at one, you'll see I have an F1. You don't, unless you have a USB Ethernet adapter that's compatible like the Glitch mod. And I see here that
the IP address I got is 172.16.24.136.
So, we know it's a shark. If you've been following along in the Hak5 universe for long enough, you know that we love the 172.16
private network scheme. You know, it it's not your father's LAN, it's not a 192, and it's not a 10. It's it's a fun one. And we've
used 172.16. Let's see, 42 for the WiFi Pineapple, 52 for the
Pager, 24 for the Shark Jack, 84
for the LAN Turtle,
32 for t





