diff options
-rw-r--r-- | md/devices.md | 0 | ||||
-rw-r--r-- | md/writeup.md | 8 | ||||
-rw-r--r-- | md/writeup/compile_linux_kernel.md | 61 | ||||
-rw-r--r-- | md/writeup/devices/ew-7438rpn.md | 18 |
4 files changed, 83 insertions, 4 deletions
diff --git a/md/devices.md b/md/devices.md new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/md/devices.md diff --git a/md/writeup.md b/md/writeup.md index 6b225f1..a3d3f39 100644 --- a/md/writeup.md +++ b/md/writeup.md @@ -6,7 +6,7 @@ [Using mitmproxy](writeup/mitmproxy.md) [Linux syscall table](notes/syscalls.md) [Using GDB](writeup/using_gdb.md) -<!--[Compile Linux Kernel](writeup/compile_linux_kernel.md)--> +[Compile Linux Kernel](writeup/compile_linux_kernel.md) [QEMU usage](writeup/qemu_usage.md) [Multiboot USB drive](writeup/multiboot_usb_drive.md) [Solving crackmes](writeup/crackme.md) @@ -22,6 +22,12 @@ | [h64e](writeup/h64e.md) | mini hexdump like hex dumper | | [ihe](writeup/ihe.md) | interactive cli hex editor | +### Devices +| Device | Description | Link | +| --- | --- | --- | +| [EW-7438Rpn](writeup/devices/ew-7438rpn.md) | Small router RTL8196 based | [Manufacturer](http://www.edimax.com/edimax/merchandise/merchandise_detail/data/edimax/au/home_legacy_wi-fi_range_extenders/ew-7438rpn/) | +| | | | + # Archive [Create ELF file from scratch](http://archive.main.lv/writeup/create_elf_file_from_scratch.html) [ASCIITex ascii text formating utility](http://archive.main.lv/writeup/asciitex_ascii_text_formating_utility.html) diff --git a/md/writeup/compile_linux_kernel.md b/md/writeup/compile_linux_kernel.md index 1682125..a92d210 100644 --- a/md/writeup/compile_linux_kernel.md +++ b/md/writeup/compile_linux_kernel.md @@ -1,11 +1,66 @@ # Getting sources -## Installing modules +To get main repo kernel +Default kernel is located here + +``` +git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git +``` + +There is whole list of different kernels maintainer ones and much +more. + +``` +https://git.kernel.org/cgit/ +``` + +some distros have their own kernels. Here whole list of kernels +based on ubuntu version + +``` +http://kernel.ubuntu.com/git/ +``` + +And also there is little different native kernel building ways for some distros + +# Compiling + +Run to configure kernel +``` +make menuconfig +``` + +config is saved in _.config_ file. And now we are ready to +compile our first kernel + +``` +make +``` + +<!-- ## Compile module +--> + # Linux patches -## Gr security -## Tomoyo
\ No newline at end of file +## Grsecurity + +Linux security enhancments + +https://grsecurity.net/ + +## Tomoyo + +MAC based securty mechanism + +http://tomoyo.osdn.jp/ + +# Links + +1. https://git.kernel.org/cgit/ +2. https://wiki.ubuntu.com/Kernel/SourceCode +3. https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel +4. https://fedoraproject.org/wiki/Building_a_custom_kernel diff --git a/md/writeup/devices/ew-7438rpn.md b/md/writeup/devices/ew-7438rpn.md new file mode 100644 index 0000000..ec1d928 --- /dev/null +++ b/md/writeup/devices/ew-7438rpn.md @@ -0,0 +1,18 @@ +# EW-7483Rpn + +## Hardware + +| Hardware | Model | +| --- | --- | +| CPU | RTL8196EU | +| Wifi | RTL8192ER | +| Flash | 25L1606 | + +## Dumps + +SPI flash dumps + +| Format | Dump | SHA1 Hash | +| --- | --- | --- | +| ihex | [dump_7438.hex](ew7438/dump_7438.hex) | e748588b0b89f6a182f5e65e2bb8a639439fc2d3 | +| binary| [dump_7438.bin](ew7438/dump_7438.bin) | 16e9cbe86a1905b398d19da34fae6654cda5d922 |
\ No newline at end of file |