تکنیکهای ضد مهندسی معکوس
فاصله زمانی
در مهندسی معکوس و تحلیل بدافزار ما از اجرای single-stepping یا به تعبیری اجرای خط به خط برای رفتار شناسی قطعه کد مشکوک استفاده میکنیم.
هکر دنبال آن است که این حرکت ما را شناسایی کند تا بتواند خود را از این آنالیز برهاند.
یک راهکار استفاده از تکنیکهای زمانبندی برای شناسایی "single-stepping" در فرآیند دیباگ یا مهندسی معکوس است. در این روش، زمان دقیق (با دقت میلیثانیه) از لحظه شروع سیستم تا اجرای دستور خاصی اندازهگیری میشود. دستور rdtsc در معماری x86 برای این منظور استفاده میشود، که زمان سیستمی را در دو رجیستر EDX و EAX ذخیره میکند.
در فرآیند شبیهسازی دیباگ یا مهندسی معکوس (reverse engineering)، وقتی یک متخصص امنیت در حال اجرای کد است، ممکن است از تکنیکهایی مانند "single-stepping" استفاده کند. این به معنای اجرای کد خط به خط و بررسی هر دستور است. اما این کار باعث تأخیرهای زمانی میشود، چون در این فرآیند، پردازش کد به صورت تدریجی انجام میشود. اگر بتوان زمان دقیق قبل و بعد از اجرای یک دستور را محاسبه کرد، تأخیر ناشی از این فرآیند به وضوح قابل مشاهده خواهد بود.
با استفاده از دستور rdtsc، تفاوت زمانی بین دو نقطه (قبل و بعد از اجرای یک دستور) محاسبه میشود. اگر تأخیری در اجرای دستور مشاهده شود، این به احتمال زیاد نشاندهنده این است که یک دیباگر در حال "single-stepping" در کد است و این تکنیک میتواند برای شناسایی و مقابله با مهندسی معکوس استفاده شود.
دستور rdtsc (Read Time-Stamp Counter) یک دستور در معماری x86 است که برای خواندن شمارنده زمانسنج (Timestamp Counter) استفاده میشود. این شمارنده یک شمارنده 64 بیتی است که از زمان بوت شدن سیستم شروع به افزایش میکند و به صورت پیوسته از آن زمان افزایش مییابد. هدف اصلی این دستور دسترسی به این شمارنده است که برای اندازهگیری زمان و انجام محاسبات زمانی دقیق (با دقت بسیار بالا) کاربرد دارد.
پی نوشت:
زمانی که دستور rdtsc اجرا میشود، مقدار شمارنده زمانسنج سیستم (که زمان از شروع سیستم تا آن لحظه را نشان میدهد) در دو رجیستر EDX و EAX ذخیره میشود. EAX نیمی از شمارنده (کمتر از 32 بیت) و EDX نیمه دیگر را نگه میدارد
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
فاصله زمانی
در مهندسی معکوس و تحلیل بدافزار ما از اجرای single-stepping یا به تعبیری اجرای خط به خط برای رفتار شناسی قطعه کد مشکوک استفاده میکنیم.
هکر دنبال آن است که این حرکت ما را شناسایی کند تا بتواند خود را از این آنالیز برهاند.
یک راهکار استفاده از تکنیکهای زمانبندی برای شناسایی "single-stepping" در فرآیند دیباگ یا مهندسی معکوس است. در این روش، زمان دقیق (با دقت میلیثانیه) از لحظه شروع سیستم تا اجرای دستور خاصی اندازهگیری میشود. دستور rdtsc در معماری x86 برای این منظور استفاده میشود، که زمان سیستمی را در دو رجیستر EDX و EAX ذخیره میکند.
در فرآیند شبیهسازی دیباگ یا مهندسی معکوس (reverse engineering)، وقتی یک متخصص امنیت در حال اجرای کد است، ممکن است از تکنیکهایی مانند "single-stepping" استفاده کند. این به معنای اجرای کد خط به خط و بررسی هر دستور است. اما این کار باعث تأخیرهای زمانی میشود، چون در این فرآیند، پردازش کد به صورت تدریجی انجام میشود. اگر بتوان زمان دقیق قبل و بعد از اجرای یک دستور را محاسبه کرد، تأخیر ناشی از این فرآیند به وضوح قابل مشاهده خواهد بود.
با استفاده از دستور rdtsc، تفاوت زمانی بین دو نقطه (قبل و بعد از اجرای یک دستور) محاسبه میشود. اگر تأخیری در اجرای دستور مشاهده شود، این به احتمال زیاد نشاندهنده این است که یک دیباگر در حال "single-stepping" در کد است و این تکنیک میتواند برای شناسایی و مقابله با مهندسی معکوس استفاده شود.
دستور rdtsc (Read Time-Stamp Counter) یک دستور در معماری x86 است که برای خواندن شمارنده زمانسنج (Timestamp Counter) استفاده میشود. این شمارنده یک شمارنده 64 بیتی است که از زمان بوت شدن سیستم شروع به افزایش میکند و به صورت پیوسته از آن زمان افزایش مییابد. هدف اصلی این دستور دسترسی به این شمارنده است که برای اندازهگیری زمان و انجام محاسبات زمانی دقیق (با دقت بسیار بالا) کاربرد دارد.
پی نوشت:
زمانی که دستور rdtsc اجرا میشود، مقدار شمارنده زمانسنج سیستم (که زمان از شروع سیستم تا آن لحظه را نشان میدهد) در دو رجیستر EDX و EAX ذخیره میشود. EAX نیمی از شمارنده (کمتر از 32 بیت) و EDX نیمه دیگر را نگه میدارد
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1
به دور از تمام مقدمات و تعاریف اولیه ؛ زیرو تراست رو ببینیم و انواع ش رو
https://www.ibm.com/think/insights/the-evolution-of-zero-trust-and-the-frameworks-that-guide-it
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
https://www.ibm.com/think/insights/the-evolution-of-zero-trust-and-the-frameworks-that-guide-it
Please open Telegram to view this post
VIEW IN TELEGRAM
Ibm
The Evolution of Zero Trust and the Frameworks that Guide It | IBM
Discover the evolution of Zero Trust security, its development, models, and framework, and learn how it can protect your organization from modern threats.
❤3👍1
Zeek.pdf
1.2 MB
یک راهنمای خوب برای یادگیری و تحلیل لاگ های Zeek
تو SOC خیلی به کارتون میاد
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
تو SOC خیلی به کارتون میاد
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍1
Windows_Security_Event_Logs_Cheatsheet.pdf
524 KB
یه راهنمای خوب از لاگ های security channel ویندوز. تقریبا میشه گفت کامله
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1
Windows Commands Abused by Attackers (1).pdf
384.8 KB
یه cheat sheet خوب ازwindows commnad هایی که توسط Attacker ها مورد استفاده قرار میگیره
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1🔥1👏1
Pentesting_APIs.pdf
21.8 MB
Techbook
Pentesting APIs: A practical guide to discovering, fingerprinting, and exploiting APIs 2024.
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
Pentesting APIs: A practical guide to discovering, fingerprinting, and exploiting APIs 2024.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1👎1🔥1
Software_Sec_2025.pdf
1.5 MB
Software Security Challenges in 2025: Complexity, Risks, and Solutions
In 2025, software security threats are more severe than ever. The Verizon 2024 Data Breach Investigations Report reveals that the exploitation of vulnerabilities as a breach entry point has surged by 180% in the past year. Meanwhile, security debt continues to rise, and the attack surface is becoming increasingly complex. The rise of AI in software engineering, particularly through code generation tools, is reshaping the risk landscape often used without formal acknowledgment.
On the regulatory front, the EU Cyber Resilience Act, effective as of December 2024, prioritizes software security. In the United States, the 2020 Biden Cybersecurity Executive Order strengthened security with Zero Trust architecture and Secure by Design principles, including static and dynamic code analysis, supply chain security with SBOMs, and mandatory vendor attestations regarding software development. Additionally, new SEC regulations in 2024 enforce stricter cybersecurity risk management requirements.
These regulations have contributed to positive trends the OWASP Top 10 pass rate has improved from 32% to 52% over the past five years. However, relying solely on traditional patching is no longer sufficient. Security teams must adopt a strategic, context-driven approach to address the most urgent and exploitable risks.
The Solution:
1. Identify and prioritize high-impact vulnerabilities
2. Centralize risk visibility across the organization
3. Implement continuous feedback loops for ongoing security improvement
By focusing on proactive risk mitigation and aligning security strategies with organizational priorities, companies can build long-term cyber resilience in an increasingly complex digital landscape.
چالشهای امنیت نرمافزار در 2025(پیچیدگی، ریسک و راهکارها):
در سال 2025، تهدیدهای امنیتی نرمافزار بیش از هر زمان دیگری افزایش یافتهاند. گزارش Verizon 2024 Data Breach Investigations نشان میدهد که سوءاستفاده از آسیبپذیریها برای نفوذ به سیستمها طی یک سال گذشته 180٪ افزایش یافته است. در عین حال، سطح حمله پیچیدهتر میشود. ظهور هوش مصنوعی در مهندسی نرمافزار نیز باعث تغییر در فضای ریسک شده است، بهویژه از طریق ابزارهای تولید کد که گاهی بدون اعلام رسمی مورد استفاده قرار میگیرند. نتایج این تغییرات مثبت بودهاند؛ نرخ قبولی در OWASP Top 10 از 32٪ به 52٪ افزایش یافته است. اما تکیه بر روشهای سنتی وصله امنیتی کافی نیست. تیمهای امنیتی باید به جای تمرکز صرف بر ترمیم آسیبپذیریها، یک رویکرد استراتژیک و مبتنی بر اولویتهای سازمانی داشته باشند.
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
In 2025, software security threats are more severe than ever. The Verizon 2024 Data Breach Investigations Report reveals that the exploitation of vulnerabilities as a breach entry point has surged by 180% in the past year. Meanwhile, security debt continues to rise, and the attack surface is becoming increasingly complex. The rise of AI in software engineering, particularly through code generation tools, is reshaping the risk landscape often used without formal acknowledgment.
On the regulatory front, the EU Cyber Resilience Act, effective as of December 2024, prioritizes software security. In the United States, the 2020 Biden Cybersecurity Executive Order strengthened security with Zero Trust architecture and Secure by Design principles, including static and dynamic code analysis, supply chain security with SBOMs, and mandatory vendor attestations regarding software development. Additionally, new SEC regulations in 2024 enforce stricter cybersecurity risk management requirements.
These regulations have contributed to positive trends the OWASP Top 10 pass rate has improved from 32% to 52% over the past five years. However, relying solely on traditional patching is no longer sufficient. Security teams must adopt a strategic, context-driven approach to address the most urgent and exploitable risks.
The Solution:
1. Identify and prioritize high-impact vulnerabilities
2. Centralize risk visibility across the organization
3. Implement continuous feedback loops for ongoing security improvement
By focusing on proactive risk mitigation and aligning security strategies with organizational priorities, companies can build long-term cyber resilience in an increasingly complex digital landscape.
چالشهای امنیت نرمافزار در 2025(پیچیدگی، ریسک و راهکارها):
در سال 2025، تهدیدهای امنیتی نرمافزار بیش از هر زمان دیگری افزایش یافتهاند. گزارش Verizon 2024 Data Breach Investigations نشان میدهد که سوءاستفاده از آسیبپذیریها برای نفوذ به سیستمها طی یک سال گذشته 180٪ افزایش یافته است. در عین حال، سطح حمله پیچیدهتر میشود. ظهور هوش مصنوعی در مهندسی نرمافزار نیز باعث تغییر در فضای ریسک شده است، بهویژه از طریق ابزارهای تولید کد که گاهی بدون اعلام رسمی مورد استفاده قرار میگیرند. نتایج این تغییرات مثبت بودهاند؛ نرخ قبولی در OWASP Top 10 از 32٪ به 52٪ افزایش یافته است. اما تکیه بر روشهای سنتی وصله امنیتی کافی نیست. تیمهای امنیتی باید به جای تمرکز صرف بر ترمیم آسیبپذیریها، یک رویکرد استراتژیک و مبتنی بر اولویتهای سازمانی داشته باشند.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3👍1🔥1👏1
SOC_QRadar.pdf
10.1 MB
Tech book
"Building a Next-Gen SOC with IBM QRadar: Accelerate your security operations and detect cyber threats effectively", 2024.
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
"Building a Next-Gen SOC with IBM QRadar: Accelerate your security operations and detect cyber threats effectively", 2024.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1🔥1👏1
Hard_sec_arch.pdf
10.6 MB
Research
Hardware Security
"Hardware Designs for Secure Microarchitectures".
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
Hardware Security
"Hardware Designs for Secure Microarchitectures".
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2👍1🔥1👏1
Pract_Linux_Security.pdf
122.4 MB
Tech book
"Practical Linux Security Cookbook.
Second Edition.
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
"Practical Linux Security Cookbook.
Second Edition.
Please open Telegram to view this post
VIEW IN TELEGRAM
👍3❤1🔥1👏1
This media is not supported in your browser
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3🔥1👨💻1🗿1
Sec_Java_Apps.pdf
8.6 MB
Techbook
Mastering Secure Java Applications:
Navigating security in cloud and microservices for Java", 2024.
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
Mastering Secure Java Applications:
Navigating security in cloud and microservices for Java", 2024.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1🔥1🎉1
WorstFit.pdf
7.4 MB
ThreatResearch
RedTeam Tactics
WorstFit: Unveiling Hidden Transformers in Windows ANSI 2024.
https://blog.orange.tw/posts/2025-01-worstfit-unveiling-hidden-transformers-in-windows-ansi
🔹 Share & Support Us 🔹
📱 Channel : @Engineer_Computer
RedTeam Tactics
WorstFit: Unveiling Hidden Transformers in Windows ANSI 2024.
https://blog.orange.tw/posts/2025-01-worstfit-unveiling-hidden-transformers-in-windows-ansi
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1👍1🔥1