Skip to content

PositiveTechnologies/FP-community-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a community project to create rules for Fingerprint engine in Approof

Use Approof to check your web application for vulnerable and compromised components.

  • Find vulnerable third-parties libs, CMS, frameworks, etc
  • Check for configuration issues
  • Look for exposed critical data (repositories metadata, encryption keys)
  • Find web-shells and malware

You can download Approof here: https://approof.ptsecurity.com/

Fingerprint rules are written in YARA syntax: http://yara.readthedocs.io/en/v3.5.0/writingrules.html

To upload custom rules use "Add Yara rules" option in main menu or just place rules to %LOCALAPPDATA%\Approof\YaraRules\

To contributors:

Please send us your pull requests! We have a competition in three categories:

  • ”Early bird” (the fastest contributor) prize goes to @qwertyDevel
  • “Stakhanovets” (the most efficient contributor) prize goes to @evdenis
  • “80 lvl” (the most surprising rule)

Deadline is 1 Sep 2016. The competition has been extended until 1 Nov 2016.

"Using pull request" guide: https://help.github.com/articles/using-pull-requests/

Rule template:

rule ExampleRule
{
    meta:
		  component_name = "my_component"
		  component_version = "1.0.0"
		  custom_title = "Custom Title"
		  custom_level = "High" // High, Medium, Low
		  custom_description = "Custom description"
 
    strings:
		  $string = "Pattern"
 
    condition:
		  $string
}

How to organize rules:

  1. One vuln - one file
  2. Name file as CVE_<number> (if vuln has CVE) and place it to /my_yara_rules/ folder
  3. Make common rules private and place it to my_yara_rules/my_common_rules.yar
  4. Add maximum version detection patterns in single rule. For expamle if vuln exists in all versions before 2.0.4 add patterns for 2.0.3, 2.0.2, 2.0, 1.0 etc.
  5. Don't forget to add include to /custom_yara_rules.yar

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •