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的博客 7153

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万+

Altium Designer 21 DRC检查:从新手到高手,这10个常见错误你踩过几个?

本文详细解析Altium Designer 21 DRC检查中的10个高频错误,包括间距违规、线宽违规、未连接网络等常见问题,并提供精准修复方案和实战技巧。通过分层诊断、智能规则设置和三维排查等方法,帮助工程师从新手进阶为高手,提升PCB设计效率和质量。

weixin_26873711的博客 226

Scratch(四十一):升级版垃圾分类

哈喽,大家好!之前给大家展示过“Scratch(二十四):垃圾分类”。今天呢,给大家展示的Scratch是`升级版垃圾分类`。接下来,我们一起看一下效果吧。

我可以很大侠的博客 6879

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

IsaacLab 从入门到精通(一) 环境配置和依赖安装

本系列文章将针对机器人操作任务中的强化学习平台IsaacLab提供较为全面的教程

DejaWu33的博客 1万+

Sikuli自动化工具使用

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

luohuiye的专栏 2749

基于Sentinel-1 A/B提取水体两种方法(阈值和面向对象)的试验——以洞庭湖为例

基于Sentinel-1 A/B提取水体两种方法(阈值和面向对象)的试验——以洞庭湖为例 一、预处理 预处理的过程本次就不再赘述了,这方面有比较详细的文章介绍可以参考:https://blog.csdn.net/lidahuilidahui/article/details/105443366 这里重点提一下,使用欧空局SNAP处理数据的话,内存要大一些,小于16G的话可能会吃力甚至报错,为了节省数据量,本次数据处理之前先用SNAP进行了裁剪,如下图所示,打开数据之后进行了裁剪,: 然后进行了轨道校正、

qq_46071146的博客 2万+

华为交换机系统软件升级和安全漏洞修复教程

在华为交换机国网可以查询到华为交换机官方电话:400-822-9999,通过下命令查询出需要升级的交换机软件版本和补丁版本号发给华为,获取新的升级系统软件和补丁以及升级教程。下面是我升级华为交换机总结的教程,作为参考。...

星如雨落 2970

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

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

软测小生 2万+

仿真学习系列(四十二):Sigrity仿真之走线阻抗和耦合检查

在高速电路设计中,走线的阻抗和信号线之间的耦合是影响信号完整性的重要因素。设计中可能会出现多种情况,导致阻抗变化或不匹配,例如线宽的变化、跨层分割等。传统的人工检查方法常常不够高效且易忽视细节。借助仿真软件,可以快速定位问题区域,并进行精确分析,从而有效避免或减少信号反射和串扰带来的影响。

案例文章,高速信号 428

iloc,ix和loc有何不同?

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

p15097962069的博客 5227

【GlobalMapper精品教程】038:模拟水位上升(洪水淹没分析)案例教程

基于数字高程模型 ( DEM )格网模型,实现给定水深情况下洪水淹没区的计算模型,讨论洪水淹没演进过程可视化实现的关键技术,以三维可视化方式,动态而形象地模拟在指定洪水水位下的洪水淹没演进过程。

智慧空间实验室 2893

[QMT量化交易小白入门]-二十四、年化收益47%的全球核心资产轮动策略(含代码解析)

m_days = 25 #动量参考天数period=200m_days被设置为25,表示动量参考的天数为25天;period被设置为200,用于指定获取市场数据的周期长度。

木头大左的博客 2978

Cisco PIX配置大全

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

ejzhang的专栏 4784

SAP B1中文培訓教材_SDK

公司内部培训资料,对开发工具 ,DIAPI, UIAPI,Add-ON有详细解说

SikuliX的使用

SikuliX自动化测试环境配置

koilin的专栏 1万+

蓝牙模块HM-10手册

蓝牙模块HM-10手册,该手册对蓝牙模块HM-10进行了详细的介绍和使用方法以及一些AT指令。

win10 跳过U8环境检测的IE WebControls.rar

win10 安装u8的时候 提示IE WebControls 不通过,这个工具可以欺骗u8的检查。 跳过U8环境检测的IE WebControls。提示导入失败后,重新检测通过。

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

pscad IEEE标准系统搭建说明

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

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的博客 1221

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、付费专栏及课程。

余额充值
⌂ 换网址