-
Notifications
You must be signed in to change notification settings - Fork 0
/
atom.xml
422 lines (225 loc) · 22.4 KB
/
atom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>zzzzz</title>
<icon>https://zsy-arch.github.io/icon.png</icon>
<link href="https://zsy-arch.github.io/atom.xml" rel="self"/>
<link href="https://zsy-arch.github.io/"/>
<updated>2024-11-06T11:37:58.249Z</updated>
<id>https://zsy-arch.github.io/</id>
<author>
<name>zsy</name>
</author>
<generator uri="https://hexo.io/">Hexo</generator>
<entry>
<title>Frida在J2SE上的基本使用</title>
<link href="https://zsy-arch.github.io/2024/11/06/Frida%E5%9C%A8J2SE%E4%B8%8A%E7%9A%84%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8/"/>
<id>https://zsy-arch.github.io/2024/11/06/Frida%E5%9C%A8J2SE%E4%B8%8A%E7%9A%84%E5%9F%BA%E6%9C%AC%E4%BD%BF%E7%94%A8/</id>
<published>2024-11-06T11:25:44.000Z</published>
<updated>2024-11-06T11:37:58.249Z</updated>
<summary type="html"><h1 id="Frida-server"><a href="#Frida-server" class="headerlink" title="Frida server"></a>Frida</summary>
<category term="Frida" scheme="https://zsy-arch.github.io/tags/Frida/"/>
</entry>
<entry>
<title>2024DASCTF夏季PWN</title>
<link href="https://zsy-arch.github.io/2024/07/24/2024DASCTF%E5%A4%8F%E5%AD%A3PWN/"/>
<id>https://zsy-arch.github.io/2024/07/24/2024DASCTF%E5%A4%8F%E5%AD%A3PWN/</id>
<published>2024-07-24T11:53:33.000Z</published>
<updated>2024-07-24T11:58:15.872Z</updated>
<summary type="html"><h1 id="springboard"><a href="#springboard" class="headerlink" title="springboard"></a>springboard</h1><p>格式化字符串漏洞,且字符串不在栈上的类型:</p>
<p>通过任意地址写,将main函数的ret addr改为one gadget即可。</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="pwn" scheme="https://zsy-arch.github.io/tags/pwn/"/>
</entry>
<entry>
<title>2024春秋杯PWN</title>
<link href="https://zsy-arch.github.io/2024/07/15/2024%E6%98%A5%E7%A7%8B%E6%9D%AFPWN/"/>
<id>https://zsy-arch.github.io/2024/07/15/2024%E6%98%A5%E7%A7%8B%E6%9D%AFPWN/</id>
<published>2024-07-15T14:29:20.000Z</published>
<updated>2024-07-15T14:44:51.101Z</updated>
<summary type="html"><h1 id="stdout"><a href="#stdout" class="headerlink" title="stdout"></a>stdout</h1><p>main函数调用init:</p>
<figure class="highlight c"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">int</span> <span class="title">init</span><span class="params">()</span></span></span><br><span class="line"><span class="function"></span>&#123;</span><br><span class="line"> setvbuf(<span class="built_in">stdout</span>, <span class="number">0LL</span>, <span class="number">0</span>, <span class="number">0LL</span>);</span><br><span class="line"> <span class="keyword">return</span> setvbuf(<span class="built_in">stdin</span>, <span class="number">0LL</span>, <span class="number">2</span>, <span class="number">0LL</span>);</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>setvbuf第三个参数用来控制文件流的缓冲模式,可以在下面三个值中选择:</p>
<figure class="highlight c"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">#<span class="meta-keyword">define</span> _IOFBF <span class="comment">// argument to setvbuf indicating fully buffered I/O</span></span></span><br><span class="line"><span class="meta">#<span class="meta-keyword">define</span> _IOLBF <span class="comment">// argument to setvbuf indicating line buffered I/O</span></span></span><br><span class="line"><span class="meta">#<span class="meta-keyword">define</span> _IONBF <span class="comment">// argument to setvbuf indicating unbuffered I/O</span></span></span><br></pre></td></tr></table></figure></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="pwn" scheme="https://zsy-arch.github.io/tags/pwn/"/>
</entry>
<entry>
<title>编译Android系统及驱动</title>
<link href="https://zsy-arch.github.io/2024/07/06/%E7%BC%96%E8%AF%91Android%E7%B3%BB%E7%BB%9F%E5%8F%8A%E9%A9%B1%E5%8A%A8/"/>
<id>https://zsy-arch.github.io/2024/07/06/%E7%BC%96%E8%AF%91Android%E7%B3%BB%E7%BB%9F%E5%8F%8A%E9%A9%B1%E5%8A%A8/</id>
<published>2024-07-06T12:45:24.000Z</published>
<updated>2024-07-06T15:10:53.694Z</updated>
<summary type="html"><h1 id="1-引言"><a href="#1-引言" class="headerlink" title="1 引言"></a>1 引言</h1><p>简单记录了这三天来编译Android系统内核、驱动走过的路。遇到了很多坑和不懂的东西,为了下次少走些弯路所以简单总结下。横跨很多天的工作不免记忆模糊,如果参考本博客时遇到问题欢迎大家下方留言和指正。</p></summary>
<category term="Android" scheme="https://zsy-arch.github.io/tags/Android/"/>
<category term="Linux" scheme="https://zsy-arch.github.io/tags/Linux/"/>
</entry>
<entry>
<title>VMP1.1 逆向分析</title>
<link href="https://zsy-arch.github.io/2024/07/03/VMP1-1-%E9%80%86%E5%90%91%E5%88%86%E6%9E%90/"/>
<id>https://zsy-arch.github.io/2024/07/03/VMP1-1-%E9%80%86%E5%90%91%E5%88%86%E6%9E%90/</id>
<published>2024-07-03T08:39:09.000Z</published>
<updated>2024-07-06T12:45:42.547Z</updated>
<summary type="html"><h1 id="1-引言"><a href="#1-引言" class="headerlink" title="1 引言"></a>1 引言</h1><p>几年来,逆向一直停留在CTF坐牢水平,脱壳也就会用工具、最多说说原理。所以决定开始“深入”了解下脱VMP壳。当然,毕竟要循序渐进,我们还是从最简单的开始。这里我们选择了VMP1.1版本,自己编写简单的程序并用其加壳,将原程序与加壳后程序进行对比分析。</p></summary>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
<category term="VMP" scheme="https://zsy-arch.github.io/tags/VMP/"/>
</entry>
<entry>
<title>Windows win32k 漏洞 & CVE-2021-1732 分析</title>
<link href="https://zsy-arch.github.io/2024/06/13/Windows-win32k-vuln-CVE-2021-1732/"/>
<id>https://zsy-arch.github.io/2024/06/13/Windows-win32k-vuln-CVE-2021-1732/</id>
<published>2024-06-13T15:39:33.000Z</published>
<updated>2024-06-13T15:42:04.725Z</updated>
<summary type="html"><h1 id="win32k漏洞"><a href="#win32k漏洞" class="headerlink" title="win32k漏洞"></a>win32k漏洞</h1><p>win32k.sys运行在Windows系统内核态,主要负责GUI相关的工作,用户态的user32.dll与其合作。个人感觉比较常见的漏洞对象在于tagWnd及其相关的数据结构和API。</p></summary>
<category term="Binary Security" scheme="https://zsy-arch.github.io/tags/Binary-Security/"/>
<category term="Windows kernel" scheme="https://zsy-arch.github.io/tags/Windows-kernel/"/>
</entry>
<entry>
<title>浅析 windows cve-2023-21768</title>
<link href="https://zsy-arch.github.io/2024/06/06/windows-cve-2023-21768/"/>
<id>https://zsy-arch.github.io/2024/06/06/windows-cve-2023-21768/</id>
<published>2024-06-06T12:35:18.000Z</published>
<updated>2024-06-06T13:07:46.377Z</updated>
<summary type="html"><h1 id="漏洞简介"><a href="#漏洞简介" class="headerlink" title="漏洞简介"></a>漏洞简介</h1><p>cve-2023-21768 是一个 Windows 11 22H2 系统中的本地权限提升漏洞,该漏洞源于AFD.sys这个模块。</p></summary>
<category term="Binary Security" scheme="https://zsy-arch.github.io/tags/Binary-Security/"/>
<category term="Windows kernel" scheme="https://zsy-arch.github.io/tags/Windows-kernel/"/>
</entry>
<entry>
<title>CISCN2024 Qual writeup</title>
<link href="https://zsy-arch.github.io/2024/05/20/CISCN2024-Qual-writeup/"/>
<id>https://zsy-arch.github.io/2024/05/20/CISCN2024-Qual-writeup/</id>
<published>2024-05-20T14:15:52.000Z</published>
<updated>2024-06-13T15:42:40.890Z</updated>
<summary type="html"><p>简单题是很水,没做出来的题也很让人崩溃。</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
</entry>
<entry>
<title>D^3CTF Reverse/车联网 Writeup</title>
<link href="https://zsy-arch.github.io/2024/04/30/D-3CTF-Reverse-%E8%BD%A6%E8%81%94%E7%BD%91-Writeup/"/>
<id>https://zsy-arch.github.io/2024/04/30/D-3CTF-Reverse-%E8%BD%A6%E8%81%94%E7%BD%91-Writeup/</id>
<published>2024-04-30T03:49:33.000Z</published>
<updated>2024-06-13T15:42:53.233Z</updated>
<summary type="html"><p>考完研第一次完整的参加一次CTF,考也没考上,ida咋用也忘干净了,还让队友掉出了前十。这就滚去学习re和iov。</p></summary>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
<category term="IOV" scheme="https://zsy-arch.github.io/tags/IOV/"/>
</entry>
<entry>
<title>西湖论剑 2024 Reverse WriteUp</title>
<link href="https://zsy-arch.github.io/2024/02/04/%E8%A5%BF%E6%B9%96%E8%AE%BA%E5%89%91-2024-Reverse-WriteUp/"/>
<id>https://zsy-arch.github.io/2024/02/04/%E8%A5%BF%E6%B9%96%E8%AE%BA%E5%89%91-2024-Reverse-WriteUp/</id>
<published>2024-02-04T12:59:34.000Z</published>
<updated>2024-02-19T13:44:52.195Z</updated>
<summary type="html"><h1 id="MZ"><a href="#MZ" class="headerlink" title="MZ"></a>MZ</h1><p>使用IDAPython脚本进行一次搜索即可:</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
</entry>
<entry>
<title>Hello World</title>
<link href="https://zsy-arch.github.io/2023/06/06/hello-world/"/>
<id>https://zsy-arch.github.io/2023/06/06/hello-world/</id>
<published>2023-06-06T12:35:18.000Z</published>
<updated>2024-06-06T13:20:17.747Z</updated>
<summary type="html"><p><img src="/image-20211105151514789.png"</summary>
</entry>
<entry>
<title>DASCTF2022_11月赛</title>
<link href="https://zsy-arch.github.io/2022/11/29/DASCTF2022-11%E6%9C%88%E8%B5%9B/"/>
<id>https://zsy-arch.github.io/2022/11/29/DASCTF2022-11%E6%9C%88%E8%B5%9B/</id>
<published>2022-11-28T16:36:10.000Z</published>
<updated>2024-03-12T13:34:46.102Z</updated>
<summary type="html"><h1 id="babytea"><a href="#babytea" class="headerlink" title="babytea"></a>babytea</h1><p>这个题目用到了比较简单的TEA加密,但是使用异常处理来打乱了控制流。</p></summary>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
<category term="writeup" scheme="https://zsy-arch.github.io/tags/writeup/"/>
</entry>
<entry>
<title>AES加密学习笔记</title>
<link href="https://zsy-arch.github.io/2022/10/22/AES%E5%8A%A0%E5%AF%86%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/"/>
<id>https://zsy-arch.github.io/2022/10/22/AES%E5%8A%A0%E5%AF%86%E5%AD%A6%E4%B9%A0%E7%AC%94%E8%AE%B0/</id>
<published>2022-10-22T07:18:11.000Z</published>
<updated>2024-03-12T13:35:43.440Z</updated>
<summary type="html"><h1 id="AES128-ECB-分析"><a href="#AES128-ECB-分析" class="headerlink" title="AES128 ECB 分析"></a>AES128 ECB 分析</h1><h2 id="key-expansion"><a href="#key-expansion" class="headerlink" title="key expansion"></a>key expansion</h2><p>AES128 ECB的密钥拓展是将<code>Nk * 4</code>字节的密钥Key拓展为<code>(Nr + 1) * Nb * 4</code>字节的ExpKey。<br>ExpKey里面的数据分成了<code>(Nr + 1)</code>组,每一组就是用来和state相加的RoundKey。</p></summary>
<category term="Binary Security" scheme="https://zsy-arch.github.io/tags/Binary-Security/"/>
</entry>
<entry>
<title>Writeup - ASIS CTF 2022 Quals reverse [partial]</title>
<link href="https://zsy-arch.github.io/2022/10/20/Writeup-ASIS-CTF-2022-Quals-reverse-partial/"/>
<id>https://zsy-arch.github.io/2022/10/20/Writeup-ASIS-CTF-2022-Quals-reverse-partial/</id>
<published>2022-10-20T13:05:08.000Z</published>
<updated>2024-03-12T13:36:51.437Z</updated>
<summary type="html"><h1 id="traditional"><a href="#traditional" class="headerlink" title="traditional"></a>traditional</h1><h2 id="analysis"><a href="#analysis" class="headerlink" title="analysis"></a>analysis</h2><p>附件是一个无壳elf64和一个flag.enc文件,猜测是要对flag.enc文件进行解密。</p></summary>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
<category term="writeup" scheme="https://zsy-arch.github.io/tags/writeup/"/>
</entry>
<entry>
<title>Windows kernel exploit - HEVD Stack Overflow</title>
<link href="https://zsy-arch.github.io/2022/10/03/Windows-kernel-exploit-HEVD-Stack-Overflow/"/>
<id>https://zsy-arch.github.io/2022/10/03/Windows-kernel-exploit-HEVD-Stack-Overflow/</id>
<published>2022-10-03T14:29:15.000Z</published>
<updated>2024-06-13T15:42:00.756Z</updated>
<summary type="html"><h1 id="HEVD-环境搭建"><a href="#HEVD-环境搭建" class="headerlink" title="HEVD 环境搭建"></a>HEVD 环境搭建</h1><p>安装Visual Studio 2022、cmake、git cli,然后从<a href="https://github.com/hacksysteam/HackSysExtremeVulnerableDriver">https://github.com/hacksysteam/HackSysExtremeVulnerableDriver</a> 下载源码,然后用内置的bat脚本编译即可。</p></summary>
<category term="Binary Security" scheme="https://zsy-arch.github.io/tags/Binary-Security/"/>
<category term="Windows kernel" scheme="https://zsy-arch.github.io/tags/Windows-kernel/"/>
</entry>
<entry>
<title>BUUOJ pwn刷题记录(持续更新)</title>
<link href="https://zsy-arch.github.io/2022/08/04/BUUOJ-pwn%E5%88%B7%E9%A2%98%E8%AE%B0%E5%BD%95/"/>
<id>https://zsy-arch.github.io/2022/08/04/BUUOJ-pwn%E5%88%B7%E9%A2%98%E8%AE%B0%E5%BD%95/</id>
<published>2022-08-04T15:22:47.000Z</published>
<updated>2024-03-12T13:35:34.573Z</updated>
<summary type="html"><h1 id="Stack-amp-ROP"><a href="#Stack-amp-ROP" class="headerlink" title="Stack &amp; ROP"></a>Stack &amp; ROP</h1><figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">TODO....</span><br></pre></td></tr></table></figure>
<h2 id="not-the-same-3dsctf-2016"><a href="#not-the-same-3dsctf-2016" class="headerlink" title="not_the_same_3dsctf_2016"></a>not_the_same_3dsctf_2016</h2><p>checksec</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="pwn" scheme="https://zsy-arch.github.io/tags/pwn/"/>
</entry>
<entry>
<title>HWSCTF2022初赛WriteUp</title>
<link href="https://zsy-arch.github.io/2022/08/01/HWSCTF2022%E5%88%9D%E8%B5%9BWriteUp/"/>
<id>https://zsy-arch.github.io/2022/08/01/HWSCTF2022%E5%88%9D%E8%B5%9BWriteUp/</id>
<published>2022-08-01T15:37:30.000Z</published>
<updated>2024-03-12T13:38:06.885Z</updated>
<summary type="html"><h1 id="HWS2022-WriteUp"><a href="#HWS2022-WriteUp" class="headerlink" title="HWS2022 WriteUp"></a>HWS2022 WriteUp</h1><h2 id="reverse"><a href="#reverse" class="headerlink" title="reverse"></a>reverse</h2><h3 id="re1"><a href="#re1" class="headerlink" title="re1"></a>re1</h3><p>TEA变种,key为0x1234,0x2345, 0x4567, 0x6789, 直接对密文进行解密即可</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="writeup" scheme="https://zsy-arch.github.io/tags/writeup/"/>
</entry>
<entry>
<title>SCTF2019 babyre</title>
<link href="https://zsy-arch.github.io/2022/07/24/SCTF2019-babyre/"/>
<id>https://zsy-arch.github.io/2022/07/24/SCTF2019-babyre/</id>
<published>2022-07-24T15:33:52.000Z</published>
<updated>2024-03-12T13:37:44.203Z</updated>
<summary type="html"><h1 id="babyre"><a href="#babyre" class="headerlink" title="babyre"></a>babyre</h1><h2 id="附件"><a href="#附件" class="headerlink" title="附件"></a>附件</h2><ul>
<li>babygame</li>
</ul>
<h2 id="分析"><a href="#分析" class="headerlink" title="分析"></a>分析</h2><p>IDA打开,定位到main函数:</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
<category term="writeup" scheme="https://zsy-arch.github.io/tags/writeup/"/>
</entry>
<entry>
<title>ACTF2022 复现 2</title>
<link href="https://zsy-arch.github.io/2022/07/20/ACTF2022-%E5%A4%8D%E7%8E%B0-2/"/>
<id>https://zsy-arch.github.io/2022/07/20/ACTF2022-%E5%A4%8D%E7%8E%B0-2/</id>
<published>2022-07-20T02:53:01.000Z</published>
<updated>2024-03-12T13:36:08.920Z</updated>
<summary type="html"><h1 id="kcov"><a href="#kcov" class="headerlink" title="kcov"></a>kcov</h1><h2 id="附件"><a href="#附件" class="headerlink" title="附件"></a>附件</h2><ul>
<li>launch.sh</li>
<li>bzImage</li>
<li>rootfs.cpio.gz</summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
</entry>
<entry>
<title>buuoj reverse crackMe</title>
<link href="https://zsy-arch.github.io/2022/07/17/buuoj-reverse-crackMe/"/>
<id>https://zsy-arch.github.io/2022/07/17/buuoj-reverse-crackMe/</id>
<published>2022-07-17T15:01:46.000Z</published>
<updated>2024-03-12T13:35:18.155Z</updated>
<summary type="html"><h1 id="crackMe"><a href="#crackMe" class="headerlink" title="crackMe"></a>crackMe</h1><h2 id="附件"><a href="#附件" class="headerlink" title="附件"></a>附件</h2><ul>
<li>crackme.exe</li>
</ul>
<h2 id="分析"><a href="#分析" class="headerlink" title="分析"></a>分析</h2><p>IDA定位到wmain函数</p></summary>
<category term="ctf" scheme="https://zsy-arch.github.io/tags/ctf/"/>
<category term="reverse" scheme="https://zsy-arch.github.io/tags/reverse/"/>
<category term="writeup" scheme="https://zsy-arch.github.io/tags/writeup/"/>
</entry>
</feed>