New book - Rootkits: Subverting the Windows Kernel

SIKI——AR——Vuforia入门04 这里进行一个图片上显示cube的小demo 1.图片的选择 缓冲区不要放虚拟按钮 2.图片上传及简单识别案例 进入Vuforia官网 名字可以随便起 选择新创建的数据库 我们在这里是识别单张图片 第一个是类型选择 第二个是图片的文件路径 第三个是宽度设置,这里先设为1 第四个是名字 最后点击Add 下载数据库 将下载好的数据库包导入到工程中 第二个是我们的配置文件 在unit... 阅读详情
otkits: Subverting the Windows Kernel
http://www.amazon.com/exec/obidos/redirect?link_code=ur2&camp=1789&tag=rootk
it-20&creative=9325&path=tg/detail/-/0321294319/qid=1117165919/sr=8-6/ref=sr
_8_xs_ap_i6_xgl14?v=glance%26s=books%26n=507846

The lack of existence of a definitive book on rootkits led Greg Hoglund and
I to author a one that we believe will fill the void. Much in the same way
as the Shellcoders Handbook and Exploiting Software did for the field of
vulnerability discovery and exploitation. The book covers the subject matter
in-depth going as far as to answering a number of questions posed over time
on the forums at rootkit.com. Such as:

    - Hooking the system call table
    - Circumventing memory protections
    - Hooking the Interrupt Descriptor Table (IDT)
    - Hooking the SYSENTER instruction.
    - Covert communications
    - Interacting with hardware

Our book doesn't answer these questions with theory. Instead, we use hard
hitting functional code examples that can be compiled and used "off the
shelf".

Readers who aren't new to rootkits and hooking should still enjoy the
section on hooking user land processes from the kernel utilizing a method
that does not require calls to OpenProcess(), VirtualProtectEx(),
WriteVirtualMemory() etc. Ever curious about how DKOM and the FU rootkit
really work? See Chapter 7 that provides the complete play by play. Included
in the DKOM chapter you will find a section on synchronization. Yes, that's
right - information is provided allowing one to modify shared data
structures in a multiple CPU safe manner without trying to find unexported
spinlocks and mutexes.

Want to hide local network ports? Complete source code is detailed and
included in a section on hooking. It describes the structures TCPIP.SYS uses
and how to alter them such as to confuse netstat and similar programs.

If you're still not totally convinced that rootkits may need to be put on
the agenda for your next meeting with the CIO or CTO of your company then
consider the following. What happens once an attacker has popped a box?
Either using a product like Canvas, Core Impact, or using a free tool like
Metasploit? More and more focus has been put into getting into the kernel
after exploiting a system service. Remember Barnaby Jack's paper? If you
think your CIO or CTO will respond with, "Well we have a great IDS and run
HIPS on our exposed machines.", consider this: There are no signatures
currently for kernel shellcode and even if there were bypassing an IDS is
much like going through airport security (don't look suspicious). Most HIPS
products do not completely protect you from kernel infection.

Last but not least are chapters on network communication from the kernel,
hardware interaction, and rootkit detection. For the complete context, read
on.

Rootkits: Subverting the Windows Kernel
http://www.amazon.com/exec/obidos/redirect?link_code=ur2&camp=1789&tag=rootk
it-20&creative=9325&path=tg/detail/-/0321294319/qid=1117165919/sr=8-6/ref=sr
_8_xs_ap_i6_xgl14?v=glance%26s=books%26n=507846

Preface xv

Acknowledgments xix

About the Authors xxi

1 Leave No Trace 1
Understanding Attackers' Motives 2
   The Role of Stealth 2
   When Stealth Doesn't Matter 3
What Is a Rootkit? 4
Why Do Rootkits Exist? 4
   Remote Command And Control 5
   Software Eavesdropping 5
   Legitimate Uses of Rootkits 6
How Long Have Rootkits Been Around? 7
How Do Rootkits Work? 8
   Patching 8
   Easter Eggs 9
   Spyware Modifications 9
   Source-Code Modification 9
   The Legality of Software Modification 10
What a Rootkit Is Not 10
   A Rootkit Is Not an Exploit 11
   A Rootkit Is Not a Virus 11
Rootkits and Software Exploits 13
   Why Exploits Are Still a Problem 15
Offensive Rootkit Technologies 17
   HIPS 17
   NIDS 17
   Bypassing the IDS/IPS 18
   Bypassing Forensic Tools 18
Conclusion 20

2 Subverting the Kernel 21
Important Kernel Components 22
Rootkit Design 23
Introducing Code into the Kernel 25
Building the Windows Device Driver 26
   The Device Driver Development Kit 27
   The Build Environments 27
   The Files 27
   Running the Build Utility 29
   The Unload Routine 30
Loading and Unloading the Driver 30
Logging the Debug Statements 31
Fusion Rootkits: Bridging User and Kernel Modes 32
   I/O Request Packets 33
   Creating a File Handle 37
   Adding a Symbolic Link 38
Loading the Rootkit 39
   The Quick-and-Dirty Way to Load a Driver 40
   The Right Way to Load a Driver 41
Decompressing the .Sys File from a Resource 43
Surviving Reboot 46
Conclusion 47

3 The Hardware Connection 49
Ring Zero 50
Tables, Tables, and More Tables 52
Memory Pages 53
   Memory Access Check Details 53
   Paging and Address Translation 55
   Page-Table Lookups 56
   The Page-Directory Entry 58
   The Page-Table Entry 59
   Read-Only Access to Some Important Tables 59
   Multiple Processes, Multiple Page Directories 59
   Processes and Threads 60
The Memory Descriptor Tables 61
   The Global Descriptor Table 61
   The Local Descriptor Table 62
   Code Segments 62
   Call Gates 62
The Interrupt Descriptor Table 62
   Other Types of Gates 65
The System Service Descriptor Table 66
The Control Registers 66
   Control Register Zero (Cr0) 66
   Other Control Registers 67
   The Eflags Register 67
Multiprocessor Systems 68
Conclusion 69

4 The Age-Old Art of Hooking 71
Userland hooks 71
   Import Address Table Hooking 73
   Inline Function Hooking 74
   Injecting a DLL into Userland Processes 76
   Kernel Hooks 81
   Hooking the System Service Descriptor Table 82
   Hooking the Interrupt Descriptor Table 91
   Hooking the major I/O Request Packet Function Table in the
   Device Driver Object 86
A Hybrid Hooking Approach 106
   Getting into a Process's Address Space 106
   Memory Space for Hooks 111
Conclusion 112

5 Runtime Patching 113
Detour Patching 114
   Rerouting the Control Flow using MigBot 115
   Checking for Function Bytes 117
   Keeping Track of the Overwritten Instructions 118
   Using NonPagedPool Memory 121
   Runtime Address Fixups 121
Jump Templates 125
   The Interrupt Hook Example 126
Variations on the Method 133
Conclusion 133

6 Layered Drivers 134
A Keyboard Sniffer 136
   I/O Request Packet (IRP) and Stack Locations 137
   The KLOG Rootkit: A Walk-Through 140
File Filter Drivers 153 Conclusion 167

7 Direct Kernel Object Manipulation 169
DKOM Benefits and Drawbacks 169
Determining the Version of the Operating System 171
   User-Mode Self-Determination 171
   Kernel-Mode Self-Determination 173
   Querying the Operating System Version in the Registry 174
Communicating with the Device Driver from Userland 175
Hiding with DKOM 179
   Process Hiding 180
   Device-Driver Hiding 185
   Synchronization Issues 189
Token Privilege and Group Elevation with DKOM 193
   Modifying a Process Token 194
   Faking out the Windows Event Viewer 208
Conclusion 210

8 Hardware Manipulation 213
Why Hardware? 215
Modifying the Firmware 216
Accessing the Hardware 217
   Hardware Addresses 217
   Accessing Hardware is not Like Accessing RAM 218
   Timing Considerations 219
   The I/O Bus 219
   Accessing the BIOS 221
   Accessing PCI and PCMCIA Devices 221
Example: Accessing the Keyboard Controller 222
   The 8259 Keyboard Controller 222
   Changing the LED Indicators 222
   Hard Reboot 229
   Keystroke Monitor 229
How Low Can You Go? Microcode Update 236
Conclusion 237

9 Covert Channels 239
Remote Command, Control, and Exfiltration of Data 240
Disguised TCP/IP Protocols 241
   Beware of Traffic Patterns 242
   Don't Send Data "in the Clear" 242
   Use Time to Your Advantage 243
   Hide Under DNS Requests 243
   "Stego" on ASCII Payloads 244
   Use Other TCP/IP Channels 245
Kernel TCP/IP Support for Your Rootkit Using TDI 246
   Build the Address Structure 246
   Create a Local Address Object 248
   Create a TDI Endpoint with Context 252
   Associate an Endpoint with a Local Address 254
   Connect to a Remote Server (Send the TCP Handshake) 257
   Send Data to a Remote Server 259
Raw Network Manipulation 262
   Implementing Raw Sockets on Windows XP 262
   Binding to an Interface 263
   Sniffing with Raw Sockets 264
   Promiscuous Sniffing with Raw Sockets 264
   Sending Packets with Raw Sockets 265
   Forging the Source 266
   Bouncing Packets 266
Kernel TCP/IP Support for Your Rootkit Using NDIS 267
   Registering the Protocol 267
   The Protocol Driver Callbacks 273
   Moving Whole Packets 278
Host Emulation 285
   Creating Your MAC Address 286
   Handling ARP 286
   The IP Gateway 289
   Sending a Packet 289
Conclusion 293

10 Rootkit Detection 295
Detecting Presence 295
   Guarding the Doors 296
   Scanning the "Rooms" 298
   Looking for Hooks 298
Detecting Behavior 308
   Detecting Hidden Files and Registry Keys 308
   Detecting Hidden Processes 309
Conclusion 312
  
Index 315

P.S. We will be releasing VICE 2.0, using advanced detection algorithms, in
conjunction with or shortly after this book.

<Commercial over. Continue with your day.>
Selenium WebDriver自动化测试(扩展篇)--Sikuli实现自动化 真的?现在测试工程师的简历都很漂亮,漂亮到五花八门,如果不是找工作需要,结果一问,根本不是那么一回事儿;不是所有会使用的工具到自己手里就变成了掌握。前言:当下职场,互联网急速发展,各种技术也在日新月异,或者叫更新迭代,总之就是作为一个有思想的工程师,学习更多的技能傍身,稍微显得浮躁了,因为谁也不知道... 阅读详情

相关推荐

Sikuli X IDE

SikuliIDE和Sikuli Script就是现在的SikuliX,最新版本是SikuliX1.1.0, 部分兼容Sikuli JAVA API,支持Python和Ruby,SikuliX通过定位图像和键盘鼠标来操作GUI(图形化用户界面),能很好的实现flash和桌面类应用的自动化,目前暂不支持移动端的使用,SikuliX官方网站:http://www.sikulix.com/ 与其他的UI自动化工具相比,Sikuli的优势在于,它是基于像素的,所以即使页面上的元素没有像id, name这些常规属性,我们也可以通过图像识别进行UI的交互操作。

常用数据库

常用数据库 一,关系数据库管理系统(Relational Database Management System:RDBMS) 1. IBM 的DB2 https://www.ibm.com/analytics/us/en/technology/db2/ http://www.db2china.net/ http://www.yiibai.com/db2/ 2. Oracle http

Ssyk的博客 7154

sikulix-ide-templates:与测试框架一起使用的SikuliX-2014的示例

sikulix-ide-templates 该项目致力于使用基于Ruby的DSL进行GUI测试。 在SikuliX IDE中使用测试框架 以前,可以将Rspec或Cucumber之类的DSL与Sikuli一起使用,但只能在批处理模式下使用。 该项目的主要目的是开发用于基于Ruby的测试框架的用例,专门针对具有新Ruby API的SikuliX IDE。 计划通过本机IDE支持来实现对成功用例的DSL支持。 您可以将我们的模板用于: 或 或查看用于测试LibreOffice Writer的SikuliX项目的简单示例: 带有集成rspec和Cucumber宝石支持的可以从(另请参见 ),也可以 / 。 在没有IDE的情况下使用SikuliX 可以在没有IDE的情况下将SikuliX与RSpec,Cucumber或其他测试框架一起使用。 查看 sikulix.gem用于通过外部JRu

SikuliX教程-下载与安装

Sikulix 程式可到這邊下載:https://launchpad.net/sikuli/sikulix/1.1.0 下載下來後將 sikulixsetup-1.1.0.jar 放至欲安裝的位置,點選兩下進行安裝。 選擇要安裝的項目後按下 Setup Now 按鈕。 按下後會顯示要安裝的項目,如果正確無誤則按下 Yes 按鈕繼續即可。 接著會問是否需要安裝到 Python...

hunter_wyh 2万+

ArcMap学习笔记(三)地图数字化

地图数字化前言地图数字化实现步骤1.加载地形图2.新建要素图层3.开启编辑环境4.设置捕捉环境5.选择数字化图层6.数字化控制点7.数字化等高线8.数字化图幅边框9.保存数字化成果总结 前言 使用软件:ArcMap10.4.1中文版 如果出现侵权,请在评论留言,我会及时删除,谢谢。 地图数字化 空间数据采集(输入)是将现有的地图、外业观测成果、航空像片、遥感图片数据、文本资料等转换成GIS可以直接...

JayWang博客 1万+

dxf-viewer 查看器

dxf-viewer SDK 的示例,它是一个基于 Three.js 和 Vue3 构建的基于 WebGL 的 BIM 模型查看器。它用于查看 DWG/DXF/PDF 文件。面积测量 - 角度测量 -标记。

qq_25547755的博客 881

Rootkits: Subverting the Windows Kernel

 From the Back Cover "Its imperative that everybody working in the field of cyber-security read this book to understand the growing threat of rootkits." --Mark Russinovich, editor, Windows IT P

Linhanshi Blog 1045

WRF移动嵌套结合伏羲模型与CFD(PALM)高精度多尺度降尺度分析研究

WRF移动嵌套(Moving Nesting):动态调整高分辨率嵌套网格位置,追踪天气系统(如台风、强对流系统)以提高局地预报精度。伏羲(Fuxi)模型:国产数值模式,提供对WRF模拟的初始及边界条件优化。CFD(Computational Fluid Dynamics)PALM模型:精细化局地流场、湍流、温度分布。

m0_57411304的博客 1722

Sikuli自动化工具使用

SikuliX部署和基本使用说明 Sikuli X是一款通过图片来识别元素,后续进行基本鼠标键盘操作的工具,支持跨平台,适用于桌面端程序和web界面。主要用来补充codedUI和selenium识别不了的控件。 一、IDE 部署 http://sikulix.com/quickstart/ 离线安装步骤:http://sikulix.com/specials/files/offline-s

luohuiye的专栏 2750

数控系统(CNC)系列:Fanuc 31i-B_(5).基本操作与编程

Fanuc 31i-B 系统使用 G 代码和 M 代码进行编程。G 代码主要用于控制机床的运动,M 代码用于控制辅助功能,如冷却液开关、主轴启动等。G 代码:用于指定机床的运动方式。例如,G00 用于快速定位,G01 用于直线插补,G02 用于顺时针圆弧插补,G03 用于逆时针圆弧插补。M 代码:用于控制机床的辅助功能。例如,M03 用于启动主轴顺时针旋转,M05 用于停止主轴,M08 用于开启冷却液,M09 用于关闭冷却液。

2401_87715305的博客 1780

2025华为OD面试手撕代码真题目录及面试八股文

本专栏更新每年华为OD机试的高频手撕代码题,每个题目都会使用五种语言进行解答(C & C++& Java & Python & JS) 华为od机试,华为od机试真题,华为od机试E卷,华为odE卷,华为od机试真题E卷,华为OD,华为OD机试,华为OD机试真题,华为od机考,华为od机试D卷,华为od机试真题D卷,华为od手撕代码,华为od,华为od机试C卷,华为od e卷,华为2024e卷,od机试,2024E卷,华为OD机试E卷,什么是华为od,华为od介绍,全面了解华为od,2024华为od,如何备

KJ.JK 5万+

SikuliX on Windows-基本介绍(翻译)

本篇内容包括:SikuliX允许自动化可视化工作流程(visual workflow)SikuliX可以用于视觉测试如何在屏幕上找到图像?未完待续…… 以下内容均来译自 SikuliX ,以官网为准,此篇内容为个人学习的记录与分享。 SikuliX允许自动化可视化工作流程(visual workflow) 就像我们每天坐在电脑前做的那样: List item 我们想要实现一些目标 我们使用一个应...

软测小生 2万+

即插即用系列(代码实践) | CVPR 2025 FDConv:频域动态卷积,打破密集预测任务的参数效率瓶颈

本文提取自 CVPR 2025 的最新底层算子革新论文《Frequency Dynamic Convolution for Dense Image Prediction》。近年来,动态卷积(Dynamic Convolution)通过融合多个并行卷积核极大地提升了模型性能,但研究表明:这些并行卷积核在频域上的响应高度相似,导致了极其严重的参数浪费,且缺乏对不同频率特征的自适应能力。本文复现了该网络的核心架构——FDConv(频率动态卷积)。该方案创造性地在傅里叶域(Fourier Domain)中学习固定参

分享顶会顶刊论文即插即用模块 124

iloc,ix和loc有何不同?

Can someone explain how these three methods of slicing are different? 有人可以解释这三种切片方法有何不同吗? I've see

p15097962069的博客 5229

Agent驱动电商运营:从选品到售后的全链路革新

在当今竞争激烈的电商市场中,传统的电商运营模式面临着诸多挑战。从选品到售后,每个环节都需要大量的人力投入和专业知识。选品需要深入了解市场趋势和消费者需求,营销需要精准定位目标用户,客服需要24小时响应用户咨询。这些工作不仅耗时耗力,而且容易受到人为因素的影响,导致效率低下和成本高企。AI Agent是一种能够感知环境、做出决策并采取行动的智能系统。感知能力:能够获取和处理环境信息。决策能力:能够根据感知到的信息做出决策。行动能力:能够执行决策,对环境产生影响。学习能力。

AI 领航者的博客 359

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

Cisco PIX配置大全

  在配置PIX防火墙之前,先来介绍一下防火墙的物理特性。防火墙通常具有至少3个接口,但许多早期的防火墙只具有2个接口;当使用具有3个接口的防火墙时,就至少产生了3个网络,描述如下:  内部区(内网):内部区通常就是指企业内部网络或者是企业内部网络的一部分。它是互连网络的信任区域,即受到了防火墙的保护。  外部区(外网):外部区域通常指Internet或者非企业内部网络。它是互连网络中不被信任的区

ejzhang的专栏 4784

锂电池充电器电路设计 里面有电路

锂电池充电器电路设计 里面有电路 3.7V升压到5V电路设计。

SikuliX的使用

SikuliX自动化测试环境配置

koilin的专栏 1万+

Camera2Demo

在Camera2 的基础上进行封装,使得Camera2一堆初始化逻辑与Activity分离,降低耦合度,完成预览拍照并保存的操作

最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版

Part-E1-SDIO-Specification-Ver4.00-Final-120220.pdf:最新的sdio 4.0 spec 协议标准 带书签 高清完整PDF版,包括SDIO 接口的外设,SDIO 接口官方协议等。

XLua热更新 siki学院第一季lua基本语法规则

//01-HelloWord using XLua; public class HolloWord01 : MonoBehaviour { public static HolloWord01 _instance; private LuaEnv luaenv;//最好项目中只有一个,比较占内存 void Start () { _instance = this; luaenv = new LuaEnv...

qq_42838904的博客 1581

xssssssss

123655666

weixin_43320738的博客 4250

Nginx--Nginx介绍

Nginx 介绍    Nginx 简介       Nginx (enginex) 是一个高性能的 HTTP和反向代理服务。Nginx 是由伊戈尔·赛索耶夫为俄罗斯访问量第二的 Rambler.ru 站点(俄文:Рамблер)开发的,第一个公开版本 0.1.0发布于 2004 年 10 月 4 日。 &n...

我和井盖都笑了博客 1928

Isito - 404问题总结

1.预发布环境404问题 现象: 服务配置未做改动,重启服务后,在该服务内去调用别的服务报404, 并且该服务对应istio-proxy访问日志报response_flag为NR(Noroute configuredfor a given request in addition to 404 response code.) 并且在被调用的服务中未看到tomcat访问日志 原因: N...

罗小爬的技术宝书 5013

sikulix安装

    我安装的是sikulix1.1.3版本。需要安装JDK和sikulix。可以参照下面的教程下载,也可以直接到我的百度云盘里下载jdk-8u191-windows-x64.exe和sikulixsetup-1.1.3.jar。提取码是mpwx。1、安装jdk     安装sikulix之前先装好jdk环境。sikulix要求jdk8.0+。 1)下载JDK     搜索“JDK官方下载...

c11073138的博客 7012

sicily 1817

#include "iostream" #include using namespace std; const int Max = 100; int main() { int TestCase; //cin >> TestCase; scanf("%d", &TestCase); while (TestCase--) { int score[Max

yzl_rex 886

wx

接触到微信公众号的项目开发

sixteen_cicle的博客 1229

sikuli开发环境配置

sikuli下载:http://www.sikuli.org/downloadrc3.html windows下安装注意事项:https://answers.launchpad.net/sikuli/+faq/2005,按照这个安装就没问题了。其中提到的注意事项是sikuli只能用JRE 1.6.0_xx,xx数字必须大于35。 JRE 6下载地址:http://www.oracle.com/

bird67的专栏 3405
上一篇: 改HUME的SHELLCODE模版程序
下一篇: 隐藏任意进程,目录/文件,注册表,端口
iiprogram
博客等级 码龄25年 1068粉丝 1515原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值