Course 20 - Malware Analysis: Identifying and Defeating Code Obfuscation | Episode 4: Dynamic API Resolution: Walking the PEB and Parsing

EPISODE · Jan 28, 2026 · 16 MIN

Course 20 - Malware Analysis: Identifying and Defeating Code Obfuscation | Episode 4: Dynamic API Resolution: Walking the PEB and Parsing

from CyberCode Academy · host CyberCode Academy

In this lesson, you’ll learn about:Why Malware Builds Its Own Import TablesHow bypassing static, dynamic, and runtime linking hides API usage from analysis tools.Why this technique is especially valuable for shellcode, which executes without a normal Windows loader.How custom API resolution breaks automated inspection and signature-based detection.Locating System Libraries via the PEBAccessing the Process Environment Block (PEB) through the FS register (offset 0x30).Navigating PEB_LDR_DATA to enumerate loaded modules.Walking linked lists such as InMemoryOrderModuleList to locate key DLLs.Extracting the image base (DLL base address) from LDR_DATA_TABLE_ENTRY.Manual Parsing of the PE FormatUsing the e_lfanew field (offset 0x3C) to locate the NT Headers.Navigating the PE Data Directory to find the Export Table.Understanding the role of:Address of FunctionsAddress of NamesAddress of Name OrdinalsChecksum-Based API ResolutionIterating through exported function names without storing them in cleartext.Computing a checksum for each name at runtime.Matching computed values against hard-coded checksums embedded in the malware.Resolving the correct function pointer using ordinals and function address tables.Indirect API InvocationStoring resolved function addresses in a custom array.Executing APIs via indirect calls (e.g., call eax) instead of named imports.Why this completely hides functionality from the binary’s static import table.You can listen and download our episodes for free on more than 10 different platforms:https://linktr.ee/cybercode_academy

NOW PLAYING

Course 20 - Malware Analysis: Identifying and Defeating Code Obfuscation | Episode 4: Dynamic API Resolution: Walking the PEB and Parsing

0:00 16:22

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

Fatherhood Archives - Trace Embry | License to Parent Trace Embry Practical parenting advice from parenting expert, radio host and founder of Shepherds Hill Academy, Trace Embry. Behavioral Issues Archives - Trace Embry | License to Parent Trace Embry Practical parenting advice from parenting expert, radio host and founder of Shepherds Hill Academy, Trace Embry. Craft Brew Film Review Jeffrey & Anthony In this Podcast we compare the Best Picture winner with two of the other nominees at the Academy Awards each year of the Oscars and give our thoughts on each film and whether the Academy picked the best for the winner. We also compare three of the highest grossing films for that year to determine if the Oscars picked the best film of that year, or did moviegoers spend their money on a better movie at the theaters. Jeffrey HATES beer, but Tony is on a mission to find a brew that Jeffrey will enjoy. Investing & Day Trading Education: Day Trading Academy Marcello Arrambide: Founder - Day Trading Academy Learn to Trade Everything you need to know to learn how to trade and invest in the stock. We are starting this podcast a weekly recap of the financial markets and economy in order to allow you to start to understand how they work. We have been teaching traders in the stock market for nearly 10 years now and our founder Marcello Arrambide has been in the markets for nearly 18 years. With combined experience of over 90 years this is one your one stop shop to learn how to trade in the stock market.
URL copied to clipboard!