diff --git a/2000/01/01/hello-world/index.html b/2000/01/01/hello-world/index.html
index f00e589b..bc11c523 100644
--- a/2000/01/01/hello-world/index.html
+++ b/2000/01/01/hello-world/index.html
@@ -651,7 +651,7 @@
- 16.3k
+ 16.9k
diff --git a/2018/11/16/BIBA访问控制模型实现(python)/index.html b/2018/11/16/BIBA访问控制模型实现(python)/index.html
index f5a7008a..fdac4c09 100644
--- a/2018/11/16/BIBA访问控制模型实现(python)/index.html
+++ b/2018/11/16/BIBA访问控制模型实现(python)/index.html
@@ -839,7 +839,7 @@
- 16.3k
+ 16.9k
diff --git a/2018/12/15/miio-control/index.html b/2018/12/15/miio-control/index.html
index bb4f1dfd..6f7a4922 100644
--- a/2018/12/15/miio-control/index.html
+++ b/2018/12/15/miio-control/index.html
@@ -741,7 +741,7 @@
- 16.3k
+ 16.9k
diff --git a/2018/12/23/基于规则引擎发现IOT设备/index.html b/2018/12/23/基于规则引擎发现IOT设备/index.html
index 488b9f67..a6a87df5 100644
--- a/2018/12/23/基于规则引擎发现IOT设备/index.html
+++ b/2018/12/23/基于规则引擎发现IOT设备/index.html
@@ -741,7 +741,7 @@
- 16.3k
+ 16.9k
diff --git a/2018/12/25/TCPDUMP拒绝服务攻击漏洞/index.html b/2018/12/25/TCPDUMP拒绝服务攻击漏洞/index.html
index 38f79f54..397fa822 100644
--- a/2018/12/25/TCPDUMP拒绝服务攻击漏洞/index.html
+++ b/2018/12/25/TCPDUMP拒绝服务攻击漏洞/index.html
@@ -746,7 +746,7 @@
- 16.3k
+ 16.9k
diff --git a/2019/01/16/wifi半双工侧信道攻击学习笔记/index.html b/2019/01/16/wifi半双工侧信道攻击学习笔记/index.html
index 2a9f0050..c9c9042b 100644
--- a/2019/01/16/wifi半双工侧信道攻击学习笔记/index.html
+++ b/2019/01/16/wifi半双工侧信道攻击学习笔记/index.html
@@ -869,7 +869,7 @@ Server -------wire----------|
- 16.3k
+ 16.9k
diff --git a/2019/02/22/qq数据库的加密解密/index.html b/2019/02/22/qq数据库的加密解密/index.html
index c090b862..ecd46f98 100644
--- a/2019/02/22/qq数据库的加密解密/index.html
+++ b/2019/02/22/qq数据库的加密解密/index.html
@@ -718,7 +718,7 @@
- 16.3k
+ 16.9k
diff --git a/2019/03/16/小米固件工具mkxqimage/index.html b/2019/03/16/小米固件工具mkxqimage/index.html
index c8f18c3e..d462d10b 100644
--- a/2019/03/16/小米固件工具mkxqimage/index.html
+++ b/2019/03/16/小米固件工具mkxqimage/index.html
@@ -725,7 +725,7 @@
- 16.3k
+ 16.9k
diff --git a/2019/03/23/auto-send-WX/index.html b/2019/03/23/auto-send-WX/index.html
index 24023618..dbfaf977 100644
--- a/2019/03/23/auto-send-WX/index.html
+++ b/2019/03/23/auto-send-WX/index.html
@@ -735,7 +735,7 @@
- 16.3k
+ 16.9k
diff --git a/2019/03/25/Samba-CVE/index.html b/2019/03/25/Samba-CVE/index.html
index a5a34103..21b4f2c1 100644
--- a/2019/03/25/Samba-CVE/index.html
+++ b/2019/03/25/Samba-CVE/index.html
@@ -760,7 +760,7 @@
- 16.3k
+ 16.9k
diff --git a/2019/03/28/逆向工程实验/index.html b/2019/03/28/逆向工程实验/index.html
index 24ecd4c4..739c8f7b 100644
--- a/2019/03/28/逆向工程实验/index.html
+++ b/2019/03/28/逆向工程实验/index.html
@@ -96,7 +96,7 @@
-
+
@@ -417,7 +417,7 @@
- 1.6k 字
+ 2.2k 字
@@ -431,7 +431,7 @@
- 6 分钟
+ 8 分钟
@@ -509,8 +509,25 @@
使调试器窗口不可用
终止调试器进程
-PE文件格式基础
加壳脱壳
实验一:软件破解
对象
crack.exe,28.0 KB
+PE文件格式基础
加壳脱壳
反调试技术
反调试技术,程序用它来识别是否被调试,或者让调试器失效。为了阻止调试器的分析,当程序意识到自己被调试时,它们可能改变正常的执行路径或者修改自身程序让自己崩溃,从而增加调试时间和复杂度。
+探测windows调试器
+- 使用windows API
使用Windows API函数探测调试器是否存在是最简单的反调试技术。
通常,防止使用API进行反调试的方法有在程序运行期间修改恶意代码,使其不能调用API函数,或修改返回值,确保执行合适的路径,还有挂钩这些函数。
常用来探测调试器的API函数有:IsDebuggerPresent
CheckRemoteDebuggerPresent
NtQueryInformationProcess
OutputDebuggString
+- 手动检测数据结构
程序编写者经常手动执行与这些API功能相同的操作
+
+- 检查BeingDebugged属性
+- 检测ProcessHeap属性
+- 检测NTGlobalFlag
+
+
+- 系统痕迹检测
通常,我们使用调试工具来分析程序,但这些工具会在系统中驻留一些痕迹。程序通过搜索这种系统的痕迹,来确定你是否试图分析它。例如,查找调试器引用的注册表项。同时,程序也可以查找系统的文件和目录,查找当前内存的痕迹,或者查看当前进程列表,更普遍的做法是通过FindWindows来查找调试器。识别调试器的行为
在逆向工程中,可以使用断点或单步调试来帮助分析,但执行这些操作时,会修改进程中的代码。因此可以使用几种反调试技术探测INT扫描、完整性校验以及时钟检测等几种类型的调试器行为。
+- INT扫描
调试器设置断点的基本机制是用软件中断INT 3,机器码为0xCC,临时替换程序中的一条指令。因此可以通过扫描INT 3修改来检测。
+- 执行代码校验和检查
与INT扫描目的相同,但仅执行机器码的CRC或MD5校验和检查。
+- 时钟检测
被调试时,进程的运行速度大大降低,常用指令有:rdstc
QueryPerformanceCounter
GetTickCount
,有如下两种方式探测时钟:
+
+
+- 记录执行一段操作前后的时间戳
+- 记录触发一个异常前后的时间戳
干扰调试器的功能
本地存储(TLS)回调、异常、插入中断调试器漏洞
PE头漏洞、OutputDebugString漏洞实验一:软件破解
对象
crack.exe,28.0 KB
- 无保护措施:无壳、未加密、无反调试措施
- 用户名至少要5个字节
- 输入错误验证码时输出:“Bad Boy!”
@@ -785,7 +802,7 @@
-
+
@@ -817,7 +834,7 @@
- 16.3k
+ 16.9k
diff --git a/about/index.html b/about/index.html
index 81b57d00..9236ca79 100644
--- a/about/index.html
+++ b/about/index.html
@@ -460,7 +460,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2000/01/index.html b/archives/2000/01/index.html
index 92921173..a600e030 100644
--- a/archives/2000/01/index.html
+++ b/archives/2000/01/index.html
@@ -490,7 +490,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2000/index.html b/archives/2000/index.html
index 19dc371b..83c7c3a0 100644
--- a/archives/2000/index.html
+++ b/archives/2000/index.html
@@ -490,7 +490,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2018/11/index.html b/archives/2018/11/index.html
index dd16e4f3..991a8372 100644
--- a/archives/2018/11/index.html
+++ b/archives/2018/11/index.html
@@ -490,7 +490,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2018/12/index.html b/archives/2018/12/index.html
index ff0a946a..c3411325 100644
--- a/archives/2018/12/index.html
+++ b/archives/2018/12/index.html
@@ -560,7 +560,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2018/index.html b/archives/2018/index.html
index 5020eb5b..0f38da44 100644
--- a/archives/2018/index.html
+++ b/archives/2018/index.html
@@ -595,7 +595,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2019/01/index.html b/archives/2019/01/index.html
index c6110bbc..3c113672 100644
--- a/archives/2019/01/index.html
+++ b/archives/2019/01/index.html
@@ -490,7 +490,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2019/02/index.html b/archives/2019/02/index.html
index f8f4b138..03434b46 100644
--- a/archives/2019/02/index.html
+++ b/archives/2019/02/index.html
@@ -490,7 +490,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2019/03/index.html b/archives/2019/03/index.html
index d9a932e6..1f75d4d2 100644
--- a/archives/2019/03/index.html
+++ b/archives/2019/03/index.html
@@ -595,7 +595,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/2019/index.html b/archives/2019/index.html
index 0c3008ad..1251b607 100644
--- a/archives/2019/index.html
+++ b/archives/2019/index.html
@@ -665,7 +665,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/index.html b/archives/index.html
index 402ef554..12c4e578 100644
--- a/archives/index.html
+++ b/archives/index.html
@@ -814,7 +814,7 @@
- 16.3k
+ 16.9k
diff --git a/archives/page/2/index.html b/archives/page/2/index.html
index 8289ca70..c95bfd94 100644
--- a/archives/page/2/index.html
+++ b/archives/page/2/index.html
@@ -494,7 +494,7 @@
- 16.3k
+ 16.9k
diff --git a/baidusitemap.xml b/baidusitemap.xml
index 339e809a..e8c0f88d 100644
--- a/baidusitemap.xml
+++ b/baidusitemap.xml
@@ -2,7 +2,7 @@
https://cool-y.github.io/2019/03/28/%E9%80%86%E5%90%91%E5%B7%A5%E7%A8%8B%E5%AE%9E%E9%AA%8C/
- 2019-03-30
+ 2019-03-31
https://cool-y.github.io/2018/12/25/TCPDUMP%E6%8B%92%E7%BB%9D%E6%9C%8D%E5%8A%A1%E6%94%BB%E5%87%BB%E6%BC%8F%E6%B4%9E/
2019-03-28
diff --git a/bookmarks/index.html b/bookmarks/index.html
index d2313713..d2e8aaf2 100644
--- a/bookmarks/index.html
+++ b/bookmarks/index.html
@@ -512,7 +512,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/IOT/index.html b/categories/IOT/index.html
index b67095ea..cc354bf2 100644
--- a/categories/IOT/index.html
+++ b/categories/IOT/index.html
@@ -523,7 +523,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/index.html b/categories/index.html
index 86d4958d..d2ab571a 100644
--- a/categories/index.html
+++ b/categories/index.html
@@ -462,7 +462,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/二进制/index.html b/categories/二进制/index.html
index 943fd547..b0238660 100644
--- a/categories/二进制/index.html
+++ b/categories/二进制/index.html
@@ -497,7 +497,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/加密解密/index.html b/categories/加密解密/index.html
index 4dafd35d..010bd22b 100644
--- a/categories/加密解密/index.html
+++ b/categories/加密解密/index.html
@@ -471,7 +471,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/杂七杂八/index.html b/categories/杂七杂八/index.html
index 17670d41..642e0f19 100644
--- a/categories/杂七杂八/index.html
+++ b/categories/杂七杂八/index.html
@@ -471,7 +471,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/理论学习/index.html b/categories/理论学习/index.html
index bc381e55..6bf0d461 100644
--- a/categories/理论学习/index.html
+++ b/categories/理论学习/index.html
@@ -471,7 +471,7 @@
- 16.3k
+ 16.9k
diff --git a/categories/顶会论文/index.html b/categories/顶会论文/index.html
index bc4815a1..878909c6 100644
--- a/categories/顶会论文/index.html
+++ b/categories/顶会论文/index.html
@@ -497,7 +497,7 @@
- 16.3k
+ 16.9k
diff --git a/index.html b/index.html
index 11d99486..2ad905cb 100644
--- a/index.html
+++ b/index.html
@@ -395,7 +395,7 @@
- 1.6k 字
+ 2.2k 字
@@ -409,7 +409,7 @@
- 6 分钟
+ 8 分钟
@@ -2348,7 +2348,7 @@ ettercap嗅探智能设备和网关之间的流量sudo ettercap -i ens33 -T -q
- 16.3k
+ 16.9k
diff --git a/page/2/index.html b/page/2/index.html
index 4c4bb2bb..84ed2773 100644
--- a/page/2/index.html
+++ b/page/2/index.html
@@ -598,7 +598,7 @@
- 16.3k
+ 16.9k
diff --git a/search.xml b/search.xml
index cb06762c..7ce956ea 100644
--- a/search.xml
+++ b/search.xml
@@ -3,7 +3,7 @@
%2F2019%2F03%2F28%2F%E9%80%86%E5%90%91%E5%B7%A5%E7%A8%8B%E5%AE%9E%E9%AA%8C%2F
-
+
二进制
diff --git a/sitemap.xml b/sitemap.xml
index 1e10684f..63052764 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -4,7 +4,7 @@
https://cool-y.github.io/2019/03/28/%E9%80%86%E5%90%91%E5%B7%A5%E7%A8%8B%E5%AE%9E%E9%AA%8C/
- 2019-03-30T09:46:11.139Z
+ 2019-03-31T08:21:44.826Z
diff --git a/tags/CVE/index.html b/tags/CVE/index.html
index 8a50a143..67f5c8a8 100644
--- a/tags/CVE/index.html
+++ b/tags/CVE/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/QQ/index.html b/tags/QQ/index.html
index e17bafe1..e26d7aa0 100644
--- a/tags/QQ/index.html
+++ b/tags/QQ/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/SSH/index.html b/tags/SSH/index.html
index c42dc9ca..fe465c5c 100644
--- a/tags/SSH/index.html
+++ b/tags/SSH/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/Samba/index.html b/tags/Samba/index.html
index 4c12c0bd..73a461f0 100644
--- a/tags/Samba/index.html
+++ b/tags/Samba/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/TCPDUMP/index.html b/tags/TCPDUMP/index.html
index 2d2246d0..c20d751a 100644
--- a/tags/TCPDUMP/index.html
+++ b/tags/TCPDUMP/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/USENIX/index.html b/tags/USENIX/index.html
index a82c7245..5a4943a5 100644
--- a/tags/USENIX/index.html
+++ b/tags/USENIX/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/index.html b/tags/index.html
index 402e38b1..376e4eb2 100644
--- a/tags/index.html
+++ b/tags/index.html
@@ -462,7 +462,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/itchat/index.html b/tags/itchat/index.html
index 55028a94..48b7d785 100644
--- a/tags/itchat/index.html
+++ b/tags/itchat/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/miio/index.html b/tags/miio/index.html
index e9dea7e0..93cf36ea 100644
--- a/tags/miio/index.html
+++ b/tags/miio/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/python/index.html b/tags/python/index.html
index 08a07fd2..8f30de00 100644
--- a/tags/python/index.html
+++ b/tags/python/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/wifi/index.html b/tags/wifi/index.html
index 0897e9f8..e6b007ff 100644
--- a/tags/wifi/index.html
+++ b/tags/wifi/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/中间人/index.html b/tags/中间人/index.html
index d8be27ac..bbbc0066 100644
--- a/tags/中间人/index.html
+++ b/tags/中间人/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/侧信道攻击/index.html b/tags/侧信道攻击/index.html
index 3137a795..3518485d 100644
--- a/tags/侧信道攻击/index.html
+++ b/tags/侧信道攻击/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/密码/index.html b/tags/密码/index.html
index 474690f6..83218d9d 100644
--- a/tags/密码/index.html
+++ b/tags/密码/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/小米/index.html b/tags/小米/index.html
index b3eed0e2..50d6c9b3 100644
--- a/tags/小米/index.html
+++ b/tags/小米/index.html
@@ -496,7 +496,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/微信/index.html b/tags/微信/index.html
index 2bf89f33..2ca430ba 100644
--- a/tags/微信/index.html
+++ b/tags/微信/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/拒绝服务攻击/index.html b/tags/拒绝服务攻击/index.html
index 79920f18..2fc4df67 100644
--- a/tags/拒绝服务攻击/index.html
+++ b/tags/拒绝服务攻击/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/数据库/index.html b/tags/数据库/index.html
index 9462d823..6dbcb674 100644
--- a/tags/数据库/index.html
+++ b/tags/数据库/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/数据挖掘/index.html b/tags/数据挖掘/index.html
index 6bf6f12b..f8df10c1 100644
--- a/tags/数据挖掘/index.html
+++ b/tags/数据挖掘/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/文件格式/index.html b/tags/文件格式/index.html
index d233e10f..1fa5721b 100644
--- a/tags/文件格式/index.html
+++ b/tags/文件格式/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/模型实现/index.html b/tags/模型实现/index.html
index b924ac62..4832cb07 100644
--- a/tags/模型实现/index.html
+++ b/tags/模型实现/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/破解/index.html b/tags/破解/index.html
index c8b7f1f3..f2259bef 100644
--- a/tags/破解/index.html
+++ b/tags/破解/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/自然语言处理/index.html b/tags/自然语言处理/index.html
index 0176f652..926d4709 100644
--- a/tags/自然语言处理/index.html
+++ b/tags/自然语言处理/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/访问控制/index.html b/tags/访问控制/index.html
index 080a5668..87c2008d 100644
--- a/tags/访问控制/index.html
+++ b/tags/访问控制/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/远程执行/index.html b/tags/远程执行/index.html
index 45e7070d..c2d7555b 100644
--- a/tags/远程执行/index.html
+++ b/tags/远程执行/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/逆向/index.html b/tags/逆向/index.html
index 796b61bc..ee28d500 100644
--- a/tags/逆向/index.html
+++ b/tags/逆向/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k
diff --git a/tags/重放攻击/index.html b/tags/重放攻击/index.html
index 3925c09c..232a03f2 100644
--- a/tags/重放攻击/index.html
+++ b/tags/重放攻击/index.html
@@ -470,7 +470,7 @@
- 16.3k
+ 16.9k