ET INFO Python BaseHTTP ServerBanner
SID 2034635 · rev 4 · classtype misc-activity
What this signature means
An HTTP response with the Server header of Python's built-in web server (BaseHTTP or SimpleHTTP). Attackers stage tools and payloads with "python -m http.server" during an intrusion, and so do students in a lab. Informational, but a server like this on an unexpected host deserves a look at what it served.
An informational rule: traffic worth knowing about that is not an attack by itself.
Written by the PcapHub team.
What it watches
HTTP traffic from any host to a monitored host, in an established connection, from server to client.
It fires when
- the Server header starts with "BaseHTTP/"
- the Server header contains "Python/"
What Emerging Threats says
- Emerging Threats rates it informational with high confidence.
- Target: Client Endpoint.
- Affected product: Windows XP Vista 7 8 10 Server 32 64 Bit.
- Meant for perimeter sensors.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it9
- Phishing Login, MFA Fatigue, and Session Cookie Reuse
by trypcaphub · 197 packets · 5mo ago
8 alertsOpen in viewer - Python Package Supply-Chain Install with Callback Beacon
by trypcaphub · 84 packets · 5mo ago
1 alertOpen in viewer - AI Prompt Injection with Tool-Mediated Data Exfiltration
by trypcaphub · 84 packets · 5mo ago
3 alertsOpen in viewer - Cloud Metadata SSRF Credential Theft and STS API Use
by trypcaphub · 132 packets · 5mo ago
5 alertsOpen in viewer - Log4Shell-Style HTTP Exploit, LDAP Callback, and Payload Fetch
by trypcaphub · 238 packets · 5mo ago
3 alertsOpen in viewer - WebDAV Ransomware File Enumeration, Encryption Uploads, and Ransom Note
by trypcaphub · 241 packets · 5mo ago
11 alertsOpen in viewer - Exposed Docker API Container Abuse and Reverse Shell Callback
by trypcaphub · 148 packets · 5mo ago
5 alertsOpen in viewer - DNS TXT Command Channel with Domain Generation and HTTP Beaconing
by trypcaphub · 269 packets · 5mo ago
8 alertsOpen in viewer - HTTP Credential Stuffing, SQL Injection, Webshell Upload, and Callback
by trypcaphub · 345 packets · 5mo ago
14 alertsOpen in viewer
Rule
alert http any any -> $HOME_NET any (msg:"ET INFO Python BaseHTTP ServerBanner"; flow:established,to_client; http.server; content:"BaseHTTP/"; fast_pattern; startswith; content:"Python/"; distance:0; reference:url,wiki.python.org/moin/BaseHttpServer; classtype:misc-activity; sid:2034635; rev:4; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2021_12_08, deployment Perimeter, confidence High, signature_severity Informational, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2026_04_14;)
Emerging Threats Open. Rule created Dec 8, 2021. Last revised by ET Apr 14, 2026. Text on PcapHub refreshed 23d ago.