Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
brian
committed
Aug 21, 2018
1 parent
bda361e
commit 3c06353
Showing
3 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
/* | ||
Yara Rule Set | ||
Author: Brian Laskowski | ||
Date: 2018-08-21 | ||
Identifier: shell | ||
Reference: https://github.com/Hestat/lw-yara/ | ||
*/ | ||
|
||
/* Rule Set ----------------------------------------------------------------- */ | ||
|
||
rule infected_08_21_18_shell2_shell_test { | ||
meta: | ||
description = "shell - file test.php" | ||
author = "Brian Laskowski" | ||
reference = "https://github.com/Hestat/lw-yara/" | ||
date = "2018-08-21" | ||
hash1 = "f48a75ca4c418e39f0b1a81476a6a05c02c22d68a28f93eec503307adec81cf6" | ||
strings: | ||
$s1 = "print \"<b>send an report to [\".$_POST['email'].\"] - Order : $xx</b>\"; " fullword ascii | ||
$s2 = "mail($_POST['email'],\"Result Report Test - \".$xx,\"WORKING !\");" fullword ascii | ||
//$s3 = "er=\"Order ID\" name=\"orderid\" value=\"<?php print $_POST['orderid']?>\" ><br>" fullword ascii | ||
$s4 = "if (!empty($_POST['email'])){" fullword ascii | ||
$s5 = "$xx =$_POST['orderid'];" fullword ascii | ||
$s6 = "Upload is <b><color>WORKING</color></b><br>" fullword ascii | ||
condition: | ||
( uint16(0) == 0x3f3c and | ||
filesize < 1KB and | ||
( all of them ) | ||
) or ( all of them ) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters