YARA triageHackBlue

Sort a shared upload folder by rule tag

A customer upload share was abused. Scan it with a tagged rule set, print the tags, and count what kind of malicious content is there before deciding who to call first.

  • Terminal mission
  • Intermediate
  • 4 questions
  • 0 of 4 solved

Your goal

Your goalSort a shared upload folder by rule tag and count what kind of malicious content is there.

A misconfigured upload share accepted any file for a month. Hosting wants to know what is in it before they wipe it.

YARA rules can carry tags after a colon. yara -g prints them next to each match, which makes a quick summary with cut, sort, and uniq -c.

What’s on screen
Briefing
the story: what happened and what evidence you were handed.
Terminal
the dark box. It is a pretend Linux shell that runs in your browser. Type a command and press Enter. Nothing you type touches a real system.
Walkthrough
the numbered path. Each step says what to type and what you should see. Hints open one at a time.
Answer boxes
under each question step. Type what you found and press Check.
Words to know
YARA
a rule language for finding patterns in files

analyst@detect-lab

detect-lab · YARA triage

Type help for the command list and objectives for your tasks. Everything runs in this browser.

Up and down arrows walk your history. Ctrl+L clears the screen. Try help, ls, and objectives.