問題 coverage-300220-cbrthd-yara・第1版

問題

MZとmarkerの両方があり1MiB未満のfileだけを対象にしたい。conditionはどれか。

  1. A 

    uint16(0) == 0x5A4D or all of them

  2. B 

    filesize <= 1MBだけ

  3. C 

    uint16(0) == 0x5A4D and filesize < 1MB and all of them

正解:C

理由

全条件をANDで満たす。

選択肢ごとの説明

A.

uint16(0) == 0x5A4D or all of them

MZだけで一致し得る。

B.

filesize <= 1MBだけ

1MiBを含みmarkerやheaderも確認しない。

C.

uint16(0) == 0x5A4D and filesize < 1MB and all of them

全条件をANDで満たす。

関連する解説

検知signatureの構築

参考資料

お問い合わせ

演習する →