Skip to content

Commit 4c5c07b

Browse files
Update README.md
1 parent 1d813a6 commit 4c5c07b

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

README.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,28 @@ Then compare image 1 with image 2 and if there are no differences, you know you
139139
```bash
140140
diff --side-by-side doorbell-1.bin doorbell-2.bin
141141
```
142+
## Before we begin analysis, it's a good idea to first get a hash of the image:
143+
There are several command line utilities that we could use for this including `sha256sum,` `sha512sum` and `md5sum.`
144+
145+
Getting a md5 hash:
146+
```bash
147+
md5sum firmware.bin
148+
5169b9d806903c2df8c07f6d6ec06171 doorbellfirm.bin
149+
```
150+
151+
Getting a sha256 hash:
152+
```bash
153+
sha256sum firmware.bin
154+
59df39887e8e72a9d9b0847bbf7a73aa9afacf9fa5ec1a771493160e470f2131 doorbellfirm.bin
155+
```
156+
157+
Getting a sha512 hash:
158+
```bash
159+
sha512sum firmware.bin
160+
090ba7fcc514530399953de1e65dfc08851aabf08905eab21d501c0630900d445deda27634b5f70b5fe3861ffa735d001987ece7739f31e84a3e8c2f03a0b178 doorbellfirm.bin
161+
162+
```
163+
142164
## Basic Analysis of the Firmware: 💻🕵️
143165
To gather basic strings and identify potential embedded information in the firmware before performing further analysis:
144166
Commands:

0 commit comments

Comments
 (0)