0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

SMB(139, 445)攻略メモ

Posted at

SMBの攻略メモ

HTBでSMBが検出された際の攻略方法。
自分用の備忘録です。悪用厳禁。

対象の前提

・Windowsマシーン

手順

1.Enum

  • enum4linux -a -u "guest" -p "" {target IP}
    ターゲットに対して、「guest」ユーザ。パスワードなしで接続試行。
    sharesに対してアクセスができることを確認したため、次の手順。

2.Access & Get Files

  • smbclient -U "guest" //{target IP}/shares
    接続ができたら、dirコマンドなどで、shares配下にどんなファイルがあるかチェック。
    目ぼしいファイルがあれば下記でダウンロード。
    ・mask ""
    ・recurse
    ・prompt
    ・mget *
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?