tests: fix fva of substring test function

This commit is contained in:
William Ballenthin
2021-08-24 16:32:27 -06:00
parent db45068357
commit 2989732637

View File

@@ -466,8 +466,8 @@ FEATURE_PRESENCE_TESTS = sorted(
("773290...", "function=0x140001140", capa.features.common.String(r"%s:\\OfficePackagesForWDAG"), True), ("773290...", "function=0x140001140", capa.features.common.String(r"%s:\\OfficePackagesForWDAG"), True),
# insn/regex # insn/regex
("pma16-01", "function=0x4021B0", capa.features.common.Regex("HTTP/1.0"), True), ("pma16-01", "function=0x4021B0", capa.features.common.Regex("HTTP/1.0"), True),
("pma16-01", "function=0x40328b", capa.features.common.Regex("www.practicalmalwareanalysis.com"), True), ("pma16-01", "function=0x402F40", capa.features.common.Regex("www.practicalmalwareanalysis.com"), True),
("pma16-01", "function=0x40328b", capa.features.common.Substring("practicalmalwareanalysis.com"), True), ("pma16-01", "function=0x402F40", capa.features.common.Substring("practicalmalwareanalysis.com"), True),
# insn/string, pointer to string # insn/string, pointer to string
("mimikatz", "function=0x44EDEF", capa.features.common.String("INPUTEVENT"), True), ("mimikatz", "function=0x44EDEF", capa.features.common.String("INPUTEVENT"), True),
# insn/string, direct memory reference # insn/string, direct memory reference