menu arrow_back 湛蓝安全空间 |狂野湛蓝,暴躁每天 chevron_right ... chevron_right 002-从注册表中取证 chevron_right 005-AppCompatFlags Registry Keys.md
  • home 首页
  • brightness_4 暗黑模式
  • cloud
    xLIYhHS7e34ez7Ma
    cloud
    湛蓝安全
    code
    Github
    005-AppCompatFlags Registry Keys.md
    1.48 KB / 2021-07-17 00:01:42
        ## AppCompatFlags Registry Keys
    
    保存所有以兼容模式启动的程序(包括以管理员身份运行的程序):
    
    **注**:无加密,数据实时更新
    
    ```
    HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
    
    ```
    
    查询方式直接查询注册表即可:
    
    ```
    reg query "HKLM\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
    
    ```
    
    ![](images/security_wiki/15906452193321.png)
    
    
    保存所有执行过的程序:
    
    解析工具:https://nirsoft.net/utils/executed_programs_list.html
    
    这个工具会解析如下路径(包含了上面我们说过的`MUICache`,也包含了我们后面说的`Prefetch`)
    
    **注**:1 ~ 4无加密,5加密,1 ~ 5数据实时更新
    
    ```bash
    1\. Registry Key: HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
    2\. Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\ShellNoRoam\MUICache
    3\. Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted
    4\. Registry Key: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Store
    5\. Windows Prefetch folder (C:\Windows\Prefetch)
    
    ```
    
    图形化界面:
    
    ![](images/security_wiki/15906452283433.png)
    
    
    命令行解析:
    
    ```
    ExecutedProgramsList.exe  /stext out.txt //保存文本格式
    ExecutedProgramsList.exe  /shtml out.txt //保存html格式
    ExecutedProgramsList.exe  /sxml out.txt  //保存xml格式
    
    ```
    
    
    
    links
    file_download