Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smarter fuzzing strategies. #214

Open
personnumber3377 opened this issue Nov 10, 2024 · 0 comments
Open

Add smarter fuzzing strategies. #214

personnumber3377 opened this issue Nov 10, 2024 · 0 comments

Comments

@personnumber3377
Copy link

Hi!

There exists a fuzzer for the tcpsigner testing binary, but it just uses the default mutation engine which afl uses. The interesting APDU messages sent to the program are highly structured and random mutations of these binary messages are unlikely to yield any interesting results. I have begun developing a custom mutator specifically for this program which you can find here: https://github.com/personnumber3377/apdu_custom_mutator which aims to provide smarter fuzzing strategies for these messages. It for example takes into account the input format for the data to the program. It deserializes the input data into message objects, then mutates those message objects (such as swapping their places, deleting messages and multiplying them) and then serializes them back to binary. This way the deeper program logic gets fuzzed, not just the shallow parsing logic. It is still work in progress, so feel free to suggest changes to it. I have written a (badly written) blog post here: https://personnumber3377.github.io/projects/implementing_a_custom_mutator_for_apdu.html about the development of this mutator.

Thanks in advance for your response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant