hobune Channels Contact About Donate

IoT Security: Backdooring a smart camera by creating a malicious firmware upgrade

Back to video page | Download comments jsonl

Comments (archived 2022-07-03 20:32; 198 top, 269 total comments)

chesapeake 2020-04-09 17:04:19

Remember kids. The S in IoT stands for security.

1725 likes
Replies (13)
Woodie 07 2020-04-22 16:04:39

eri bUt ThErE iS nO s In IoT

74 likes
Andreas Delleske 2020-04-22 16:05:55

eri and the R for reliability, M for maintenance, U for upgradeability.

66 likes
hernanc 2020-04-24 22:57:22

Ok deploy my IOTs please! :-)

4 likes
Joe 2020-04-25 01:58:03

@Andreas Delleske sounds like you'd prefer some RUM

21 likes
Sizlo Mc Donnerbogen 2020-04-26 11:05:09

Well when you flash your own firmware to add security vulnerables...

12 likes
svampebob007 2020-04-29 20:46:15 (edited 2020-04-29 20:50:03 )

the I stands for a Y because the developer already developed the extra Y.


edit:
god damn it made sense when I was thinking in french, but as soon as I posted it I realized it didn't make any sense in English, guess I'll go develop an IoT device now.

8 likes
I.P. Knightly 2020-04-29 22:50:42 (edited 2020-04-29 23:08:04 )

And the I in IoT stands for Moron.

1 like
Alessandro Celoria 2020-04-30 06:15:48

@Sizlo Mc Donnerbogen When the OEM does not implement the slightest of the security measures (checksumming, signing...) to prevent you to...

2 likes
ALCE, Jaylo S. 2020-05-02 03:44:21

Sold.

1 like
Inactive 2021-04-11 00:43:09

well technically, IoT stands for Internet of Things, so there is kind of an S lol

1 like
bangupjobasusual 2021-05-19 16:57:27

This is one of my favorite jokes of all time

0 likes
Herv3 2021-05-21 19:03:39

What does the H stand for?

0 likes
bangupjobasusual 2021-05-21 19:34:13

@Herv3 tell me

0 likes
arundhati a 2022-05-14 05:21:35

I have had the Newest.Technology system since they were initially released (over 2 years). I love the ease of use and they work well. Batteries last a long time too. I have added cameras as needed. I love the 2 way communication with this one.

12 likes
Re Cecure 2020-01-13 16:19:08

Exactly what I was searching for, a well detailed CCTV firmware reversing tutorial. Hey Ninja, I really like your work and your way of explanation, Please Upload more videos, please make it a bit frequent like 1v/month.

145 likes
nas 2020-04-21 11:38:27 (edited 2020-04-21 11:43:10 )

So if you buy one of these used, you should flash the official firmware. Apart from that, not restricting firmware flashing is not a big deal, since flashing it requires physical access to the camera anyway, and having the ability to flash a custom firmware means one can make custom security updates after the camera is discontinued and no longer receives official updates.

121 likes
Replies (8)
Derrick Jolicoeur 2020-04-23 15:52:32

And hope that a return doesn't get repacked as new

22 likes
Rob K 2020-04-24 05:39:23

" not restricting firmware flashing is not a big deal"
if this was the only way to install firmware, that might be true,
BUT, it can also be upgraded remotely, without touching the camera. i dont know if that has any extra security or not.

12 likes
statinskill 2020-04-24 22:57:30

It's a big deal because I can tamper with that camera and then sell it on ebay. Then as luck will have it that camera winds up somewhere important.

15 likes
ThiloTech 2020-04-27 08:57:08

@statinskill but then the app won't work anymore.

0 likes
Oskar Vihriälä 2020-05-01 17:24:27

@statinskill also because now it is in the local network, any other not so secure home device can be hacked

3 likes
Georg 2020-05-05 17:03:27

@ThiloTech Did he modify anything that would make the app no longer work ?

3 likes
bls 2020-11-17 21:20:36

But I believe its also possible to disable the firmware upgrade feature completely or even fake it. Flashing Official firmware will not work in that case.

3 likes
A1eR 2021-01-31 21:24:12

@statinskill yes but I prefer devices where I can install my own firmware than devices that are locked on the manufacturer firmware.

You need physical access to the device to install the firmware, well and the fact that you can install a custom firmware and sell it, it's true for everything, imagine a keyboard, what stops you from taking it apart and putting an hardware keylogger in it? Or even a device with all sorts of protections, in the end you can just modify the hardware.

But if you have the possibility to flash a custom firmware, is not a problem, because you just don't trust the firmware of the Chinese manufacturer (that surely contains vulnerabilities or backdoors) and just flash your own. Problem solved.

12 likes
Derrick Jolicoeur 2020-04-23 15:51:49 (edited 2020-04-23 15:52:11 )

This is EXACTLY what I was looking for when I bought this camera. I hate that the default firmware doesn't allow video streaming via the Wise app without an internet connection [via LAN]. So finally I have a means to circumvent their servers while still attaining live video footage.

We don't need to see the baby-monitors when we're out of the house.

60 likes
Vega 2020-01-13 16:35:09

Take a look at the access log of your server :)

963 likes
Replies (6)
stacksmashing 2020-01-13 16:55:45

"GET /Awesome_video_dude_Keep_up_the_great_work
Hah, love it! Thanks man!

832 likes
Vega 2020-01-13 18:13:41

@stacksmashing awesome that the message got to you :) Really enjoyed the video. Hope you have some more planned ^^

187 likes
Meh. 2020-02-29 20:34:18

/slow clap.

91 likes
matt 2020-04-26 19:24:22

haha thats awesome

22 likes
coler154 2020-10-16 02:53:02

@xOr Vega sent a GET request to his server saying "/Awesome_video_dude_Keep_up_the_great_work"

23 likes
HAFO 821 2021-05-13 13:26:45

ahahhhh

1 like
Woodie 07 2020-04-16 17:37:55 (edited 2020-05-23 13:25:37 )

The 19 dislikes are smart camera manufacturers

234 likes
Replies (2)
Prakhar Mishra 2021-05-15 07:23:23

@fivethreeone stop blaming everything on bots probably lol, maybe people tap on it by mistake. Happenes to me sometimes too.

2 likes
mashuptwice 2021-05-18 22:34:07

The 75 people only like cat videos

0 likes
PyPylia 2020-04-23 12:14:18

Can we quickly laugh at how stupid their way of stopping telnetd is? Instead of uninstalling it and or removing it from the rcS file, instead, they just kill it (And not even stop the service, just use killall.)

224 likes
Replies (5)
AcornAnomaly 2020-06-09 06:51:10

Based on where the killall is from, I'm guessing the telnetd was a backup access point for testing. If the camera starts up, but can't load the camera app for some reason, it won't kill the telnet daemon, and they can log in to figure out what broke.

78 likes
Arnaud MEURET 2021-05-20 06:03:53

@AcornAnomaly Shouldn’t make it into prod FW though

9 likes
AcornAnomaly 2021-05-20 06:14:39

@Arnaud MEURET No, but taking advantage of it in this instance would still require either an already compromised or non-functioning device. There have been worse backdoor incidents.

Ideally, they'd have removed it or disabled it, but after they had an already working image, they may not have wanted to mess around too much with it, especially since, as I said above, taking advantage of that isn't generally achievable remotely.

5 likes
MygenteTV 2021-06-16 13:31:44

maybe is used for support from the company

1 like
Rob H 2021-08-01 05:15:56

me thinks they be lazy

1 like
Ion Popa 2020-04-09 16:36:47

That was so easy to watch and learn, no extra and unnecessary steps, no stupids and distractive ads. simple and awesome iot exploit. Keep up the good work

4 likes
Grey-man 2020-02-03 01:28:01

Really fantastic video, well done. Your explanations and visuals are easy to follow, and we can all tell that you have a good understanding of what you're doing.

15 likes
Jacob Young 2021-05-15 13:17:17

Wow this was really interesting to see a demonstration by someone willing to explain the thinking process along the way. This is very inspiring!

2 likes
William WATKINS 2020-04-26 21:34:19

Through all the video I was like '' ok that's very theoretical, how would you install the firmware in real life's and the you gave the example at the last second and my blood turned cold 😱

230 likes
Replies (4)
SwiftBird 2020-05-11 20:01:33

same for me haha

5 likes
László Tenki 2021-05-23 19:41:07

Still very limited and marginal. No one can do it in large scale because Amazon would get rid of you after sending back 1000 cameras. But yeah, creepy!

1 like
Nolan Gelinas 2021-05-25 01:28:28

@László Tenki It would be perfect for a semi-targettted attack on someone by simply selling them a camera on ebay. You could just set up an ebay account that sell compromised cameras and no one would figure it out unless you sell one to an IT guy.

2 likes
Gijs 2021-06-09 11:18:44

Buy bulk, flash it all and sell as thrid party on Amazon .

0 likes
flarn2006 2020-04-20 02:04:52

Having a secure firmware upgrade process is important, but it comes with a downside that few manfacturers are kind enough to mitigate. Sure, unauthorized users rely upon insecure firmware update processes to install backdoors, but they're also what authorized users often rely on, to install mods. But this is a tiny minority of customers, weighed against the far greater number of customers who would benefit from the extra security. And unfortunately, it's a tiny enough minority that most companies won't consider it worth the extra R&D for providing a secure alternative authentication method for use by the owner, even when they wouldn't otherwise have any reason to go out of their way to lock the owner out.

1 like
Carl Friedrich Gauss 2020-01-16 20:56:05

It's good to see this channel is still alive, I love your content! Thank you for sharing your knowledge, hope to see more updates in the future

4 likes
Andrew McOlash 2020-04-26 04:57:55

Great job on this! I actually have one of these hacked cameras to use a security cam (but keep it off of the wyze network). Crazy how simple it is to hack the firmware and can't wait to see more. Might be time for me to start hacking some of my IoT devices. Makes me a bit nervous of how vulnerable my network might be though!

4 likes
Chris Whalen 2020-10-18 05:12:10

Great note about zero padding the modified filesystem image before you bundle it to keep it the same size as the original!

1 like
CaptnMeme 2021-05-24 11:50:42

I loved this video! i plan on picking up a camera to play around with myself! Im glad I'm not the only one who thought "what if it has been backdoored and returned to the wild" you're a legend man!

0 likes
Daniel aka CyReVolt 🐢 2020-04-26 16:37:33 (edited 2020-04-26 16:48:17 )

This is awesome, I can perfectly use tooling such as jefferson right now for firmware modification. To split up flash image partitions, I am simply using dd though and cat things together again.

Edit: Since it looks like jefferson is for extraction only, I'll stick with mounting the rootfs through the mtd + jffs2 kernel modules, which is a bit of work and annoyance, but solved. =) I will still keep jefferson in mind for extraction-only/analysis use-cases though, makes sense also to have something portable. Thank you!

2 likes
Matteo G 2020-01-13 17:04:07

Awesome video! Exactly the type of hands-on example I love to see/learn from.

6 likes
C. Darwin 2021-02-04 19:40:47 (edited 2021-02-04 19:43:30 )

Amazing video. I love the "hack" where you get it into ram where there was more space. I was just wondering though: The need to store the extra binary was to get the reverse shell, but if bash was there, could you then use that instead? I do really like you went the NC way, because I learned a lot about what to do if the situation arose. Amazing!

0 likes
Colfax Schuyler 2021-05-26 23:25:56

No doubt, you've already had countless people recommending the Wyze Cam V3. The low light image capability seems very good.

What it doesn't have is RTSP, and Wyze doesn't seem very anxious to provide that capability.

But it's a swell cam.

0 likes
DiViNe 2020-04-28 14:30:08

I really liked the style of this video, because it was "just right" for the knowledge I have. You explained it very well and with not too much or too less informations. thx!

5 likes
Replies (1)
Coco Sloan 2020-05-02 08:52:20

Yeah-the level of knowledge we have is much lower then we think we have!.Try explaining this to someone or to replicate it..You will need to watch this video 100 times over :)

1 like
Alex Scarbro 2021-05-18 10:36:52 (edited 2021-05-18 10:37:10 )

What an fantastic video!

Excellent content and perfect pace.

0 likes
mhmek 2020-02-09 16:24:28

Really good video with good explanations! Love it dude! Keep up the good work!

1 like
Michael Rector 2021-05-14 02:13:35

Would this work on the newer v3's? Awesome video and explanation. I'm looking to set one up as a weather webcam for weather underground.

1 like
patrick m 2021-05-15 06:17:14

Great tutorial, lots of new utilities I have never heard of before

0 likes
Roger F 2021-05-13 12:45:12

This could all be avoided if the customer had all cameras on their own network (vLAN) with no internet access and no access to the main network. But this was a very informative detailed video.

0 likes
U 2021-01-08 05:04:08

I really hope this isn't so easy to do for other devices!

0 likes
TheStiepen 2021-02-08 00:48:21

Generally speaking I do believe systems should allow users to load arbitrary firmware. Just OTA updates should be signed or at least loaded via TLS

0 likes
Wawied 2020-01-13 16:40:39

Nice video, keep up the good work! But are you planning on uploading more regularly? And do you have any plans in doing more Ghidra related videos?

2 likes
j z 2020-04-19 20:13:04

That was a lot easier than it should've been lol..

101 likes
Jeffrey Black 2021-07-08 00:03:22

Secure firmware upgrades are a massive problem with stripping owners abilities to use their device how they want to.
If I own the device I should be able to install whatever firmware I want.

If the device is returned and then later given out to a new customer, they should be flashing known good firmware onto it and confirming that it is present.

0 likes
Neil Young 2020-09-16 17:22:30

A German Engineer. Nothing more to say :) Ah, wait. A German Reverse Engineer :)) Well done.

70 likes
Harshit Joshi 2020-01-14 18:30:47

You should make more such videos, you have the potential to grow your channel

3 likes
deppy 2020-03-01 12:44:52 (edited 2020-03-01 15:24:47 )

This was really interesting, do you have any plans on uploading more IOT videos?

5 likes
V 2021-07-15 12:41:55

This is seriously impressive. How long did this take?

0 likes
Redpill Commando 2020-01-13 20:58:54

Ghidra Ninja - It's been a while. I love your work and want to see more. Thanks of the video.

8 likes
Tyler Harrison 2021-07-19 08:30:58

I was able to get into a Faleemi outdoor camera with this exact same method (except they have an option to only update the rootfs so I only needed to repack the squash file with no UBoot header). Works like a charm, and with telnet/wget I can update my camera remotely with my custom firmware. Thank you so much for my first IoT hack! I was also able to get a UART terminal to it on the hardware side.

0 likes
Jmchich STUDIO 2021-08-26 17:04:34

Thanks for the tip! Gonna try and modify an init script, pack the squashfs and update the camera. Should be similar to your model

0 likes
Henry Tonoyan 2020-12-19 05:44:50

I'm going to start checking the firmware on every device I buy from now on. On the plus side it will keep me from buying too many things :D.

1 like
w 2021-05-13 20:22:16

i just found your content yesterday, and I am HOOKED. Keep up the awesome work :)

0 likes
Miniarts 2021-05-11 02:16:25

I had a friend whose mom purchased a cheap Walmart IoT camera.

This camera has two-way communication features and makes an alert when the owner rings in. One time it made the alert sound but no audio on the other end. They literally believed it was caused by ghosts as the camera ". . . doesn't connect to the internet, it goes through my mom's phone."

0 likes
Kenny 2021-02-04 04:25:53

How it started: Aw yeah but if someone has physical access what's the big deal? Security is almost always at a loss once you have physical access. I'd rather be able to tinker with and mod my devices.

How it's going: Hooooooly heck, I am now terrified of everything that ever was or ever has been.

0 likes
Youssef AbdElKhalek 2021-10-22 20:42:35

Your videos are amazing, please never stop posting videos, I am now a student of yours.

0 likes
Etienne Louw 2021-01-05 12:38:55

Found your channel watching the new Game and Watch hacks and enjoying the content library, this video was awesome to watch and might try to do this myself on my own Wyze cam.

0 likes
Ennar 2021-05-17 02:53:42

interesting to see the miio client on there, same thing is running on my vacuum. Thanks for the very informative video

0 likes
A M 2021-02-26 22:41:46

Great video! Is there a way to repack the JFS2 directory like you did with the squashfs folders? I took a look at jefferson but the docs only mention the ability to extract.

0 likes
Replies (1)
Brian Wall 2021-05-17 14:17:38

You can re-pack the JFFS2 filesystem by using mkfs.jffs2. The problem I'm running into is that the repacked filesystem (no modification) is larger than the original so my offsets are wrong when I go to re-pack the bin file. I'm not terribly skilled in Python so I'm trying to figure out how to mod the wyze_extractor script to build the image properly using a modified JFFS2 filesystem. Hopefully I'll be able to post my fixes here, as I'm working on a mod for my own purposes.

1 like
flow 2021-05-14 15:04:57

Good security practice to reinstall the firmware on used devices I suppose.

0 likes
KeyStroke 2021-02-10 03:06:21

Thank you for this video. Tell me, please, is it possible to edit files within a SBN (signed binary) file and then repack with this method? I can open the archive and see the files inside but I'm not sure how to repack it.

0 likes
Manabender 2021-05-15 11:45:50

I've said it before and I'll say it again: The Internet of Things is a terrible idea.

If a device can connect to the internet and it isn't a full-blown computer (or something that can act like one without voiding the warranty, like a smartphone), don't use it. Don't let it anywhere near you. There's no telling what it'll do. A camera could spy on you. A fridge could be bricked. Heck, electronics can outright explode under the right circumstances and with a malicious enough attack.

0 likes
statinskill 2020-04-24 23:18:35

Another thing to do is to engineer a completely new board for that camera. One that runs the original firmware, except on the SOC there is another hidden core that taps into the wifi and the camera sensor. Perhaps even add one of those very interesting radios I read about the other day, and exfiltrate images from up to 7Km away.
Now not everybody can afford a santa's work shop where all kinds of nifty things are made, such as certain upgrades for routers and the like, but it is still food for thought. The added benefit is you could leave the manufacturer provided backdoors dormant, perhaps add a feature to disable them remotely.

0 likes
EpicLPer 2020-01-13 18:09:24

I once bought a shady cam on Amazon just for the fun of it and did a port scan, found out they simply had the Telnet port open with no root password set so yeah...
I'd love to flash a custom firmware on the camera since the hardware itself is nice but it doesn't provide RTSP (open Telnet port wouldn't be much of an issue just in my local LAN and behind a separate VLAN) but it seems like that my camera has almost no Google entries at all :(

8 likes
Replies (2)
Vega 2020-01-14 02:24:39

Since around three years I've been seeing you all over YouTube videos I watch. You have some fine taste haha.

4 likes
arshaver 2020-01-14 19:02:49

There is an official Wyze firmware that supports RTSP

0 likes
Brandon Hall 2020-03-02 08:20:34

Such a great video! Very informational

1 like
Abdelrahman Mohamed 2020-04-24 22:13:38

Most devices have some sort of checksum of the firmware binary, how do you usually bypass that?

0 likes
B Targ 2020-04-21 16:26:37

It would be cool to have everything done by one python script.

1 like
Replies (1)
PyPylia 2020-04-23 00:38:54

If I get one of these cameras I'm probably gonna do that. That way I can easily make new firmware for it without having to do all those steps.

0 likes
onometre 2020-12-04 06:01:22

this is why I stick to IoT stuff with minimal risk of harm, like light bulbs

0 likes
codebreaker 1111100111 2020-01-13 17:09:17

Good job on the video, hope u continue to make videos like this

2 likes
Aymen Wolfyy 2021-02-18 21:10:45

it would be great if u do a backdoor on a router firmeware :D

0 likes
Explain it to your therapist. 2020-04-30 16:44:05

Most of the cheap imported Chineseum landfill we lovingly call H.264 DVR equipment, contains (from factory) insecure firmware and/or malicious code concealed within the supporting viewer software. Combined with non secure http servers, these inferior CCTV DV recorder camera systems (intended for domestic use) make for interesting covert viewing and yet another digital playground to abuse for any bored hacker. 🤣

0 likes
SweetRush_Coder 2020-04-29 07:40:21

Can you do one similar reverse engineering on a Huawei 4G dongle , that could be a nice tutorial

2 likes
Leonardo 2021-02-02 05:40:44

I'm taking some courses in IOT, I still can't understand everything here but I'm enjoying it a lot

0 likes
Soulife 2021-05-14 16:29:51 (edited 2021-05-14 17:56:25 )

It's been a few years, but I believe I used to use squashfs as the system image on the good ol' T-Mobile G1 (HTC Dream), the first Android device. But I thought it wasn't read-only once mounted as I used to manipulate the system partition all the time... I may be mistaken tho, that was 2009

0 likes
Somehow Sane 2020-01-14 21:53:03

Awesome Video! Keep up the good work!

1 like
Ricardo JL Rufino 2022-02-12 17:26:48

Very good Job. I liked reverse Shell using netcat , i'm using reverse ssh , bit this is more easy

0 likes
The Whirlwind 2020-05-07 04:28:37

Where does the reverse shell point to initially? If you were to run PWD for example. Is it just the home dir of the user? (In the case of the video the user would be root)

0 likes
FartOnCats 2020-11-22 23:26:37

How did he calculate the size of each section at 3:07

1 like
Navdeep Kumar 2020-01-13 15:28:23

Great to see you back. Hope you'll post more videos.

9 likes
ABC 2021-05-18 17:16:35

Hi, could you make a video about reading a bluetooth headphones firmware? I wonder how and if it's even possible. My ubuntu can't see it while they're connected via usb cable and I'm not that smart (yet) to get a custom connection via bluetooth.

0 likes
Lucas Zanella 2020-01-16 16:48:44

Could you extract the firmware for Vstarcam cameras? They're not available online and the updater inside the camera only downloads a diff of what needs to be updated. I tried extracting from the flash using a raspberry pi but it didn't work. These cameras are one of the most sold on aliexpress and I can't find a way to telnet to them. Their RTSP server keeps crashing and I wanted to write a custom script to restart this server. Would be nice if you managed to crack these cameras. Thanks!

2 likes
Kade Miller 2021-02-09 19:56:13

Firewall! Disallow internet access for any new device on your network (until you trust it), problem solved!!
I remember when I purchased some HikVision cameras and they were so chatty to somewhere in China. I was nervous so I created a firewall rule that basically have them no access to l internet.

0 likes
Sabretooth Barnacle 2021-02-22 08:57:32

What's the method for downloading the firmware already install on the device to see if it has been compromised?

0 likes
Zsolt Sator 2020-05-04 08:51:17 (edited 2020-05-04 09:13:14 )

Would you please help a noob (little knowledge in navigation with Linux) how to check if any suspicious activity is going on on the devices (CCTV) - for instance how to check if any of the cameras or devices connected in my network having connections established outside of my network?
How do I distinguish if the connection is due to cloud functionality (aka mobile access) or due to a malicious SW running in background. Thanks to every comment on this.

1 like
Pál Marci 2021-03-20 15:40:00

very cool i have always been thinking about repacking modified firmwares

0 likes
Chadius Maximus 2020-01-13 15:05:58

Awesome. I actually have one of these sitting around.

18 likes
Chris aka Schulbus 2020-05-03 20:31:12 (edited 2020-05-03 20:32:45 )

and again we learned... if you actually want privacy, don't get stuff that connects to the internet. at the end you're trusting some company and their devices.
don't start crying when someone leaks footage from one of the twenty cameras that you have pointing at yourself. it's a real risk and we all take it.

but hey, everyone NEEDS heating that is controlled by the smartphone and stuff like that, right?

0 likes
Dima Golovin 2020-04-12 12:40:19

NetCat compiled for MIPS should be under 100Kb, no need for a 1.5Mb busybox binary. Good alternative for busybox is toybox (still about 800Kb compiled for MIPS) also has nc.

0 likes
Replies (1)
victornpb 2020-04-22 00:09:14

I’m sure this is just a poc

0 likes
Minh Nguyen 2020-01-16 15:24:44

Amazing video :) Please make more

1 like
Ashish Patel 2020-01-13 15:29:53

I would back up your channel on another platform like Bitchute or library. YouTube has been deleting channels like yours.

226 likes
alooy. eg 2021-11-13 10:41:49

Remember that the I in IoT stands for insecurity.

0 likes
cherry 2020-04-08 21:18:04 (edited 2020-04-08 21:20:27 )

a good video after another and another and another ... good job! Open a patreon if you need a little motivation to upload more frequently. I would sign up just like I'm on the LiveOverflow patreon...

0 likes
Minecraft zombie 2020-01-14 18:34:27

Can I ask how did you learn so much about Linux and other commands that you have used and python ? Please mention any resources that you used while learning.

1 like
Replies (2)
stacksmashing 2020-01-14 19:42:11 (edited 2020-01-14 19:42:32 )

Honestly - I've been using UNIX/Linux just for a long time as my daily driver. Nowadays there is a ton of great introductory material on the net, same for Python. A lot of the embedded knowledge also comes from having written own embedded firmwares etc - I think knowing how to build something drastically helps with taking it apart :)

4 likes
Minecraft zombie 2020-01-15 05:22:17

@stacksmashing thanks for the response !

0 likes
Son Goku 2021-12-22 11:31:03

I have an 'IMOU Ranger - 2 ' IP camera , it got bricked while upgrading it's firmware to the latest version which was followed by a powercut while upgrading. I searched online for its official firmware file but couldn't found one. Any help would be appreciated....

0 likes
Minecraft zombie 2020-01-14 18:10:40

Great content bro 👍😀

1 like
Arnaud MEURET 2021-05-20 06:05:22 (edited 2021-05-20 06:05:37 )

Wait a minute, you mean that those cheap IP cams don’t actually call home naturally ?! 😁

0 likes
The Leopards 2020-01-17 16:56:07

Amazing to see you back.Loved the video

1 like
Fork Bomb 2020-04-23 10:35:26

Why we cannot just use Binwalk to extract the content of the firmware ?

0 likes
Kobus Goosen 2020-04-24 19:22:21

Awesome video!

1 like
Niallirishman 2021-04-19 12:38:09

What plain text http server did you use to get the cam to wget from? As i can't get passed that

0 likes
Craig 2020-04-29 09:28:06

Thanks I believe my nosey neighbors watch me through my LED lights also .

1 like
Xtrem532 2020-03-19 07:45:37

Would building a new busybox with netcat included also be an option?

0 likes
Replies (1)
Brandon 2020-05-28 19:30:39

It depends on how much the size of the firmware increases when the new busybox is compiled

0 likes
Alkeryn 2020-04-29 08:30:46

if it had bash installed, you can do tcp / ip in pure bash
otherwise i'd have compiled a small C executable to do it for me.

0 likes
Replies (1)
fordprefect 2021-01-17 20:38:28

usually socat is included as a busybox binary as well, works as well

0 likes
Ramon Dunker 2021-05-13 22:43:12

Awesome video 😍

0 likes
Jason Day 2020-05-02 06:05:55

So don't buy low-end security equipment if you intend of having it connected to the internet?

0 likes
Movies By Jay 2021-05-15 06:29:47

Great job :)

0 likes
GnobarEl 2020-03-03 14:12:19

I love your videos!

0 likes
EnDeR Wiggin 2021-05-15 20:57:28

any chance this still works with current V2 that are fully updated or new V3?

0 likes
Replies (1)
Brian Wall 2021-05-17 14:24:40

The latest firmware package for the V2 seems to be packed exactly the same way, so I would expect that it still works. I don't have a V3 to test with (yet).

0 likes
Jed Williams 2021-02-15 09:45:56

Anyone click on this and wonder why He needs so many cameras for his back door

1 like
cheynespc 2021-05-18 10:51:59

I used the xiaomi fang hack firmware but it’s even less secure

0 likes
Rene Jensen 2021-05-13 12:50:15

this just looks like magic to me

0 likes
Captain-Slow 2020-01-13 14:55:36

Might have to get a few of those cams now :D

2 likes
Funtastrophe 2021-06-02 03:19:44

Huh, I might try Binwalk to see if it can analyze the contents of my PS2 “disc backup”.

0 likes
Mohammed Mahagna 2021-02-11 20:56:36

how do you know all of that !! that's impressive

0 likes
Fabio Henrique 2021-08-23 20:28:41

This video is AMAZING. Thx

0 likes
piotralex5 2021-05-16 19:13:53

also this telnetd might be accessible for a split second during boot, don't you think?

0 likes
Niklas Gs 2022-01-15 00:29:13

This is so cool!

0 likes
seba n 2020-11-23 09:15:12

Thank you that knowledge!

0 likes
Rainbow Rambo 2021-02-09 23:45:00

Man I feel like I'll never be smart enough for this, but I really want a career in cybersec

0 likes
Replies (1)
Conturnplays Counturn 2021-05-13 05:48:37

never too late to start!

1 like
Zeke Bryant 2021-01-11 11:59:34

God, I got a problem in the first step. I ran "binwalk -t ****.bin", and then there were a lot of zlib compressed data. I just don't know how to address it. Anyone could help? Really appreciate.

0 likes
Standby 2020-04-22 18:15:56

"shameless plug", not sure why but I laughed my ass off at that haha

1 like
western vibes 2020-05-13 16:36:02 (edited 2020-05-13 16:36:46 )

I am dumb i couldn't understand the packing part a bit. Do you have any course online? Or any resources that would help. I come from web and Network exploitation background am getting into firmware reversing and stuffs i couldn't understand a bit while packing the firmware. :(

0 likes
Mer 2020-04-23 14:54:04

Why will you backdoor it if you can brick it and let it unusable?

0 likes
Bunmi Lajide 2020-02-22 15:39:56

can you help please-getting this error when i tried to extract using binwalk -e "WARNING: Extractor.execute failed to run external extractor 'jefferson -d 'jffs2-root' '%e'': [Errno 2] No such file or directory: 'jefferson': 'jefferson', 'jefferson -d 'jffs2-root' '%e'' might not be installed correctly"

0 likes
Replies (1)
stacksmashing 2020-02-27 17:26:36

It means that you don't have "Jefferson" installed: https://github.com/sviehb/jefferson

0 likes
Klemza K 2020-02-04 00:14:28

Can you give us link for IOT device,, ?

0 likes
NoWork NoFood 2022-02-11 21:50:35

99.9% are clueless on where the reset button is located!

0 likes
Βеʀƙ Ӧzcẫñ 2020-01-13 15:57:30

15:50 Thanks for the advice :)

0 likes
Replies (1)
石川界人 2020-02-27 07:15:13

12:50 *

0 likes
Klemza K 2020-02-04 01:20:42

Amazing video...

1 like
Mohamed Isaac 2021-02-04 23:25:56

dude this channel teach a lot better youtube channel easy tips and learn everyday

0 likes
RDCST 2021-05-14 21:09:09

Note to self: Reason to not buy and IP camera #478: IT CAN BE HACKED WITH MALICIOUS FIRMWARE!

Dude, you are coding too fast( to furious?), like you are where writing a letter; you are embarrassing me.

0 likes
m.nageh 2020-01-13 15:37:12

Can you do it on a router too ?!

2 likes
Replies (1)
Reckless Roges 2020-01-14 12:13:14

Depends on which router.

0 likes
Spout Boes 2021-05-12 11:55:09

Broke: "secure" firmware
Bespoke: No firmware XD
#stateless #StateConsideredHarmful

0 likes
Icarus 2021-05-31 16:52:37

I wish i was smart enough to do this

0 likes
Ns Ns 2021-05-30 13:35:04

Amazing vid!

0 likes
MygenteTV 2021-06-16 13:00:48

man, you are a genius. i can only wish to know a half of a half of what you know. can you do some alexa hacking? my brother in law have one and i would love to do some pranks to him

0 likes
Njamhour 2020-04-16 05:43:12

Dude! Amazing!

0 likes
AmnesiaPhotography 2020-07-17 03:56:29

The oh s*** moment at the end... love it

1 like
Alex Maccity 2021-05-19 00:13:24

I know a camera that's hacker proof. VHS analog cameras

0 likes
Pascal 2020-01-14 17:35:58

Welcome Back! Finally a new video! 🙌

1 like
edgeeffect 2021-03-20 10:04:49

That's the best YouTube sponsorship I've ever seen.... "this video is sponsored by ME" ;)

0 likes
Ciao Bello 2020-01-13 16:32:41

cool video..👍👍👍

1 like
C.KRETZ 2020-11-30 17:01:48

Is it save if nobody has hardware access?

0 likes
Javier Aguinaga 2021-11-18 15:19:53

why don't you use binwalk -e?

0 likes
WelshTony1 2021-05-14 12:31:30

Ive watched this twice and still don't have a clue whats happening haha

0 likes
Steve Cross 2021-02-09 05:02:09

From the UK 🇬🇧. Great stuff

0 likes
Hacker Gprat 2020-05-01 14:15:11

One day i will be expert like you are...
Can you help me what should i learn how much should i learn and focus on what things.
Plz make motivation video and failure video of you.
So i can say my self after falure wait a min failure is success key..
So please make video on that

0 likes
Mitch Ross 2021-05-18 12:57:48

Can you do Wyze Cam v3 ?

0 likes
Yona Appletree 2020-04-07 06:30:59

TIL about binwalk. Mind blown.

1 like
Speedy Boi 2020-04-25 22:16:01

The end was real scary

0 likes
Javier 2022-03-07 13:11:57

on 3:13 why did you skipped the 0x80 lzma compressed section

0 likes
MishaProductions 2021-03-12 19:52:57 (edited 2021-03-12 19:54:10 )

I have an old DVR that I am not using, and the firmware was just a tarball. When the device boots, its starts telnetd, and then it never stops it unlike your camera that your showing. And? Can you guess the Root password to the DVR? Its win1dows

1 like
TheFlyingKiwi 2021-05-15 09:38:28

May as well have been speaking Swahili to me... nice to see how stuff gets hacked though

0 likes
Pouria Aghazade 2020-08-08 17:17:46

Instead of using john the ripper why can't we just overwrite the shadow file and put hash of a known password , is that possible?

1 like
Replies (1)
stacksmashing 2020-08-23 13:21:30

You could absolutely do that!

1 like
Coco Sloan 2020-05-02 08:45:13

Wow...Just wow!

1 like
keganpowers34 2022-05-11 05:05:04

Doom on a wyze camera can't wait to see that

0 likes
Thisisgoingdownhill 2020-05-28 03:17:45

Was anyone able to get Jefferson up and running? I went to the github page and followed the steps but was unable to get the python lzma installed. Im on a fresh install of kali.

0 likes
Anomic Xtreme 2021-05-15 20:23:01

This work on the new v3's?

1 like
Dave Smith 2020-04-19 01:21:54

I am trying to learn aboutfirmware and stuff like that and am trying to do this with the foscam firmware 11_37_2_65 when I use binwalk on it it shows a zip archive and a romfs filesystem but I cannot find out how to modify the rom fs filesystem can anyone help and tell me how I can modify it?

binwalk output
20 0x14 Zip archive data, at least v2.0 to extract, compressed size: 740120, uncompressed size: 1547720, name: linux.bin
740270 0xB4BAE End of Zip archive, footer length: 22
740292 0xB4BC4 romfs filesystem, version 1 size: 1003200 bytes, named "rom 52601301"

file output after using the extractor tool
romfs: romfs filesystem, version 1 1003200 bytes, named rom 52601301.

0 likes
Hrishabh Divya 2020-02-11 16:04:49

Will the course be in German or English?

0 likes
flobbie 2021-05-13 23:16:39

Really? It installs unsigned code? All on its own? Jesus.

0 likes
ABC 2021-05-13 23:20:04 (edited 2021-05-13 23:20:25 )

those few last words were completely unnecessary, but on the other hand, I hope that ppl who get successful, won't try it "on public"

0 likes
Saurabh Sharma 2020-12-20 18:46:27

so.....you need physical access to the camera....????

0 likes
Quantum Fang 2020-04-09 02:02:30

Finishes smashing camera on the backdoor of my house.
"I think I'm doing something wrong!"

0 likes
robert strickland 2021-05-18 17:33:36

Wyze is the shadiest shit on Amazon I mean how can you buy that and be totally complicent with knowing that the Chinese have the ability to spy on you.

0 likes
La Flama Blanca 2020-01-14 03:36:11

Whoever disliked this is either an idiot or they accidentally clicked the wrong button. Great video man and it would be good to see more videos like this that give us novices guidance in exploiting devices. It’s also good that you’ve shown it with a device we have access too, so yeh much appreciated 👍

4 likes
Replies (1)
Prehistoricman 2020-01-14 20:49:37

Or they wanted to see disassembly and Ghidra.

0 likes
Adrián Indi 2020-04-27 09:02:00

Once i backdoored my neighbour's security cam. He was backdooring his wife...

26 likes
Replies (2)
Coco Sloan 2020-05-02 08:47:59 (edited 2020-05-02 08:48:07 )

Now you are "backdooring" us? (lying)

1 like
rocco 0x41 2020-05-04 05:37:24

@Coco Sloan boomer

0 likes
foamyrocks665 2021-03-07 09:30:09

And that's why you don't buy cheap Chinese security cameras

0 likes
Lich 2020-04-27 19:02:11

Why do you have to repack the image, Don't you already have telnet access as root?

0 likes
Leo Joey 2020-04-29 14:44:35

god I wish I were this smart

0 likes
Nicola Dellino 2020-11-14 17:40:22

👏👏👏

0 likes
Nilanjan Paul 2021-04-30 15:51:12

where do I learn rev eng??

0 likes
Stratos Lockon 2021-02-02 11:24:14

And this is why you put cameras onto their own isolated LAN without internet.... :D

0 likes
Replies (1)
Fu Updaass 2021-02-15 00:31:17

How do you do that?what if the Camera uses an app?

0 likes
saheen shoukath 2020-02-03 06:15:05

Time to sell some backdoored Cameras. tnx >:)

0 likes
Michael Dai 2020-01-13 22:04:54

more like we hope to see YOU soon on this channel again. Whatever happened to wannacry part 2?

2 likes
Replies (2)
stacksmashing 2020-01-13 22:22:36

Honestly: started it, found that without a debugger it really doesn’t make sense in parts, so hoping for the debugger release :)

1 like
Michael Dai 2020-01-13 22:55:48

@stacksmashing does it uses something like mutable code or something like that? Is that why something like simple ollydbg or x64dbg won't work?

0 likes
Fluffy the neko 2020-05-02 17:39:43

Like in Mr. Robot!

1 like
Replies (1)
Chris aka Schulbus 2020-05-03 20:19:09

but i think there is a lot more going on in the show... i mean, in reality it is pretty much what is shown in the video, but who would watch a show about it? except for strange nerds, that watch videos like this one ;)

0 likes
Lockdown335 2021-06-01 05:42:04

i have one of these branded as Xiaomi? China just does whatever it wants hahaha

0 likes
Daniel Nita 2020-01-14 21:56:39

Why do you have so many cameras, any plans on selling them online? :)

0 likes
Replies (2)
stacksmashing 2020-01-15 09:38:35

As mentioned in the video I'm using them in my IoT security class - also they're so cheap everywhere else that it wouldn't make sense to do that :)

1 like
CaptnMeme 2021-05-23 14:11:02

@stacksmashing we sell them at my work and i want to urge people not to buy them so bad

0 likes
xtdycxtfuv 2020-04-12 13:49:48

hey i love you. this was a fun video to watch

1 like
Abraham 2021-02-17 21:26:37

Ctfs be like 👍

0 likes
Alex Luzinki 2021-05-16 00:22:50

great.

0 likes
Rafacz 2020-01-13 21:58:37

T.Hanks

We need more videos xD

1 like
Super B 2020-04-04 18:41:27

Subbed ;)

0 likes
Saeed Mahmoodi 2020-01-15 10:14:03

I can't attend to your class, can you sell me the recorded videos?

0 likes
Christian Epremian 2020-04-14 07:04:50

I don't understand.
What he win hacking the camera?

0 likes
Replies (1)
Plasmaboo 2020-04-16 03:11:55

nothing really if you're not malicious. It just concrete proof of how (relatively) easy it is to backdoor them.
If you're malicious, you could then sell the backdoored cameras. Not sure what you'd do with the backdoor, but I'm sure people with malicious intents can figure out something to do with it.

1 like
коронавирус 2020-01-14 20:26:15

внезапно ...

0 likes
Miguel Fernández Guirado 2021-04-05 00:05:56

Mirai be like: first time?

0 likes
Satish An 2020-05-05 04:55:27

Want more videos

0 likes
piotralex5 2021-05-16 19:12:30

I feel like rami malek/elliot anderson now

0 likes
Rezwan 2021-05-17 03:51:22

holy shit.. he ruined buying stuff period.. jk.. so much to learn..

0 likes
karubabu 2020-01-13 14:58:49

finally !YAY

2 likes
Saeed Mahmoodi 2020-01-15 09:57:17

WHERE IS MY WANACRY PART 2?????????????

3 likes
** 2021-06-09 17:21:11

i feel like this guy doesn't smile

0 likes
Çağdaş X 2020-05-31 23:28:34

How can I contact with you? @stacksmashing / Ghidra Ninja

0 likes
robercik101 2021-01-31 11:25:47 (edited 2021-01-31 11:26:07 )

Why this script is running telnetd and then kills it, it has no sense

0 likes
Dne Tne 2020-04-28 19:57:32

my_mind == boom

1 like
More and row 2020-01-14 13:33:54

Welcome back-

2 likes
Great Said 2020-01-13 15:20:02

nice

1 like
jaragon1udem 2020-04-18 22:35:00

nice

0 likes
Ilke Tosunoglu 2020-04-23 15:58:48

why nc instead of socat where you have ssl capabilities now your rshell is plaintext

1 like
Halbkorn 2020-04-22 20:46:48

bin mir absolut sicher, dass du aus dem deutschsprachigem raum bist. dieser akzent ist so einzigartig hahah :D

0 likes
Replies (4)
stacksmashing 2020-04-22 20:50:55

Ich nix verstehen😇

0 likes
Halbkorn 2020-04-22 20:55:36

@stacksmashing
i thought your mother language is german. you sound like a german person is speaking english haha

0 likes
stacksmashing 2020-04-24 17:28:28

War ein Witz, ich bin Deutsch :)

1 like
Halbkorn 2020-04-24 17:51:24

@stacksmashing (x

0 likes
bluephreakr 2021-02-19 23:28:27

ismart12 for the password? Hah.
I am 12 and what is smart?

0 likes
Foosa Braun 2020-01-13 15:01:00

Yay! :)

2 likes
caleb munuru 2020-01-14 18:57:48

Ninja Indeed

1 like
Replies (2)
caleb munuru 2020-01-14 19:17:20

@Ghidra Ninja what do I need to do or study to be like you?

0 likes
Prehistoricman 2020-01-14 20:47:46

May be ninja, but not ghidra.

To improve, just do work. Either engineering or reverse engineering. There's no guide to becoming a master, only a beginner.

0 likes
moNgiN1bahsae7ik 2021-05-20 15:15:38

By any chance you don't live in Stuttgart?

0 likes
Dr Dre 2020-01-13 16:05:36

Heck ya new vid

1 like
andre andrade 2021-02-20 01:54:15

Pleeeease, bem more quick... The content is good but I can't almost watch all

0 likes
Gérard 2020-06-09 23:36:02

Your english sounds german. Where are you from?

0 likes
Advaith Madhukar 2020-01-14 03:59:04

Dude where is wanacry part2?

1 like
ThangMD 2020-04-30 15:38:41

Why did I get this recommended?

0 likes
Zomble 2020-04-28 12:01:59

Yikes you use a mac yucky

1 like
Replies (1)
stacksmashing 2020-04-28 17:28:55

¯\_(ツ)_/¯

0 likes