-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
142 additions
and
35 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
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,40 @@ | ||
/* | ||
* Copyright (C) 2016 RedNaga. http://rednaga.io | ||
* All rights reserved. Contact: [email protected] | ||
* | ||
* | ||
* This file is part of APKiD | ||
* | ||
* | ||
* Commercial License Usage | ||
* ------------------------ | ||
* Licensees holding valid commercial APKiD licenses may use this file | ||
* in accordance with the commercial license agreement provided with the | ||
* Software or, alternatively, in accordance with the terms contained in | ||
* a written agreement between you and RedNaga. | ||
* | ||
* | ||
* GNU General Public License Usage | ||
* -------------------------------- | ||
* Alternatively, this file may be used under the terms of the GNU General | ||
* Public License version 3.0 as published by the Free Software Foundation | ||
* and appearing in the file LICENSE.GPL included in the packaging of this | ||
* file. Please visit http://www.gnu.org/copyleft/gpl.html and review the | ||
* information to ensure the GNU General Public License version 3.0 | ||
* requirements will be met. | ||
* | ||
**/ | ||
|
||
private rule is_dex | ||
{ | ||
meta: | ||
description = "Resembles a DEX file" | ||
|
||
strings: | ||
$dex = { 64 65 78 0A 30 33 ?? 00 } | ||
$odex = { 64 65 79 0A 30 33 ?? 00 } | ||
condition: | ||
$dex at 0 or | ||
$odex at 0 | ||
} |
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 |
---|---|---|
|
@@ -26,6 +26,7 @@ | |
**/ | ||
|
||
import "dex" | ||
include "common.yara" | ||
|
||
rule dexlib1 : compiler | ||
{ | ||
|
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,48 @@ | ||
/* | ||
* Copyright (C) 2016 RedNaga. http://rednaga.io | ||
* All rights reserved. Contact: [email protected] | ||
* | ||
* | ||
* This file is part of APKiD | ||
* | ||
* | ||
* Commercial License Usage | ||
* ------------------------ | ||
* Licensees holding valid commercial APKiD licenses may use this file | ||
* in accordance with the commercial license agreement provided with the | ||
* Software or, alternatively, in accordance with the terms contained in | ||
* a written agreement between you and RedNaga. | ||
* | ||
* | ||
* GNU General Public License Usage | ||
* -------------------------------- | ||
* Alternatively, this file may be used under the terms of the GNU General | ||
* Public License version 3.0 as published by the Free Software Foundation | ||
* and appearing in the file LICENSE.GPL included in the packaging of this | ||
* file. Please visit http://www.gnu.org/copyleft/gpl.html and review the | ||
* information to ensure the GNU General Public License version 3.0 | ||
* requirements will be met. | ||
* | ||
**/ | ||
|
||
include "common.yara" | ||
|
||
rule pangxie_dex : packer | ||
{ | ||
meta: | ||
description = "PangXie" | ||
|
||
strings: | ||
// Lcom/merry/wapper/WapperApplication; | ||
$wrapper = { | ||
00 24 4C 63 6F 6D 2F 6D 65 72 72 79 2F 77 61 70 | ||
70 65 72 2F 57 61 70 70 65 72 41 70 70 6C 69 63 | ||
61 74 69 6F 6E 3B 00 | ||
} | ||
condition: | ||
is_dex and | ||
$wrapper | ||
} | ||
|
||
|
Oops, something went wrong.