Skip to Content
Windowsセキュリティインターナル ―PowerShellで理解するWindowsの認証、認可、監査の仕組み
book

Windowsセキュリティインターナル ―PowerShellで理解するWindowsの認証、認可、監査の仕組み

by James Forshaw, 北原 憲
March 2025
Intermediate to advanced
616 pages
10h 34m
Japanese
O'Reilly Japan, Inc.
Content preview from Windowsセキュリティインターナル ―PowerShellで理解するWindowsの認証、認可、監査の仕組み

8章その他のアクセス検証の実例

カーネルリソースを開く際に呼び出し元に与えられるアクセス権限は、アクセス検証処理によって決定されます。その他にも、アクセス検証は追加のセキュリティ機構としても機能するため、アクセス権限の付与とは異なる目的でアクセス検証処理が実行される場合があります。この章では、第2のセキュリティ機構としてアクセス検証が用いられるいくつかの状況について解説します。

まず、呼び出し元がリソースの階層にアクセスできるかどうかを判断するトラバーサル検証から始めます。次に、ハンドルが複製された場合にアクセス検証がどのように適用されるのかについて説明します。また、サンドボックス化されたアプリケーションからプロセス一覧情報などのカーネル情報へのアクセス制限を、アクセス検証により実装する手法についても触れます。最後に、リソースのアクセス検証処理を自動化するPowerShellコマンドを取り上げます。

8.1 トラバーサル検証

オブジェクトディレクトリツリーのような階層化された一連のリソースにアクセスする場合、ユーザーは目的のリソースに到達するまで階層をたどる必要があります。階層内のすべてのディレクトリまたはコンテナーに対して、システムはアクセス検証を実施し、呼び出し元が次のコンテナーの情報を取得できるかどうかを判断します。この検証はトラバーサル検証(Traversal Check)と呼ばれ、コードがI/Oマネージャーやオブジェクトマネージャー内のパスを検索するたびに実施されます。図8-1には、例としてABC\QRS\XYZ\OBJというパスを用いて、OMNSオブジェクトにアクセスするために必要なトラバーサル検証を図示しています。

図8-1 OBJへのアクセスに必要なトラバーサル検証 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Linuxカーネルプログラミング 第2版

Linuxカーネルプログラミング 第2版

Kaiwan N. Billimoria, 武内 覚, 大岩 尚宏
生成AIのプロンプトエンジニアリング ―信頼できる生成AIの出力を得るための普遍的な入力の原則

生成AIのプロンプトエンジニアリング ―信頼できる生成AIの出力を得るための普遍的な入力の原則

James Phoenix, Mike Taylor, 田村 広平, 大野 真一朗, 砂長谷 健, 土井 健, 大貫 峻平, 石山 将成

Publisher Resources

ISBN: 9784814401062Publisher Website