Codecov rule

This commit is contained in:
Florian Roth 2021-04-16 10:32:15 +02:00
parent c5bee404a6
commit ca0dc06384

16
yara/mal_codecov_hack.yar Normal file
View File

@ -0,0 +1,16 @@
rule APT_SH_CodeCov_Hack_Apr21_1 {
meta:
description = "Detects manipulated Codecov bash uploader tool that has been manipulated by an unknown actor during March / April 2021"
author = "Florian Roth"
reference = "https://about.codecov.io/security-update/"
date = "2021-04-16"
strings:
$a1 = "Global report uploading tool for Codecov"
$s1 = "curl -sm 0.5 -d"
condition:
uint16(0) == 0x2123 and
filesize < 70KB and
all of them
}