-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
1233 lines (737 loc) · 58.1 KB
/
index.html
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
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>第 1 页 | Shaw</title>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="baidu-site-verification" content="63656ec0c686f8aaeeaad1b7243ba233" />
<meta name="description" content="积沙成塔">
<meta property="og:type" content="website">
<meta property="og:title" content="Shaw">
<meta property="og:url" content="http://example.com/index.html">
<meta property="og:site_name" content="Shaw">
<meta property="og:description" content="积沙成塔">
<meta property="og:locale" content="zh_CN">
<meta property="article:author" content="Shaw">
<meta name="twitter:card" content="summary">
<link rel="alternate" href="/atom.xml" title="Shaw" type="application/atom+xml">
<link rel="icon" href="/css/images/ytre.jpg">
<link href="//fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Open+Sans|Montserrat:700" rel="stylesheet" type="text/css">
<link href="https://fonts.googleapis.com/css?family=Roboto:400,300,300italic,400italic" rel="stylesheet" type="text/css">
<link href="//cdn.bootcss.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet">
<style type="text/css">
@font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/9749f0/00000000000000000001008f/27/l?subset_id=2&fvd=n5) format("woff2");font-weight:500;font-style:normal;}
@font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/90cf9f/000000000000000000010091/27/l?subset_id=2&fvd=n7) format("woff2");font-weight:500;font-style:normal;}
@font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/8a5494/000000000000000000013365/27/l?subset_id=2&fvd=n4) format("woff2");font-weight:lighter;font-style:normal;}
@font-face{font-family:futura-pt;src:url(https://use.typekit.net/af/d337d8/000000000000000000010095/27/l?subset_id=2&fvd=i4) format("woff2");font-weight:400;font-style:italic;}</style>
<link rel="stylesheet" id="athemes-headings-fonts-css" href="//fonts.googleapis.com/css?family=Yanone+Kaffeesatz%3A200%2C300%2C400%2C700&ver=4.6.1" type="text/css" media="all">
<link rel="stylesheet" id="athemes-headings-fonts-css" href="//fonts.googleapis.com/css?family=Oswald%3A300%2C400%2C700&ver=4.6.1" type="text/css" media="all">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/jquery-3.1.1.min.js"></script>
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="/css/bootstrap.css" >
<link rel="stylesheet" href="/css/fashion.css" >
<link rel="stylesheet" href="/css/glyphs.css" >
<!-- hexo injector head_end start -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.12.0/dist/katex.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/hexo-math@4.0.0/dist/style.css">
<!-- hexo injector head_end end --><meta name="generator" content="Hexo 5.4.2"></head>
<body>
<header id="allheader" class="site-header" role="banner"
>
<div class="clearfix container">
<div class="site-branding">
<h1 class="site-title">
<a href="/" rel="home" >
<img style="margin-bottom: 10px;" width="124px" height="124px" alt="Hike News" src=" /css/images/ytre.jpg">
</a>
</h1>
<div class="site-description">积沙成塔</div>
<nav id="main-navigation" class="main-navigation" role="navigation">
<a class="nav-open">Menu</a>
<a class="nav-close">Close</a>
<div class="clearfix sf-menu">
<ul id="main-nav" class="menu sf-js-enabled sf-arrows" style="touch-action: pan-y;">
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663" linktext="/"> <a class="" href="/">首页</a> </li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663" linktext="archives"> <a class="" href="/archives">归档</a> </li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663" linktext="categories"> <a class="" href="/categories">分类</a> </li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663" linktext="tags"> <a class="" href="/tags">标签</a> </li>
<li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-1663" linktext="about"> <a class="" href="/about">关于</a> </li>
</ul>
</div>
</nav>
</div>
</div>
</header>
<div id="container">
<div id="wrap">
<div id="content" class="outer">
<section id="main">
<article id="post-Welcome" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2021/09/03/Welcome/">Shaw's blog</a>
</h1>
</header>
<div class="article-meta">
<a href="/2021/09/03/Welcome/" class="article-date">
<time datetime="2021-09-03T05:50:00.000Z" itemprop="datePublished">九月 3, 2021</time>
</a>
</div>
<div class="article-entry" itemprop="articleBody">
<p>论文阅读/技术学习/比赛积累</p>
</div>
<footer class="entry-meta entry-footer">
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-2025331-(Syzkaller)How-does-Syz-manager-synchronize-information-with-fuzzers" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2025/03/31/2025331-(Syzkaller)How-does-Syz-manager-synchronize-information-with-fuzzers/">(Syzkaller)How does Syz-manager synchronize information with fuzzers?</a>
</h1>
</header>
<div class="article-meta">
<a href="/2025/03/31/2025331-(Syzkaller)How-does-Syz-manager-synchronize-information-with-fuzzers/" class="article-date">
<time datetime="2025-03-30T16:00:00.000Z" itemprop="datePublished">三月 31, 2025</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2025/03/31/2025331-(Syzkaller)How-does-Syz-manager-synchronize-information-with-fuzzers/"><img src="http://lorempixel.com/750/450/city/8" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
How
does Syz-manager synchronize statistics information with fuzzers?
How does Syz-manager gets crashes, total execution times, ... ,
during the fuzzing process?
<p class="article-more-link">
<a href="/2025/03/31/2025331-(Syzkaller)How-does-Syz-manager-synchronize-information-with-fuzzers/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Fuzzing/" rel="tag">Fuzzing</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Kernel/" rel="tag">Kernel</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Syzkaller/" rel="tag">Syzkaller</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-2025323-(Syzkaller)How-does-Syzkaller-generate-a-program()" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2025/03/23/2025323-(Syzkaller)How-does-Syzkaller-generate-a-program()/">(Syzkaller)How does Syzkaller generate a program (syscall sequences)?</a>
</h1>
</header>
<div class="article-meta">
<a href="/2025/03/23/2025323-(Syzkaller)How-does-Syzkaller-generate-a-program()/" class="article-date">
<time datetime="2025-03-22T16:00:00.000Z" itemprop="datePublished">三月 23, 2025</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2025/03/23/2025323-(Syzkaller)How-does-Syzkaller-generate-a-program()/"><img src="http://lorempixel.com/750/450/city/8" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
How does Syzkaller generate a program (syscall sequences)?
Hey guys! It’s been a while since I last updated my blog. Of course, I haven’t been idle during this time. I successfully published a paper and received two verbal PHD offers from CUHK. Everything is getting better and I love 2025!
2025.3.23Xiao
<p class="article-more-link">
<a href="/2025/03/23/2025323-(Syzkaller)How-does-Syzkaller-generate-a-program()/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Fuzzing/" rel="tag">Fuzzing</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Kernel/" rel="tag">Kernel</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Syzkaller/" rel="tag">Syzkaller</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【论文阅读】Finding-the-Dwarf---Recovering-Precise-Types-from-WebAssembly-Binaries" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Finding-the-Dwarf---Recovering-Precise-Types-from-WebAssembly-Binaries/">(论文阅读)Finding the Dwarf - Recovering Precise Types from WebAssembly Binaries</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Finding-the-Dwarf---Recovering-Precise-Types-from-WebAssembly-Binaries/" class="article-date">
<time datetime="2024-05-19T16:00:00.000Z" itemprop="datePublished">五月 20, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Finding-the-Dwarf---Recovering-Precise-Types-from-WebAssembly-Binaries/"><img src="http://lorempixel.com/750/450/city/4" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
Finding
the Dwarf: Recovering Precise Types from WebAssembly Binaries
会议:PLDI'22
作者:Daniel Lehmann, Michael Pradel
1. 问题背景
随着WebAssembly越来越受欢迎,在越来越多的应用领域应用,Wasm逆向的需求也越来越旺盛。例如,一个开发者可能回想了解其在项目中使用的第三方Wasm
module,以更加了解其exported functions。
理解一个WebAssembly binary的第一步就是理解函数的type
signatures(参数、返回值)。由于type与理解底层代码高度相关,因此现有的native
binary逆向工程工具都以type为目标 [12, 14,
57]。开发人员的研究也表明,static type有助于理解代码。
但Wasm
binary中的函数type种类非常受限,wasm只支持i32/i64/f32/f64四种基本类型。一个i32可能是一个signed或者unsigned
integer,又或者pointer。因此,如果能恢复高级语言中的type是非常有用的。
恢复高级type的一种方法是基于 "经典 "data-flow anlysis或type
inference,即根据程序中值的使用方式收集约束[12]。不过,这种方法实施起来比较复杂,而且通常需要建立在繁重的分析框架上,如
BAP 或 CodeSurfer [43, 54]。支持
WebAssembly,尤其是其略显特别的堆栈机[25],将是一项非同小可的工作。
<p class="article-more-link">
<a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Finding-the-Dwarf---Recovering-Precise-Types-from-WebAssembly-Binaries/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/WebAssembly/" rel="tag">WebAssembly"</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【论文阅读】Wasmati-An-efficient-static-vulnerability-scanner-for-WebAssembly" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Wasmati-An-efficient-static-vulnerability-scanner-for-WebAssembly/">(论文阅读)Wasmati-An efficient static vulnerability scanner for WebAssembly</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Wasmati-An-efficient-static-vulnerability-scanner-for-WebAssembly/" class="article-date">
<time datetime="2024-05-19T16:00:00.000Z" itemprop="datePublished">五月 20, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Wasmati-An-efficient-static-vulnerability-scanner-for-WebAssembly/"><img src="http://lorempixel.com/750/450/city/5" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
Wasmati:
An efficient static vulnerability scanner for WebAssembly
作者:Tiago Brito, Pedro Lopes, Nuno Santos
时间:2022.4
期刊:Computers & Security(B刊)
Code:wasmati/wasmati: A Generic and
Efficient Code Property Graph Infrastructure forScanning Vulnerabilities
in WebAssembly Code (github.com)
ABSTRACT
本文提出了Wasmati,一种static analysis tool用于寻找Wasm
binary中的漏洞。其基于code property
graph(CPG)。作者给出了Wasm中CPG的定义和生成方法,自定义了快速生成CPG的算法和一个查询语言Wasmati
Query
Language(WQL)。作者实现了10中不同的vulnerability查询,并在四种dateset和真实程序上做了测试。
<p class="article-more-link">
<a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Wasmati-An-efficient-static-vulnerability-scanner-for-WebAssembly/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/WebAssembly/" rel="tag">WebAssembly"</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【技术积累】WasmParser-Examples" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/04/24/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91WasmParser-Examples/">(技术积累)WasmParser Examples</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/04/24/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91WasmParser-Examples/" class="article-date">
<time datetime="2024-04-23T16:00:00.000Z" itemprop="datePublished">四月 24, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/04/24/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91WasmParser-Examples/"><img src="http://lorempixel.com/750/450/city/5" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
WasmParser Examples解析
针对Rust库Wasmparesr中给出的如下样例:
https://docs.rs/wasmparser/latest/wasmparser/struct.Parser.html#method.parse
https://docs.rs/wasmparser/latest/wasmparser/struct.Parser.html#method.parse_all
的解析
<p class="article-more-link">
<a href="/2024/04/24/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91WasmParser-Examples/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Rust/" rel="tag">Rust</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/WebAssembly/" rel="tag">WebAssembly</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【论文阅读】Binary-only-Kernel-Address-Sanitizer-for-Effective-Kernel-Fuzzing" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/04/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Binary-only-Kernel-Address-Sanitizer-for-Effective-Kernel-Fuzzing/">(论文阅读)Binary-only Kernel Address Sanitizer for Effective Kernel Fuzzing</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/04/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Binary-only-Kernel-Address-Sanitizer-for-Effective-Kernel-Fuzzing/" class="article-date">
<time datetime="2024-04-19T16:00:00.000Z" itemprop="datePublished">四月 20, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/04/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Binary-only-Kernel-Address-Sanitizer-for-Effective-Kernel-Fuzzing/"><img src="http://lorempixel.com/750/450/city/8" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
BoKASAN:
Binary-only Kernel Address Sanitizer for Effective Kernel Fuzzing
会议:Security'23
作者:Mingi Cho,Dohyeon An,Hoyong Jin,Taekyoung
Kwon(Yonsei University)
ABSTRACT
Kernel Address Sanitizer(KASAN)是在 Linux
内核中查找UAF和out-of-bounds的重要工具,但它需要内核源代码来进行编译时插桩。要将KASAN应用于闭源系统,我们必须开发一种纯二进制KASAN,而这是一项挑战。使用二进制重写和processor
support来为二进制模块运行KASAN的技术需要一个已经插桩好KASAN的内核,因此仍然需要内核源代码。动态插桩提供了一种替代方法,但其大大增加了性能开销,使得内核fuzzing不切实际。
<p class="article-more-link">
<a href="/2024/04/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Binary-only-Kernel-Address-Sanitizer-for-Effective-Kernel-Fuzzing/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Fuzzing/" rel="tag">Fuzzing</a></li><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/Sanitizer/" rel="tag">Sanitizer</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【技术积累】Ret2libc中的main与_start函数" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/04/17/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Ret2libc%E4%B8%AD%E7%9A%84main%E4%B8%8E_start%E5%87%BD%E6%95%B0/">(技术积累)Ret2libc中的main与_start函数</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/04/17/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Ret2libc%E4%B8%AD%E7%9A%84main%E4%B8%8E_start%E5%87%BD%E6%95%B0/" class="article-date">
<time datetime="2024-04-16T16:00:00.000Z" itemprop="datePublished">四月 17, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/04/17/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Ret2libc%E4%B8%AD%E7%9A%84main%E4%B8%8E_start%E5%87%BD%E6%95%B0/"><img src="http://lorempixel.com/750/450/city/5" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
Ret2libc中的main与_start函数
1. 题目背景
Ret2libc3练习(ret2libc3-CTF
Wiki)是一个简单的return to
libc练习题,其通过向程序输入两次payload来get
shell,第一次payload用于获取__libc_start_main函数真实加载地址,第二次payload通过该加载地址计算出libc中的偏移,进而调用system函数:
<p class="article-more-link">
<a href="/2024/04/17/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Ret2libc%E4%B8%AD%E7%9A%84main%E4%B8%8E_start%E5%87%BD%E6%95%B0/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/pwn/" rel="tag">pwn</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【技术积累】Fuzzm Stack&Heap Instrumentation代码解析" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/04/04/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Fuzzm%20Stack&Heap%20Instrumentation%E4%BB%A3%E7%A0%81%E8%A7%A3%E6%9E%90/">(技术积累)Fuzzm Heap&Stack Instrumentation代码解析</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/04/04/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Fuzzm%20Stack&Heap%20Instrumentation%E4%BB%A3%E7%A0%81%E8%A7%A3%E6%9E%90/" class="article-date">
<time datetime="2024-04-03T16:00:00.000Z" itemprop="datePublished">四月 4, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/04/04/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Fuzzm%20Stack&Heap%20Instrumentation%E4%BB%A3%E7%A0%81%E8%A7%A3%E6%9E%90/"><img src="http://lorempixel.com/750/450/city/10" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
Fuzzm Heap&Stack Instrumentation代码解析1. instrument_with_heap_canary_check()
Source: /fuzzm-project/wasm_instrumenter/src/canaries.rs
Functionality: 对Wasm插入heap canary
1. dlmalloc(size)
<p class="article-more-link">
<a href="/2024/04/04/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91Fuzzm%20Stack&Heap%20Instrumentation%E4%BB%A3%E7%A0%81%E8%A7%A3%E6%9E%90/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/WASM/" rel="tag">WASM</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<article id="post-【论文阅读】WaVe-a-verifiably-secure-WebAssembly-sandboxing-runtime" class="article article-type-post" itemscope itemprop="blogPost" >
<div id="articleInner" class="clearfix post-1016 post type-post status-publish format-standard has-post-thumbnail hentry category-template-2 category-uncategorized tag-codex tag-edge-case tag-featured-image tag-image tag-template">
<header class="article-header">
<h1 class="thumb" itemprop="name">
<a class="article-title" href="/2024/02/25/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91WaVe-a-verifiably-secure-WebAssembly-sandboxing-runtime/">(论文阅读)WaVe-a verifiably secure WebAssembly sandboxing runtime</a>
</h1>
</header>
<div class="article-meta">
<a href="/2024/02/25/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91WaVe-a-verifiably-secure-WebAssembly-sandboxing-runtime/" class="article-date">
<time datetime="2024-02-24T16:00:00.000Z" itemprop="datePublished">二月 25, 2024</time>
</a>
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
</div>
<div class="article-entry" itemprop="articleBody">
<div class="entry-thumbnail">
<a href="/2024/02/25/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91WaVe-a-verifiably-secure-WebAssembly-sandboxing-runtime/"><img src="http://lorempixel.com/750/450/city/9" class="attachment-thumb-featured size-thumb-featured wp-post-image" alt=""></a>
</div>
<div class="entry-summary">
WaVe: a
verifiably secure WebAssembly sandboxing runtime
作者:Evan Johnson(UCSD), Evan Laufer(Stanford),
Zijie Zhao(UIUC), Fraser Brown(CMU)
会议:SP'23
Abstract
WebAssembly (Wasm)
是一种流行的可移植字节码,其编译器会自动插入运行时检查,以确保数据流和控制流被限制在单一内存段内。事实上,现代编译后的Wasm程序已经发展到可以自行验证这些检查的程度,从而将编译器从可信计算基础中移除。
然而,由此产生的完整性属性仅对严格在 Wasm
沙箱内执行的代码有效。与运行时系统的任何交互(运行时系统管理沙箱并公开用于访问操作系统资源的
WebAssembly 系统接口
(WASI))都是在此契约之外进行的。由此产生的难题是,如何在保持 Wasm
强大隔离特性的同时,还允许此类程序与外部世界(即文件系统、网络等)进行交互。
我们的论文通过实现 WASI 的已验证安全运行时系统 WaVe
提出了这一问题的解决方案。我们从机制上验证了与 WaVe
的交互(包括操作系统的副作用)不仅能保持 Wasm
的内存安全保证,还能保持对主机操作系统的存储和网络资源的访问隔离。我们从机制上验证了与WaVe的交互(包括操作系统的副作用)不仅能保持Wasm的内存安全保证,还能保持主机操作系统存储和网络资源的访问隔离。最后,尽管运行时完全脱离了可信计算基础,我们还是证明了WaVe的性能可与现有的工业(但不安全)Wasm运行时媲美。
<p class="article-more-link">
<a href="/2024/02/25/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91WaVe-a-verifiably-secure-WebAssembly-sandboxing-runtime/#more">阅读全文</a>
</p>
</div>
</div>
<footer class="entry-meta entry-footer">
<span class="ico-folder"></span>
<a class="article-category-link" href="/categories/Paper/">Paper</a>
<span class="ico-tags"></span>
<ul class="article-tag-list" itemprop="keywords"><li class="article-tag-list-item"><a class="article-tag-list-link" href="/tags/WebAssembly/" rel="tag">WebAssembly</a></li></ul>
</footer>
<hr class="entry-footer-hr">
</div>
</article>
<!-- Table of Contents -->
<nav id="page-nav">
<span class="page-number current">1</span><a class="page-number" href="/page/2/">2</a><a class="page-number" href="/page/3/">3</a><span class="space">…</span><a class="page-number" href="/page/9/">9</a><a class="extend next" rel="next" href="/page/2/">下一页</a>
</nav>
</section>
<aside id="sidebar">
<div style="margin: 20px 0;">
<div id="search-form-wrap">
<form class="search-form">
<label style="width: 72%;">
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" style="height: 36px; width: 100%;" placeholder=" 搜索…" value="" name="s" title="Search for:">
</label>
<input type="submit" class="search-form-submit" value="搜索">
</form>
<div class="ins-search">
<div class="ins-search-mask"></div>
<div class="ins-search-container">
<div class="ins-input-wrapper">
<input type="text" class="ins-search-input" placeholder="请输入关键词..."/>
<span class="ins-close ins-selectable"><i class="fa fa-times-circle"></i></span>
</div>
<div class="ins-section-wrapper">
<div class="ins-section-container"></div>
</div>
</div>
</div>
<script>
(function (window) {
var INSIGHT_CONFIG = {
TRANSLATION: {
POSTS: '文章',
PAGES: '页面',
CATEGORIES: '分类',
TAGS: '标签',
UNTITLED: '(无标题)',
},
ROOT_URL: '/',
CONTENT_URL: '/content.json',
};
window.INSIGHT_CONFIG = INSIGHT_CONFIG;
})(window);
</script>
<script src="/js/insight.js"></script>
</div>
</div>
<div class="widget-wrap">
<h3 class="widget-title">联系我们</h3>
<div class="widget widget_athemes_social_icons">
<ul class="clearfix widget-social-icons">
<li><a target="_blank" rel="noopener" href="https://github.com/Shawdox" title="Github"><i class="fa fa-github" aria-hidden="true"></i></a></li>
<li><a href="" title="QQ"><i class="fa fa-qq" aria-hidden="true"></i></a></li>
<li><a href="" title="Facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a></li>
<li><a href="" title="Google-plus"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li>
<li><a href="" title="Instagram"><i class="fa fa-instagram" aria-hidden="true"></i></a></li>
</ul>
<!--
<ul class="clearfix widget-social-icons">
<li class="widget-si-twitter"><a target="_blank" rel="noopener" href="http://twitter.com" title="Twitter"><i class="ico-twitter"></i></a></li>
<li class="widget-si-facebook"><a target="_blank" rel="noopener" href="http://facebook.com" title="Facebook"><i class="ico-facebook"></i></a></li>
<li class="widget-si-gplus"><a target="_blank" rel="noopener" href="http://plus.google.com" title="Google+"><i class="ico-gplus"></i></a></li>
<li class="widget-si-pinterest"><a target="_blank" rel="noopener" href="http://pinterest.com" title="Pinterest"><i class="ico-pinterest"></i></a></li>
<li class="widget-si-flickr"><a target="_blank" rel="noopener" href="http://flickr.com" title="Flickr"><i class="ico-flickr"></i></a></li>
<li class="widget-si-instagram"><a target="_blank" rel="noopener" href="http://instagram.com" title="Instagram"><i class="ico-instagram"></i></a></li>
</ul> -->
</div>
</div>
<div class="widget_athemes_tabs">
<ul id="widget-tab" class="clearfix widget-tab-nav">
<li class="active"><a>最新文章</a></li>
</ul>
<div class="widget">
<ul>
<li class="clearfix">
<div class="widget-entry-summary" style="margin: 0;">
<h6 style="margin: 0;"><a href="/2025/03/31/2025331-(Syzkaller)How-does-Syz-manager-synchronize-information-with-fuzzers/">(Syzkaller)How does Syz-manager synchronize information with fuzzers?</a></h6>
<span>三月 31, 2025</span>
</div>
</li>
<li class="clearfix">
<div class="widget-entry-summary" style="margin: 0;">
<h6 style="margin: 0;"><a href="/2025/03/23/2025323-(Syzkaller)How-does-Syzkaller-generate-a-program()/">(Syzkaller)How does Syzkaller generate a program (syscall sequences)?</a></h6>
<span>三月 23, 2025</span>
</div>
</li>
<li class="clearfix">
<div class="widget-entry-summary" style="margin: 0;">
<h6 style="margin: 0;"><a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Finding-the-Dwarf---Recovering-Precise-Types-from-WebAssembly-Binaries/">(论文阅读)Finding the Dwarf - Recovering Precise Types from WebAssembly Binaries</a></h6>
<span>五月 20, 2024</span>
</div>
</li>
<li class="clearfix">
<div class="widget-entry-summary" style="margin: 0;">
<h6 style="margin: 0;"><a href="/2024/05/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Wasmati-An-efficient-static-vulnerability-scanner-for-WebAssembly/">(论文阅读)Wasmati-An efficient static vulnerability scanner for WebAssembly</a></h6>
<span>五月 20, 2024</span>
</div>
</li>
<li class="clearfix">
<div class="widget-entry-summary" style="margin: 0;">
<h6 style="margin: 0;"><a href="/2024/04/24/%E3%80%90%E6%8A%80%E6%9C%AF%E7%A7%AF%E7%B4%AF%E3%80%91WasmParser-Examples/">(技术积累)WasmParser Examples</a></h6>
<span>四月 24, 2024</span>
</div>
</li>
<li class="clearfix">
<div class="widget-entry-summary" style="margin: 0;">
<h6 style="margin: 0;"><a href="/2024/04/20/%E3%80%90%E8%AE%BA%E6%96%87%E9%98%85%E8%AF%BB%E3%80%91Binary-only-Kernel-Address-Sanitizer-for-Effective-Kernel-Fuzzing/">(论文阅读)Binary-only Kernel Address Sanitizer for Effective Kernel Fuzzing</a></h6>
<span>四月 20, 2024</span>
</div>
</li>
</ul>
</div>
</div>