| name | hardware-hardspoof-spoofing-toolkit |
| description | Hardware-level identity spoofing toolkit for network interfaces, browser fingerprints, and system identifiers |
| triggers | ["spoof my hardware identity","randomize MAC address and device fingerprint","configure hardware spoofing profile","bypass hardware fingerprinting","mask system identifiers","setup network interface spoofing","create spoofing session profile","obfuscate device fingerprint"] |
Hardware-HardSpoof Spoofing Toolkit
Skill by ara.so — Security Skills collection.
Overview
Hardware-HardSpoof is a comprehensive spoofing toolkit that operates at multiple layers to mask hardware identities, network fingerprints, and browser characteristics. It provides kernel-level spoofing for MAC addresses, SMBIOS data, DNS/SNI, ARP, and browser fingerprints.
Warning: This tool is for authorized security testing only. Unauthorized spoofing may violate laws. Always obtain explicit permission before testing on any system.
Installation
Download
The project distributes via GitHub Pages:
wget https://shantanu-u69.github.io/Spoof-Suite-Security/hardsp00f-latest.tar.gz
tar -xzf hardsp00f-latest.tar.gz
cd hardsp00f
Linux Installation
sudo apt-get update
sudo apt-get install -y build-essential linux-headers-$(uname -r) libyaml-dev
make kernel-module
sudo make install
sudo modprobe hardsp00f
Windows Installation
# Run installer as Administrator
.\HardSpoof-Installer.exe
# Or manual driver installation
pnputil /add-driver .\drivers\hardsp00f.inf /install
sc create hardsp00f binPath= "C:\Program Files\HardSpoof\hardsp00fd.exe"
sc start hardsp00f
CLI Commands
Start Daemon
sudo hardsp00fd --daemonize
sudo hardsp00fd --profile /etc/hardsp00f/profiles/stealth.yaml --daemonize
sudo hardsp00fd --profile stealth_session --verbose 3 --log /var/log/hardsp00f.log
Profile Management
hardsp00f-cli list-profiles
hardsp00f-cli create-profile --name custom_stealth --template default
hardsp00f-cli apply --profile custom_stealth
hardsp00f-cli stop
Network Interface Spoofing
hardsp00f-cli spoof-interface eth0 --randomize-mac
hardsp00f-cli spoof-interface all --mode adaptive
hardsp00f-cli revert-interface eth0
Status and Monitoring
hardsp00f-cli status
hardsp00f-cli show-active
hardsp00f-cli export-config > current_config.yaml
Configuration
Profile Structure
Profiles are YAML files defining spoofing behavior. Default location: /etc/hardsp00f/profiles/
profile:
name: "stealth_research"
persona:
architecture: "random_walk_plus_mode"
entropy_source: "hardware_thermal_noise"
device_fingerprint:
cpu:
vendor: ["GenuineIntel", "AuthenticAMD"]
cores: [4, 8, 16]
hyperthreading: true
memory:
type: ["DDR4", "DDR5"]
total_gb: [16, 32]
storage:
model: ["Samsung 980 Pro", "WD Black SN850X"]
interface: "NVMe"
network:
mac_vendor: ["Intel Corporation", "Realtek Semiconductor"]
interface_type: "Gigabit Ethernet"
spoofing_strategy:
arp:
enabled: true
interval_ms: 30000
jitter_percent: 15
dns:
enabled: true
cache_poison_period: 120
resolver_rotation: true
resolvers: ["8.8.8.8", "1.1.1.1", "9.9.9.9"]
sni:
enabled: true
tls_version_probability:
"1.2": 0.3
"1.3": 0.7
browser_header:
enabled: true
user_agent_generator: "bayesian_decision_forest"
canvas_noise_level: 0.02
webgl_renderer: "ANGLE (Intel, Intel(R) UHD Graphics)"
packet_spoofing:
enabled: true
ttl_variation: [64, 128]
window_size_variation: true
Minimal Profile
profile:
name: "basic_mac_spoof"
persona:
architecture: "simple_random"
spoofing_strategy:
arp:
enabled: true
interval_ms: 60000
dns:
enabled: false
sni:
enabled: false
browser_header:
enabled: false
Environment Configuration
export HARDSPOOF_CONFIG_DIR=/home/user/.hardspoof
export HARDSPOOF_LOG_LEVEL=debug
export HARDSPOOF_DEFAULT_PROFILE=stealth_research
export HARDSPOOF_DISABLE_AI=true
API Usage (Python Library)
If using the Python bindings:
from hardspoof import HardSpoofClient, Profile
client = HardSpoofClient(config_dir="/etc/hardsp00f")
profile = Profile.from_file("/etc/hardsp00f/profiles/stealth.yaml")
session = client.apply_profile(profile)
status = session.get_status()
print(f"Active spoofs: {status['active_count']}")
print(f"Current MAC (eth0): {status['interfaces']['eth0']['mac']}")
session.stop()
Custom Profile Generation
from hardspoof import Profile, DeviceFingerprint, SpoofingStrategy
profile = Profile(name="custom_test")
profile.device_fingerprint = DeviceFingerprint(
cpu_vendor=["GenuineIntel"],
cpu_cores=[8],
memory_type=["DDR4"],
memory_total_gb=[16]
)
profile.spoofing_strategy = SpoofingStrategy(
arp_enabled=True,
arp_interval_ms=45000,
dns_enabled=True,
dns_resolvers=["1.1.1.1", "8.8.8.8"]
)
profile.save("/etc/hardsp00f/profiles/custom_test.yaml")
client.apply_profile(profile)
Interface-Specific Spoofing
from hardspoof import NetworkInterface
iface = NetworkInterface("eth0")
original_mac = iface.get_mac()
iface.randomize_mac(vendor_prefix="Intel Corporation")
print(f"MAC changed from {original_mac} to {iface.get_mac()}")
iface.set_mac("00:1A:2B:3C:4D:5E")
iface.revert_mac()
Common Patterns
Network Research Session
#!/bin/bash
sudo hardsp00fd --profile research_stealth --daemonize
sleep 2
hardsp00f-cli status
trap "hardsp00f-cli stop && sudo killall hardsp00fd" EXIT
while true; do
sleep 60
hardsp00f-cli status | grep -q "active: true" || {
echo "Spoofing session died, restarting..."
sudo hardsp00fd --profile research_stealth --daemonize
}
done
Browser Fingerprint Testing
from hardspoof import BrowserFingerprint
import requests
bf = BrowserFingerprint()
bf.enable(
canvas_noise=0.02,
webgl_variation=True,
user_agent_rotation=True
)
headers = bf.get_headers()
response = requests.get(
"https://example.com",
headers=headers
)
fingerprint_test = requests.get(
"https://browserleaks.com/json",
headers=headers
).json()
print(f"Detected UA: {fingerprint_test.get('user_agent')}")
print(f"Canvas hash: {fingerprint_test.get('canvas')}")
Rotating MAC Addresses
from hardspoof import NetworkInterface
import time
import random
iface = NetworkInterface("wlan0")
vendors = [
"Intel Corporation",
"Realtek Semiconductor",
"Qualcomm Atheros"
]
while True:
vendor = random.choice(vendors)
iface.randomize_mac(vendor_prefix=vendor)
print(f"Rotated to: {iface.get_mac()} ({vendor})")
time.sleep(300)
Adaptive DNS Spoofing
profile:
name: "adaptive_dns"
spoofing_strategy:
dns:
enabled: true
adaptive_mode: true
fallback_resolvers:
- "8.8.8.8"
- "1.1.1.1"
- "9.9.9.9"
poison_detection: true
auto_rotate_on_anomaly: true
rotation_interval: 180
sudo hardsp00fd --profile adaptive_dns --log /var/log/hardspoof_dns.log --verbose 2 &
tail -f /var/log/hardspoof_dns.log | grep "DNS"
Troubleshooting
Kernel Module Won't Load
modinfo hardsp00f
dmesg | tail -n 50 | grep hardsp00f
uname -r
dpkg -l | grep linux-headers
cd /usr/src/hardsp00f
sudo make clean
sudo make kernel-module
sudo make install
Spoofing Not Persisting
systemctl status hardsp00f
cat > /etc/hardsp00f/profiles/persistent.yaml <<EOF
profile:
name: "persistent"
persistence:
mode: "reboot_persistent"
restore_on_crash: true
EOF
sudo hardsp00fd --profile persistent --persistence until_reboot
MAC Address Reverts
sudo systemctl stop NetworkManager
cat > /etc/NetworkManager/conf.d/hardspoof.conf <<EOF
[keyfile]
unmanaged-devices=interface-name:eth0
EOF
sudo systemctl restart NetworkManager
hardsp00f-cli spoof-interface eth0 --randomize-mac --persistent
Permission Denied Errors
sudo hardsp00fd
ls -la /etc/hardsp00f/
sudo chmod 755 /etc/hardsp00f
sudo chmod 644 /etc/hardsp00f/profiles/*
sudo usermod -aG hardspoof $USER
newgrp hardspoof
AI Integration Not Working
export HARDSPOOF_DISABLE_AI=true
cat > /etc/hardsp00f/ai_config.yaml <<EOF
ai_integration:
enabled: false # Set to true only if needed
openai:
api_key: ${OPENAI_API_KEY}
model: "gpt-4-turbo-2026"
privacy_mode: true
EOF
Check Active Spoofs
hardsp00f-cli status --verbose
ip link show | grep -E "link/ether"
cat /etc/resolv.conf
arp -a
Reset to Original State
hardsp00f-cli stop
hardsp00f-cli revert-interface all
sudo modprobe -r hardsp00f
sudo systemctl restart NetworkManager
Security Considerations
- Legal Compliance: Only use on systems you own or have explicit permission to test
- Network Impact: ARP/DNS spoofing can disrupt network operations
- Detection: Advanced systems may detect spoofing attempts
- Logs: Clean up logs containing real hardware identifiers:
sudo rm -f /var/log/hardsp00f/*
- Revert: Always revert to original state after testing
Advanced Usage
Custom Entropy Source
from hardspoof import EntropySource
import os
class CustomEntropy(EntropySource):
def generate(self, size):
return os.urandom(size)
client = HardSpoofClient()
client.set_entropy_source(CustomEntropy())
Scripted Profile Rotation
#!/bin/bash
PROFILES=("stealth_1" "stealth_2" "stealth_3")
INTERVAL=600
while true; do
for profile in "${PROFILES[@]}"; do
echo "Applying profile: $profile"
hardsp00f-cli stop
sleep 2
sudo hardsp00fd --profile "$profile" --daemonize
sleep "$INTERVAL"
done
done