
clifは、コマンドラインインターフェース(CLI)アプリケーションのファザーであり、Web向けのwfuzzやffufと同様のものです。これは、sudoの脆弱性CVE-2021-3156と、何らかの理由でGoogleのafl-fuzzが無制限の引数やオプション指定を許可しないという事実に触発されました。
clifはコマンドラインインターフェース(CLI)アプリケーションファザーで、wfuzzやffufがWeb向けであるのとほぼ同じです。sudoの脆弱性CVE-2021-3156と、Googleのafl-fuzzが何らかの理由で無制限の引数やオプション指定を許可しないという事実に触発されました。
clif -e <executable> [-w <wordlist>, -n <number_range> -s <string_range>] -a "args_with_marks"
-e - executable
-w - wordlist
-a - arguments as string
-n - number range
-s - list of strings of 'A' a defined length range
# throw wordlist.txt as input
clif -e my_program -w wordlist.txt
# throw wordlist.txt as -p argument
clif -e my_program -w wordlist.txt -a "-p FUZZ"
# throw numbers from range 100..100000000 as the first argument
clif -e my_program -n 100..100000000 -a "-n FUZZ"
# throw a string with length from range 10..100 as the first argument
clif -e my_program -s 10..100
このデモでは、CLIFを使用して、入力引数を処理する際にBOFに対して脆弱なアプリケーションをファズします。引数が10文字を超えると、アプリケーションがクラッシュします。