WARGAME/forensicscontest

Puzzle #1: Ann’s Bad AIM

daydreamtalker 2024. 4. 28. 01:59

Problem

Anarchy-R-Us, Inc. suspects that one of their employees, Ann Dercover, is really a secret agent working for their competitor. Ann has access to the company’s prize asset, the secret recipe. Security staff are worried that Ann may try to leak the company’s secret recipe.

Security staff have been monitoring Ann’s activity for some time, but haven’t found anything suspicious– until now. Today an unexpected laptop briefly appeared on the company wireless network. Staff hypothesize it may have been someone in the parking lot, because no strangers were seen in the building. Ann’s computer, (192.168.1.158) sent IMs over the wireless network to this computer. The rogue laptop disappeared shortly thereafter.

“We have a packet capture of the activity,” said security staff, “but we can’t figure out what’s going on. Can you help?”

You are the forensic investigator. Your mission is to figure out who Ann was IM-ing, what she sent, and recover evidence including:

1. What is the name of Ann’s IM buddy?

2. What was the first comment in the captured IM conversation?

3. What is the name of the file Ann transferred?

4. What is the magic number of the file you want to extract (first four bytes)?

5. What was the MD5sum of the file?

6. What is the secret recipe?

경쟁사 스파이로 의심되는 직원 Ann의 행동을 관찰하고 있지만 딱히 의심스러운 움직임이 없던 차, 알 수 없는 컴퓨터가 회사 네트워크에 잠깐 나타났는데 Ann의 컴퓨터(192.168.1.158)가 거기에다 IM(=instant messaging)을 보냈다고 한다. 나는 법의학 수사관이고, 그 당시의 패킷 캡쳐를 가지고 증거 6개를 찾아내야 한다.


Explanation

1. What is the name of Ann’s IM buddy? (앤의 IM 친구의 이름은 무엇인가요?)

제일 먼저 [Analysis] → [Follow] → [TCP stream] 해서 내용을 먼저 봤다.

맥락상 E4628778이 앤이고, 앤이 보내는 상대방의 ID는 Sec558user1 이다.


2. 캡처된 IM 대화의 첫 대화는?

TCP Stream에서 볼 수 있다. 정답은 Here’s the secret recipe


3. 앤이 전송한 파일의 이름은? → recipe.docx


4. 추출할 파일(처음 4바이트)의 매직넘버는 무엇인가?

처음 4 바이트의 뜻은 시그니처를 뜻하는 말이다. 즉, docx의 헤더 시그니처를 찾는 문제이다 → docx의 header signiture는 50 4B 03 04

 


5. 파일의 MD5 요약본은 무엇인가?

HxD에서 [분석] → [체크섬] → [MD-5]를 선택하면 해당 파일의 체크섬을 확인할 수 있다.

6D44A4953CAAEF5DC62CB9A5616CDB96


6. 시크릿 레시피는 무엇인가?

recipe.docx를 추출해야한다. 그랬더니 재난을 위한 레시피를 얻었다.

recipe for disaster


flag🔑

  1. Sec558user1
  2. Here’s the secret recipe
  3. recipe.docx
  4. 50 4B 03 04
  5. 6D44A4953CAAEF5DC62CB9A5616CDB96
  6. recipe for disaster