AWS - Lightsail Persistence

AWS ํ•ดํ‚น ๋ฐฐ์šฐ๊ธฐ ๋ฐ ์—ฐ์Šตํ•˜๊ธฐ:HackTricks Training AWS Red Team Expert (ARTE) GCP ํ•ดํ‚น ๋ฐฐ์šฐ๊ธฐ ๋ฐ ์—ฐ์Šตํ•˜๊ธฐ: HackTricks Training GCP Red Team Expert (GRTE)

HackTricks ์ง€์›ํ•˜๊ธฐ

Lightsail

์ž์„ธํ•œ ์ •๋ณด๋Š” ๋‹ค์Œ์„ ํ™•์ธํ•˜์„ธ์š”:

AWS - Lightsail Enum

์ธ์Šคํ„ด์Šค SSH ํ‚ค ๋ฐ DB ๋น„๋ฐ€๋ฒˆํ˜ธ ๋‹ค์šด๋กœ๋“œ

๋น„๋ฐ€๋ฒˆํ˜ธ๋Š” ์•„๋งˆ ๋ณ€๊ฒฝ๋˜์ง€ ์•Š์„ ๊ฒƒ์ด๋ฏ€๋กœ, ์ด๋ฅผ ๋ณด์œ ํ•˜๋Š” ๊ฒƒ์ด ์ง€์†์„ฑ์„ ์œ„ํ•œ ์ข‹์€ ์˜ต์…˜์ž…๋‹ˆ๋‹ค.

๋ฐฑ๋„์–ด ์ธ์Šคํ„ด์Šค

๊ณต๊ฒฉ์ž๋Š” ์ธ์Šคํ„ด์Šค์— ์ ‘๊ทผํ•˜์—ฌ ๋ฐฑ๋„์–ด๋ฅผ ์„ค์น˜ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค:

  • ์ „ํ†ต์ ์ธ ๋ฃจํŠธํ‚ท ์‚ฌ์šฉ ์˜ˆ

  • ์ƒˆ๋กœ์šด ๊ณต๊ฐœ SSH ํ‚ค ์ถ”๊ฐ€

  • ๋ฐฑ๋„์–ด์™€ ํ•จ๊ป˜ ํฌํŠธ ๋…ธํ‚น์œผ๋กœ ํฌํŠธ ๋…ธ์ถœ

DNS ์ง€์†์„ฑ

๋„๋ฉ”์ธ์ด ๊ตฌ์„ฑ๋œ ๊ฒฝ์šฐ:

  • IP๋ฅผ ๊ฐ€๋ฆฌํ‚ค๋Š” ์„œ๋ธŒ๋„๋ฉ”์ธ ์ƒ์„ฑํ•˜์—ฌ ์„œ๋ธŒ๋„๋ฉ”์ธ ํƒˆ์ทจ๋ฅผ ์ˆ˜ํ–‰

  • ๋„๋ฉ”์ธ์—์„œ ์ด๋ฉ”์ผ์„ ๋ณด๋‚ผ ์ˆ˜ ์žˆ๋„๋ก SPF ๋ ˆ์ฝ”๋“œ ์ƒ์„ฑ

  • ์ฃผ ๋„๋ฉ”์ธ IP๋ฅผ ์ž์‹ ์˜ IP๋กœ ์„ค์ •ํ•˜๊ณ , ์ž์‹ ์˜ IP์—์„œ ํ•ฉ๋ฒ•์ ์ธ IP๋กœ MitM ์ˆ˜ํ–‰

AWS ํ•ดํ‚น ๋ฐฐ์šฐ๊ธฐ ๋ฐ ์—ฐ์Šตํ•˜๊ธฐ:HackTricks Training AWS Red Team Expert (ARTE) GCP ํ•ดํ‚น ๋ฐฐ์šฐ๊ธฐ ๋ฐ ์—ฐ์Šตํ•˜๊ธฐ: HackTricks Training GCP Red Team Expert (GRTE)

HackTricks ์ง€์›ํ•˜๊ธฐ

Last updated