so,
i wanna know how my router manged to get the default credentials (that sticker in the back) even after i installed a new firmware file, i am new this area, to my knowledge in that firmware bin file it have SquashFS, kernel and the overlay fs. so after i flashed the firmware, passwords should be removed from the system right, but after i do factory reset, my credentials coming back. i wanna know how
this is binwalk output from the firmware
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
DECIMAL HEXADECIMAL DESCRIPTION
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0 0x0 uImage firmware image, header size: 64 bytes, data size: 2191384 bytes, compression: lzma, CPU: MIPS32, OS: Linux, image type: OS Kernel
Image, load address: 0x80001000, entry point: 0x80001000, creation time: 2022-01-12 05:55:32, image name: "MIPS OpenWrt Linux-4.14.148"
2191448 0x217058 SquashFS file system, little endian, version: 4.0, compression: xz, inode count: 2680, block size: 1048576, image size: 10493064 bytes,
created: 2022-07-20 19:41:46
12713984 0xC20000 JFFS2 filesystem, little endian, nodes: 2257, total size: 3670028 bytes
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Analyzed 1 file for 85 file signatures (187 magic patterns) in 18.0 milliseconds
and this is the partition layout in my router
root@tz:/# cat /proc/mtd
dev: size erasesize name
mtd0: 00030000 00010000 "u-boot"
mtd1: 00008000 00008000 "u-boot-env"
mtd2: 00010000 00010000 "factory"
mtd3: 00fb0000 00010000 "firmware"
mtd4: 00217058 00010000 "kernel"
mtd5: 00d98fa8 00010000 "rootfs"
mtd6: 00390000 00010000 "rootfs_data"
mtd7: 00008000 00008000 "tozed-conf"
root@tz:/#
i am sorry if i use wrong terms, i am still learning.
so my suspect is they are storing those default credentials in factory
or tozed-conf
maybe i am completely wrong. can some one help me to identify this, and if they do, how i can see em? i already have the bin files downloaded.
thank youuu...