글
← 전체 글Hack The Box / Starting Point / Tier 0 - Foundations

Dancing

해당 문제는 HTB에서 공개 가능한 문제로 블로그에 라이트업 공개가 허용된 문제이므로 포스팅 합니다.

개요

Dancing은 서버 메시지 블록(SMB) 프로토콜을 소개하는 매우 쉬운 Windows 머신(가상 컴퓨터)으로, 비밀번호 없이 접근을 허용하는 잘못된 설정이 있을 때의 프로토콜 열거(Enumeration)와 취약점 공격(Exploitation)을 다룹니다.

TASK1

What does the 3-letter acronym SMB stand for?

Server Message Block

Task2

What port does SMB use to operate at?

445

Task3

What is the service name for port 445 that came up in our Nmap scan?

image

microsoft-ds

Task4

What is the 'flag' or 'switch' that we can use with the smbclient utility to 'list' the available SMB shares on Dancing?

-L

TASK5

How many shares are there on Dancing?

image-2

패스워드는 그냥 엔터 치니까 넘어가짐 ;;

4

TASK6

What is the name of the share we are able to access in the end with a blank password?

image-3

-N 옵션으로 들어갈 수 있는 곳은 WorkShares

TASK7

What is the command we can use within the SMB shell to download the files we find?

get

TASK8

Submit the flag located on the SMB share.

image-4

Amy.J 에는 별거 없고 James.P 에 존재함

get으로 flag.txt 얻어주고 읽으면 됨

5f61c10dffbc77a704d76016a22f1664