en
Feedback

Don't get caught by a cheater! Telemetrio finds and tags such channels 👉 If you want to see the tag, subscribe

ReverseEngineering

ReverseEngineering

Open in Telegram
1 730
Subscribers
-124 hours
-47 days
+28230 days
Posts Archive
مکانیسم ها: روش ها یا پروتوکول های سطح پایینی هستند که یک قطعه مورد نیاز رو پیاده سازی میکنن Mechanisms: are low-level methods or protocols that implement a required component @reverseengine
31 May, 16:07

ما یک اصطلاح جالب داریم به نام توهم چند cpu سیستم عامل با مجازی‌سازی cpu این توهم رو ایجاد میکنه که با اجرای یک فرایند و متوقف کردن اون و اجرای فرایند دیگه و غیره سیستم عامل میتونه این توهم رو ایجاد کنه که cpu های مجازی زیادی وجود داره در حالی که فقط یک یا چند cpu فیزیکی وجود داره این تکنیک اساسی به عنوان اشتراک زمانی شناخته میشه We have an interesting term called the illusion of multiple CPUs The operating system creates this illusion by virtualizing CPUs By running one process stopping it, running another process and so on the operating system can create the illusion that there are many virtual CPUs when there is only one or a few physical CPUs This basic technique is known as time-sharing @reverseengine
31 May, 16:05

فرایند (process): یک برنامه در حال اجرا فقط روی دیسک قرار میگیره سیستم عامل بایت ها رو میگیره و اجرا میکنه و برنامه رو به چیز مفیدی تبدیل میکنه Process: A running program simply sits on disk The operating system takes the bytes and executes them turning the program into something useful @reverseengine
31 May, 15:57

همزمانی: مجموعه ای از مشکلات وقتی که کار روی چند تا چیز به طور همزمان در یک برنامه واحد اجرا میشن و باید مدام اونها رو چک کنیم Concurrency: A set of problems that arise when multiple things are being worked on simultaneously in a single program and we need to keep checking them @reverseengine
31 May, 15:55

مجازی سازی: سیستم عامل یک منبع فیزیکی مثل CPU یا حافظه یا دیسک رو میگیره و اونو به شکل مجازی عمومی تر قدرتمند تر و اسون برای استفاده خودش تبدیل میکنه Virtualization: The operating system takes a physical resource such as a processor or disk or storage and converts it into a more general powerful and easier-to-use virtual form @reverseengine
31 May, 15:52

سیستم عامل چجوری کار میکنه؟ یک برنامه در حال اجرا یک کار بسیار ساده رو انجام میده دستور ها رو دنبال میکنه میلیون ها و حتی میلیارد ها بار در هر ثانیه CPU یک دستور رو از حافظه میگیره و اونو رمزگشایی میکنه یعنی میفهمه کدوم دستور هست و اونو اجرا میکنه یعنی کاری که قراره انجام بشه مثل جمع کردن دو عدد با هم دسترسی به حافظه بررسی یک شرط پرش به یک تابع انجام میده بعد از تموم شدن کار با این دستور CPU به دستور بعدی میره و به همین ترتیب تا زمانی که برنامه کامل بشه How does an operating system work? A running program does a very simple job It follows instructions Millions and even billions of times per second, the CPU fetches an instruction from memory and decodes it meaning it understands what the instruction is and executes it meaning it does what it is supposed to do such as adding two numbers together accessing memory checking a condition jumping to a function and after it finishes working with this instruction the CPU moves on to the next instruction and so on until the program is complete @reverseengine
31 May, 15:50

متاسفانه طی اتفاقات اخیر پوریا دیگه بینمون نیست دانشجوی عزیز و مهربون و با پشتکار نامت تا ابد پیش هممون جاودانه روحت در ارامش
متاسفانه طی اتفاقات اخیر پوریا دیگه بینمون نیست دانشجوی عزیز و مهربون و با پشتکار نامت تا ابد پیش هممون جاودانه روحت در ارامش داداش دلمون برات تنگ میشه پوریای عزیزم هنوز باور ندارم که رفتی به احترام پوریا فعالیت کانال رو ی کم با تاخیر شروع میکنیم هیچ وقت فراموشت نمیکنیم برادر 💔 @p0or1ya Unfortunately, due to recent events, Pouria is no longer with us. Dear, kind and diligent student Your name will be immortal to all of us forever May your soul rest in peace, brother, we miss you My dear Pouria, I still can't believe you're gone Out of respect for Pouria, we will start the channel's activity with a slight delay. We will never forget you, brother. R. I. P. 🖤 @p0or1ya
27 May, 18:18

EDR Killer Exploits a vulnerability in the wsftprm.sys driver to disable antivirus and EDR https://github.com/ThanniKudam/TopazTerminator @reverseengine
26 Feb, 16:11

26 Feb, 15:46

IDA Pro 9.2 Beta3 +Keygen   Win x64 Linux x64   Mac x64, arm Download 2.4GB   Link1   Link2   Link3 magnet:xt=urn:btih:ce86306a417dd64fab8d26a4983a58412008a9e&dn=ida92 @reverseengine
26 Feb, 15:42

stuxnet.pdf3.09 MB
26 Feb, 15:39

26 Feb, 15:37

Generate DLL proxy/sideload projects. Automatically parses PE export tables and generates ready-to-compile project for red team engagements https://github.com/Whitecat18/LazyDLLSideload @reverseengine
26 Feb, 15:36

Heap Exploitation series: Understanding the Glibc Heap: Free, Bins, Tcache https://azeria-labs.com/heap-exploitation-part-2-glibc-heap-free-bins @reverseengine
26 Feb, 15:35

26 Feb, 15:34

ROP Gadget وقتی NX جلوی اجرای Shellcode رو گرفت اکسپلویترها فهمیدن یه چیز مهم وجود داره: داخل هر برنامه و کتابخونه کلی کد آماده هست. آیا میشه همین کدهای آماده رو به شکل دلخواه اجرا کرد؟ بله و به این میگن ROP Gadget? Gadget یه تیکه کد خیلی کوچیکه که از قبل داخل باینری وجود داره اخرش معمولا ret داره مثلا: Copy code
pop rdi ret
یا: Copy code
mov rax, rdi ret
این‌ها به تنهایی کار بزرگی نمیکنن ولی وقتی پشت سر هم قرار بگیرن تبدیل میشن به یه برنامه کامل چرا ret مهمه؟ چون ret ادرس بعدی رو از استک برمیداره و میره اجراش میکنه یعنی اگر استک رو کنترل کنید میتونید تعیین کنی بعد از هر gadget کجا بره در نتیجه: RIP → gadget اول ret → gadget دوم ret → gadget سوم و همینطور ادامه پیدا میکنه CPU عملاً داره برنامه‌ای رو اجرا میکنه که شما از روی استک نوشتید ROP Chain? ROP Chain یعنی یه لیست از آدرس gadget ها که روی استک میذارید مثلا مفهومش اینه: Copy code
offset addr(pop rdi) value("/bin/sh") addr(system)
یعنی: مقدار ارگومان ست میشه بعد تابع اجرا میشه بدون اینکه حتی یک بایت کد جدید اجرا کرده باشید چرا ROP اینقدر قدرتمنده؟ چون: NX رو دور میزنه از کد trusted استفاده میکنه تقریبا روی هر برنامه‌ای قابل انجامه پایه‌ی خیلی از exploitهای واقعی دنیاست بیشتر حملات مدرن عملا یه نوع ROP هستن یک نکته خیلی مهم که تازه‌ کارها نمیفهمن ROP یعنی کد ننویسید جریان اجرای CPU رو با قطعات آماده بسازید شما دارید CPU رو گول میزنید که فکر کنه این مسیر طبیعی برنامست ROP Gadget When NX stopped Shellcode execution, the exploiters realized something important: There is a whole bunch of ready-made code inside every program and library. Can this ready-made code be executed in any way you want? Yes, and this is called a ROP Gadget? Gadget A very small piece of code that is already inside the binary, usually with ret at the end For example: Copy code
pop rdi ret
or: Copy code
mov rax, rdi ret
These don't do much on their own, but when they are put together, they become a complete program Why is ret important? Because ret takes the next address from the stack and executes it That is, if you control the stack, you can determine where it goes after each gadget As a result: RIP → first gadget ret → second gadget ret → third gadget And so on The CPU is actually executing the program that you wrote from the stack ROP Chain? ROP Chain That is, a list of gadget addresses that you put on the stack For example, its meaning is: Copy code
offset addr(pop rdi) value("/bin/sh") addr(system)
That is: The value of the argument is set, then the function is executed Without you executing a single new byte of code Why is ROP so powerful? Because: Bypasses NX Uses trusted code Can be executed on almost any program Is the basis of many real world exploits Most modern attacks are actually a type of ROP A very important point that beginners don't understand ROP means don't write code Build the CPU execution flow with ready-made parts You are tricking the CPU into thinking that this is the natural path of the program @reverseengine
26 Feb, 15:26

26 Feb, 15:12

We use cookies to improve your browsing experience.
By clicking “Accept all”, you agree to the cookie policy.