![]() |
|
Scan/Analyze files for malware? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Whitehat • Blue Team • Defensive Security (https://hackforums.net/forumdisplay.php?fid=448) +---- Forum: Malware, Rat, and Virus Removal (https://hackforums.net/forumdisplay.php?fid=110) +---- Thread: Scan/Analyze files for malware? (/showthread.php?tid=6193562) |
Scan/Analyze files for malware? - ailo - Feb 14, 2022 What's the best way to analyze/scan files beside using virustotal, as most malware can bypass it. Is there any tutorials or way to figure out if the code is malicious, what's the best way to reverse engineer files? RE: Scan/Analyze files for malware? - SentByGod - Feb 14, 2022 I came across this website analyze.intezer.com seems like after you upload a file it gets analyze I don't know much but maybe this can help someone. RE: Scan/Analyze files for malware? - SIM-5033784 - Feb 14, 2022 (Feb 14, 2022 04:15 AM)ailo Wrote: What's the best way to analyze/scan files beside using virustotal, as most malware can bypass it. This is a rather broad question but to address a few things: > beside using virustotal, as most malware can bypass it Well yes and no. Obfuscators can evade anti-malware processes but it's a cat and mouse game. Most obfuscator vendors will ask you to not upload samples to virustotal because the output files get shared as part of VirusTotal's security intelligence data feed where anyone who is paying can pull samples from the feed which the AV companies have people paid to do that all day long. I've found that https://www.hybrid-analysis.com/ is useful for this kind of things. > Is there any tutorials or way to figure out if the code is malicious There are tutorials, I don't know any good ones as I don't do security research as my job. I would start with learning what Software Reverse Engineering is (https://www.geeksforgeeks.org/software-engineering-reverse-engineering/) and go down the rabbithole. > what's the best way to reverse engineer files It depends on what you're trying to accomplish. The NSA released a tool called Ghidra (https://ghidra-sre.org/) which allows you to open executables and read the disassembly. It will even try to convert it back to C for you. Other tools like BinaryNinja and IDA Pro are also good at this. But they all assume you have an understanding of reverse engineering and know how to read C + Assembly. Often malware is more simple and written in C#/VisualBasic or AutoIt where specialized tools for those languages are better suited. You'll have to learn the right tool for the job. RE: Scan/Analyze files for malware? - ailo - Feb 15, 2022 (Feb 15, 2022 02:31 PM)Incog Wrote: btw on the other end, the common malware analysis detection tricks youll see are seems like malware is pretty sophisticated, i'm just tryna download some pirated files. RE: Scan/Analyze files for malware? - K1. - Feb 15, 2022 ailo if it's your malware then you don't want to use VT atall because they report the data back to AV companies If it's just a file you have and you want to check if it's safe or not then in my opinion VT should be fine, if it's gonna bypass that then chances are it'll bypass the AV you have running on your machine anyway RE: Scan/Analyze files for malware? - ailo - Feb 16, 2022 (Feb 15, 2022 02:35 PM)Incog Wrote: it's a cat and mouse game between AV and malware, so it will keep getting more advanced, but if you wanna download pirated stuff, just do what others have said and your risk to being infected is reduced 👍 What about apk files and lets say the setup files for the adobe products, do i check it the same way? RE: Scan/Analyze files for malware? - Stetsed - Feb 18, 2022 For scanning I would agree with Incog Hybrid Analysis is a good one. If you want to observe behavior I would generally recommend a virtual machine, with wireshark running on the host to avoid detection.(And spoofing alot of the common VM detection methods like smbios) RE: Scan/Analyze files for malware? - $hady - Feb 22, 2022 Can use Floss in command prompt to reverse engineer the file statically. If the results are gibberish you know the malware is encrypted. Can also download process dump to dynamically analyze the malware (pd64.exe). Let's you dump the malware directly from the memory so you have a chance of seeing what it's actually doing. Import the dump in something like IDA and get a more fruitful view. I'd do this in a virtual machine for obvious reasons. |