Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rules
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-depend
rules
Commits
fae25c09
Unverified
Commit
fae25c09
authored
Aug 05, 2021
by
Jaume Martin
Committed by
GitHub
Aug 05, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #413 from Xyl2k/master
Create MALW_MacGyver.yar
parents
a7463b24
11e24a00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
0 deletions
+52
-0
MALW_MacGyver.yar
malware/MALW_MacGyver.yar
+52
-0
No files found.
malware/MALW_MacGyver.yar
0 → 100644
View file @
fae25c09
/*
This Yara ruleset is under the GNU-GPLv2 license (http://www.gnu.org/licenses/gpl-2.0.html) and open to any user or organization, as long as you use it under this license.
*/
rule MacGyverCap : MacGyver
{
meta:
description = "Generic rule for MacGyver.cap"
author = "xylitol@temari.fr"
date = "2021-05-11"
reference = "https://github.com/fboldewin/MacGyver-s-return---An-EMV-Chip-cloning-case/blob/master/MacGyver's%20return%20-%20An%20EMV%20Chip%20cloning%20case.pdf"
// May only the challenge guide you
hash1 = "9dc70002e82c78ee34c813597925c6cf8aa8d68b7e9ce5bcc70ea9bcab9dbf4a"
strings:
$string1 = "src/MacGyver/javacard/Header.cap" ascii wide
$string2 = "src/MacGyver/javacard/Directory.cap" ascii wide
$string3 = "src/MacGyver/javacard/Applet.cap" ascii wide
$string4 = "src/MacGyver/javacard/Import.cap" ascii wide
$string5 = "src/MacGyver/javacard/ConstantPool.cap" ascii wide
$string6 = "src/MacGyver/javacard/Class.cap" ascii wide
$string7 = "src/MacGyver/javacard/Method.cap" ascii wide
condition:
all of them
}
rule MacGyverCapInstaller : MacGyvercap Installer
{
meta:
description = "Generic rule for Hacktool:Win32/EMVSoft who install MacGyver.cap"
author = "xylitol@temari.fr"
date = "2021-05-11"
reference = "https://github.com/fboldewin/MacGyver-s-return---An-EMV-Chip-cloning-case/blob/master/MacGyver's%20return%20-%20An%20EMV%20Chip%20cloning%20case.pdf"
// May only the challenge guide you
hash1 = "bb828eb0bbebabbcb51f490f4a0c08dd798b1f350dddddb6c00abcb6f750069f"
hash2 = "04f0c9904675c7cf80ff1962bec5ef465ccf8c29e668f3158ec262414a6cc6eb"
hash3 = "7335cd56a9ac08c200cca7e25b939e9c4ffa4d508207e68bee01904bf20a6528"
hash4 = "af542ccb415647dbd80df902858a3d150a85f37992a35f29999eed76ac01a12b"
hash5 = "247484124f4879bfacaae73ea32267e2c1e89773986df70a5f3456b1fb944c58"
hash6 = "1cc8a2f3ce12f4b8356bda8b4aaf61d510d1078112af1c14cf4583090e062fbe"
hash7 = "c23411deeec790e2dba37f4c49c7ecac3c867b7012431c9281ed748519eda65c"
hash8 = "c0d11ed2eed0fef8d2f53920a1e12f667e03eafdb2d2941473d120e9e6f0e657"
hash9 = "1ecfd3755eba578108363c0705c6ec205972080739ed0fbd17439f8139ba7e08"
hash10 = "87678c6dcf0065ffc487a284b9f79bd8c0815c5c621fc92f83df24393bfcc660"
strings:
$string1 = "delete -AID 315041592e5359532e4444463031" ascii wide
$string2 = "install -file MacGyver.cap -nvDataLimit 1000 -instParam 00 -priv 4" ascii wide
$string3 = "-mac_key 404142434445464748494a4b4c4d4e4f" ascii wide
$string4 = "-enc_key 404142434445464748494a4b4c4d4e4f" ascii wide
condition:
all of them
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment