Skip to content

rules to identify files containing juicy information like usernames, passwords etc

License

Notifications You must be signed in to change notification settings

DiabloHorn/yara4pentesters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

yara4pentesters

rules to identify files containing juicy information like usernames, passwords etc

requirements

searching for files

Remember that depending on the YARA version or operating system that you use, the syntax might vary slightly.

recursive search

yara -r juicy_files.txt <location>

recursive search by tag

yara -t <tag> -r juicy_files.txt <location>

recursive search single rule

yara -i <rule identifier/name> -r juicy_files.txt <location>

examples

~/Desktop/yara4pentesters$ yara -r juicy_files.txt ../y4p_files
shadow_file ../y4p_files/shadow
hive_file ../y4p_files/mysecurity
hive_file ../y4p_files/mysam
hive_file ../y4p_files/system
hive_file ../y4p_files/mysystem
ntds_file ../y4p_files/ntds.dit


~/Desktop/yara4pentesters$ yara -t linux -r juicy_files.txt ../y4p_files
shadow_file ../y4p_files/shadow

~/Desktop/yara4pentesters$ yara -i ntds_file -r juicy_files.txt ../y4p_files
ntds_file ../y4p_files/ntds.dit

References

About

rules to identify files containing juicy information like usernames, passwords etc

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published