Last active
August 10, 2020 18:51
-
-
Save michaelweber/7d89f01d04dc8174c4cb4bf4db525861 to your computer and use it in GitHub Desktop.
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
rule msxls_zloader_formula_ptg_ref_num_op_count | |
{ | |
meta: | |
description = "Finding XLS2003 documents with a large number of PtgRef->PtgNum->PtgOperator entries" | |
Author = "Michael Weber (@BouncyHat)" | |
strings: | |
$ole_marker = {D0 CF 11 E0 A1 B1 1A E1} | |
$ref_num_op_formula = { 06 00 ?? 00 ?? ?? ?? 00 0F [15] ?? 00 44 ?? ?? ?? ?? 1F ?? ?? ?? ?? ?? ?? ?? ( ?? | ?? 15 ) ( 01 | 02 | 03 | 04 | 05 | 06 | 07 ) } | |
condition: | |
$ole_marker at 0 and #ref_num_op_formula > 1000 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Latest samples updated to handle multiple operators instead of just addition: