惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Martin Fowler
Martin Fowler
D
DataBreaches.Net
F
Fortinet All Blogs
阮一峰的网络日志
阮一峰的网络日志
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
H
Help Net Security
M
MIT News - Artificial intelligence
美团技术团队
人人都是产品经理
人人都是产品经理
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
The Cloudflare Blog
有赞技术团队
有赞技术团队
L
LangChain Blog
博客园 - Franky
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 【当耐特】
S
SegmentFault 最新的问题
V
Visual Studio Blog
Blog — PlanetScale
Blog — PlanetScale
Hugging Face - Blog
Hugging Face - Blog
B
Blog
I
InfoQ

Black Hills Information Security, Inc.

Bad Habits: An ANTISOC Operation Same Problem, Different Angles: When Red Team and Blue Team Actually Talk to Each Other How to Identify and Exploit New Vulnerabilities Swapper – A Pure Regex Match/Replace Burp Extension A Practical Guide to BloodHound Data Collection Network Engineering Basics Signed, Trusted, and Abused: Proxy Execution via WebView2 Getting Started In Pentesting – Advice From The BHIS Pentest Lead Cloud Security: Tips and Resources for Securing the Cloud Lessons From A Chatbot Incident How to Lead Effective Tabletops Understanding GRC: How to Navigate Risks and Compliance Standards The “P” in PAM is for Persistence: Linux Persistence Technique Malware Analysis: How to Analyze and Understand Malware OSINT: How to Find, Use, and Control Open-Source Intelligence What to Do with Your First Home Lab When the SOC Goes to Deadwood: A Night to Remember Social Engineering and Microsoft SSPR: The Road to Pwnage is Paved with Good Intentions Common Cyber Threats Finding the Right Penetration Testing Company Deceptive-Auditing: An Active Directory Honeypots Tool The Curious Case of the Comburglar How to Set Smart Goals (That Actually Work For You) Inside the BHIS SOC: A Conversation with Hayden Covington Abusing Delegation with Impacket (Part 3): Resource-Based Constrained Delegation Why You Got Hacked – 2025 Super Edition Abusing Delegation with Impacket (Part 2): Constrained Delegation Abusing Delegation with Impacket (Part 1): Unconstrained Delegation GoSpoof – Turning Attacks into Intel Model Context Protocol (MCP)
Messing With Web Attackers With SpiderTrap (Cyber Deception)
BHIS · 2020-03-30 · via Black Hills Information Security, Inc.


Hello and welcome! My name is John Strand. In this video, we’re going to be talking about using SpiderTrap to entrap and ensnare any web application pentesters or hackers that are trying to come into your web applications.

Now, for this particular video, we’re going to be using the Active Defense Harbinger Distribution, or ADHD, which can be found at activecountermeasures.com, go forward slash into projects and you’ll be able to download the same distribution that I’m using here. This is also the same distribution that we use in our Wild West Hackin’ Fest classes. You can look at that schedule at www.wildwesthackinfest.com. I also use it at Black Hat Training as well.

So let’s jump right in.

Now, as it is always with any of the different utilities that we use for ADHD, all of the instructions are on the desktop in a file called ADHD Usage. We’ll be using that file for everything. Now, once you’re in here, you’re going to be using the annoyance category. You’re going to be selecting SpiderTrap. Once you have selected SpiderTrap, it’s going to bring up a website that’s going to show you where you can actually download SpiderTrap, a generalized description, and usage information for SpiderTrap.

Now, I’m going to walk through these instructions very, very quickly to give you an idea of how this tool actually works. Now, the first thing that I’m going to do is I’m just going to start SpiderTrap with no options at all. Here, I’m just running Python to SpiderTrap.py. I hit enter and it’s listening. That’s it. It’s listening on port 8,000. Now, to see what it actually does, we’re going to open up a browser and let’s just surf to port 8,000 on my computer system. We go HTTP://, and we are going to go to port 8,000 on 127.0.0.1 because there’s no place like home.

Now, once we have this, you’re going to see that as soon as we load SpiderTrap on port 8,000, it’s going to show us a series of random links. Now, those random links are somewhat important. The reason why those links are important is because if we click on any of those links, it’s going to bring us more random links and yet more random links and more random links and yet more random links.

Now, what exactly is this doing and why is this important?

When you’re looking at cyber attribution or you’re looking at cyber deception, one of the key components of what we can do is sort of fake the adversary or the hacker out.

Now, the reason why is if we’re looking at a basic algorithm of detection time plus reaction time must be less than the amount of time it takes for an attacker to break into your organization, we want to increase the amount of time it takes for the attacker to successfully identify any systems or vulnerabilities on those computer systems. By creating a bunch of different randomized links, we’re not stopping the attacker, but we are actually going through and increasing the work effort the attacker has to go through to identify the real web server pages on your web server.

What does this look like to an actual attacker or crawler? Here, I’m just going to use Wget. Now, Wget is a tool that if I use the -R, it recursively goes to a webpage and it’ll try to pull down and make a local copy of all the different HTML and JavaScript files that exist on that web server. As you can see, it just keeps going and going and going, still going, going, going, going. Then, I’m bored and I’m just going to hit control save.

Now, eventually, if an attacker was running an automated crawling tool, it would exhaust all of the memory or it would exhaust all of the disc space on the computer system.

Now, what I’m going to do is I’m going to throw in another option with SpiderTrap. SpiderTrap also has the ability to take in a dictionary file. Now, a dictionary file allows you to feed in a list of different directory names instead of it coming up with randomized directories. Now, if I run it with big.txt and ADHD, now we have real names, Cheryl, really, Nebraska, issue, SMS, Toyota, skins. If I click on any one of these, it brings up tomcat, send mail, ask, primerio, registered. We’ve got sparky, we’ve got cobra, we’ve got terrorism, we have poker, we have projects, whatever. This makes the fake web server look a little bit more realistic and, yes, it’ll still get caught in an automated crawling spider.

Now, is SpiderTrap something that you would want to do on an enterprise app? Not even close, not even close.

Is it great for articulating the different things you can do to mess with an attacker? Absolutely. It’s really, really good at that.

Also, you can use it tactically. If you think that you have an attacker that’s trying to break into your website, you can throw this up on robots.txt. You can put it in sitemap.xml. These are things that normal users would never come across, but their automated utilities would.

I hope you enjoyed this video and I’ll see you in the next video. As always, be sure to check out Wild West Hackin’ Fest, Black Hills Information Security, and Security Weekly every Wednesday with Matt Alderman, Paul Asadoorian, and myself where we talk vendors and what works and what doesn’t. Thank you so much and I’ll see you in the next video.

Available live/virtual and on-demand