An attacker does not need a public exploit announcement to start probing your application. Automated clients can repeatedly test exposed routes, submit injection payloads, and search for administrative interfaces. The defender's challenge is deciding whether those requests were blocked, reached vulnerable code, or led to execution and persistence.
If you are deciding how to build an incident response checklist for web attacks, start with that distinction. A blocked request is evidence of an attempt. A newly created server-side script, unexpected process, or unauthorized account change requires a broader investigation. The following numbered setup steps turn that distinction into an operational checklist, with SafeLine providing a documented HTTP inspection and blocking layer.
1. Set up ownership and evidence collection
Create an incident worksheet before changing production traffic. Record the incident owner, application owner, affected hostname, environment, first observed time, and business functions at risk. Assign someone authority to restrict traffic and someone responsibility for preserving evidence.
Prepare access to application, reverse proxy, authentication, operating system, and deployment records. Record time zones and check clock synchronization so investigators can compare events accurately.
For each suspicious request, capture available timestamps, destination routes, request methods, response status, and relevant identifiers. Handle request bodies carefully because they may contain credentials or personal information. Preserve original records in access-controlled storage, and document collection times.
Decision: if you cannot establish what happened at the application or host, mark the outcome as unknown. Do not equate missing evidence with successful prevention.
2. Prepare a supported SafeLine deployment
SafeLine is a self-hosted WAF that filters and monitors HTTP traffic in front of web applications. Its documented capabilities include web attack defenses, IP-based rate limiting, and access controls. These capabilities support traffic containment; they do not establish whether a server is already compromised. See the official introduction.
Before installation, verify the deployment prerequisites. The official guide lists Linux, Docker 20.10.14 or later, Docker Compose 2.0.0 or later, and minimum resources of one CPU core, 1 GB memory, and 5 GB disk. Check architecture and applicable CPU requirements against the guide. It also states that ARM deployments require a Pro license and do not support the Personal Edition. See the installation guide.
Use the documented installation procedure for your environment. After deployment, the guide directs administrators to the console at https://<safeline-ip>:9443/ and documents docker exec safeline-mgt resetadmin for obtaining administrator credentials. Protect those credentials and restrict administrative access as part of your deployment procedure. See the console setup instructions.
3. Route the application through the inspection layer
In the SafeLine console, open Applications, select Add Application, and configure the domain, listening port, and upstream application address. Enable the SSL option for an HTTPS application. The documented next step is resolving the application domain to the SafeLine server's IP address. See Protecting an application.
Before changing DNS, record the existing configuration and define a rollback owner. Validate certificate handling, ordinary page loads, login, and critical API workflows during an approved change window.
Separately check whether the origin remains reachable through another hostname, public IP, or exposed port. Where your architecture permits, restrict origin access to the intended proxy path. Otherwise, attackers may bypass the inspection layer.
Decision: if routing disrupts critical workflows, follow the approved rollback procedure and preserve the observations needed to correct the configuration.
4. Validate blocking and define investigation triggers
Use a controlled test against an application you own or are authorized to assess. SafeLine's application guide provides sample attack requests, describes the blocking page, and directs administrators to the console attack list and its detail view. See the documented validation procedure.
Record the test time and correlate the result with upstream records. Then define investigation triggers such as repeated exploit-shaped requests, unexpected application errors, suspicious file creation, or unusual outbound connections.
An attacker seeking a web shell may exploit an upload handler or vulnerable application component to place executable code on the server. Defenders might see unusual uploads, subsequent requests to unfamiliar script paths, or web worker processes launching commands. None of these signals alone proves the full attack chain; together they establish concrete investigation priorities.
5. Configure containment decisions around evidence
Write explicit response branches into the checklist:
- Attempts blocked with no corroborating compromise evidence: preserve samples, identify the targeted component, check patch status, and continue monitoring.
- Suspicious requests reached the application: investigate application behavior, authentication events, file changes, and host activity.
- Execution or persistence is suspected: isolate affected workloads as appropriate, preserve evidence, revoke exposed sessions or credentials, and investigate lateral movement.
SafeLine documents rate limiting for traffic exceeding defined limits and CAPTCHA challenges for bot defense. Consider these controls when request volume or automated abuse is relevant, and validate their effect on legitimate workflows. They do not replace patching or host investigation. See the official capability descriptions.
6. Establish recovery and closure checks
Require the application owner to verify the exploited weakness has been corrected. If compromise occurred, restore from trusted artifacts or rebuild affected systems, rotate exposed secrets, and remove unauthorized access paths.
Before closure, verify business workflows, inspect for recurring indicators, and document remaining uncertainty. Assign follow-up owners and deadlines. A quiet attack dashboard alone is insufficient evidence of recovery.
Does a blocked attack mean the application is safe?
No. It establishes that a particular request was blocked. Check for earlier attempts, alternate entry points, and independent signs of compromise.
Should we install a WAF during an active incident?
It can support containment, but deployment changes require operational care. Preserve evidence first where feasible, and keep investigating the application and host while traffic controls are introduced.
What evidence should trigger a web shell investigation?
Unexpected executable files, unfamiliar script endpoints, unusual child processes, and unexplained outbound connections deserve investigation. Compare them with trusted deployment records before drawing conclusions.
When can the incident be closed?
Close it when the response owner has documented scope, containment, remediation, recovery validation, and unresolved risks. Give every remaining action an accountable owner.
SafeLine has surpassed 700,000 installations worldwide as of September 30, 2026. SafeLine Pro annual promotional pricing is $650-$880, compared with the regular $1,000 per year.
- SafeLine website: https://ly.cyberserval.tech/bvK1BAV
- Demo: https://demo.waf.chaitin.com:9443/statistics
- Official docs: https://docs.waf.chaitin.com/en/home
- GitHub: https://github.com/chaitin/SafeLine
- Pro offer: https://cyberserval.tech/landing/lto
Top comments (0)