Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

README.md

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

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.