
Osqery 확장 프로그램 HP BIOS WMI
CVE-2024-23443
HP BIOS WMI osquery 확장 프로그램을 Elastic Agent에 추가합니다.
pyinstaller --onefile hp_bios_enumeration.py
확장 프로그램을 Elastic Agent 위치에 복사합니다.
copy .\hp_bios_enumeration.exe "C:\Program Files\Elastic\Agent\data\elastic-agent-XXXXXX\components\"
Elastic osquery auto_load 파일을 업데이트합니다.
"C:\Program Files\Elastic\Agent\data\elastic-agent-XXXXXX\components\hp_bios_enumeration.exe" | Out-File "C:\Program Files\Elastic\Agent\data\elastic-agent-XXXXXX\run\osquery-default\osquery\osquery.autoload" -Append
에이전트를 다시 시작합니다.
확장 프로그램이 로드되었는지 확인합니다.
osqueryi
osquery> SELECT * FROM hp_bios_enum;
| name | possible_values | current_value |
|---|
| System Management Command | Disable, Enable | Enable |
| Fast Boot | Disable, Enable | Enable |
| BIOS Rollback Policy | Unrestricted Rollback to older BIOS, Restricted Rollback to older BIOS | Unrestricted Rollback to older BIOS |
| Audio Alerts During Boot | Disable, Enable | Enable |