C Structures in Ghidra: How to Reverse Engineer Faster

preview_player
Показать описание
Learn how C structures can improve your reverse engineering workflow.

0:00 How I failed
0:38 How developers use C structures in their programs
3:13 Reverse Engineering C structures in Ghidra
6:10 Using structures vs no structures

~~~ 🐵 Social ~~~
Рекомендации по теме
Комментарии
Автор

@Path Cybersec [Slava Moskvin]  ahh, yea. It saves me a lot of time when REing a structure in a function, but it's also not amazing or perfect, so you do have to do some stuff manually!

A suggestion for your next tutorial on the subject could be how to get the size of the individual fields from the asm, as I don't think Ghidra automaticlly does that when you rename a field.

Btw, you can type the size in directly at the bottom of the structure editor, and it will create the correct amount of bytes!

Glad to see people are making RE tutorials! Hope you keep making them!

nordgaren
Автор

Sir, can you explain how to reverse engineering quickbooks with advance inventory

TheSimpleLife
Автор

Love your videos,
Although I still struggle with reverse engineering.

eyalv
Автор

Have you used the auto fill struct function to make structure dissection even faster?

nordgaren
Автор

unrealted question can you link the music used?

vedaryan
Автор

is reverse engineering and exploit development processor specific?INTEL/AMD ...can i do reversing and develop exploit with amd pc same as computers with intel processor ???? and does reversing tools like ghidra work on amd ??

anonsurf
Автор

Ну да у нас же у всех есть размер и названия полей...
Попробуй разобрать структуру о которой ты вообще ничего не знаешь и инициализируется она в стеке (без malloc).
И еще, ghidra и ida выдают разный код. Вот например в csgo есть структура netadr_t, гидра пишет что движок игры обращается к оффсету 0x28 или типа того, что вообще за пределами структуры. А IDA пишет что обращается по оффсету 5, что является вторым байтом ip адреса. А по факту они оба обращались к первому полю структуры, где хранится тип адреса (netadrtype_t) и как с этим работать? Если бы у меня не было исходников движка игры, то я бы никогда в жизни не догадался где что там. Вот например есть кс 2, там исходников уже нет и как разбираться в нем я вообще без понятия.

MrLuckyTomas