• DLL注入之Appinit_Dlls


    AppInit_DLLs is a mechanism that allows an arbitrary list of DLLs to be loaded into each user mode process on the system. Microsoft is modifying the AppInit DLLs facility in Windows 7 and Windows Server 2008 R2 to add a new code-signing requirement. This will help improve the system reliability and performance, as well as improve visibility into the origin of software.

    简单的说就是:AppInit_DLLs用来全局注入dll模块,凡是导入了user32.dll的程序都会 主动加载这个键值下的模块。

     

    相比XP,Win7下多了两个值: 
    LoadAppInit_DLLs 为1开启,为0关闭,(Win7默认为0)
    RequireSignedAppInit_DLLs 值为1表明模块需要签名才能加载,反之。

     

    AppInit_DLLs键值介绍(Win7系统)
    http://msdn.microsoft.com/en-us/library/dd744762(v=vs.85).aspx

     

    64位系统:
    AppInit_Dlls(64位程序读取)
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWindows [AppInit_DLLs]

    AppInit_Dlls(32位程序读取)
    HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftWindows NTCurrentVersionWindows [AppInit_DLLs]

    32位系统:
    HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindows NTCurrentVersionWindows [AppInit_DLLs]

    如何调试:
    下USER32!LoadAppInitDlls断点,后面NtOpenKey 和NtQueryValueKey 读取AppInit_Dlls键值,得到模块名,接着LoadLibrary该模块。

    jpg改rar 

  • 相关阅读:
    vue 学习
    vue如何新建一个项目
    Java入门之流程控制语句
    Java 入门之数据类型转换、运算符、方法
    Java 入门 常量,变量
    Java 开发工具IntelliJ IDEA
    Java 前言&开发环境搭建
    Java 学习
    装饰器模式
    springcloud 的学习(五) 路由网关
  • 原文地址:https://www.cnblogs.com/kuangke/p/9397713.html
Copyright © 2020-2023  润新知