4 ms·
There's actually tools to automatically do what you're talking about for malware: http://www.rapid7.com/db/modules/encoder/x86/shikata_ga_nai http://www.rapid7
by brobinson 11y ago
There's actually tools to automatically do what you're talking about for malware: http://www.rapid7.com/db/modules/encoder/x86/shikata_ga_nai http://www.rapid7.com/db/modules/encoder/x86/shikata_ga_nai
(Japanese for "it can't be helped")
- dogma1138 11y agoEncoders and compactors are not good actually they usually leave too many patterns that are easy to detect. The might work on some binaries in some cases but if you want to avoid evasion refactor the malware yourself. Encoders and compactors are intended to modify existing binaries only :)
- brobinson 11y agoThat's what I'm seeing people doing (modify existing binaries): https://www.google.com/#q=shikata+ga+nai+antivirus https://www.google.com/#q=shikata+ga+nai+antivirus Seems like it's pretty effective for bypassing AV according to how everyone is using it.
- dogma1138 11y agoWell if you actually read the search results you'll see :) 1st result 2012: "If you want to avoid detection, a 60% success rate is not good enough. Remember, our implant was caught by 40% of the products, not 40% of the targets. Assuming the better anti-virus products have a larger market share, our 40% product failure rate could look more like an 80 or 90% detection rate on target machines. - See more at: http://www.digitalthreat.net/2012/02/anti-virus-evasion-choosing-a-payload/#sthash.htXfsyBb.dpuf" http://www.digitalthreat.net/2012/02/anti-virus-evasion-choo... 4th result 2014: "There are a couple of built in encoders in Metasploit (shikata ga nai is the most popular one), but these signatures have been updated in many Antivirus solutions, resulting in detection." Every decent AV out there today has signatures of packers and encoders they are very easy to find since the artifacts of things like PE headers and binary cave of the encoded binaries will be identical every time you use them. Most people who claim it works are simply rehashing the same old metasploit guides that are not really relevant in the real world anything that is wide used will be singnatured in a second by every AV company. Yes if you encode it and upload it to VirusTotal even today you might get 50% or more evasion but those 50% of products will have maybe 5% of the market, and pretty much zero enterprise users.
- brobinson 11y agoThanks for the detailed reply!
- thefreeman 11y agoThat encoder is less for bypassing AV and more for replacing characters which cannot be transmitted in the payload (eg. null bytes)
- brobinson 11y agoThat's not what I'm reading on Google. Everyone is using it to bypass AV: https://www.google.com/#q=shikata+ga+nai+antivirus https://www.google.com/#q=shikata+ga+nai+antivirus