Black Hat Rust Applied offensive security with the Rust programming language Sylvain Kerkour Black Hat Rust Deep dive into offensive security with the Rust programming language Sylvain Kerkour v2021.23 Contents ......................... 15 ........................ 17 ........................ 18 ............................ 19 ................ 20 ......................... 22 ............................... 25 ........ 26 ................ 33 ............. 35 ............................. 44 ...................... 46 ....................... 46 .......................... 47 ..................... 48 .......................... 49 .................... 49 .......................... 50 .......................... 52 ................... 53 .................. 56 ................... 56 .................... 56 .............. 56 ............................. 59 ................................ 61 ............. 62 ............................... 63 .............................. 63 ........................ 63 ......................... 64 ........................... 67 .......................... 67 ........................... 69 ................... 80 ........................... 81 ............................. 81 .............................. 83 ............................... 85 ........................... 89 ................ 93 .............................. 94 ................. 95 ................................ 103 .......................... 107 ............................. 107 ............................... 108 ................................ 108 ........................... 109 .................. 111 ............................ 112 ................................ 112 ............................... 112 ....................... 112 ......................... 113 ...................... 115 ......................... 115 ........................... 116 ............................... 117 ................. 118 .......................... 118 .................... 118 ................ 122 ...................... 124 ............. 127 ........................... 129 ........................... 131 ............................. 132 ...................... 133 ........................... 133 ..................... 134 ........................... 134 ........................ 135 ............................. 135 .......................... 135 ........................... 136 ................................ 138 .............. 142 ............... 144 ........................... 146 ...................... 147 ........................ 148 ...................... 150 ........................ 152 ...................... 153 .......................... 154 ........................... 155 ............................ 156 ...................... 157 ....................... 157 ................. 157 ................. 159 ............................ 160 .......................... 161 ....................... 161 ............................ 162 ............................. 164 ......................... 166 ............................. 171 ...... 172 ..................... 172 .......................... 173 .......................... 173 ......................... 175 ......................... 180 .......................... 186 ............................. 190 ........................ 191 ..................... 193 ..................... 193 ............................ 195 .................... 196 .......................... 197 ....................... 198 ......................... 199 ....................... 200 ........................ 203 ...................... 210 ........................... 214 ............................. 214 ......................... 215 ........................ 220 .............................. 221 .......................... 222 .......................... 225 ............................. 227 ........................... 227 ...................... 227 ............. 233 ............................ 233 ........................ 234 ...................... 234 ............. 235 ........................... 245 ............................. 246 ...................... 248 ........................... 251 ............................. 253 ....................... 254 ........................ 264 ................... 265 ............................. 266 .................. 284 ......................... 285 ...................... 286 ............................. 286 .......................... 288 ......................... 289 ........................... 289 .......................... 290 .................. 291 ..................... 292 ........................... 292 .................... 293 ...................... 296 .......................... 296 ............................. 297 ...................... 298 ...................... 299 ....... 301 ...................... 302 ................ 303 ................................ 303 ............................. 305 ......................... 305 ...................... 306 .......... 310 ......................... 320 ........................... 321 ............................. 322 ....................... 323 ....................... 324 ....................... 325 ......................... 326 ................................ 326 ........................ 328 ............... 329 ............... 330 .............................. 331 ............................ 332 .......................... 337 ........................... 337 ............................. 337 .......................... 338 ....................... 338 ....................... 341 ..................... 342 ...................... 343 .......... 343 ............................... 344 ............................. 346 ............ 349 ............................. 353 ....................... 354 ........................ 356 ........................ 357 .................... 357 ............................. 357 ....................... 361 ............................ 362 ...................... 362 ............................. 362 Chapter 1Copyright Copyright 2021 Sylvain Kerkour All rights reserved. 362 Chapter 1Copyright Copyright 2021 Sylvain Kerkour All rights reserved.
No portion of this book may be reproduced in any form without permission from the publisher, except as permitted by law. For permissions contact: sylvain@kerkour.com Chapter 2Your early access bonuses Dear reader, in order to thank you for buying the Black Hat Rust early access edition and helping to make this book a reality, I prepared you a special bonus: I curated a list of the best detailed analyses of the most advanced malware of the past two decades. You may find inside great inspiration when developing your own offensive tools. You can find the list at this address: https://github.com/black-hat-rust-bonuses/black-hat-rust-bonuses If you notice a mistake (it happens), something that could be improved, or want to share your ideas about offensive security, feel free to join the discussion on Github: https://github.com/skerkour/black-hat-rust Chapter 3Beta & ContactThis version of the book is not the final edition: there can be layout issues, most of the illustrations will be refined, some things may be in the wrong order, and content may be added according to the feedback I will receive. All the holes in the text are being filled, day after day :) Also, I fix typos and grammatical errors every 2 weeks, so there can be some mistakes during the interval. The final edition of the book is expected for
Next page