Skip to content

Commit 562e269

Browse files
Update README.md
1 parent 16f1d4f commit 562e269

File tree

1 file changed

+61
-23
lines changed

1 file changed

+61
-23
lines changed

README.md

Lines changed: 61 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -81,18 +81,18 @@ We learned a lot about this firmware just from a log file. One of perhaps the mo
8181
The name of this operating system is ***Tina Linux.*** If you haven't done so already, go over to my youtube channel, hit that like button, subscribe and check out the next video...
8282

8383
```bash
84-
$sed -n '36,47p' Bootlogs.txt
85-
86-
BusyBox v1.27.2 () built-in shell (ash)
87-
88-
_____ _ __ _
89-
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
90-
| | _ | || | | |__ | || || | ||_'_|
91-
| | | || | || _ | |_____||_||_|_||___||_,_|
92-
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
93-
----------------------------------------------
94-
Tina Linux (Neptune, 5C1C9C53)
95-
----------------------------------------------
84+
$ sed -n '36,47p' Bootlogs.txt
85+
86+
BusyBox v1.27.2 () built-in shell (ash)
87+
88+
_____ _ __ _
89+
|_ _||_| ___ _ _ | | |_| ___ _ _ _ _
90+
| | _ | || | | |__ | || || | ||_'_|
91+
| | | || | || _ | |_____||_||_|_||___||_,_|
92+
|_| |_||_|_||_|_| Tina is Based on OpenWrt!
93+
----------------------------------------------
94+
Tina Linux (Neptune, 5C1C9C53)
95+
----------------------------------------------
9696
```
9797
>**Tip:**
9898
> You can use `sed` to display only lines 36 to 47 from the Bootlogs.txt file.
@@ -160,11 +160,11 @@ To unpack the firmware and extract embedded files or hidden elements, I used bin
160160
161161
binwalk -eM doorbell.bin # Extract known file types (-e), and recursively scan extracted files (-M)
162162
```
163-
## Basic Analysis of the Firmware Filesystem: 🗃🕵️
163+
## Basic Analysis of the Firmware's Filesystem: 🗃🕵️
164164

165-
#### We are performing *static* analysis, later in the series we look at *dynamic* analysis.
165+
#### We are performing <ins>*static*</ins> analysis, later in the series we look at <ins>*dynamic*</ins> analysis.
166166

167-
##### Here are some of the things we are lookin for:
167+
##### Here are some of the things we are looking for:
168168
+ what's inside /etc/shadow and /etc/passwd
169169
+ configuration files
170170
+ script files
@@ -176,26 +176,65 @@ To unpack the firmware and extract embedded files or hidden elements, I used bin
176176
+ URLs, email addresses and IP addresses
177177
+ and more…
178178
179-
#### Interesting... Inside of ***etc/passwd*** we find a **root** user with a shell!
179+
#### Interesting... Inside of the <ins>passwd</ins> file we find a *root* user with a shell!
180+
180181
```bash
181-
cat passwd
182+
183+
$ cat passwd
184+
182185
root:$1$0WlvKUDR$.yqcW5hBKyVJKCHQ4njdB/:0:0:root:/root:/bin/ash
183186
daemon:*:1:1:daemon:/var:/bin/false
184187
ftp:*:55:55:ftp:/home/ftp:/bin/false
185188
network:*:101:101:network:/var:/bin/false
186189
nobody:*:65534:65534:nobody:/var:/bin/false
187190
```
188-
#### Next we check the **shadow** file:
191+
#### Next we check the <ins>**shadow**</ins> file:
192+
189193
```bash
190-
cat shadow
194+
$ cat shadow
195+
191196
root:91rMiZzGliXHM:1:0:99999:7:::
192197
daemon:*:0:0:99999:7:::
193198
ftp:*:0:0:99999:7:::
194199
network:*:0:0:99999:7:::
195200
nobody:*:0:0:99999:7:::
196201
```
202+
#### This is easily crackable even for a noob! We're going to be using `john` also known as *John The Ripper.*
203+
We are only concerned with the first line of the `shadow` file. Copy that line and paste it into a file called
204+
hash.txt outside of the firmware image's filesystem.
205+
206+
```bash
207+
$ cat hash.txt
208+
209+
root:91rMiZzGliXHM:1:0:99999:7:::
210+
```
211+
To install John:
212+
213+
```bash
214+
sudo apt install john
215+
```
216+
And finally, the only thing needed is to run `john` on the file containing the hash, no options:
217+
218+
```bash
219+
220+
┌──(kali㉿B6OC19UvUnHg)-[~]
221+
└─$ john hash.txt
222+
Created directory: /home/kali/.john
223+
Using default input encoding: UTF-8
224+
Loaded 1 password hash (descrypt, traditional crypt(3) [DES 256/256 AVX2])
225+
Will run 4 OpenMP threads
226+
Proceeding with single, rules:Single
227+
Press 'q' or Ctrl-C to abort, almost any other key for status
228+
Almost done: Processing the remaining buffered candidate passwords, if any.
229+
Proceeding with wordlist:/usr/share/john/password.lst
230+
tina (root)
231+
1g 0:00:00:01 DONE 2/3 (2025-03-31 08:15) 0.9803g/s 26739p/s 26739c/s 26739C/s 123456..HALLO
232+
Use the "--show" option to display all of the cracked passwords reliably
233+
Session completed.
234+
```
197235
198-
## Contributing & Collaboration
236+
🗝fr
237+
## Contributing & Collaboration: 🤝
199238
200239
#### This is an open project, and I welcome contributions and feedback from the community. If you have insights, improvements, or additional findings related to the firmware, please feel free to submit issues or pull requests.
201240
@@ -217,17 +256,16 @@ To unpack the firmware and extract embedded files or hidden elements, I used bin
217256
218257
Your thoughts, questions, and feedback are greatly appreciated! Feel free to open an issue or leave a comment. Let’s collaborate and make this project even better.
219258
220-
Thank you for checking out ***[D00rb3ll](https://github.com/DouglasFreshHabian/d00rb3ll). Stay tuned for future updates, and happy reverse engineering!
259+
Thank you for checking out [D00rb3ll](https://github.com/DouglasFreshHabian/d00rb3ll). Stay tuned for future updates, and happy reverse engineering!
221260
222261
223262
## Resources: [FreshPdfLibrary](https://github.com/DouglasFreshHabian/FreshPdfLibrary)
224263
In this repo, you find the guide that I am using in this series as well as a lot more!!!
225264
226265
### If you have not done so already, please head over to the channel and hit that subscribe button to show some support. Thank you!!!
227266
228-
## 👍 [https://www.youtube.com/@DouglasHabian-tq5ck](https://www.youtube.com/@DouglasHabian-tq5ck)
267+
## 👊 [https://www.youtube.com/@DouglasHabian-tq5ck](https://www.youtube.com/@DouglasHabian-tq5ck)
229268
230-
231269
232270
233271

0 commit comments

Comments
 (0)