QuestionQ48

VerifiedSecurity Operations

A security analyst needs to identify documents containing encoded ActiveMime payloads in a directory with thousands of files. The analyst runs this command:

grep -rail ActiveMime *

The command produces no output. Which of the following Yet Another Recursive Acronym (YARA) rules should the analyst use to locate the suspicious files?

Explanation

YARA’s base64 text-string modifier generates and searches for Base64 representations of the specified string, allowing detection of an encoded ActiveMime marker. Requiring %PDF at offset 0 limits matches to files with a PDF header. The fullword, nocase, and ascii modifiers do not search Base64-encoded text, and base64 is incompatible with fullword and nocase.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!