This website uses cookies
We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.
Consent Selection
Details
  • Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.
    • Learn more about this provideropens in a new window

      Some of the data collected by this provider is for the purposes of personalization and measuring advertising effectiveness. The provider may use the IP Addresses for ads measurement and ads personalization.

      rc::eThis cookie is used to distinguish between humans and bots.
      Maximum Storage Duration: SessionType: HTML Local Storage
      rc::hThis cookie is used to distinguish between humans and bots.
      Maximum Storage Duration: PersistentType: HTML Local Storage
    • CookieConsentStores the user's cookie consent state for the current domain
      Maximum Storage Duration: 1 yearType: HTTP Cookie
  • Preference cookies enable a website to remember information that changes the way the website behaves or looks, like your preferred language or the region that you are in.
    • We do not use cookies of this type.

  • Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.
    • We do not use cookies of this type.

  • Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.
    • Learn more about this provideropens in a new window

      Some of the data collected by this provider is for the purposes of personalization and measuring advertising effectiveness. The provider may use the IP Addresses for ads measurement and ads personalization.

      pagead/gen_204Collects data on visitor behaviour from multiple websites, in order to present more relevant advertisement - This also allows the website to limit the number of times that they are shown the same advertisement.
      Maximum Storage Duration: SessionType: Pixel Tracker
      TESTCOOKIESENABLEDUsed to track user’s interaction with embedded content.
      Maximum Storage Duration: 1 dayType: HTTP Cookie
  • Unclassified cookies are cookies that we are in the process of classifying, together with the providers of individual cookies.
    • base44_analytics_session_idPending
      Maximum Storage Duration: PersistentType: HTML Local Storage
      base44_app_idPending
      Maximum Storage Duration: PersistentType: HTML Local Storage
      base44_from_urlPending
      Maximum Storage Duration: PersistentType: HTML Local Storage
      base44_functions_versionPending
      Maximum Storage Duration: PersistentType: HTML Local Storage
      toolbox-favoritesPending
      Maximum Storage Duration: PersistentType: HTML Local Storage
      toolbox-langPending
      Maximum Storage Duration: PersistentType: HTML Local Storage
Cookie declaration last updated on 8/27/26 by Cookiebot
[#IABV2_TITLE#]
[#IABV2_BODY_INTRO#]
[#IABV2_BODY_LEGITIMATE_INTEREST_INTRO#]
[#IABV2_BODY_PREFERENCE_INTRO#]
[#IABV2_BODY_PURPOSES_INTRO#]
[#IABV2_BODY_PURPOSES#]
[#IABV2_BODY_FEATURES_INTRO#]
[#IABV2_BODY_FEATURES#]
[#IABV2_BODY_PARTNERS_INTRO#]
[#IABV2_BODY_PARTNERS#]
About
Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.

Cyber Sécurité

Cyber Sécurité

Cyber Sécurité

Cheat sheet de cybersécurité (OWASP, réseau, crypto).

Mots de passe & authentification

Bonnes pratiques pour des mots de passe robustes et l'authentification multi-facteurs.

Robustesse

# Aim for >= 12 chars, mixing classes (lower, upper, digits, symbols)
# Entropy estimate: length * log2(pool)
#   62 chars  (a-z A-Z 0-9) -> ~5.95 bits/char
#   95 chars  (printable)   -> ~6.57 bits/char
# < 40 bits  = weak   |  >= 80 bits = strong
# Use a passphrase: 4+ random words are easier to remember and strong

Stockage

# Never store plaintext passwords. Use adaptive hashing:
# Argon2id (preferred) | bcrypt (cost >= 12) | scrypt
# PBKDF2 with >= 600k iterations as fallback
# Per-user random salt, unique per password
# Use a password manager to generate and store unique passwords

MFA

# Enable MFA everywhere, especially on email & admin accounts
# Prefer: hardware key (FIDO2/WebAuthn) > TOTP app > SMS
# SMS is vulnerable to SIM-swapping — avoid for high-value accounts
# Backup codes: store offline, single-use, rotate after use

Sécurité réseau

Pare-feu, ports ouverts et chiffrement des échanges.

Ports & services

ss -tulnp                      # Listening TCP/UDP ports with PID
nmap -sT -p- localhost         # Scan all TCP ports locally
nmap -sV -sC example.com       # Version + default scripts scan
# Principle: close everything, open only what is needed
# Never expose admin panels (SSH, DB, web admin) to 0.0.0.0

Pare-feu

# Default-deny: block all inbound, allow explicit exceptions
iptables -P INPUT DROP
iptables -A INPUT -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
iptables -A INPUT -p tcp --dport 22 -s 10.0.0.0/8 -j ACCEPT
# Log dropped packets for review
iptables -A INPUT -j LOG --log-prefix "DROP: "

TLS

# Enforce TLS 1.2+ ; disable SSLv3, TLS 1.0/1.1
# Use strong ciphers: ECDHE + AES-GCM or ChaCha20-Poly1305
# Obtain certs via Let's Encrypt, enable HSTS, auto-renew
# Test: ssllabs.com, testssl.sh, nmap --script ssl-enum-ciphers

Sécurité web (OWASP)

Risques majeurs OWASP Top 10 et en-têtes de protection.

Injection

# SQL injection: use parameterized queries / prepared statements
#   db.query("SELECT * FROM users WHERE id = ?", [id])   # OK
#   db.query("... WHERE id = " + id)                     # VULNERABLE
# Validate input server-side; denylist is not enough
# ORM + schema validation + least-privilege DB account

XSS

# Output encoding for all user data, context-aware (HTML, JS, URL)
# Content-Security-Policy: default-src 'self'; script-src 'self'
# Set HttpOnly + Secure + SameSite on session cookies
# Frameworks (React/Vue) auto-escape; avoid dangerouslySetInnerHTML / v-html

En-têtes de sécurité

Strict-Transport-Security: max-age=31536000; includeSubDomains
Content-Security-Policy: default-src 'self'; frame-ancestors 'none'
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: geolocation=(), camera=(), microphone=()

Chiffrement & clés

Algorithmes recommandés et gestion des clés.

Algorithmes

# Symmetric: AES-256-GCM or ChaCha20-Poly1305 (AEAD)
# Asymmetric: Ed25519 (sign), X25519 (key exchange), RSA-OAEP >= 2048
# Hashing: SHA-256 / SHA-3 (use BLAKE3 for speed)
# Passwords: Argon2id > bcrypt > PBKDF2 (never MD5/SHA1 for passwords)
# RNG: use crypto.getRandomValues / secrets, never Math.random()

Gestion des clés

# Never hardcode secrets in source code or git
# Use env vars / vault (HashiCorp Vault, AWS Secrets Manager)
# Rotate keys regularly; separate per environment & service
# Minimum privilege: each key grants only what it needs
# Destroy revoked keys; log all access to secrets

Réponse à incident

Étapes clés pour détecter, contenir et analyser un incident.

Cycle NIST

# 1. Preparation: plans, tools, contacts, backups
# 2. Detection & Analysis: logs, SIEM alerts, IOC
# 3. Containment: isolate host, revoke creds, block IP
# 4. Eradication: remove malware, patch root cause
# 5. Recovery: restore from clean backups, monitor
# 6. Lessons learned: post-mortem, update playbooks

Forensique légère

last                           # Recent logins
lastb                          # Failed login attempts
grep "Failed password" /var/log/auth.log
journalctl --since "1 hour ago" -p err
netstat -antp                  # Active connections + PID
lsof -i                        # Open files by network process
# Preserve evidence: copy logs before changes, record timestamps