Slide 38
Slide 38 text
38
彼⼥に振り向いてもらう(検知させる)⽅法
EC2からクレデンシャルを取得
[ec2-user@ip-172-31-24-107 ~]$ mu=h=p://169.254.169.254/latest/meta-
data/iam/security-credenJals/;curl -s $mu | echo $mu$(cat) | xargs -n1 curl
{
"Code" : "Success",
"LastUpdated" : "2022-01-22T07:57:56Z",
"Type" : "AWS-HMAC",
"AccessKeyId" : "ASIAXXXXXXXXXXXXXXG4",
"SecretAccessKey" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"Token" : "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx==",
"ExpiraJon" : "2022-01-22T14:24:21Z”
}
EC2
Session
Manager