liyansong2018 / elfspirit Goto Github PK
View Code? Open in Web Editor NEWELF static analysis and injection framework that parse, manipulate, patch and camouflage ELF files.
License: MIT License
ELF static analysis and injection framework that parse, manipulate, patch and camouflage ELF files.
License: MIT License
The files that trigger crash are as follows:
6crash.zip
poc
$ ./elfspirit parse id_000000
log
[+] ELF Header
e_type: 3 -> A shared object
e_machine: 62 -> Intel 80386
e_version: 1 -> Current version
e_entry: 4176
e_phoff: 64
e_shoff: 13608
e_flags: 0
e_ehsize: 64
e_phentsize: 56
e_phnum: 9
e_shentsize: 64
e_shentsize: 64
e_shstrndx: 27
[+] Section Header Table
[Nr] Name Type Addr Off Size Es Flg Lk Inf Al
AddressSanitizer:DEADLYSIGNAL
=================================================================
==193419==ERROR: AddressSanitizer: SEGV on unknown address 0x7f08638c5000 (pc 0x7f0842727231 bp 0x7ffcbf981330 sp 0x7ffcbf980ad8 T0)
==193419==The signal is caused by a READ memory access.
#0 0x7f0842727231 (/lib/x86_64-linux-gnu/libc.so.6+0x15f231)
#1 0x7f08427c9a8c in __interceptor_strlen ../../../../src/libsanitizer/sanitizer_common/sanitizer_common_interceptors.inc:368
#2 0x55862b528026 in parse /home/lys/Tools/elfspirit/parse.c:975
#3 0x55862b4c5167 in readcmdline /home/lys/Tools/elfspirit/main.c:251
#4 0x55862b4c5167 in main /home/lys/Tools/elfspirit/main.c:263
#5 0x7f08425efe49 in __libc_start_main ../csu/libc-start.c:314
#6 0x55862b4c5d09 in _start (/home/lys/Tools/elfspirit/elfspirit+0x9d09)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x15f231)
==193419==ABORTING
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.