forked from Yara-Rules/rules
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mobile rules based on Androguard are now deprecated. Folders were ren…
…amed. Index regenerated.
- Loading branch information
Showing
113 changed files
with
233 additions
and
352 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,37 @@ | ||
language: c | ||
sudo: required | ||
#dist: trusty | ||
|
||
before_install: | ||
- sudo apt-get -qq update | ||
- sudo apt-get install jq | ||
- sudo apt-get install -y \ | ||
automake \ | ||
libtool \ | ||
make \ | ||
gcc \ | ||
pkg-config \ | ||
flex \ | ||
bison \ | ||
libjansson-dev \ | ||
libmagic-dev \ | ||
libssl-dev \ | ||
jq | ||
# Yara | ||
- wget $(curl -s https://api.github.com/repos/VirusTotal/yara/releases/latest | jq -r ".tarball_url") -O yara.tar.gz | ||
#- wget $(wget -O - https://api.github.com/repos/VirusTotal/yara/releases/9250110 | jq -r ".tarball_url") -O yara.tar.gz | ||
- mkdir yara | ||
- tar -C yara -xzvf yara.tar.gz --strip-components 1 | ||
# Androguard for Yara | ||
- wget https://raw.githubusercontent.com/Koodous/androguard-yara/master/androguard.c -O yara/libyara/modules/androguard.c | ||
- wget https://raw.githubusercontent.com/Koodous/androguard-yara/master/dist/yara-3.7.0/libyara/modules/module_list -O yara/libyara/modules/module_list | ||
- wget https://raw.githubusercontent.com/Koodous/androguard-yara/master/dist/yara-3.7.0/libyara/Makefile.am -O yara/libyara/Makefile.am | ||
# libjansson | ||
- wget http://www.digip.org/jansson/releases/jansson-2.7.tar.gz | ||
- tar -xzvf jansson-2.7.tar.gz | ||
- cd jansson-2.7 | ||
- ./configure | ||
- make | ||
- sudo make install | ||
|
||
# Compile Yara | ||
- cd ../yara | ||
# Update per issue 176 | ||
- sed -i 's/#define RE_MAX_SPLIT_ID 128/#define RE_MAX_SPLIT_ID 255/g' libyara/re.c | ||
- sed -i 's/#define RE_MAX_SPLIT_ID 128/#define RE_MAX_SPLIT_ID 255/g' libyara/include/yara/limits.h | ||
- ./bootstrap.sh | ||
- ./configure --enable-cuckoo | ||
- ./configure --enable-cuckoo --enable-magic --with-crypto | ||
- make | ||
- sudo make install | ||
- sudo ldconfig | ||
- cd ../ | ||
|
||
script: | ||
- echo "test" > testfile | ||
- echo "{}" > androguard_report.json | ||
- FALLO=0 | ||
# - for j in $(ls -d */); do for i in $(find $j -type f -name "*.yara" ; find $j -type f -name "*.yar"); do echo $i; yara -x androguard=androguard_report.json $i testfile; if [[ $? -ne 0 ]]; then FALLO=1; fi; done; done | ||
- for i in $(ls *_index.yar); do echo $i; yara -w -x androguard=androguard_report.json $i testfile; if [[ $? -ne 0 ]]; then FALLO=1; fi; done | ||
- for i in $(ls *_index.yar); do echo $i; yara -w $i testfile; if [[ $? -ne 0 ]]; then FALLO=1; fi; done | ||
- exit $FALLO |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./Antidebug_AntiVM/antidebug_antivm.yar" | ||
include "./antidebug_antivm/antidebug_antivm.yar" |
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 |
---|---|---|
@@ -1,18 +1,18 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./CVE_Rules/CVE-2010-0805.yar" | ||
include "./CVE_Rules/CVE-2010-0887.yar" | ||
include "./CVE_Rules/CVE-2010-1297.yar" | ||
include "./CVE_Rules/CVE-2012-0158.yar" | ||
include "./CVE_Rules/CVE-2013-0074.yar" | ||
include "./CVE_Rules/CVE-2013-0422.yar" | ||
include "./CVE_Rules/CVE-2015-1701.yar" | ||
include "./CVE_Rules/CVE-2015-2426.yar" | ||
include "./CVE_Rules/CVE-2015-2545.yar" | ||
include "./CVE_Rules/CVE-2015-5119.yar" | ||
include "./CVE_Rules/CVE-2016-5195.yar" | ||
include "./CVE_Rules/CVE-2017-11882.yar" | ||
include "./CVE_Rules/CVE-2018-20250.yar" | ||
include "./CVE_Rules/CVE-2018-4878.yar" | ||
include "./cve_rules/CVE-2010-0805.yar" | ||
include "./cve_rules/CVE-2010-0887.yar" | ||
include "./cve_rules/CVE-2010-1297.yar" | ||
include "./cve_rules/CVE-2012-0158.yar" | ||
include "./cve_rules/CVE-2013-0074.yar" | ||
include "./cve_rules/CVE-2013-0422.yar" | ||
include "./cve_rules/CVE-2015-1701.yar" | ||
include "./cve_rules/CVE-2015-2426.yar" | ||
include "./cve_rules/CVE-2015-2545.yar" | ||
include "./cve_rules/CVE-2015-5119.yar" | ||
include "./cve_rules/CVE-2016-5195.yar" | ||
include "./cve_rules/CVE-2017-11882.yar" | ||
include "./cve_rules/CVE-2018-20250.yar" | ||
include "./cve_rules/CVE-2018-4878.yar" |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./Capabilities/capabilities.yar" | ||
include "./capabilities/capabilities.yar" |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./Crypto/crypto_signatures.yar" | ||
include "./crypto/crypto_signatures.yar" |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,67 +1,4 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./Mobile_Malware/Android_ASSDdeveloper.yar" | ||
include "./Mobile_Malware/Android_AVITOMMS.yar" | ||
include "./Mobile_Malware/Android_AliPay_smsStealer.yar" | ||
include "./Mobile_Malware/Android_Amtrckr_20160519.yar" | ||
include "./Mobile_Malware/Android_Backdoor.yar" | ||
include "./Mobile_Malware/Android_Backdoor_script.yar" | ||
include "./Mobile_Malware/Android_BadMirror.yar" | ||
include "./Mobile_Malware/Android_Banker_Acecard.yar" | ||
include "./Mobile_Malware/Android_BatteryBot_ClickFraud.yar" | ||
include "./Mobile_Malware/Android_Clicker_G.yar" | ||
include "./Mobile_Malware/Android_Copy9.yar" | ||
include "./Mobile_Malware/Android_DeathRing.yar" | ||
include "./Mobile_Malware/Android_Dectus_rswm.yar" | ||
include "./Mobile_Malware/Android_Dendroid_RAT.yar" | ||
include "./Mobile_Malware/Android_Dogspectus.yar" | ||
include "./Mobile_Malware/Android_FakeApps.yar" | ||
include "./Mobile_Malware/Android_FakeBank_Fanta.yar" | ||
include "./Mobile_Malware/Android_Godless.yar" | ||
include "./Mobile_Malware/Android_HackintTeam_Implant.yar" | ||
include "./Mobile_Malware/Android_Libyan_Scorpions.yar" | ||
include "./Mobile_Malware/Android_MalwareCertificates.yar" | ||
include "./Mobile_Malware/Android_Malware_Ramsonware.yar" | ||
include "./Mobile_Malware/Android_Malware_Tinhvan.yar" | ||
include "./Mobile_Malware/Android_Malware_Towelroot.yar" | ||
include "./Mobile_Malware/Android_Marcher_2.yar" | ||
include "./Mobile_Malware/Android_MazarBot_z.yar" | ||
include "./Mobile_Malware/Android_Metasploit.yar" | ||
include "./Mobile_Malware/Android_Metasploit_Payload.yar" | ||
include "./Mobile_Malware/Android_OmniRat.yar" | ||
include "./Mobile_Malware/Android_Overlayer.yar" | ||
include "./Mobile_Malware/Android_Pink_Locker.yar" | ||
include "./Mobile_Malware/Android_Polish_Bankbot.yar" | ||
include "./Mobile_Malware/Android_RuMMS.yar" | ||
include "./Mobile_Malware/Android_SMSFraud.yar" | ||
include "./Mobile_Malware/Android_SandroRat.yar" | ||
include "./Mobile_Malware/Android_SlemBunk.yar" | ||
include "./Mobile_Malware/Android_SpyAgent.yar" | ||
include "./Mobile_Malware/Android_SpyNote.yar" | ||
include "./Mobile_Malware/Android_Spynet.yar" | ||
include "./Mobile_Malware/Android_Spywaller.yar" | ||
include "./Mobile_Malware/Android_Switcher.yar" | ||
include "./Mobile_Malware/Android_Tachi.yar" | ||
include "./Mobile_Malware/Android_Tempting_Cedar_Spyware.yar" | ||
include "./Mobile_Malware/Android_Tordow.yar" | ||
include "./Mobile_Malware/Android_Triada_Banking.yar" | ||
include "./Mobile_Malware/Android_Trojan_Dendroid.yar" | ||
include "./Mobile_Malware/Android_Trojan_Droidjack.yar" | ||
include "./Mobile_Malware/Android_VikingOrder.yar" | ||
include "./Mobile_Malware/Android_VirusPolicia.yar" | ||
include "./Mobile_Malware/Android_adware.yar" | ||
include "./Mobile_Malware/Android_generic_adware.yar" | ||
include "./Mobile_Malware/Android_generic_smsfraud.yar" | ||
include "./Mobile_Malware/Android_malware_Advertising.yar" | ||
include "./Mobile_Malware/Android_malware_ChinesePorn.yar" | ||
include "./Mobile_Malware/Android_malware_Dropper.yar" | ||
include "./Mobile_Malware/Android_malware_Fake_MosKow.yar" | ||
include "./Mobile_Malware/Android_malware_HackingTeam.yar" | ||
include "./Mobile_Malware/Android_malware_SMSsender.yar" | ||
include "./Mobile_Malware/Android_malware_banker.yar" | ||
include "./Mobile_Malware/Android_malware_xbot007.yar" | ||
include "./Mobile_Malware/Android_mapin.yar" | ||
include "./Mobile_Malware/Android_pornClicker.yar" | ||
include "./Mobile_Malware/Android_sk_bankTr.yar" |
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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./Packers/JJencode.yar" | ||
include "./Packers/Javascript_exploit_and_obfuscation.yar" | ||
include "./Packers/packer.yar" | ||
include "./Packers/packer_compiler_signatures.yar" | ||
include "./Packers/peid.yar" | ||
include "./packers/JJencode.yar" | ||
include "./packers/Javascript_exploit_and_obfuscation.yar" | ||
include "./packers/packer.yar" | ||
include "./packers/packer_compiler_signatures.yar" | ||
include "./packers/peid.yar" |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 26-11-2019 | ||
On 08-01-2020 | ||
*/ | ||
include "./Webshells/WShell_APT_Laudanum.yar" | ||
include "./Webshells/WShell_ASPXSpy.yar" | ||
include "./Webshells/WShell_PHP_Anuna.yar" | ||
include "./Webshells/WShell_PHP_in_images.yar" | ||
include "./Webshells/WShell_THOR_Webshells.yar" | ||
include "./Webshells/Wshell_ChineseSpam.yar" | ||
include "./Webshells/Wshell_fire2013.yar" | ||
include "./Webshells/WShell_Drupalgeddon2_icos.yar" | ||
include "./webshells/WShell_APT_Laudanum.yar" | ||
include "./webshells/WShell_ASPXSpy.yar" | ||
include "./webshells/WShell_Drupalgeddon2_icos.yar" | ||
include "./webshells/WShell_PHP_Anuna.yar" | ||
include "./webshells/WShell_PHP_in_images.yar" | ||
include "./webshells/WShell_THOR_Webshells.yar" | ||
include "./webshells/Wshell_ChineseSpam.yar" | ||
include "./webshells/Wshell_fire2013.yar" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,15 @@ | ||
/* | ||
Generated by Yara-Rules | ||
On 08-01-2020 | ||
*/ | ||
include "./exploit_kits/EK_Angler.yar" | ||
include "./exploit_kits/EK_Blackhole.yar" | ||
include "./exploit_kits/EK_BleedingLife.yar" | ||
include "./exploit_kits/EK_Crimepack.yar" | ||
include "./exploit_kits/EK_Eleonore.yar" | ||
include "./exploit_kits/EK_Fragus.yar" | ||
include "./exploit_kits/EK_Phoenix.yar" | ||
include "./exploit_kits/EK_Sakura.yar" | ||
include "./exploit_kits/EK_ZeroAcces.yar" | ||
include "./exploit_kits/EK_Zerox88.yar" | ||
include "./exploit_kits/EK_Zeus.yar" |
Oops, something went wrong.