{"id":479127,"date":"2023-08-09T10:01:33","date_gmt":"2023-08-09T10:01:33","guid":{"rendered":""},"modified":"2023-09-05T11:18:13","modified_gmt":"2023-09-05T11:18:13","slug":"stack-smashing","status":"publish","type":"wiki","link":"https:\/\/oneproxy.pro\/jp\/wiki\/stack-smashing\/","title":{"rendered":"\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0"},"content":{"rendered":"<p>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306b\u95a2\u3059\u308b\u7c21\u5358\u306a\u60c5\u5831<\/p>\n<p>\u30b9\u30bf\u30c3\u30af \u30b9\u30de\u30c3\u30b7\u30f3\u30b0 (\u30d0\u30c3\u30d5\u30a1 \u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3068\u3082\u547c\u3070\u308c\u308b) \u3068\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30b9\u30bf\u30c3\u30af\u4e0a\u306e\u30d0\u30c3\u30d5\u30a1\u306b\u3001\u305d\u306e\u30d0\u30c3\u30d5\u30a1\u306b\u5b9f\u969b\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u3066\u3044\u308b\u91cf\u3088\u308a\u3082\u591a\u304f\u306e\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\u72b6\u6cc1\u3092\u6307\u3057\u307e\u3059\u3002\u901a\u5e38\u3001\u3053\u306e\u7d50\u679c\u3001\u30c7\u30fc\u30bf\u304c\u96a3\u63a5\u3059\u308b\u30e1\u30e2\u30ea\u4f4d\u7f6e\u3092\u4e0a\u66f8\u304d\u3057\u307e\u3059\u3002\u3053\u308c\u306f\u3001\u4efb\u610f\u306e\u30b3\u30fc\u30c9\u306e\u5b9f\u884c\u306b\u3064\u306a\u304c\u308a\u3001\u653b\u6483\u8005\u304c\u30b7\u30b9\u30c6\u30e0\u3092\u5236\u5fa1\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u60aa\u540d\u9ad8\u3044\u8106\u5f31\u6027\u3067\u3059\u3002<\/p>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u8d77\u6e90\u3068\u305d\u306e\u6700\u521d\u306e\u8a00\u53ca\u306e\u6b74\u53f2<\/h2>\n<p>\u30b9\u30bf\u30c3\u30af \u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u6982\u5ff5\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc\u306e\u521d\u671f\u306e\u9803\u306b\u307e\u3067\u9061\u308a\u307e\u3059\u3002\u30d0\u30c3\u30d5\u30a1 \u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306e\u4e8b\u4f8b\u3068\u3057\u3066\u521d\u3081\u3066\u516c\u306b\u8a18\u9332\u3055\u308c\u305f\u306e\u306f\u30011988 \u5e74\u306e Morris Worm \u3067\u3001UNIX \u306e finger \u30c7\u30fc\u30e2\u30f3\u306e\u8106\u5f31\u6027\u3092\u60aa\u7528\u3057\u305f\u3082\u306e\u3067\u3057\u305f\u3002\u3053\u306e\u4e8b\u4ef6\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30bf\u30fc \u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306e\u5206\u91ce\u3078\u306e\u95a2\u5fc3\u3092\u559a\u8d77\u3057\u3001\u7814\u7a76\u8005\u3084\u5b9f\u52d9\u5bb6\u304c\u3053\u306e\u30bf\u30a4\u30d7\u306e\u8106\u5f31\u6027\u306b\u3055\u3089\u306b\u6ce8\u76ee\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306b\u95a2\u3059\u308b\u8a73\u7d30\u60c5\u5831: \u30c8\u30d4\u30c3\u30af\u306e\u62e1\u5f35<\/h2>\n<p>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306f\u3001\u30b3\u30f3\u30d4\u30e5\u30fc\u30c6\u30a3\u30f3\u30b0\u306e\u6b74\u53f2\u4e0a\u3001\u6700\u3082\u8513\u5ef6\u3057\u3001\u6700\u3082\u5371\u967a\u306a\u8106\u5f31\u6027\u306e 1 \u3064\u3067\u3059\u3002\u30d0\u30c3\u30d5\u30a1 \u30b5\u30a4\u30ba\u3092\u8d85\u3048\u308b\u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\u3068\u3001\u96a3\u63a5\u3059\u308b\u30e1\u30e2\u30ea\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3001\u6b21\u306e\u3088\u3046\u306a\u3055\u307e\u3056\u307e\u306a\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3 \u30ea\u30b9\u30af\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u30b3\u30fc\u30c9\u306e\u5b9f\u884c<\/strong>: \u95a2\u6570\u306e\u623b\u308a\u30a2\u30c9\u30ec\u30b9\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3053\u3068\u3067\u3001\u653b\u6483\u8005\u306f\u5b9f\u884c\u3092\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u306b\u30ea\u30c0\u30a4\u30ec\u30af\u30c8\u3067\u304d\u307e\u3059\u3002<\/li>\n<li><strong>\u30c7\u30fc\u30bf\u7834\u640d<\/strong>: \u91cd\u8981\u306a\u30c7\u30fc\u30bf\u69cb\u9020\u3092\u4e0a\u66f8\u304d\u3059\u308b\u3068\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u4e88\u671f\u3057\u306a\u3044\u52d5\u4f5c\u3092\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u30b5\u30fc\u30d3\u30b9\u62d2\u5426<\/strong>: \u91cd\u8981\u306a\u5236\u5fa1\u30c7\u30fc\u30bf\u3092\u4e0a\u66f8\u304d\u3057\u3066\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30af\u30e9\u30c3\u30b7\u30e5\u3055\u305b\u307e\u3059\u3002<\/li>\n<\/ol>\n<p>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u30ea\u30b9\u30af\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u3001\u30aa\u30da\u30ec\u30fc\u30c6\u30a3\u30f3\u30b0 \u30b7\u30b9\u30c6\u30e0\u306a\u3069\u306e\u3055\u307e\u3056\u307e\u306a\u8981\u56e0\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002<\/p>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u5185\u90e8\u69cb\u9020\uff1a\u4ed5\u7d44\u307f<\/h2>\n<p>\u30b9\u30bf\u30c3\u30af\u7834\u58ca\u306e\u5185\u90e8\u52d5\u4f5c\u306b\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30b9\u30bf\u30c3\u30af \u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u60aa\u7528\u304c\u542b\u307e\u308c\u307e\u3059\u3002\u901a\u5e38\u306f\u6b21\u306e\u3088\u3046\u306b\u5c55\u958b\u3055\u308c\u307e\u3059\u3002<\/p>\n<ol>\n<li><strong>\u30d0\u30c3\u30d5\u30a1\u306e\u4f5c\u6210<\/strong>: \u30b9\u30bf\u30c3\u30af\u4e0a\u306b\u30d0\u30c3\u30d5\u30a1\uff08\u901a\u5e38\u306f\u914d\u5217\uff09\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc<\/strong>: \u30d0\u30c3\u30d5\u30a1\u306b\u4fdd\u6301\u3067\u304d\u308b\u91cf\u3092\u8d85\u3048\u308b\u30c7\u30fc\u30bf\u304c\u66f8\u304d\u8fbc\u307e\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u30e1\u30e2\u30ea\u4e0a\u66f8\u304d<\/strong>: \u4ed6\u306e\u30ed\u30fc\u30ab\u30eb\u5909\u6570\u3084\u623b\u308a\u30a2\u30c9\u30ec\u30b9\u306a\u3069\u306e\u96a3\u63a5\u3059\u308b\u30e1\u30e2\u30ea\u4f4d\u7f6e\u306f\u4e0a\u66f8\u304d\u3055\u308c\u307e\u3059\u3002<\/li>\n<li><strong>\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u30cf\u30a4\u30b8\u30e3\u30c3\u30af<\/strong>: \u4e0a\u66f8\u304d\u3055\u308c\u305f\u623b\u308a\u30a2\u30c9\u30ec\u30b9\u306b\u3088\u308a\u4e88\u671f\u3057\u306a\u3044\u5236\u5fa1\u30d5\u30ed\u30fc\u304c\u767a\u751f\u3057\u3001\u60aa\u610f\u306e\u3042\u308b\u30b3\u30fc\u30c9\u304c\u5b9f\u884c\u3055\u308c\u308b\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ol>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u4e3b\u306a\u7279\u5fb4\u306e\u5206\u6790<\/h2>\n<p>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u4e3b\u306a\u6a5f\u80fd\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<ul>\n<li><strong>\u653b\u6483\u30d9\u30af\u30c8\u30eb<\/strong>: \u30e1\u30e2\u30ea\u3078\u306e\u66f8\u304d\u8fbc\u307f\u304c\u9069\u5207\u306b\u5236\u5fa1\u3055\u308c\u3066\u3044\u306a\u3044\u3053\u3068\u3092\u60aa\u7528\u3057\u307e\u3059\u3002<\/li>\n<li><strong>\u30a4\u30f3\u30d1\u30af\u30c8<\/strong>: \u4e0d\u6b63\u306a\u30b3\u30fc\u30c9\u5b9f\u884c\u3001\u30c7\u30fc\u30bf\u7834\u640d\u3001\u307e\u305f\u306f\u30b7\u30b9\u30c6\u30e0\u30af\u30e9\u30c3\u30b7\u30e5\u306b\u3064\u306a\u304c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<li><strong>\u7de9\u548c\u6280\u8853<\/strong>: \u30b9\u30bf\u30c3\u30af\u30ab\u30ca\u30ea\u30a2\u3001ASLR (\u30a2\u30c9\u30ec\u30b9\u7a7a\u9593\u30ec\u30a4\u30a2\u30a6\u30c8\u306e\u30e9\u30f3\u30c0\u30e0\u5316)\u3001\u9069\u5207\u306a\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u30d7\u30e9\u30af\u30c6\u30a3\u30b9\u306a\u3069\u304c\u542b\u307e\u308c\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30e5\u306e\u7a2e\u985e: \u30c6\u30fc\u30d6\u30eb\u3068\u30ea\u30b9\u30c8\u3092\u4f7f\u7528\u3059\u308b<\/h2>\n<p>\u30d0\u30c3\u30d5\u30a1 \u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u653b\u6483\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u3044\u304f\u3064\u304b\u306e\u7a2e\u985e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<table>\n<thead>\n<tr>\n<th>\u30bf\u30a4\u30d7<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30b9\u30bf\u30c3\u30af\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc<\/td>\n<td>\u30b9\u30bf\u30c3\u30af\u4e0a\u306e\u30ed\u30fc\u30ab\u30eb \u30d0\u30c3\u30d5\u30a1\u30fc\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30d2\u30fc\u30d7\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc<\/td>\n<td>\u30d2\u30fc\u30d7\u4e0a\u306b\u5272\u308a\u5f53\u3066\u3089\u308c\u305f\u30d0\u30c3\u30d5\u30a1\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6574\u6570\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc<\/td>\n<td>\u6574\u6570\u6f14\u7b97\u3092\u5229\u7528\u3057\u3066\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u5f15\u304d\u8d77\u3053\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u5217<\/td>\n<td>\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u6587\u5b57\u5217\u306e\u8106\u5f31\u6027\u3092\u60aa\u7528\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306e\u4f7f\u3044\u65b9\u3001\u554f\u984c\u70b9\u3001\u89e3\u6c7a\u7b56<\/h2>\n<h3>\u4f7f\u7528\u65b9\u6cd5:<\/h3>\n<ul>\n<li>\u8106\u5f31\u6027\u8a55\u4fa1\u306e\u305f\u3081\u306e\u502b\u7406\u7684\u30cf\u30c3\u30ad\u30f3\u30b0\u3002<\/li>\n<li>\u4e0d\u6b63\u306a\u30b7\u30b9\u30c6\u30e0\u5236\u5fa1\u306e\u305f\u3081\u306e\u975e\u502b\u7406\u7684\u306a\u30cf\u30c3\u30ad\u30f3\u30b0\u3002<\/li>\n<\/ul>\n<h3>\u554f\u984c\u70b9:<\/h3>\n<ul>\n<li>\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u30ea\u30b9\u30af<\/li>\n<li>\u30c7\u30fc\u30bf\u6574\u5408\u6027\u306e\u640d\u5931<\/li>\n<\/ul>\n<h3>\u89e3\u6c7a\u7b56:<\/h3>\n<ul>\n<li>\u9069\u5207\u306a\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u624b\u6cd5\u3092\u63a1\u7528\u3059\u308b\u3002<\/li>\n<li>\u30b9\u30bf\u30c3\u30af\u30ab\u30ca\u30ea\u30a2\u3084 ASLR \u306a\u3069\u306e\u30e9\u30f3\u30bf\u30a4\u30e0\u9632\u5fa1\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<h2>\u4e3b\u306a\u7279\u5fb4\u3068\u985e\u4f3c\u7528\u8a9e\u3068\u306e\u6bd4\u8f03<\/h2>\n<table>\n<thead>\n<tr>\n<th>\u5b66\u671f<\/th>\n<th>\u7279\u5fb4<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0<\/td>\n<td>\u30b9\u30bf\u30c3\u30af\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u3001\u5236\u5fa1\u30d5\u30ed\u30fc\u306b\u5f71\u97ff\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u30d2\u30fc\u30d7\u30b9\u30de\u30c3\u30b7\u30f3\u30b0<\/td>\n<td>\u30d2\u30fc\u30d7\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u3001\u30c7\u30fc\u30bf\u304c\u7834\u640d\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td>\u6574\u6570\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc<\/td>\n<td>\u6574\u6570\u6f14\u7b97\u30a8\u30e9\u30fc\u306e\u7d50\u679c\u3067\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u306b\u95a2\u3059\u308b\u5c06\u6765\u306e\u5c55\u671b\u3068\u6280\u8853<\/h2>\n<p>\u5c06\u6765\u306e\u30c6\u30af\u30ce\u30ed\u30b8\u30fc\u306f\u691c\u51fa\u3068\u4e88\u9632\u306e\u4e21\u65b9\u306b\u91cd\u70b9\u3092\u7f6e\u3044\u3066\u3044\u307e\u3059\u3002<\/p>\n<ul>\n<li>\u8106\u5f31\u6027\u3092\u691c\u51fa\u3059\u308b\u305f\u3081\u306e\u6a5f\u68b0\u5b66\u7fd2\u30a2\u30eb\u30b4\u30ea\u30ba\u30e0\u3002<\/li>\n<li>\u3088\u308a\u5b89\u5168\u306a\u30b3\u30fc\u30c9\u751f\u6210\u306e\u305f\u3081\u306e\u9ad8\u5ea6\u306a\u30b3\u30f3\u30d1\u30a4\u30e9\u6280\u8853\u3002<\/li>\n<li>\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u653b\u6483\u304b\u3089\u672c\u8cea\u7684\u306b\u4fdd\u8b77\u3059\u308b\u6b21\u4e16\u4ee3\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u8a2d\u8a08\u3002<\/li>\n<\/ul>\n<h2>\u30d7\u30ed\u30ad\u30b7\u30b5\u30fc\u30d0\u30fc\u3092\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u3067\u4f7f\u7528\u3059\u308b\u65b9\u6cd5\u3084\u30b9\u30bf\u30c3\u30af\u30b9\u30de\u30c3\u30b7\u30f3\u30b0\u3068\u95a2\u9023\u4ed8\u3051\u308b\u65b9\u6cd5<\/h2>\n<p>OneProxy \u306e\u3088\u3046\u306a\u30d7\u30ed\u30ad\u30b7 \u30b5\u30fc\u30d0\u30fc\u306f\u3001\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u306b\u304a\u3044\u3066\u91cd\u8981\u306a\u5f79\u5272\u3092\u679c\u305f\u3057\u307e\u3059\u3002\u30c8\u30e9\u30d5\u30a3\u30c3\u30af \u30d1\u30bf\u30fc\u30f3\u3068\u6f5c\u5728\u7684\u306b\u60aa\u610f\u306e\u3042\u308b\u30da\u30a4\u30ed\u30fc\u30c9\u3092\u76e3\u8996\u3059\u308b\u3053\u3068\u3067\u3001\u30d0\u30c3\u30d5\u30a1 \u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u653b\u6483\u306e\u5f71\u97ff\u3092\u691c\u51fa\u3057\u3001\u8efd\u6e1b\u3059\u308b\u3088\u3046\u306b\u69cb\u6210\u3067\u304d\u307e\u3059\u3002<\/p>\n<h2>\u95a2\u9023\u30ea\u30f3\u30af<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.owasp.org\/index.php\/Buffer_Overflow\" target=\"_new\" rel=\"noopener nofollow\">OWASP \u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306e\u8aac\u660e<\/a><\/li>\n<li><a href=\"https:\/\/cwe.mitre.org\/data\/definitions\/120.html\" target=\"_new\" rel=\"noopener nofollow\">CWE-120: \u5165\u529b\u30b5\u30a4\u30ba\u3092\u30c1\u30a7\u30c3\u30af\u3057\u306a\u3044\u30d0\u30c3\u30d5\u30a1\u30b3\u30d4\u30fc<\/a><\/li>\n<li><a href=\"https:\/\/www.sans.org\/reading-room\/whitepapers\/securecode\/understanding-exploiting-buffer-overflow-attacks-1750\" target=\"_new\" rel=\"noopener nofollow\">SANS Institute: \u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u653b\u6483\u3092\u7406\u89e3\u3059\u308b<\/a><\/li>\n<\/ul>","protected":false},"featured_media":479128,"menu_order":0,"template":"","meta":{"_acf_changed":false,"content-type":"","inline_featured_image":false,"footnotes":""},"class_list":["post-479127","wiki","type-wiki","status-publish","has-post-thumbnail","hentry"],"acf":{"faq_title":"Frequently Asked Questions about <mark>Stack Smashing<\/mark>","faq_items":[{"question":"What is Stack Smashing?","answer":"<p>Stack Smashing, also known as buffer overflow, is a cybersecurity vulnerability where a program writes more data to a buffer on the stack than it can hold. This can lead to memory corruption and security risks.<\/p>"},{"question":"How did Stack Smashing originate, and when was it first mentioned?","answer":"<p>Stack Smashing has been a concern since the early days of computing. The first documented case was the Morris Worm in 1988, which exploited a buffer overflow vulnerability in UNIX's finger daemon.<\/p>"},{"question":"How does Stack Smashing work internally?","answer":"<p>Stack Smashing exploits the program's stack layout. By overflowing a buffer, adjacent memory locations, such as return addresses, can be overwritten, leading to unintended control flow and potential code execution.<\/p>"},{"question":"What are the key features of Stack Smashing?","answer":"<p>Key features include its attack vector, potential impact (code execution, data corruption), and mitigation techniques like stack canaries and ASLR.<\/p>"},{"question":"What are the types of Stack Smashing attacks?","answer":"<p>There are several types, including Stack Overflow, Heap Overflow, Integer Overflow, and Format String attacks.<\/p>"},{"question":"How can Stack Smashing be used, and what problems does it pose?","answer":"<p>Stack Smashing can be used for ethical hacking (vulnerability assessment) or unethical purposes (unauthorized system control). The main problems are security risks and potential data integrity loss.<\/p>"},{"question":"How can Stack Smashing be mitigated?","answer":"<p>Proper coding practices and runtime defenses like stack canaries and ASLR can help prevent Stack Smashing vulnerabilities.<\/p>"},{"question":"How does Stack Smashing compare with Heap Smashing and Integer Overflow?","answer":"<p>Stack Smashing involves overflows on the stack, while Heap Smashing affects heap-allocated buffers, and Integer Overflow results from arithmetic errors.<\/p>"},{"question":"What are the future perspectives and technologies related to Stack Smashing?","answer":"<p>Future technologies focus on detection and prevention, including machine learning algorithms, advanced compiler techniques, and next-gen hardware designs.<\/p>"},{"question":"How can proxy servers like OneProxy be associated with Stack Smashing?","answer":"<p>Proxy servers like OneProxy can play a crucial role in security by monitoring traffic patterns and detecting potential buffer overflow attacks.<\/p>"}]},"_links":{"self":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479127","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki"}],"about":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/types\/wiki"}],"version-history":[{"count":0,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/wiki\/479127\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media\/479128"}],"wp:attachment":[{"href":"https:\/\/oneproxy.pro\/jp\/wp-json\/wp\/v2\/media?parent=479127"}],"curies":[{"name":"\u3046\u30fc\u3093","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}