Skip to content
/ Ese Public

Ese - easy sample extraction to create yara rules

Notifications You must be signed in to change notification settings

delyee/Ese

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alpha version!


Why need --generic?:

asciicast


Example of pattern extraction and writing the rule:

  1. Start:
➜  Ese git:(master) ✗ python3 ese.py -f malware/sample1_wso.php
  1. See output:

output

  1. Write example rule:
rule f49dd66a179e44e9a0a5a173676a4525: phpshell
{
    meta:
        author = "delyee"
        date = "08.10.2019"
        sha256sum = "1c62a00fe13fbff09ebc16cf408f5d9f53a285fc1014438c2a488e3f6d2b65bc"
    strings:
        $ = "<?php eval(gzinflate(base64_decode('HZzHkuNQdgV"
        $ = "Z///s//AQ=='))); ?>"
    condition:
        all of them
}
  1. Result:

result

  1. Results for other samples:

result


About

Ese - easy sample extraction to create yara rules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages