Your Website Got Hacked. Here Is Exactly What to Do in the Next 48 Hours.
It is 9:00 PM on a Saturday night. Your phone buzzes with a notification. A customer cannot access your checkout page. You try to log in yourself. The screen is blank. Or worse, it shows a ransom note. Your dashboard is inaccessible. Orders were flowing in just moments ago. Now, everything has stopped. You call your IT person. It goes straight to voicemail. Panic sets in as you realize your livelihood is at risk. Your digital storefront is compromised. Every passing minute feels like a week of lost revenue. You are officially under attack.
The First 30 Minutes
Do not panic. Your first priority is to contain the digital fire. Take your website offline immediately. Most hosting providers have a "maintenance mode" toggle. If they do not, change your nameservers. This prevents further data theft. It also stops the hacker from using your server to attack others.
Call your hosting provider right away. They often have security teams for these emergencies. Tell them your site is compromised. They can freeze the account to protect your files.
Start documenting everything you see. Take screenshots of the defaced site or error messages. Do not delete any files yet. You might feel an urge to wipe everything. Resisting this is crucial. Those files contain the evidence needed to find the entry point. If you delete them, you delete the trail.
Check your email for unauthorized password reset requests. Keep a log of every action you take. Note the exact time you discovered the breach. This timeline is vital for insurance and legal reasons. Focus only on stopping the bleeding for now. You cannot fix what you have not yet secured.
Hours 1 to 4: Assess the Damage
Now you must find out what the hackers took. Look specifically at your payment processing area. Did they gain access to customer credit card data? Most modern sites use third-party processors like Stripe. This usually keeps card data off your server. However, hackers can plant "skimming" scripts to steal data during checkout.
Check your server access logs. Look for unfamiliar IP addresses or odd login times. This shows how the attacker got inside.
Change every single password associated with your business. This includes your hosting panel and CMS login. Update your FTP accounts and database credentials. Do not reuse any old passwords.
Enable Two-Factor Authentication (2FA) on every account. If an account does not offer 2FA, move your data elsewhere. Most breaches occur because of weak or stolen credentials.
Inform your bank if you suspect financial accounts are at risk. Check for new admin users in your website dashboard. Hackers often create "backdoor" accounts to regain entry later. Delete any user profile you did not personally create. Be methodical and stay calm. You are reclaiming your digital territory piece by piece.
Hours 4 to 24: Recovery
You need a clean version of your website to return online. If you have a daily backup, use it now. Ensure the backup date is prior to the hack. A backup from yesterday might already be infected.
If you do not have a backup, the situation is harder. You must hire emergency security help. Experts from companies like Sucuri or Wordfence specialize in site cleaning. They can scrub your code for malicious scripts.
While the site is down, keep a professional maintenance page up. Tell customers you are performing scheduled security updates. Do not broadcast the hack until you have the facts.
Scan your local computer for malware. The breach might have started with a virus on your laptop. If your local machine is dirty, you will get hacked again.
Check your site files for "eval" or "base64" strings in the code. These often hide malicious redirects. If you are not a developer, do not touch the code. One wrong character can break the site entirely. Professional cleaning usually costs between $200 and $500. This is a small price to pay for a clean start. Your goal is a 100 percent clean environment.
Hours 24 to 48: Communication and Prevention
You must now talk to your customers. Transparency is the only way to save your reputation. Notify affected users via email if their data was exposed. State exactly what happened and what you have fixed.
Explain the steps you are taking to protect them. Offer identity monitoring if sensitive data was leaked. This builds trust during a crisis.
Set up real-time security monitoring immediately. You need to know the moment someone tries a brute-force attack. Most hackers use AI-powered phishing to find weak spots.
Install a firewall that blocks suspicious traffic before it reaches you. Check your site's health every hour for the next day. Small businesses are often targeted again shortly after a fix. Hackers assume you have not patched the original hole.
Update every plugin, theme, and core file. Vulnerability exploitation increased by 34 percent last year. Most of these attacks target known bugs in old software. If a plugin is no longer supported, delete it. Modern security is about reducing your attack surface. You are now moving from reactive mode to a proactive stance.
Why Cheap Is Expensive
Small business owners often cut corners on IT costs. This is a dangerous financial mistake. In 2025, 81 percent of SMBs experienced a data breach. The average cost per attack is now $25,000.
A "cheap" hosting plan often lacks basic security features. You might save $20 a month but lose your entire business. 60 percent of small companies close within six months of a breach. They cannot recover from the financial and reputational hit.
Ransomware now accounts for 88 percent of SMB breaches. These attackers do not care if you are a local shop. They use automated bots to find any open door.
A $500 annual security setup is an investment. It prevents a $50,000 disaster. Think of it like fire insurance for your digital warehouse. You do not wait for a fire to buy a sprinkler system. Paying for quality IT support ensures someone answers that Saturday night call. Your business deserves better than the lowest bidder. High-quality security pays for itself by ensuring your doors stay open.
The Minimum Security Stack for SMBs
Every small business needs a standard security layer. Start with automated daily backups stored off-site. Use a service that allows one-click restoration.
Ensure your SSL certificate is always active. This encrypts the data traveling between your user and your server.
Use the Cloudflare free tier at a minimum. It provides a Web Application Firewall (WAF) and DDoS protection. For $20 a month, their Pro plan adds even better filtering.
Install a security plugin like Wordfence. Their free version is solid. The $149 annual premium version provides real-time threat intelligence.
Enforce 2FA for every staff member with site access. This single step stops most credential-based attacks.
Perform monthly software updates without exception. Set a recurring calendar invite for this task.
Use Sucuri for $10 a month. Their firewall shields against common exploits. This stack costs less than a daily cup of coffee. Security is not a one-time event. It is a daily habit of digital hygiene.
Build Your Resilience
Cybersecurity is just one part of running a modern business. You must be prepared for technical shifts and digital threats. At AIFirstMBA, we help leaders navigate these challenges. We focus on business resilience alongside the latest AI tools.
Understanding technology is no longer optional for owners. You need to know how to protect your assets. Our programs teach you to lead with confidence in a digital-first economy. Do not let a single hack end your entrepreneurial journey. Learn how to build a company that is both innovative and secure. Visit aifirstmba.com to start building your resilient business today.
Want more systems like this?
AI-First MBA teaches small business owners how to build AI-powered operations, marketing, and growth systems.
Start Free →