def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\certoc.exe"),
                    event.deep_get("OriginalFileName", default="") == "CertOC.exe",
                ]
            ),
            any(
                [
                    " -LoadDLL " in event.deep_get("CommandLine", default=""),
                    " /LoadDLL " in event.deep_get("CommandLine", default=""),
                    " –LoadDLL " in event.deep_get("CommandLine", default=""),
                    " —LoadDLL " in event.deep_get("CommandLine", default=""),
                    " ―LoadDLL " in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
