⚡Megatron LLM Hub
←返回搜索
Website

Red Siege 发布 DigDug,把载荷体积撑大以绕过部分 AV/EDR 的扫描上限。

低成本手法即可绕过带文件大小阈值的检测引擎,攻防两侧都需验证。
绕过免杀工具av
by Jason Downey If you spend any amount of time as a pentester, you learn pretty quickly that evading AV and EDR is not a one-time problem. It is a constant, ongoing arms race. You find something that works, it gets signatured, and you are back to the drawing board. Every engagement is a fresh puzzle, and your toolbox needs to have more than one trick in it. DigDug is one of those tricks that is almost too simple to believe, but it works. Some AV and EDR engines will not analyze files above a certain size threshold. The exact size varies by vendor, but conversations across offensive security Slack channels and Twitter posts put it somewhere around 100-150MB. Nobody has published a definitive list of thresholds per vendor, at least that I have found, but the pattern is consistent enough that the technique has become a staple in our evasion playbook at Red Siege. DigDug exploits that behavior by inflating your executable to whatever size you need. More Than Just Padding What makes DigDug different from slapping null bytes onto the end of a binary is how it inflates the file. It appends words from a dictionary. This matters because vendors like CrowdStrike Falcon measure entropy as part of their analysis. Random data (high entropy/randomness) and null byte padding both produce patterns often used as detection by AV/EDR. A binary stuffed with dictionary words? In the eyes of AV/EDR looks a lot more like a legitimate application with embedded string resources. By default, DigDug ships with a modified version of the Google 10,000 English dictionary. There is also an included dictionary built from strings extracted from executables in Windows System32, which blends in even more naturally on a Windows target. You can supply your own dictionary too. Want your padding in French? Allez-y (go for it). Steal a Signature While You Are At It DigDug also integrates SigThief, which copies the digital signature from a legitimate executable onto your inflated binary. Pair the inflated file size with a stolen signature from something like consent.exe, and you have got a payload that looks a lot more trustworthy to automated analysis. python3 digdug.py -i payload.exe -m 150 -d dictionaries/google-10000-english-usa-gt5.txt -s consent.exe That one command inflates your payload to 150MB with English word padding and a signature lifted from a trusted Windows binary. The Ongoing Game I have been on engagements where our initial payload gets flagged within minutes of landing on disk. EDR picks it up, quarantines it, and now you are burned. The client security team is alerted, and you need a different approach, fast. Techniques like file size inflation are not glamorous and they will not make for an exciting conference talk, but they are the kind of practical, low-effort adjustments that keep you moving forward when your primary tooling gets caught. The reality is that no single evasion technique works forever. What works is having a deep bench of options and knowing when to reach for each one. DigDug is a quick play. Five seconds of effort, and suddenly your payload is big enough that a lot of engines just skip over. That is a good trade off when it comes to time and potential upside, especially when you can pair it with other evasion techniques. For Defenders If you are on a blue team, this should raise a question… does your AV/EDR actually analyze large files? If there is a file size ceiling on your static analysis, attackers will find it and exploit it. Test your tools with oversized binaries and make sure you are not giving attackers a free pass just because a file is bigger than some arbitrary threshold. Also be aware of where you have big files on the network and test to make sure it isn’t placing an excessive burden on your end points. It’s a balancing act. DigDug takes its name from the arcade classic where the whole point of the game was inflating your enemies until they burst. Honestly, it’s a perfect metaphor. (Yes, I just gave a public compliment to Mike Saunders.) We’re inflating binaries until AV gives up trying to analyze them. The only difference is nobody’s putting quarters into this machine, and the high score is measured in high fives shared over bypassed detections. Sometimes the simplest tricks are the most effective. DigDug is free on the Red Siege GitHub . About Jason Downey, Senior Security Consultant Jason Downey has ten years of information security experience, including multiple years of consultant penetration testing for organizations of all sizes. He started his career in network and systems administration, which means he learned how networks are built before he started getting paid to break into them. Jason is best known for his vishing and social engineering expertise, where a friendly voice and a solid pretext have opened more doors than any exploit. He also specializes in network penetration testing and physical security assessments. Jason has spoken to audiences ranging from youth initiatives to major security conferences, has helped author training courses, creates content for SiegeCasts, and spends his free time helping newcomers find their way into the industry. Certifications: CRTO, GPEN, GCIH, CCNA R&S, CCNA Security, CEH, CHFI