import re


def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\ping.exe"),
            re.match(r"0x[a-fA-F0-9]{8}", event.deep_get("CommandLine", default="")),
        ]
    ):
        return True
    return False
