[+] Kernel Binary and Configuration Identifier

This module tries to identify the Linux kernel version and the init command line.

[*] Unique and limited file array generation for /logs/firmware (could take some time)


[+] Possible Linux Kernel found: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed

    Linux version 5.10.52-axis8 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 PREEMPT Wed Nov 30 11:47:20 UTC 2022

[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed

    init=/init.crash

[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed

    init=/linuxrc

[*] Testing possible Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed with vmlinux-to-elf:

[+] Version string: Linux version 5.10.52-axis8 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 PREEMPT Wed Nov 30 11:47:20 UTC 2022
[+] Guessed architecture: armle successfully in 7.95 seconds
[+] Found kallsyms_token_table at file offset 0x008a4b60
[+] Found kallsyms_token_index at file offset 0x008a4e98
[+] Found kallsyms_markers at file offset 0x008a49b4
[+] Found kallsyms_names at file offset 0x00857574
[+] Found kallsyms_num_syms at file offset 0x00857570
[i] Negative offsets overall: 0 %
[i] Null addresses overall: 0 %
[+] Found kallsyms_offsets at file offset 0x0083cac0
[+] Successfully wrote the new ELF kernel to /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed.elf

[+] Successfully generated Linux kernel elf file: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed.elf

[*] Trying to extract kernel configuration from /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed

[+] Possible Linux Kernel found: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown

    Linux version 5.10.52-axis8 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 PREEMPT Wed Nov 30 11:47:20 UTC 2022

[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown

    init=/init.crash

[+] Init found in Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown

    init=/linuxrc

[*] Testing possible Linux kernel file /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown with vmlinux-to-elf:

[+] Version string: Linux version 5.10.52-axis8 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 11.2.0, GNU ld (GNU Binutils) 2.37.20210721) #1 PREEMPT Wed Nov 30 11:47:20 UTC 2022
[+] Guessed architecture: armle successfully in 19.49 seconds
[+] Found kallsyms_token_table at file offset 0x008a4b60
[+] Found kallsyms_token_index at file offset 0x008a4e98
[+] Found kallsyms_markers at file offset 0x008a49b4
[+] Found kallsyms_names at file offset 0x00857574
[+] Found kallsyms_num_syms at file offset 0x00857570
[i] Negative offsets overall: 0 %
[i] Null addresses overall: 0 %
[+] Found kallsyms_offsets at file offset 0x0083cac0
[+] Successfully wrote the new ELF kernel to /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown.elf

[+] Successfully generated Linux kernel elf file: /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown.elf

[*] Trying to extract kernel configuration from /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/boot/zImage-5.10.52-axis8_extract/17760-4189147.gzip_extract/gzip.uncompressed_extract/0-10671360.unknown