Dans les coulissesBehind the scenes

Le projet : un site Web sécurisé pour Evil CorpoThe Project: a secure website for Evil Corpo

Evil Corpo est une entreprise fictive. Ce site est un livrable bonus de notre plan de gestion de projet : il démontre la conception, l'hébergement et la sécurisation d'un site Web réel.Evil Corpo is a fictional company. This site is a bonus deliverable of our project management plan: it demonstrates the design, hosting and hardening of a real website.

Le mandatThe mandate

Ce qu'on nous a demandéWhat we were asked to do

Notre équipe a été mandatée par Evil Corpo pour concevoir, déployer et héberger un site Web vitrine professionnel, bilingue et sécurisé, accessible sous un nom de domaine dédié avec un certificat TLS valide.Our team was hired by Evil Corpo to design, deploy and host a professional, bilingual and secure showcase website, reachable at a dedicated domain name with a valid TLS certificate.

Important : l'entreprise, ses produits et ses dirigeants sont entièrement fictifs et parodiques.Note: the company, its products and its leadership are entirely fictional and satirical.
ObjectifsObjectives
  • Site statique de 6 pages, responsive et bilingue (FR/EN)6-page static site, responsive and bilingual (FR/EN)
  • Nom de domaine dédié et enregistrements DNS configurésDedicated domain name with configured DNS records
  • HTTPS obligatoire avec certificat Let's EncryptHTTPS enforced with a Let's Encrypt certificate
  • Note A ou mieux sur SSL Labs et securityheaders.comGrade A or better on SSL Labs and securityheaders.com
  • Plan de relève d'hébergement documentéDocumented hosting fallback plan
L'équipeThe team

Les membres de l'équipe de projetThe project team

Felipe

Chargé·e de projetProject Manager

Planification, échéancier, suivi et communication avec le client.Planning, schedule, tracking and client communication.

Mathilda

Responsable techniqueTechnical Lead

Serveur Web, DNS, déploiement et certificats.Web server, DNS, deployment and certificates.

Olivier

Responsable sécuritéSecurity Lead

Durcissement, en-têtes de sécurité, tests et analyse des risques.Hardening, security headers, testing and risk analysis.

[Membre 4]

Responsable contenu et designContent & Design Lead

Image de marque, rédaction bilingue et maquettes.Branding, bilingual copywriting and mockups.

[Membre 5]

Responsable qualité et documentationQuality & Documentation Lead

Plan de tests, assurance qualité et documentation de livraison.Test plan, quality assurance and handover documentation.

Plan de gestion de projetProject management plan

Les cinq phases du projetThe five project phases

Initiation

  • Charte de projetProject charter
  • Identification des parties prenantesStakeholder identification

PlanificationPlanning

  • WBS, échéancier (Gantt)WBS, schedule (Gantt)
  • Budget et registre des risquesBudget and risk register

ExécutionExecution

  • Conception et intégration du siteSite design and build
  • Domaine, DNS, serveur, TLSDomain, DNS, server, TLS

Surveillance et maîtriseMonitoring & control

  • Tests de sécurité (SSL Labs, en-têtes)Security tests (SSL Labs, headers)
  • Suivi des écarts et des changementsVariance and change tracking

ClôtureClosing

  • Livraison et documentationHandover and documentation
  • Leçons apprisesLessons learned
ArchitectureArchitecture

Comment une visite atteint le siteHow a visit reaches the site

Le site tourne dans un conteneur Docker sur un serveur personnel, à côté d'un site existant. Un proxy inverse (Nginx Proxy Manager) reçoit tout le trafic HTTPS et l'envoie au bon conteneur selon le nom de domaine demandé (SNI). Le conteneur du site n'expose aucun port et tourne en lecture seule. En relève : hébergement mutualisé SmarterASP.NET.The site runs in a Docker container on a home server, alongside an existing site. A reverse proxy (Nginx Proxy Manager) receives all HTTPS traffic and forwards it to the right container based on the requested domain name (SNI). The site's container exposes no ports and runs read-only. Fallback: SmarterASP.NET shared hosting.

VisiteurVisitorNavigateurBrowser
DNSA / CNAME / CAAA / CNAME / CAA
RouteurRouterRedirection de ports 80 / 443Port forwarding 80 / 443
Proxy inverseReverse proxyNginx Proxy Manager · TLSNginx Proxy Manager · TLS
Conteneur du siteSite containernginx · lecture seulenginx · read-only

Nginx Proxy Manager obtient et renouvelle le certificat Let's Encrypt automatiquement. Le conteneur est déployé par Portainer directement depuis le dépôt GitHub.Nginx Proxy Manager obtains and renews the Let's Encrypt certificate automatically. The container is deployed by Portainer straight from the GitHub repository.

SécuritéSecurity

Mesures de sécurité mises en placeSecurity measures in place

MesureMeasure ConfigurationConfiguration Protège contreProtects against
Chiffrement TLSTLS encryptionLet's Encrypt, TLS 1.2 et 1.3 seulementLet's Encrypt, TLS 1.2 and 1.3 onlyÉcoute et modification du traficEavesdropping and tampering
Redirection HTTPSHTTPS redirect301 http → httpsConnexions non chiffréesUnencrypted connections
HSTSStrict-Transport-SecurityAttaques de rétrogradation (SSL stripping)Downgrade attacks (SSL stripping)
CSPdefault-src 'self'Injection de scripts (XSS)Script injection (XSS)
Anti-clickjackingAnti-clickjackingX-Frame-Options: DENY, frame-ancestors 'none'Intégration malveillante dans un cadreMalicious framing
MIME sniffingX-Content-Type-Options: nosniffExécution de fichiers déguisésExecution of disguised files
Fuite d'informationInformation leakageReferrer-Policy, version du serveur masquéeserver version hiddenReconnaissance par un attaquantAttacker reconnaissance
Permissions du navigateurBrowser permissionsPermissions-PolicyAccès caméra, micro, localisationCamera, microphone, location access
DNS CAA0 issue "letsencrypt.org"Émission frauduleuse de certificatsRogue certificate issuance
SPF / DMARCv=spf1 -all, p=rejectUsurpation du domaine par courrielEmail spoofing of the domain
Site statiqueStatic siteAucune base de données ni code serveurNo database or server-side codeInjection SQL, exécution de code à distanceSQL injection, remote code execution
security.txt/.well-known/security.txtSignalement responsable des vulnérabilitésResponsible vulnerability disclosure