
アプリやサービスのログイン時に、メールアドレスや電話番号を入力して、メールやショートメッセージで届いたワンタイムパスワードを入力することで認証するプロセスはよくあります。このようなログインプロセスは、アカウントのセキュリティの観点で非常に危険であると、エンジニアのダニエル・ファン氏が指摘しています。
メールアドレスか電話番号を入力し6桁のコードが送信されてログインする仕組みは「最悪のパスワードシステム」なので今すぐ改修が必要という指摘 - GIGAZINE
実際に、Googleは2段階認証にはセキュリティリスクがあると考えて、SMSで6桁の認証コードを送信するプロセスから、表示されたQRコードをスキャンするプロセスに置き換える計画を発表しています。
メールアドレスか電話番号を入力し6桁のコードが送信されてログインする仕組みは「最悪のパスワードシステム」なので今すぐ改修が必要という指摘 - GIGAZINE
ソーシャルニュースサイトのHacker Newsでは、ワンタイムパスワード式のログインのさらなる問題点が指摘されています。
メールアドレスか電話番号を入力し6桁のコードが送信されてログインする仕組みは「最悪のパスワードシステム」なので今すぐ改修が必要という指摘 - GIGAZINE
「Microsoftアカウントのパスワードリセットがリクエストされた」という通知を毎日複数回受け取るというユーザーは、この通知にはアカウントを回復するための6桁の番号が書かれているため、1回あたり100万分の1の確率で、アカウントが盗まれる可能性があります。
メールアドレスか電話番号を入力し6桁のコードが送信されてログインする仕組みは「最悪のパスワードシステム」なので今すぐ改修が必要という指摘 - GIGAZINE
別のユーザーは、ワンタイムパスワード自体は正規のメールアドレスから送られてくるため、単にパスワードを教えてしまう場合より余計に騙されやすいとして、「メール内のリンクをクリックする」という方法が比較的優れていると述べています。
メールアドレスか電話番号を入力し6桁のコードが送信されてログインする仕組みは「最悪のパスワードシステム」なので今すぐ改修が必要という指摘 - GIGAZINE
⇧ う~む...
「Google」の「QRコード」を「スキャン」する方式は「カメラ」が故障していたりすると、利用できないので止めて欲しいけど...
「セキュリティ」的に「最悪のシステム」と批判するのは構わないのだが、何はともあれ技術的な代替案を提示して欲しいお気持ち...
技術的な代替案が無いなら無いで、その旨を記載して欲しいのよね...
Windows用のツールCoreinfoをインストールしx86-64-v2に対応しているか確認してみる
前回、
⇧ 上記の記事で、吾輩の「PC」が「x86-64-v2」に対応していないんじゃないか疑惑が出てきたのだが、調べ方が分からない...
ネットの情報を漁っていたところ、
⇧ 上記サイト様で、「x86-64」に関するWikipediaのページが紹介されており、
⇧ ザックリとした整理がされていた。
そして、
マイクロソフトが提供しているフリーソフトで確認できます。次のプログラム Coreinfo v3.53 をダウンロード、展開して、Coreinfo.exe をコマンドプロンプトで実行しましょう。
Windows: 自分のパソコンが拡張命令 (AVX-512等)に対応しているか確認する方法 - 物理の駅 Physics station by 現役研究者
⇧ 上記サイト様によりますと、「Coreinfo」というツールが公開されている模様。
というわけで、
はじめに
Coreinfo は、論理プロセッサと、それらが存在する物理プロセッサ、NUMA ノード、ソケットの間のマッピングと、各論理プロセッサに割り当てられたキャッシュを示すコマンド ライン ユーティリティです。 Windows の GetLogicalProcessorInformation 関数を使用してこの情報を取得して画面に出力し、アスタリスク (例: '*' ) を使用して論理プロセッサへのマッピングを表します。 Coreinfo は、システムのプロセッサとキャッシュ トポロジに関する分析情報を得るのに役立ちます。
https://learn.microsoft.com/ja-jp/sysinternals/downloads/coreinfo
インストール
アーカイブをディレクトリに抽出し、そのディレクトリから、32 ビット Windows バージョンの場合は Coreinfo、64 ビット バージョンの場合は Coreinfo64 を入力して Coreinfo を実行します。
https://learn.microsoft.com/ja-jp/sysinternals/downloads/coreinfo
⇧ 上記のページからダウンロードしインストールしていく。
導入方法については、
ダウンロードした.ZIPファイルを解凍し、コマンド・プロンプト上で「coreinfo -?」とすると使い方が表示されるが、基本的には引数なしか、「coreinfo -v」を実行する。
⇧ 上記サイト様が詳しいです。
それでは、ダウンロードした圧縮ファイルを適当な場所に「展開(解凍)」する。

「コマンドプロンプト」などを起動し、「Coreinfo64.exe」の配置されているディレクトリに移動して、以下のコマンドを実行する。
■Coreinfoの実行
C:\Users\toshinobu>cd /d D:\software\Coreinfo D:\software\Coreinfo>Coreinfo64
■Coreinfoの実行結果
Coreinfo v3.6 - Dump information on system CPU and memory topology Copyright (C) 2008-2022 Mark Russinovich Sysinternals - www.sysinternals.com Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz Intel64 Family 6 Model 60 Stepping 3, GenuineIntel Microcode signature: 00000027 HTT * Hyperthreading enabled CET - Supports Control Flow Enforcement Technology Kernel CET - Kernel-mode CET Enabled User CET - User-mode CET Allowed HYPERVISOR * Hypervisor is present VMX - Supports Intel hardware-assisted virtualization SVM - Supports AMD hardware-assisted virtualization X64 * Supports 64-bit mode SMX - Supports Intel trusted execution SKINIT - Supports AMD SKINIT SGX - Supports Intel SGX NX * Supports no-execute page protection SMEP * Supports Supervisor Mode Execution Prevention SMAP - Supports Supervisor Mode Access Prevention PAGE1GB * Supports 1 GB large pages PAE * Supports > 32-bit physical addresses PAT * Supports Page Attribute Table PSE * Supports 4 MB pages PSE36 * Supports > 32-bit address 4 MB pages PGE * Supports global bit in page tables SS * Supports bus snooping for cache operations VME * Supports Virtual-8086 mode RDWRFSGSBASE * Supports direct GS/FS base access FPU * Implements i387 floating point instructions MMX * Supports MMX instruction set MMXEXT - Implements AMD MMX extensions 3DNOW - Supports 3DNow! instructions 3DNOWEXT - Supports 3DNow! extension instructions SSE * Supports Streaming SIMD Extensions SSE2 * Supports Streaming SIMD Extensions 2 SSE3 * Supports Streaming SIMD Extensions 3 SSSE3 * Supports Supplemental SIMD Extensions 3 SSE4a - Supports Streaming SIMDR Extensions 4a SSE4.1 * Supports Streaming SIMD Extensions 4.1 SSE4.2 * Supports Streaming SIMD Extensions 4.2 AES * Supports AES extensions AVX * Supports AVX instruction extensions AVX2 * Supports AVX2 instruction extensions AVX-512-F - Supports AVX-512 Foundation instructions AVX-512-DQ - Supports AVX-512 double and quadword instructions AVX-512-IFAMA - Supports AVX-512 integer Fused multiply-add instructions AVX-512-PF - Supports AVX-512 prefetch instructions AVX-512-ER - Supports AVX-512 exponential and reciprocal instructions AVX-512-CD - Supports AVX-512 conflict detection instructions AVX-512-BW - Supports AVX-512 byte and word instructions AVX-512-VL - Supports AVX-512 vector length instructions FMA * Supports FMA extensions using YMM state MSR * Implements RDMSR/WRMSR instructions MTRR * Supports Memory Type Range Registers XSAVE * Supports XSAVE/XRSTOR instructions OSXSAVE * Supports XSETBV/XGETBV instructions RDRAND * Supports RDRAND instruction RDSEED - Supports RDSEED instruction CMOV * Supports CMOVcc instruction CLFSH * Supports CLFLUSH instruction CX8 * Supports compare and exchange 8-byte instructions CX16 * Supports CMPXCHG16B instruction BMI1 * Supports bit manipulation extensions 1 BMI2 * Supports bit manipulation extensions 2 ADX - Supports ADCX/ADOX instructions DCA - Supports prefetch from memory-mapped device F16C * Supports half-precision instruction FXSR * Supports FXSAVE/FXSTOR instructions FFXSR - Supports optimized FXSAVE/FSRSTOR instruction MONITOR - Supports MONITOR and MWAIT instructions MOVBE * Supports MOVBE instruction ERMSB * Supports Enhanced REP MOVSB/STOSB PCLMULDQ * Supports PCLMULDQ instruction POPCNT * Supports POPCNT instruction LZCNT * Supports LZCNT instruction SEP * Supports fast system call instructions LAHF-SAHF * Supports LAHF/SAHF instructions in 64-bit mode HLE - Supports Hardware Lock Elision instructions RTM - Supports Restricted Transactional Memory instructions DE * Supports I/O breakpoints including CR4.DE DTES64 - Can write history of 64-bit branch addresses DS - Implements memory-resident debug buffer DS-CPL - Supports Debug Store feature with CPL PCID * Supports PCIDs and settable CR4.PCIDE INVPCID * Supports INVPCID instruction PDCM * Supports Performance Capabilities MSR RDTSCP * Supports RDTSCP instruction TSC * Supports RDTSC instruction TSC-DEADLINE - Local APIC supports one-shot deadline timer TSC-INVARIANT * TSC runs at constant rate xTPR * Supports disabling task priority messages EIST * Supports Enhanced Intel Speedstep ACPI * Implements MSR for power management TM * Implements thermal monitor circuitry TM2 * Implements Thermal Monitor 2 control APIC * Implements software-accessible local APIC x2APIC - Supports x2APIC CNXT-ID - L1 data cache mode adaptive or BIOS MCE * Supports Machine Check, INT18 and CR4.MCE MCA * Implements Machine Check Architecture PBE * Supports use of FERR#/PBE# pin PSN - Implements 96-bit processor serial number PREFETCHW * Supports PREFETCHW instruction Maximum implemented CPUID leaves: 0000000D (Basic), 80000008 (Extended). Maximum implemented address width: 48 bits (virtual), 39 bits (physical). Processor signature: 000306C3 Logical to Physical Processor Map: **------ Physical Processor 0 (Hyperthreaded) --**---- Physical Processor 1 (Hyperthreaded) ----**-- Physical Processor 2 (Hyperthreaded) ------** Physical Processor 3 (Hyperthreaded) Logical Processor to Socket Map: ******** Socket 0 Logical Processor to NUMA Node Map: ******** NUMA Node 0 No NUMA nodes. Logical Processor to Cache Map: **------ Data Cache 0, Level 1, 32 KB, Assoc 8, LineSize 64 **------ Instruction Cache 0, Level 1, 32 KB, Assoc 8, LineSize 64 **------ Unified Cache 0, Level 2, 256 KB, Assoc 8, LineSize 64 ******** Unified Cache 1, Level 3, 6 MB, Assoc 12, LineSize 64 --**---- Data Cache 1, Level 1, 32 KB, Assoc 8, LineSize 64 --**---- Instruction Cache 1, Level 1, 32 KB, Assoc 8, LineSize 64 --**---- Unified Cache 2, Level 2, 256 KB, Assoc 8, LineSize 64 ----**-- Data Cache 2, Level 1, 32 KB, Assoc 8, LineSize 64 ----**-- Instruction Cache 2, Level 1, 32 KB, Assoc 8, LineSize 64 ----**-- Unified Cache 3, Level 2, 256 KB, Assoc 8, LineSize 64 ------** Data Cache 3, Level 1, 32 KB, Assoc 8, LineSize 64 ------** Instruction Cache 3, Level 1, 32 KB, Assoc 8, LineSize 64 ------** Unified Cache 4, Level 2, 256 KB, Assoc 8, LineSize 64 Logical Processor to Group Map: ******** Group 0

CPU情報の表示
coreinfoツールを引数なしで実行すると、CPUの持つ各機能(フラグ)やキャッシュ、コアなどの情報がすべて表示される。結果は例えば次のようになる。左端のフラグ名の右隣に表示されている「*」はその機能があることを、「-」はその機能がないことを表している。
⇧ とあり、「*(アスタリスク)」のあるものがサポートされているということらしい。
Wikipediaの「x86-64」のページの「CPU microarchitecture levels」の表の内容と「Coreinfo」で出力された内容を比較すると、吾輩の「PC」は「x86-64-v2」に50%ぐらい対応しているということになるんかな?
ちなみに、
仮想化機能な有効な環境でも、VirutalBox上でCPUがx86_64-v3として動作できるようにする方法はないのでしょうか?
windows - Windowsの仮想化機能が有効だとVirtualBoxでCentoOS Stream 10がインストールできない - スタック・オーバーフロー
⇧ とあり、「Virtualbox」のバージョンによって、「x86-64」のバージョンの対応が変わって来ると。
とは言え、吾輩の動作しないケースは「x86-64-v2」の場合だからなぁ...
結局のところ、迷宮入りになりそうね...
とりあえず、「ハイフン」と「アンダースコア」のどちらが正しいのかは気になりますな...
つまり、
| No | 項目 | 内容 |
|---|---|---|
| 1 | ハイフン | x86-64-v2 |
| 2 | アンダースコア | x86_64_v2 |
のどちらのフォーマットが正しいのかが分からない...
毎度モヤモヤ感が半端ない…
今回はこのへんで。








