Rewrite code or viruses without getting infected?

Hi, I'm new to this stuff. So, if I have a file that contains something I need, but also contains something I don't want, like Seclookup or something similar, how do I look at the code, change it, filter out what I need, etc.

(1 votes)
Loading...

Similar Posts

Subscribe
Notify of
2 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
TheQ86
1 year ago

Since you usually only have the binary (e.g. the .exe file on Windows), which is in machine language, you should first disassemble it. There are tools for that. Then you have the program’s instructions in assembler code.

But in practice, it doesn’t bring you anything. Even if you had the skills to understand assemblers, you need to separate the malware from the actual application for a while so that it still works as desired.

But let’s say you could have done this, then you could compile this code again in machine language and without concerns.

But this is all very theoretical.

If the malicious code is in a data file (an image, a video, etc.), it becomes even more difficult because you should understand the complete data format, in detail and also the application that opens this data format.

All in all, you just throw corrupt data away. There are professional service providers who are specialized in data loss and can do something like this, but they are paid after time and that a normal worker can not afford.